blob: a6135c0d22f2979f1bb5b8628c13e998e0ea828a (
plain) (
tree)
|
|
# 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"
|