diff options
author | joerg <joerg> | 2010-02-11 22:14:26 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 22:14:26 +0000 |
commit | 899cbf4f8e2b987e61ce3c40f894971c69412cd3 (patch) | |
tree | 4a3eafaf193d1f739668adedd66692e9bb408263 /net/mydns-pgsql/Makefile.common | |
parent | 14676837007204de3f0e71098fecb886f311b474 (diff) | |
download | pkgsrc-899cbf4f8e2b987e61ce3c40f894971c69412cd3.tar.gz |
DESTDIR support. XXX 600 on the example config is silly
Diffstat (limited to 'net/mydns-pgsql/Makefile.common')
-rw-r--r-- | net/mydns-pgsql/Makefile.common | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/mydns-pgsql/Makefile.common b/net/mydns-pgsql/Makefile.common index a3710563472..8a5eeda793f 100644 --- a/net/mydns-pgsql/Makefile.common +++ b/net/mydns-pgsql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2007/07/04 20:54:50 jlam Exp $ +# $NetBSD: Makefile.common,v 1.14 2010/02/11 22:14:26 joerg Exp $ DISTNAME= mydns-1.1.0 CATEGORIES= net @@ -34,10 +34,11 @@ RCD_SCRIPTS= mydns PKG_GROUPS= ${MYDNS_GROUP} PKG_USERS= ${MYDNS_USER}:${MYDNS_GROUP} +INSTALLATION_DIRS+= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${WRKSRC}/src/mydns/mydns --dump-config > ${EGDIR}/mydns.conf - ${CHMOD} 0600 ${EGDIR}/mydns.conf + ${WRKSRC}/src/mydns/mydns --dump-config > ${DESTDIR}${EGDIR}/mydns.conf + ${CHMOD} 0600 ${DESTDIR}${EGDIR}/mydns.conf .include "../../security/openssl/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" |