summaryrefslogtreecommitdiff
path: root/mail/popa3d
diff options
context:
space:
mode:
authorjlam <jlam>2001-12-07 20:30:59 +0000
committerjlam <jlam>2001-12-07 20:30:59 +0000
commit9d6ad90cb9f6f2a5925ff587ea2eb0036e2fa1e4 (patch)
treebf425c94fe9b169529729122512e38ae50d9e093 /mail/popa3d
parent8280a1085ef6f4506083c2811833e7b9233b5a59 (diff)
downloadpkgsrc-9d6ad90cb9f6f2a5925ff587ea2eb0036e2fa1e4.tar.gz
PKG_USER/PKG_GROUP are no more, so invent POPA3D_{USER,GROUP} to be used
in the Makefile and in the INSTALL file.
Diffstat (limited to 'mail/popa3d')
-rw-r--r--mail/popa3d/INSTALL7
-rw-r--r--mail/popa3d/Makefile12
2 files changed, 14 insertions, 5 deletions
diff --git a/mail/popa3d/INSTALL b/mail/popa3d/INSTALL
index dbbb29e450e..062e35d3973 100644
--- a/mail/popa3d/INSTALL
+++ b/mail/popa3d/INSTALL
@@ -1,7 +1,10 @@
-# $NetBSD: INSTALL,v 1.2 2001/11/25 23:55:35 zuntum Exp $
+# $NetBSD: INSTALL,v 1.3 2001/12/07 20:30:59 jlam Exp $
+
+POPA3D_USER="@POPA3D_USER@"
+POPA3D_GROUP="@POPA3D_GROUP@"
case "${STAGE}" in
POST-INSTALL)
- ${CHOWN} ${PKG_USER}:${PKG_GROUP} ${PKG_PREFIX}/libexec/popa3d
+ ${CHOWN} ${POPA3D_USER}:${POPA3D_GROUP} ${PKG_PREFIX}/libexec/popa3d
;;
esac
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index 8c1c2d4da54..ef6080bd05f 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/12/02 06:56:41 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2001/12/07 20:30:59 jlam Exp $
#
DISTNAME= popa3d-0.4.9.4
@@ -12,12 +12,18 @@ MAINTAINER= wiz@netbsd.org
HOMEPAGE= http://www.openwall.com/popa3d/
COMMENT= secure, reliable, performant, and small pop3 server
-PKG_GROUPS= popa3d
-PKG_USERS= popa3d:popa3d
+POPA3D_USER?= popa3d
+POPA3D_GROUP?= popa3d
+
+PKG_GROUPS= ${POPA3D_GROUP}
+PKG_USERS= ${POPA3D_USER}:${POPA3D_GROUP}
INSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL
DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
+FILES_SUBST+= POPA3D_USER=${POPA3D_USER}
+FILES_SUBST+= POPA3D_GROUP=${POPA3D_GROUP}
+
post-patch:
cd ${WRKSRC} && \
${SED} "s,/usr/share/empty,${PREFIX}/share/empty," \