diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-01-21 14:41:02 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-01-21 14:41:02 +0000 |
commit | 1b916d4d96e1fb32b79b58e7e9a56367d676c91e (patch) | |
tree | b44dc6e053e081a1e23602ab6cae6a8a7493f761 | |
parent | d846c1b2b5a46d2ebf34f4eceb09e6186db58586 (diff) | |
download | ports-1b916d4d96e1fb32b79b58e7e9a56367d676c91e.tar.gz ports-1b916d4d96e1fb32b79b58e7e9a56367d676c91e.zip |
Notes
-rw-r--r-- | security/clamav-devel/Makefile | 8 | ||||
-rw-r--r-- | security/clamav-devel/distinfo | 2 | ||||
-rw-r--r-- | security/clamav-devel/pkg-plist | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile index 268b2923ee1d..0ff3c92b875a 100644 --- a/security/clamav-devel/Makefile +++ b/security/clamav-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= clamav -PORTVERSION= 20040116 +PORTVERSION= 20040120 CATEGORIES= security MASTER_SITES= http://clamav.sourceforge.net/snapshot/ PKGNAMESUFFIX= -devel @@ -23,6 +23,7 @@ RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \ arc:${PORTSDIR}/archivers/arc \ unzip:${PORTSDIR}/archivers/unzip +#OPTIONS= MILTER "Compile the milter interface" off USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes @@ -68,7 +69,6 @@ SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ -e 's|^\#?(DatabaseOwner) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(UpdateLogFile) .*$$|\1 /var/log/clamav/freshclam.log|' - .include <bsd.port.pre.mk> USE_RC_SUBR= yes @@ -119,6 +119,10 @@ post-build: pre-install: ${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX} + ${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}${PKGNAMESUFFIX} +.endif post-install: @[ -f ${PREFIX}/etc/clamav.conf ] || \ diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo index 3a6d244adb0d..7409de51d7cf 100644 --- a/security/clamav-devel/distinfo +++ b/security/clamav-devel/distinfo @@ -1 +1 @@ -MD5 (clamav-devel-20040116.tar.gz) = 9a3d2763a13e787cfe658125c631b27d +MD5 (clamav-devel-20040120.tar.gz) = 662edc3766de3e1a71554dbf313dc378 diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist index a88852a6f7e5..3040afda1f05 100644 --- a/security/clamav-devel/pkg-plist +++ b/security/clamav-devel/pkg-plist @@ -11,6 +11,9 @@ include/clamav.h lib/libclamav.so.1 lib/libclamav.so lib/libclamav.a +%%PORTDOCS%%%%DOCSDIR%%-devel/clamav-mirror-howto.pdf +%%PORTDOCS%%%%DOCSDIR%%-devel/clamdoc.pdf +%%PORTDOCS%%%%DOCSDIR%%-devel/signatures.pdf @unexec if cmp -s %D/etc/clamav.conf %D/etc/clamav.conf.default; then rm -f %D/etc/clamav.conf; fi etc/clamav.conf.default @exec [ -f %B/clamav.conf ] || cp %B/%f %B/clamav.conf @@ -26,3 +29,4 @@ etc/freshclam.conf.default @dirrm %%DATADIR%% @unexec rmdir /var/run/clamav 2>/dev/null || true @unexec rmdir /var/log/clamav 2>/dev/null || true +%%PORTDOCS%%@dirrm %%DOCSDIR%%-devel |