svn commit: r511596 - head/mail/crm114
Matthias Andree
mandree at FreeBSD.org
Sun Sep 8 20:38:50 UTC 2019
Author: mandree
Date: Sun Sep 8 20:38:49 2019
New Revision: 511596
URL: https://svnweb.freebsd.org/changeset/ports/511596
Log:
Reduce number of requisites.
Corey has decided to give up maintainership. Thanks for your past efforts!
While here, run ${STRIP_CMD} on executables in bin/.
PR: 226608
Submitted by: Corey Halpin (maintainer)
Reported by: Igor Sysoev
Modified:
head/mail/crm114/Makefile
Modified: head/mail/crm114/Makefile
==============================================================================
--- head/mail/crm114/Makefile Sun Sep 8 20:32:18 2019 (r511595)
+++ head/mail/crm114/Makefile Sun Sep 8 20:38:49 2019 (r511596)
@@ -3,7 +3,7 @@
PORTNAME= crm114
PORTVERSION= 20100106
-PORTREVISION= 2
+PORTREVISION= 3
# 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.
@@ -14,7 +14,7 @@ MASTER_SITES= http://crm114.sourceforge.net/tarballs/
# .css extention.
DISTNAME= ${PORTNAME}-${PORTVERSION}-${CRM114RELEASENAME}.src
-MAINTAINER= chalpin at cs.wisc.edu
+MAINTAINER= ports at FreeBSD.org
COMMENT= Markov based SpamFilter
LICENSE= GPLv2
@@ -23,7 +23,7 @@ LIB_DEPENDS= libtre.so:textproc/libtre
CRM114RELEASENAME=BlameMichelson
-USES= gettext iconv
+USES= gettext-runtime
USE_CSTD=gnu89
OPTIONS_DEFINE= NORMALIZEMIME DOCS EXAMPLES
@@ -35,7 +35,7 @@ MAKE_ARGS= CC="${CC}" prefix="${STAGEDIR}${PREFIX}" \
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lintl
+LIBS+= -L${LOCALBASE}/lib -lintl
CFLAGS+= -DVERSION='\"${PORTVERSION}-${CRM114RELEASENAME}\"'
CFLAGS+= -DNO_LOGL
@@ -57,6 +57,12 @@ post-patch:
# Peter Jeremy recommended the use of b64decode and md5 20040302
post-install:
+ ${STRIP_CMD} \
+ ${STAGEDIR}${PREFIX}/bin/crm \
+ ${STAGEDIR}${PREFIX}/bin/cssdiff \
+ ${STAGEDIR}${PREFIX}/bin/cssutil \
+ ${STAGEDIR}${PREFIX}/bin/osbf-util \
+ ${STAGEDIR}${PREFIX}/bin/cssmerge
@${REINPLACE_CMD} -Ee 's|^(.*/openssl base64 -d/)|#\1|' \
-e 's|/mewdecode/|/b64decode -pr/|' ${WRKSRC}/mailfilter.cf
@${REINPLACE_CMD} -e 's|/md5sum/|/md5 -r/|' \
More information about the svn-ports-all
mailing list