aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav-devel/Makefile
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-01-22 02:04:29 +0800
committergarga <garga@FreeBSD.org>2008-01-22 02:04:29 +0800
commit61b76caa677bd1e4438c0e2aef6bfc1d036ed199 (patch)
tree9cbe4a1b4eecdcdf1c0617419bb9b59f6437198f /security/clamav-devel/Makefile
parentb1fed2dcb565039a3ea4050943dca0cf93d04507 (diff)
downloadfreebsd-ports-graphics-61b76caa677bd1e4438c0e2aef6bfc1d036ed199.tar.gz
freebsd-ports-graphics-61b76caa677bd1e4438c0e2aef6bfc1d036ed199.tar.zst
freebsd-ports-graphics-61b76caa677bd1e4438c0e2aef6bfc1d036ed199.zip
- Update to 20080121
Diffstat (limited to 'security/clamav-devel/Makefile')
-rw-r--r--security/clamav-devel/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 1f031e915b9..c35dce1d972 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20071212
+PORTVERSION= 20080121
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/snapshot/ \
${MASTER_SITE_LOCAL}
@@ -132,10 +132,10 @@ RUN_DEPENDS+= lha:${PORTSDIR}/archivers/lha
RUN_DEPENDS+= unzoo:${PORTSDIR}/archivers/unzoo
.endif
.if defined(WITH_UNRAR)
-PATCH_SITES+= http://www.clamav.net/patches/
-PATCHFILES+= unrar.diff
-PATCH_DIST_STRIP+= -p1
-CONFIGURE_ARGS+= --enable-unrar
+PLIST_SUB+= UNRAR=""
+.else
+PLIST_SUB+= UNRAR="@comment "
+CONFIGURE_ARGS+= --disable-unrar
.endif
.if defined(WITH_MILTER)
@@ -170,10 +170,8 @@ post-patch:
@${REINPLACE_CMD} ${SED_CONF} \
${WRKSRC}/etc/clamd.conf \
${WRKSRC}/etc/freshclam.conf
-.if defined(WITH_UNRAR)
@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
${WRKSRC}/libclamunrar/unrar.c
-.endif
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL