diff options
Diffstat (limited to 'net/isc-dhclient4/Makefile')
-rw-r--r-- | net/isc-dhclient4/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/isc-dhclient4/Makefile b/net/isc-dhclient4/Makefile index e9003cd4711..5c7a2201a35 100644 --- a/net/isc-dhclient4/Makefile +++ b/net/isc-dhclient4/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.3 2009/01/04 00:59:23 adrianp Exp $ +# $NetBSD: Makefile,v 1.4 2010/06/25 21:56:46 joerg Exp $ # PKGNAME= isc-dhclient-${DHVER} COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Client SUBDIR= client +PKG_DESTDIR_SUPPORT= user-destdir + CONF_FILES+= ${EGDIR}/dhclient.conf ${PKG_SYSCONFDIR}/dhclient.conf RCD_SCRIPTS= isc_dhclient @@ -12,9 +14,10 @@ FILES_SUBST+= DHCP_HOME=${DHCP_HOME} .include "${.CURDIR}/../isc-dhcp4/options.mk" +INSTALLATION_DIRS+= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/client/dhclient.conf ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/client/dhclient.conf ${DESTDIR}${EGDIR} .include "../../net/isc-dhcp4/Makefile.common" .include "../../net/isc-dhcp4/buildlink3.mk" |