From 921c9319af9ec4b9679f8a4144755c970e31c80b Mon Sep 17 00:00:00 2001 From: "James E. Housley" <jeh@FreeBSD.org> Date: Sat, 20 Nov 2004 19:38:28 +0000 Subject: - uvscan depends on libm.so.2 - utilize PORTDOCS - add INSTALLS_SHLIB and makes portlint happier - bump PORTREVISION PR: 74146 Submitted by: leeym --- security/vscan/Makefile | 24 ++++++++++++++++++------ security/vscan/pkg-plist | 2 -- 2 files changed, 18 insertions(+), 8 deletions(-) (limited to 'security/vscan') 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 -- cgit v1.2.3