aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2004-11-20 19:38:28 +0000
committerJames E. Housley <jeh@FreeBSD.org>2004-11-20 19:38:28 +0000
commit921c9319af9ec4b9679f8a4144755c970e31c80b (patch)
tree957859187a6a2dbb1b5d502f2f34e0a6a804f6bb /security
parentc4388090932507b2b5c97dd4465972f354dd47ed (diff)
downloadports-921c9319af9ec4b9679f8a4144755c970e31c80b.tar.gz
ports-921c9319af9ec4b9679f8a4144755c970e31c80b.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/vscan/Makefile24
-rw-r--r--security/vscan/pkg-plist2
2 files changed, 18 insertions, 8 deletions
diff --git a/security/vscan/Makefile b/security/vscan/Makefile
index 37b8034ea67e..554a0ccc7c03 100644
--- a/security/vscan/Makefile
+++ b/security/vscan/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uvscan
PORTVERSION= 4.32e
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/bsd/v4.32/
DISTNAME= vbsd432e
@@ -23,13 +23,22 @@ RUN_DEPENDS+= ${LOCALBASE}/sbin/update_dat:${PORTSDIR}/security/uvscan-dat
LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
.endif
-ONLY_FOR_ARCHS= i386
-NO_BUILD= YES
-NO_WRKSUBDIR= YES
+.if !defined(COMPAT4X)
+.if !exists(/usr/lib/libm.so.2) && !exists(/lib/libm.so.2)
+LIB_DEPENDS+= m.2:${PORTSDIR}/misc/compat4x
+.endif
+.endif
+
+ONLY_FOR_ARCHS= i386
+NO_BUILD= YES
+NO_WRKSUBDIR= YES
+INSTALLS_SHLIBS= YES
LICENSE= shareware
RESTRICTED= "restrictive 30 day evaluation license"
+PORTDOCS= e4320upg.pdf license.txt
+
do-configure:
${SED} <${FILESDIR}/uvscan.sh >${WRKSRC}/uvscan.sh \
-e 's:@@PREFIX@@:${PREFIX}:g'
@@ -45,8 +54,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan
.endfor
${MKDIR} ${PREFIX}/share/doc/uvscan
-.for file in e4320upg.pdf license.txt
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
+.endif
.include <bsd.port.mk>
diff --git a/security/vscan/pkg-plist b/security/vscan/pkg-plist
index e3ba58445c09..17e5e8ed1513 100644
--- a/security/vscan/pkg-plist
+++ b/security/vscan/pkg-plist
@@ -6,5 +6,3 @@ lib/libbsdfv.so.4
libexec/uvscan/uvscan
libexec/uvscan/license.dat
libexec/uvscan/messages.dat
-share/doc/uvscan/e4320upg.pdf
-share/doc/uvscan/license.txt