summaryrefslogtreecommitdiff
path: root/net/mydns-pgsql/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'net/mydns-pgsql/Makefile.common')
-rw-r--r--net/mydns-pgsql/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mydns-pgsql/Makefile.common b/net/mydns-pgsql/Makefile.common
index ca30e8def73..fe946bf6ac0 100644
--- a/net/mydns-pgsql/Makefile.common
+++ b/net/mydns-pgsql/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2010/02/19 20:30:21 joerg Exp $
+# $NetBSD: Makefile.common,v 1.16 2010/07/01 16:07:05 joerg Exp $
DISTNAME= mydns-1.1.0
CATEGORIES= net
@@ -36,6 +36,8 @@ PKG_USERS= ${MYDNS_USER}:${MYDNS_GROUP}
INSTALLATION_DIRS+= ${EGDIR}
+USERGROUP_PHASE+= pre-install
+
post-install:
${WRKSRC}/src/mydns/mydns --dump-config > ${DESTDIR}${EGDIR}/mydns.conf
${CHMOD} 0600 ${DESTDIR}${EGDIR}/mydns.conf