aboutsummaryrefslogtreecommitdiff
path: root/mail/spmfilter-clamav
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-01-31 15:50:37 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-01-31 15:50:37 +0000
commit520b49f848ed0ce92804c7e2a7bbf2e654105dee (patch)
tree7a289603ac91f511426ba1989c6a307b3af06548 /mail/spmfilter-clamav
parentf4f63be7e18005b76f837618e1cc192578b57507 (diff)
downloadports-520b49f848ed0ce92804c7e2a7bbf2e654105dee.tar.gz
ports-520b49f848ed0ce92804c7e2a7bbf2e654105dee.zip
- Update to version 0.2.3 [1]
- Add stage support [1] - Convert to option helpers - Unmute install commands PR: ports/185928 [1] Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=342010
Diffstat (limited to 'mail/spmfilter-clamav')
-rw-r--r--mail/spmfilter-clamav/Makefile32
-rw-r--r--mail/spmfilter-clamav/distinfo4
-rw-r--r--mail/spmfilter-clamav/pkg-plist5
3 files changed, 17 insertions, 24 deletions
diff --git a/mail/spmfilter-clamav/Makefile b/mail/spmfilter-clamav/Makefile
index cf3673d3b421..c9e5e7f9784f 100644
--- a/mail/spmfilter-clamav/Makefile
+++ b/mail/spmfilter-clamav/Makefile
@@ -2,35 +2,26 @@
# $FreeBSD$
PORTNAME= spmfilter-clamav
-PORTVERSION= 0.1.1
-PORTREVISION= 1
+PORTVERSION= 0.2.3
CATEGORIES= mail
-MASTER_SITES= http://www.spmfilter.org/attachments/download/59/
+MASTER_SITES= http://www.spmfilter.org/files/
MAINTAINER= ast@treibsand.com
COMMENT= ClamAV plugin for spmfilter
-BUILD_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
-
-RUN_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
+BUILD_DEPENDS= spmfilter>=0.6:${PORTSDIR}/mail/spmfilter
+RUN_DEPENDS= spmfilter>=0.6:${PORTSDIR}/mail/spmfilter
USES= cmake pkgconfig
-CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
+CMAKE_ARGS+= --no-warn-unused-cli \
+ -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
USE_LDCONFIG= ${PREFIX}/lib/spmfilter
OPTIONS_DEFINE= DEBUG
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDEBUG}
-CMAKE_ARGS+= -DENABLE_DEBUG=TRUE
-.endif
-
-MAN1= ${PORTNAME}.1
-MANCOMPRESSED= yes
+DEBUG_CMAKE_ON= -DENABLE_DEBUG=TRUE
PORTDOCS= *
@@ -39,9 +30,8 @@ post-patch:
${WRKSRC}/cmake/Modules/SMFMacros.cmake
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}/contrib
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/contrib/virus-notify.txt ${DOCSDIR}/contrib
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/contrib/virus-notify.txt ${STAGEDIR}${DOCSDIR}/contrib
+
.include <bsd.port.mk>
diff --git a/mail/spmfilter-clamav/distinfo b/mail/spmfilter-clamav/distinfo
index a5f4a6383762..e4a22c6e54e7 100644
--- a/mail/spmfilter-clamav/distinfo
+++ b/mail/spmfilter-clamav/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spmfilter-clamav-0.1.1.tar.gz) = 7b68b9b7347bf5787fe63da77e733c7a67c40c82d6c87760f8f5d658573dc8a9
-SIZE (spmfilter-clamav-0.1.1.tar.gz) = 9065
+SHA256 (spmfilter-clamav-0.2.3.tar.gz) = 215c4ae39fcb921676da7e6cb5cf8789657d51f6be67c2e56976cc738ff1e80c
+SIZE (spmfilter-clamav-0.2.3.tar.gz) = 9184
diff --git a/mail/spmfilter-clamav/pkg-plist b/mail/spmfilter-clamav/pkg-plist
index 933daee7d117..8b4ba67b33f8 100644
--- a/mail/spmfilter-clamav/pkg-plist
+++ b/mail/spmfilter-clamav/pkg-plist
@@ -1,3 +1,6 @@
lib/spmfilter/libclamav.so
-lib/spmfilter/libclamav.so.0.1.1
+lib/spmfilter/libclamav.so.0.2
+lib/spmfilter/libclamav.so.0.2.3
+man/man1/spmfilter-clamav.1.gz
@dirrmtry lib/spmfilter
+