aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-06-30 06:57:02 +0800
committerjgh <jgh@FreeBSD.org>2012-06-30 06:57:02 +0800
commit1ddf4a1a8040c3e879ad6d386b9b53fcc01ebdfb (patch)
tree0613c7b921d5ca3e276eb502cbbf9152bcb404e1 /mail
parent2938de157d34911dbeee61904127a1d3c4329583 (diff)
downloadfreebsd-ports-gnome-1ddf4a1a8040c3e879ad6d386b9b53fcc01ebdfb.tar.gz
freebsd-ports-gnome-1ddf4a1a8040c3e879ad6d386b9b53fcc01ebdfb.tar.zst
freebsd-ports-gnome-1ddf4a1a8040c3e879ad6d386b9b53fcc01ebdfb.zip
add new port: mail/p5-Mail-SpamAssassin-Alt
This port provides optional SpamAssassin tuning Sponsored by: Experts-Exchange, LLC.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/p5-Mail-SpamAssassin-Alt/Makefile27
2 files changed, 28 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 570f980b5f28..1a01c2b0c7ac 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -422,6 +422,7 @@
SUBDIR += p5-Mail-Sender
SUBDIR += p5-Mail-Sendmail
SUBDIR += p5-Mail-SpamAssassin
+ SUBDIR += p5-Mail-SpamAssassin-Alt
SUBDIR += p5-Mail-Spool
SUBDIR += p5-Mail-Tools
SUBDIR += p5-Mail-Transport-Dbx
diff --git a/mail/p5-Mail-SpamAssassin-Alt/Makefile b/mail/p5-Mail-SpamAssassin-Alt/Makefile
new file mode 100644
index 000000000000..a6135c0d22f2
--- /dev/null
+++ b/mail/p5-Mail-SpamAssassin-Alt/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-Mail-SpamAssassin-Alt
+# Date created: 21 March 2012
+# Whom: Jason Helfman <jgh@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+PKGNAMESUFFIX= -Alt
+
+MAINTAINER= jgh@FreeBSD.org
+COMMENT= Provides optional SpamAssassin tuning
+
+CONFLICTS= p5-Mail-SpamAssassin-[0-9]* ja-p5-Mail-SpamAssassin-[0-9]* p5-Mail-SpamAssassin-devel-[0-9]*
+LATEST_LINK= p5-Mail-SpamAssassin-Alt
+
+OPTIONS_DEFINE= AWL FREEMAIL
+AWL_DESC= Auto WhiteList support
+FREEMAIL_DESC= Disable FreeMail support
+
+post-patch-script:
+ if [ -n "${PORT_OPTIONS:MAWL}" ]; then ${REINPLACE_CMD} -e '/AWL/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre ; fi
+ if [ -n "${PORT_OPTIONS:MFREEMAIL}" ]; then ${REINPLACE_CMD} -e '/FreeMail/s/^loadplugin/#loadplugin/' ${WRKSRC}/rules/v330.pre ; fi
+
+MASTERDIR= ${.CURDIR}/../p5-Mail-SpamAssassin
+
+.include "${MASTERDIR}/Makefile"