summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/postgrey/Makefile13
-rw-r--r--mail/postgrey/distinfo8
2 files changed, 10 insertions, 11 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 9565688b6d4..6de505743c9 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2006/06/18 01:04:04 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2007/04/02 13:35:08 taca Exp $
#
-DISTNAME= postgrey-1.24
+DISTNAME= postgrey-1.27
CATEGORIES= mail
MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/ \
http://isg.ee.ethz.ch/tools/postgrey/pub/old/
@@ -14,6 +14,7 @@ DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex
DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
+NO_BUILD= yes
NO_CONFIGURE= yes
USE_TOOLS+= perl:run
@@ -34,6 +35,8 @@ PKG_USERS= ${POSTGREY_USER}:${POSTGREY_GROUP}
PKG_GECOS.${POSTGREY_USER}= Postgrey Daemon User
+BUILD_DEFS+= POSTGREY_USER POSTGREY_GROUP POSTGREY_DBDIR VARBASE
+
.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
CONF_FILES+= ${PREFIX}/${EGDIR}/${i} \
${PKG_SYSCONFDIR}/${i}
@@ -63,17 +66,13 @@ SUBST_SED.postgrey+= -e 's,/etc/postfix,${PKG_SYSCONFDIR},g'
#
SUBST_MESSAGE.postgrey= Fixing defaults.
-INSTALLATION_DIRS= sbin
-
-do-build:
+INSTALLATION_DIRS= sbin ${DOCDIR} ${EGDIR}
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/distinfo b/mail/postgrey/distinfo
index 37c4f9d117f..480f4912e71 100644
--- a/mail/postgrey/distinfo
+++ b/mail/postgrey/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/03/30 09:06:16 is Exp $
+$NetBSD: distinfo,v 1.5 2007/04/02 13:35:08 taca Exp $
-SHA1 (postgrey-1.24.tar.gz) = 3bc93536a4f49462f77ed69dd32ecd9884912c25
-RMD160 (postgrey-1.24.tar.gz) = 232c8fb70370f85ccd4542a11ae2880386a47e1c
-Size (postgrey-1.24.tar.gz) = 27444 bytes
+SHA1 (postgrey-1.27.tar.gz) = 826a7907b31877238098edab4897632f816cea99
+RMD160 (postgrey-1.27.tar.gz) = 2e738800c3575e4d54c26e6166781abe44d79b7b
+Size (postgrey-1.27.tar.gz) = 29221 bytes