summaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2001-09-22 11:06:13 +0000
committerwiz <wiz>2001-09-22 11:06:13 +0000
commitdfa6671e69d45bd4c002a7f90b8a48d26f265f2a (patch)
tree9a2368fdf0c22e7c6f1454b1ffccd645caf85442 /mail/popa3d/Makefile
parent4861762972017db9a69f7f32417ee332e19a3bf2 (diff)
downloadpkgsrc-dfa6671e69d45bd4c002a7f90b8a48d26f265f2a.tar.gz
Create an empty dir (${PREFIX}/share/empty) for the daemon to chroot to.
Bump to 0.4.9.4nb1.
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r--mail/popa3d/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index 6e59c895ce7..fa1b9645e0a 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2001/09/11 16:47:12 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2001/09/22 11:06:13 wiz Exp $
#
DISTNAME= popa3d-0.4.9.4
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= mail
MASTER_SITES= http://www.openwall.com/popa3d/ \
ftp://ftp.openwall.com/pub/projects/popa3d/ \
@@ -20,6 +21,12 @@ USER_CMD= ${LOCALBASE}/sbin/user
GROUP_CMD= ${LOCALBASE}/sbin/group
.endif
+post-patch:
+ cd ${WRKSRC} && \
+ ${SED} "s,/usr/share/empty,${PREFIX}/share/empty," \
+ params.h > params.h.new && \
+ ${MV} params.h.new params.h
+
do-install:
@if `${GROUP_CMD} info -e popa3d`; then \
${ECHO} Group \'popa3d\' already exists.; \
@@ -37,5 +44,6 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/popa3d
cd ${WRKSRC} && ${INSTALL_DATA} DESIGN INSTALL LICENSE \
${PREFIX}/share/doc/popa3d
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/empty
.include "../../mk/bsd.pkg.mk"