1 # Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
8 MASTER_SITES= http://cristal.inria.fr/~xleroy/software/
10 MAINTAINER= xride@FreeBSD.org
11 COMMENT= procmail spam filter written in ML using Bayesian classification
13 BUILD_DEPENDS= ocaml:lang/ocaml
15 PLIST_FILES= bin/spamoracle
16 PLIST_FILES+= man/man1/spamoracle.1.gz
17 PLIST_FILES+= man/man5/spamoracle.conf.5.gz
21 .include <bsd.port.options.mk>
23 .if ${PORT_OPTIONS:MDOCS}
24 PORTDOCS= Changes README
28 @${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \
29 -e 's|^(MANDIR=).*$$|\1${STAGEDIR}${MANPREFIX}/man|' \
30 -e 's|^(BINDIR=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \
34 .if ${PORT_OPTIONS:MDOCS}
35 @${MKDIR} ${STAGEDIR}${DOCSDIR}
36 .for file in ${PORTDOCS}
37 @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/
41 .include <bsd.port.mk>