2002-09-09 22:11:54 +02:00
|
|
|
# New ports collection makefile for: SpamOracle
|
|
|
|
# Date created: Mon Sep 9 18:31:45 UTC 2002
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= spamoracle
|
2004-03-13 11:09:51 +01:00
|
|
|
PORTVERSION= 1.4
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2002-09-09 22:11:54 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://cristal.inria.fr/~xleroy/software/
|
|
|
|
|
2006-09-30 00:01:22 +02:00
|
|
|
MAINTAINER= xride@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= procmail spam filter written in ML using Bayesian classification
|
2002-09-09 22:11:54 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
|
|
|
|
|
2004-03-13 11:09:51 +01:00
|
|
|
MAN1= spamoracle.1
|
|
|
|
MAN5= spamoracle.conf.5
|
|
|
|
|
2006-08-04 09:18:41 +02:00
|
|
|
PLIST_FILES= bin/spamoracle
|
2005-05-19 15:14:13 +02:00
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes README
|
|
|
|
.endif
|
2004-03-13 11:09:51 +01:00
|
|
|
|
|
|
|
do-configure:
|
2002-09-09 22:11:54 +02:00
|
|
|
@${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \
|
2004-03-13 11:09:51 +01:00
|
|
|
-e 's|^(MANDIR=).*$$|\1${MANPREFIX}/man|' \
|
|
|
|
-e 's|^(BINDIR=).*$$|\1${PREFIX}/bin|' \
|
2002-09-09 22:11:54 +02:00
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2004-03-13 11:09:51 +01:00
|
|
|
post-install:
|
2002-09-09 22:11:54 +02:00
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-05-19 15:14:13 +02:00
|
|
|
.for file in ${PORTDOCS}
|
2004-03-13 11:09:51 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2002-09-09 22:11:54 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|