blob: 1b9b3eb805cd5e7204ffb984636b750a79614987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $FreeBSD$
PORTREVISION= 1
PKGNAMESUFFIX= -Alt
MAINTAINER= ports@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
NO_STAGE= yes
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"
|