summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-16 00:45:13 +0000
committerrillig <rillig@pkgsrc.org>2006-01-16 00:45:13 +0000
commit8b2aa39b8a9b97edad4ba1359a9a319e151620df (patch)
treebe93440df8354f578d641c6892d03a39b96e2ed8 /mail
parent7acc70578fe4e5e505026c6b123b24dd5ca7269d (diff)
downloadpkgsrc-8b2aa39b8a9b97edad4ba1359a9a319e151620df.tar.gz
- Applied the code from the patch in PR 32540 by Anne Bennett, which
allows the user to define DEFANG_USER and DEFANG_GROUP in the MAKECONF file. Fixes PR 32540. - Added the configurable variables to BUILD_DEFS, so that they are shown during the build process. - Bumped PKGREVISION.
Diffstat (limited to 'mail')
-rw-r--r--mail/mimedefang/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index ea9810d3c65..71411c36826 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2005/12/29 06:21:51 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2006/01/16 00:45:13 rillig Exp $
DISTNAME= mimedefang-2.54
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -17,6 +18,8 @@ DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
DEPENDS+= p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools
DEPENDS+= spamassassin>=2.31:../../mail/spamassassin
+.include "../../mk/bsd.prefs.mk"
+
USE_TOOLS+= perl:run
GNU_CONFIGURE= YES
PKG_SYSCONFSUBDIR?= mimedefang
@@ -30,6 +33,9 @@ DEFANG_GROUP?= defang
PKG_GROUPS= ${DEFANG_GROUP}
PKG_USERS= ${DEFANG_USER}:${DEFANG_GROUP}
+BUILD_DEFS+= PKG_SYSCONFSUBDIR DEFANG_SPOOLDIR
+BUILD_DEFS+= DEFANG_USER DEFANG_GROUP
+
EGDIR= ${PREFIX}/share/examples/mimedefang
SHAREDIR= ${PREFIX}/share/mimedefang
@@ -50,6 +56,7 @@ CONFIGURE_ARGS+= --with-milterinc=${BUILDLINK_PREFIX.libmilter}/include
CONFIGURE_ARGS+= --with-milterlib=${BUILDLINK_PREFIX.libmilter}/lib
CONFIGURE_ARGS+= --with-spooldir=${DEFANG_SPOOLDIR:Q}
CONFIGURE_ARGS+= --with-quarantinedir=${DEFANG_SPOOLDIR:Q}
+CONFIGURE_ARGS+= --with-user=${DEFANG_USER:Q}
# CONFIGURE_ARGS+= --disable-anti-virus
# list the paths where they _would_ be installed, so they
# can be found at runtime. -- they have to be listed