File:
[cvs.NetBSD.org] /
pkgsrc /
net /
wide-dhcpv6 /
Makefile
Revision
1.7:
download - view:
text,
annotated -
select for diffs
Tue Oct 23 17:19:19 2012 UTC (12 years, 1 month ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
# $NetBSD: Makefile,v 1.7 2012/10/23 17:19:19 asau Exp $
DISTNAME= wide-dhcpv6-20080615
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wide-dhcpv6/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wide-dhcpv6.sourceforge.net/
COMMENT= DHCP6 client, server and relay agent by WIDE project
LICENSE= modified-bsd
USE_TOOLS+= lex yacc
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-localdbdir=${VARBASE:Q}/db
RCD_SCRIPTS= dhcp6c dhcp6relay dhcp6s
BUILD_DEFS+= VARBASE
EGDIR= ${PREFIX}/share/examples/wide-dhcpv6
COMMANDS= dhcp6c dhcp6s dhcp6relay dhcp6ctl
EXAMPLES= dhcp6c.conf dhcp6s.conf
MAN5= dhcp6c.conf.5 dhcp6s.conf.5
MAN8= dhcp6c.8 dhcp6ctl.8 dhcp6relay.8 dhcp6s.8
INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \
share/examples/wide-dhcpv6
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths=Fixing absolute paths.
SUBST_FILES.fix-paths= ${MAN5} ${MAN8}
SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR:Q},g'
SUBST_CLASSES+= dprintf
SUBST_STAGE.dprintf= post-configure
SUBST_MESSAGE.dprintf= Rename `dprintf' conflicting with POSIX.1-2008 one.
SUBST_FILES.dprintf= addrconf.c cftoken.l common.h common.c config.c
SUBST_FILES.dprintf+= dhcp6_ctl.c dhcp6c.c dhcp6c_script.c dhcp6c_ia.c
SUBST_FILES.dprintf+= dhcp6relay_script.c dhcp6relay.c dhcp6s.c lease.c if.c
SUBST_FILES.dprintf+= prefixconf.c timer.c
SUBST_SED.dprintf= -e 's/dprintf/my_dprintf/g'
do-install:
.for f in ${COMMANDS}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/sbin
.endfor
.for f in ${MAN5}
${INSTALL_MAN} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
.endfor
.for f in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.endfor
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f}.sample ${DESTDIR}${EGDIR}/${f}
.endfor
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>