aboutsummaryrefslogtreecommitdiff
path: root/mail/spamprobe/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2004-02-19 00:17:19 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2004-02-19 00:17:19 +0000
commitbf849d54650ce66f816ed6b51a178935560f3a4d (patch)
treeaa6f0ab5a3af40a087363b61c5a11d5fe837f53c /mail/spamprobe/Makefile
parent159b6b5ea81a1288f8b067bb6c3be326a1cac7d3 (diff)
downloadports-bf849d54650ce66f816ed6b51a178935560f3a4d.tar.gz
ports-bf849d54650ce66f816ed6b51a178935560f3a4d.zip
Notes
Diffstat (limited to 'mail/spamprobe/Makefile')
-rw-r--r--mail/spamprobe/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 8d5bba628453..6f1dd6aad2d8 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spamprobe
-PORTVERSION= 0.8b
+PORTVERSION= 0.9h
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@@ -14,20 +14,13 @@ MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= mdodd@freebsd.org
COMMENT= Spam detector using Bayesian analysis of word counts
-LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
-MAKEFILE= ${FILESDIR}/Makefile
-MAKE_ENV+= FILESDIR="${FILESDIR}"
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-default-8bit
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db4" \
+ LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
+MAN1= spamprobe.1
-post-build:
- @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} -f \
- ${FILESDIR}/Makefile.export0_6 clean all
-
-post-install:
- @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} -f \
- ${FILESDIR}/Makefile.export0_6 install
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>