From d7635a0587d0612faa57b2cb41a6fe3afed58d84 Mon Sep 17 00:00:00 2001 From: Sahil Tandon Date: Wed, 30 Jun 2010 04:18:19 +0000 Subject: [PATCH] - Update to 0.4.2 - Add LICENSE PR: ports/147854 Submitted by: Frank Wall (maintainer) Approved by: itetcu@ (mentor) Feature safe: yes --- mail/spmfilter/Makefile | 8 ++++++-- mail/spmfilter/distinfo | 6 +++--- mail/spmfilter/pkg-plist | 6 +++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/mail/spmfilter/Makefile b/mail/spmfilter/Makefile index 56817b1ecc47..784a5e237163 100644 --- a/mail/spmfilter/Makefile +++ b/mail/spmfilter/Makefile @@ -6,9 +6,9 @@ # PORTNAME= spmfilter -PORTVERSION= 0.4.1 +PORTVERSION= 0.4.2 CATEGORIES= mail -MASTER_SITES= http://www.${PORTNAME}.org/attachments/download/54/ +MASTER_SITES= http://www.${PORTNAME}.org/attachments/download/60/ MAINTAINER= fw@moov.de COMMENT= Spmfilter is a high-performance mail filtering framework, written in C @@ -21,6 +21,8 @@ RUN_DEPENDS= gmime-24>=2.4:${PORTSDIR}/mail/gmime24 \ libesmtp>=1.0:${PORTSDIR}/mail/libesmtp \ glib>=2.14:${PORTSDIR}/devel/glib20 +LICENSE= LGPL3 + USE_CMAKE= yes CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \ -DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib" @@ -86,6 +88,8 @@ MANCOMPRESSED= yes SUB_LIST+= REQUIRE="${_REQUIRE}" +PLIST_SUB= LIB_VERSION=${PORTVERSION} + post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' \ ${WRKSRC}/cmake/Modules/SMFMacros.cmake diff --git a/mail/spmfilter/distinfo b/mail/spmfilter/distinfo index 12de8f3db38d..710e9fc20f02 100644 --- a/mail/spmfilter/distinfo +++ b/mail/spmfilter/distinfo @@ -1,3 +1,3 @@ -MD5 (spmfilter-0.4.1.tar.gz) = 653b8c0bb85be71edafbd7771d3fc26b -SHA256 (spmfilter-0.4.1.tar.gz) = f8b88ee5035a54969de887e1896fbedc45238ffac30396ebc1191518751ce4f8 -SIZE (spmfilter-0.4.1.tar.gz) = 53734 +MD5 (spmfilter-0.4.2.tar.gz) = c4e0b2a71a39fe66fe6e5e62250117e5 +SHA256 (spmfilter-0.4.2.tar.gz) = 1f9fdcbbac3f1301ab0bf2803bb699fa2e9a8075d78d158d96e2d066c3124d02 +SIZE (spmfilter-0.4.2.tar.gz) = 54418 diff --git a/mail/spmfilter/pkg-plist b/mail/spmfilter/pkg-plist index ac938da92194..3f4c70597f9e 100644 --- a/mail/spmfilter/pkg-plist +++ b/mail/spmfilter/pkg-plist @@ -9,11 +9,11 @@ include/spmfilter/spmfilter.h include/spmfilter/spmfilter_config.h libdata/pkgconfig/spmfilter.pc lib/spmfilter/libpipe.so -lib/spmfilter/libpipe.so.0.4.1 +lib/spmfilter/libpipe.so.%%LIB_VERSION%% lib/spmfilter/libsmf.so -lib/spmfilter/libsmf.so.0.4.1 +lib/spmfilter/libsmf.so.%%LIB_VERSION%% lib/spmfilter/libsmtpd.so -lib/spmfilter/libsmtpd.so.0.4.1 +lib/spmfilter/libsmtpd.so.%%LIB_VERSION%% sbin/spmfilter @unexec if cmp -s %D/etc/spmfilter.conf.sample %D/etc/spmfilter.conf; then rm -f %D/etc/spmfilter.conf; fi etc/spmfilter.conf.sample