mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- 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
This commit is contained in:
parent
f4f63be7e1
commit
520b49f848
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342010
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user