summaryrefslogtreecommitdiff
path: root/mail/postgrey
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-19 01:01:39 +0000
committerwiz <wiz@pkgsrc.org>2006-02-19 01:01:39 +0000
commit1d060c84eda97ea8d8a1de82810a8bc703de5994 (patch)
tree0e274c02cfaa7083558a7473af3906a838fe914c /mail/postgrey
parent7585cf688f48f59b0fdefb5e9882989df3c01193 (diff)
downloadpkgsrc-1d060c84eda97ea8d8a1de82810a8bc703de5994.tar.gz
Simplify PLIST handling. PLIST_SUBST isn't necessary for static paths.
Remove OWN_DIRS to fix CHECK_FILES build. Some pkglint cleanup while here.
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/Makefile12
-rw-r--r--mail/postgrey/PLIST14
2 files changed, 12 insertions, 14 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index ebaebdaab0e..40a3fcfbaf2 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/01/06 15:10:05 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2006/02/19 01:01:39 wiz Exp $
#
DISTNAME= postgrey-1.21
@@ -38,17 +38,11 @@ CONF_FILES+= ${PREFIX}/${EGDIR}/${i} \
${PKG_SYSCONFDIR}/${i}
.endfor
-OWN_DIRS+= ${PREFIX}/${DOCDIR}
-OWN_DIRS+= ${PREFIX}/${EGDIR}
-
OWN_DIRS_PERMS+= ${POSTGREY_DBDIR} \
${POSTGREY_USER} ${POSTGREY_GROUP} 0775
FILES_SUBST+= PERL=${PERL5:Q}
-PLIST_SUBST+= DOCDIR=${DOCDIR:Q}
-PLIST_SUBST+= EGDIR=${EGDIR:Q}
-
SUBST_CLASSES+= postgrey
SUBST_STAGE.postgrey= pre-build
@@ -67,7 +61,7 @@ SUBST_SED.postgrey+= -e 's,/var/spool/postfix/postgrey,${POSTGREY_DBDIR},g'
# Config
SUBST_SED.postgrey+= -e 's,/etc/postfix,${PKG_SYSCONFDIR},g'
#
-SUBST_MESSAGE.postgrey= "Fixing defaults"
+SUBST_MESSAGE.postgrey= Fixing defaults.
INSTALLATION_DIRS= sbin
@@ -75,9 +69,11 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin/postgrey
+ ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
.for i in COPYING Changes README
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}/${i}
.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/${EGDIR}
.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EGDIR}/${i}
.endfor
diff --git a/mail/postgrey/PLIST b/mail/postgrey/PLIST
index 17430eab134..ee7bc00ebd9 100644
--- a/mail/postgrey/PLIST
+++ b/mail/postgrey/PLIST
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2005/05/02 20:34:00 reed Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/02/19 01:01:39 wiz Exp $
sbin/postgrey
-${DOCDIR}/COPYING
-${DOCDIR}/Changes
-${DOCDIR}/README
-${EGDIR}/postgrey_whitelist_clients
-${EGDIR}/postgrey_whitelist_recipients
+share/doc/postgrey/COPYING
+share/doc/postgrey/Changes
+share/doc/postgrey/README
+share/examples/postgrey/postgrey_whitelist_clients
+share/examples/postgrey/postgrey_whitelist_recipients
share/examples/rc.d/postgrey
+@dirrm share/examples/postgrey
+@dirrm share/doc/postgrey