aboutsummaryrefslogtreecommitdiffstats
path: root/security/samba-vscan/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-05 12:12:46 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-05 12:12:46 +0800
commitfd7d230aa1dd699634650569158d770aaa019366 (patch)
tree5fbf541d1bec5c9435facb50f7dd08d7de0acb4a /security/samba-vscan/Makefile
parentd6a1b94bb42b97d3139c01c7bb3364716c66e279 (diff)
downloadfreebsd-ports-gnome-fd7d230aa1dd699634650569158d770aaa019366.tar.gz
freebsd-ports-gnome-fd7d230aa1dd699634650569158d770aaa019366.tar.zst
freebsd-ports-gnome-fd7d230aa1dd699634650569158d770aaa019366.zip
- Upgrade to 0.3.5.
- Add VSCAN_SAMBA_PORT knob to work with samba3 port. No response from: maintainer
Diffstat (limited to 'security/samba-vscan/Makefile')
-rw-r--r--security/samba-vscan/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/security/samba-vscan/Makefile b/security/samba-vscan/Makefile
index 31ad756f204b..edc892660908 100644
--- a/security/samba-vscan/Makefile
+++ b/security/samba-vscan/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= samba-vscan
-PORTVERSION= 0.3.4
+PORTVERSION= 0.3.5
CATEGORIES= security
MASTER_SITES= http://heanet.dl.sourceforge.net/sourceforge/openantivirus/ \
http://easynews.dl.sourceforge.net/sourceforge/openantivirus/ \
@@ -15,15 +15,22 @@ MASTER_SITES= http://heanet.dl.sourceforge.net/sourceforge/openantivirus/ \
MAINTAINER= jmelo@freebsdbrasil.com.br
COMMENT= On-access virus scanning with Samba
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/samba:configure
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/${VSCAN_SAMBA_PORT}:build
USE_BZIP2= yes
-SAMBA_WRKSRC= `cd ${PORTSDIR}/net/samba; make -V WRKSRC`
+SAMBA_WRKSRC= `cd ${PORTSDIR}/net/${VSCAN_SAMBA_PORT}; make -V WRKSRC`
HAS_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-samba-source=${SAMBA_WRKSRC}
ETCDIR= ${PREFIX}/etc/samba-vscan
PKGMESSAGE= ${WRKDIR}/pkg-message
+VSCAN_SAMBA_PORT?=samba
+
+.if ${VSCAN_SAMBA_PORT} == "samba3"
+PLIST_SUB= VFSDIR=lib/samba/vfs
+.else
+PLIST_SUB= VFSDIR=lib/samba
+.endif
post-install:
@${MKDIR} ${PREFIX}/etc/samba-vscan