From 372ea224c288ea14719b0055008e3944f0621799 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 22:14:26 +0000 Subject: DESTDIR support. XXX 600 on the example config is silly --- net/mydns-pgsql/Makefile.common | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'net/mydns-pgsql') 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" -- cgit v1.2.3