aboutsummaryrefslogtreecommitdiff
path: root/mail/dspam-devel
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-08-04 11:38:19 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-08-04 11:38:19 +0000
commit9ecf0513f414cd0401281136135f6d8b7dbfb3b0 (patch)
treed8b7f4a373df3f878419d53e7ad32255c4ee41d1 /mail/dspam-devel
parent63b731a42b77d7f2871c03e04a10b31520178fb6 (diff)
downloadports-9ecf0513f414cd0401281136135f6d8b7dbfb3b0.tar.gz
ports-9ecf0513f414cd0401281136135f6d8b7dbfb3b0.zip
Notes
Diffstat (limited to 'mail/dspam-devel')
-rw-r--r--mail/dspam-devel/Makefile39
-rw-r--r--mail/dspam-devel/distinfo1
-rw-r--r--mail/dspam-devel/files/patch-configure12
-rw-r--r--mail/dspam-devel/pkg-descr7
-rw-r--r--mail/dspam-devel/pkg-message7
-rw-r--r--mail/dspam-devel/pkg-plist15
6 files changed, 81 insertions, 0 deletions
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile
new file mode 100644
index 000000000000..b2813c542f20
--- /dev/null
+++ b/mail/dspam-devel/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: dspam
+# Date created: 3 August 2003
+# Whom: Dominic Marks <dom@wirespeed.org.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dspam
+PORTVERSION= 2.6.3
+CATEGORIES= mail
+MASTER_SITES= http://www.networkdweebs.com/software/dspam/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
+
+MAINTAINER= dom@wirespeed.org.uk
+COMMENT= A server-side bayesian spam filter
+
+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam \
+ --with-db4-includes=${LOCALBASE}/include/db41
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
+ s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
+ ${DOCSDIR}
+.endif
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/dspam-devel/distinfo b/mail/dspam-devel/distinfo
new file mode 100644
index 000000000000..67a22ef8b223
--- /dev/null
+++ b/mail/dspam-devel/distinfo
@@ -0,0 +1 @@
+MD5 (dspam-2.6.tar.gz) = 3fd1eb76bd4d28fd7707b64e7899b3cd
diff --git a/mail/dspam-devel/files/patch-configure b/mail/dspam-devel/files/patch-configure
new file mode 100644
index 000000000000..04f295d439b7
--- /dev/null
+++ b/mail/dspam-devel/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Sun Aug 3 01:16:30 2003
++++ configure Mon Aug 4 12:03:04 2003
+@@ -18216,7 +18216,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="%%LIBTOOLFLAGS%% $ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/mail/dspam-devel/pkg-descr b/mail/dspam-devel/pkg-descr
new file mode 100644
index 000000000000..9fce811e1aac
--- /dev/null
+++ b/mail/dspam-devel/pkg-descr
@@ -0,0 +1,7 @@
+DSPAM (as in De-Spam) is an open-source project to create a new kind
+of anti-spam mechanism, and is currently effective as both a
+server-side agent for UNIX email servers and a developer's library
+for mail clients, other anti-spam tools, and similar projects
+requiring drop-in spam filtering.
+
+WWW: http://www.networkdweebs.com/software/dspam/
diff --git a/mail/dspam-devel/pkg-message b/mail/dspam-devel/pkg-message
new file mode 100644
index 000000000000..685b4c7cc4d0
--- /dev/null
+++ b/mail/dspam-devel/pkg-message
@@ -0,0 +1,7 @@
+--------------------------------------------------------------------
+
+ See the file %%PREFIX%%/share/doc/dspam/README for advice about
+ how to configure DSPAM with your MTA. Examples are provided for
+ sendmail, exim and other popular MTAs.
+
+--------------------------------------------------------------------
diff --git a/mail/dspam-devel/pkg-plist b/mail/dspam-devel/pkg-plist
new file mode 100644
index 000000000000..8295c7911b06
--- /dev/null
+++ b/mail/dspam-devel/pkg-plist
@@ -0,0 +1,15 @@
+bin/dspam
+bin/dspam_dump
+bin/dspam_convert
+bin/dspam_clean
+bin/dspam_crc
+bin/dspam_purge
+bin/dspam_stats
+bin/dspam_corpus
+lib/libdspam.so.2
+lib/libdspam.so
+lib/libdspam.a
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/CHANGE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm etc/dspam