mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
- update to 20040120
- Added some docs PR: 61675 Submitted by: rob@debank.tv - Fix: remove docdir
This commit is contained in:
parent
d846c1b2b5
commit
1b916d4d96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98698
@ -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 ] || \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (clamav-devel-20040116.tar.gz) = 9a3d2763a13e787cfe658125c631b27d
|
||||
MD5 (clamav-devel-20040120.tar.gz) = 662edc3766de3e1a71554dbf313dc378
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user