aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-21 12:13:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-21 12:13:47 +0000
commit32dc61398b20aa72b4143858aac3ec1d9728b732 (patch)
treef816c6586db98db4a1b84e787cc1904da7d5cb8c /mail
parentf8d3e8fcdd368f98f9ce1aeb6825207d3e24ddd1 (diff)
downloadports-32dc61398b20aa72b4143858aac3ec1d9728b732.tar.gz
ports-32dc61398b20aa72b4143858aac3ec1d9728b732.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/bogofilter-current/Makefile7
-rw-r--r--mail/bogofilter/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/bogofilter-current/Makefile b/mail/bogofilter-current/Makefile
index bd30ab55cd87..72877b658ba7 100644
--- a/mail/bogofilter-current/Makefile
+++ b/mail/bogofilter-current/Makefile
@@ -7,11 +7,12 @@
PORTNAME= bogofilter
PORTVERSION= 0.15.7
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= matthias.andree@web.de
+MAINTAINER= matthias.andree@gmx.de
COMMENT= "Fast, teachable, learning spam detector"
# There is a sibling port, bogofilter-tdb, which presets different
@@ -35,6 +36,10 @@ MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 \
post-patch:
${REINPLACE_CMD} -e 's/^@ENABLE_XMLTO_TRUE@//' ${WRKSRC}/doc/Makefile.in
+ ${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
+ ${WRKSRC}/contrib/randomtrain \
+ ${WRKSRC}/contrib/scramble \
+ ${WRKSRC}/contrib/trainbogo.sh
post-build::
cd ${WRKSRC} && make check SHELL=${SH}
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile
index bd30ab55cd87..72877b658ba7 100644
--- a/mail/bogofilter/Makefile
+++ b/mail/bogofilter/Makefile
@@ -7,11 +7,12 @@
PORTNAME= bogofilter
PORTVERSION= 0.15.7
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= matthias.andree@web.de
+MAINTAINER= matthias.andree@gmx.de
COMMENT= "Fast, teachable, learning spam detector"
# There is a sibling port, bogofilter-tdb, which presets different
@@ -35,6 +36,10 @@ MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 \
post-patch:
${REINPLACE_CMD} -e 's/^@ENABLE_XMLTO_TRUE@//' ${WRKSRC}/doc/Makefile.in
+ ${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
+ ${WRKSRC}/contrib/randomtrain \
+ ${WRKSRC}/contrib/scramble \
+ ${WRKSRC}/contrib/trainbogo.sh
post-build::
cd ${WRKSRC} && make check SHELL=${SH}