aboutsummaryrefslogtreecommitdiffstats
path: root/mail/crm114-devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-02 05:11:38 +0800
committerpav <pav@FreeBSD.org>2004-03-02 05:11:38 +0800
commitc97ed8c8dc35b6477d2646c97bd2eab889511ade (patch)
tree6c1a8e9e99ad0089e7afe5c27687b3e8adcd7e36 /mail/crm114-devel
parentcd620c69335716ee53bb64f2c612626d327ab497 (diff)
downloadfreebsd-ports-gnome-c97ed8c8dc35b6477d2646c97bd2eab889511ade.tar.gz
freebsd-ports-gnome-c97ed8c8dc35b6477d2646c97bd2eab889511ade.tar.zst
freebsd-ports-gnome-c97ed8c8dc35b6477d2646c97bd2eab889511ade.zip
- Update to 20040221
- Download and install contributed scripts and prelearned spam and nonspam databases PR: ports/63415 Submitted by: Meno Abels <meno.abels@adviser.com> (maintainer)
Diffstat (limited to 'mail/crm114-devel')
-rw-r--r--mail/crm114-devel/Makefile37
-rw-r--r--mail/crm114-devel/distinfo6
-rw-r--r--mail/crm114-devel/pkg-plist21
3 files changed, 59 insertions, 5 deletions
diff --git a/mail/crm114-devel/Makefile b/mail/crm114-devel/Makefile
index c60e69706550..c21bea5b35be 100644
--- a/mail/crm114-devel/Makefile
+++ b/mail/crm114-devel/Makefile
@@ -6,17 +6,26 @@
#
PORTNAME= crm114
-PORTVERSION= 20040212
+PORTVERSION= 20040221
+# WARNING change versionname in CRM114RELEASENAME too.
+# portlint didn't like this variable at this place.
+# So I have to put it down in this file.
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= crm114
-DISTNAME= ${PORTNAME}-${PORTVERSION}-BlameJetlag.src
+# Oliver Eikemeier recommended the following construction
+# to avoid the reduncany of the CRM114RELEASENAME and .src and
+# .css extention.
+DISTNAME= ${PORTNAME}-${PORTVERSION}-${CRM114RELEASENAME}.src
+DISTFILES= ${DISTNAME}.tar.gz ${DISTNAME:R}.css.tar.gz
MAINTAINER= Meno.Abels@Adviser.com
COMMENT= An Markov based SpamFilter
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
+CRM114RELEASENAME=BlameYokohama
+
USE_GETTEXT= yes
USE_ICONV= yes
@@ -28,12 +37,34 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= -L${LOCALBASE}/lib -liconv -lintl
+CRM_FILES= classifytest.crm exectest.crm inserttest_a.crm \
+ inserttest_b.crm learntest.crm mailfilter.crm \
+ matchtest.crm overalterisolatedtest.crm \
+ windowtest.crm
+
+post-build:
+ ${MKDIR} ${WRKSRC}/fbsdinstall
+.for i in ${CRM_FILES}
+ ${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
+.endfor
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for i in CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt QUICKREF.txt README
+.for i in CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt QUICKREF.txt README \
+ classify_details.txt COLOPHON.txt knownbugs.txt things_to_do.txt
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
+ ${MKDIR} ${EXAMPLESDIR}
+.for i in procmailrc.recipe blacklist.mfp mailfilter.cf whitelist.mfp priolist.mfp
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
+.endfor
+.for i in ${CRM_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/fbsdinstall/${i} ${EXAMPLESDIR}
+.endfor
+.for i in nonspam.css spam.css
+ ${INSTALL_DATA} ${WRKSRC}/../${PORTNAME}-${PORTVERSION}-${CRM114RELEASENAME}.css/${i} ${EXAMPLESDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/mail/crm114-devel/distinfo b/mail/crm114-devel/distinfo
index c4760f0e7451..61d88c0e1b93 100644
--- a/mail/crm114-devel/distinfo
+++ b/mail/crm114-devel/distinfo
@@ -1,2 +1,4 @@
-MD5 (crm114-20040212-BlameJetlag.src.tar.gz) = 1124fb9c18161bf4306a162e6b9fd974
-SIZE (crm114-20040212-BlameJetlag.src.tar.gz) = 760719
+MD5 (crm114-20040221-BlameYokohama.src.tar.gz) = c969c5857e6c9a423a9d1f2b31a3e072
+SIZE (crm114-20040221-BlameYokohama.src.tar.gz) = 762449
+MD5 (crm114-20040221-BlameYokohama.css.tar.gz) = e0020dbcb7fd34ac2cbe5ac6c31644f7
+SIZE (crm114-20040221-BlameYokohama.css.tar.gz) = 11772285
diff --git a/mail/crm114-devel/pkg-plist b/mail/crm114-devel/pkg-plist
index 0b46939bd4d5..330213185046 100644
--- a/mail/crm114-devel/pkg-plist
+++ b/mail/crm114-devel/pkg-plist
@@ -8,4 +8,25 @@ bin/cssutil
%%PORTDOCS%%%%DOCSDIR%%/INTRO.txt
%%PORTDOCS%%%%DOCSDIR%%/QUICKREF.txt
%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/classify_details.txt
+%%PORTDOCS%%%%DOCSDIR%%/COLOPHON.txt
+%%PORTDOCS%%%%DOCSDIR%%/knownbugs.txt
+%%PORTDOCS%%%%DOCSDIR%%/things_to_do.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/procmailrc.recipe
+%%EXAMPLESDIR%%/classifytest.crm
+%%EXAMPLESDIR%%/exectest.crm
+%%EXAMPLESDIR%%/inserttest_a.crm
+%%EXAMPLESDIR%%/inserttest_b.crm
+%%EXAMPLESDIR%%/learntest.crm
+%%EXAMPLESDIR%%/mailfilter.crm
+%%EXAMPLESDIR%%/matchtest.crm
+%%EXAMPLESDIR%%/overalterisolatedtest.crm
+%%EXAMPLESDIR%%/windowtest.crm
+%%EXAMPLESDIR%%/mailfilter.cf
+%%EXAMPLESDIR%%/blacklist.mfp
+%%EXAMPLESDIR%%/priolist.mfp
+%%EXAMPLESDIR%%/whitelist.mfp
+%%EXAMPLESDIR%%/spam.css
+%%EXAMPLESDIR%%/nonspam.css
+@dirrm %%EXAMPLESDIR%%
8?h=gstreamer0.10-removal&id=f506a6fe6040c4b3458454bcd59aecb82d2d8f65'>Assign maintainership to Gerhard Schmidt who have sent previousperky2004-04-141-1/+1 * - Update to 2.7.0pav2004-04-0212-920/+1041 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Drop maintainership.nbm2004-03-261-1/+1 * Upgrade www/zope to version 2.6.2nbm2003-11-223-47/+39 * Don't list Data.fs, as it's precious and should not be overwritten whennbm2003-08-292-5/+7 * Port isn't broken, and claim maintainership.nbm2003-08-281-3/+1 * BROKEN: Does not buildkris2003-08-071-0/+2 * update www/zope: allow zope to build with other python versionsdaichi2003-07-091-1/+1 * Change python dependency to 2.1 as the documentation recommends.perky2003-06-161-1/+2 * Upgrade to 2.6.1perky2003-05-123-10/+30 * BROKEN: Does not compilekris2003-05-071-0/+2 * I just don't have the time to maintain this and all its issues.alane2003-04-111-1/+1 * Clear moonlight beckons.ade2003-03-072-1/+1 * restore python21 dependency that was lost in upgradealane2003-02-071-0/+2 * Updated to 2.6.0. Simon, you forgot to remove the temp files before makingalane2003-01-133-132/+307 * Create the cgi-bin dir for Zope's cgi scripts if it doesn't exist, ratheralane2002-11-031-15/+13 * Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realizealane2002-11-011-1/+1 * Changed MAINTAINER to my FreeBSD address.alane2002-11-011-1/+1 * 1. Use the link /usr/local/www/cgi-bin for installing the cgi scripts.alane2002-07-273-6/+20 * 1. Redirect stderr to /dev/null as well as stdout in rc.d/zope.sh, so thatalane2002-06-202-2/+3 * Upgrade to Zope 2.5.1nbm2002-05-094-25/+27 * Implement the HotFix described atnbm2002-03-233-3/+11 * Add install and deinstall scripts I forgot to commit last time.nbm2002-02-09