diff options
author | jlam <jlam@pkgsrc.org> | 2001-12-07 20:30:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-12-07 20:30:59 +0000 |
commit | cad8d76f6945b801dd743c518f99dabab798d4a9 (patch) | |
tree | bf425c94fe9b169529729122512e38ae50d9e093 | |
parent | 0a335d671e6187eef3c61493dadbc08edeacfc77 (diff) | |
download | pkgsrc-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.
-rw-r--r-- | mail/popa3d/INSTALL | 7 | ||||
-rw-r--r-- | mail/popa3d/Makefile | 12 |
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," \ |