summaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-12-07 20:30:59 +0000
committerjlam <jlam@pkgsrc.org>2001-12-07 20:30:59 +0000
commitcad8d76f6945b801dd743c518f99dabab798d4a9 (patch)
treebf425c94fe9b169529729122512e38ae50d9e093 /mail/popa3d/Makefile
parent0a335d671e6187eef3c61493dadbc08edeacfc77 (diff)
downloadpkgsrc-cad8d76f6945b801dd743c518f99dabab798d4a9.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/Makefile')
-rw-r--r--mail/popa3d/Makefile12
1 files changed, 9 insertions, 3 deletions
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," \