diff options
author | joerg <joerg@pkgsrc.org> | 2010-06-25 21:56:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-06-25 21:56:46 +0000 |
commit | adc061d9b988c808149ec2658bbf2cc19f93b25b (patch) | |
tree | ae22c6392b3be6a15004edbd94768d117b40889d /net/isc-dhclient4/Makefile | |
parent | 75021fbcab44a131a479e7b91f33bce6f481fc4d (diff) | |
download | pkgsrc-adc061d9b988c808149ec2658bbf2cc19f93b25b.tar.gz |
DESTDIR support
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" |