2000-09-22 00:40:21 +02:00
|
|
|
# New ports collection makefile for: uvscan
|
|
|
|
# Date created: 01 Sep 2000
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= uvscan
|
2004-11-21 17:28:34 +01:00
|
|
|
PORTVERSION= 4.40e
|
2006-05-09 14:08:51 +02:00
|
|
|
PORTREVISION= 2
|
2000-09-22 00:40:21 +02:00
|
|
|
CATEGORIES= security
|
2004-11-21 17:28:34 +01:00
|
|
|
MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/bsd/v4.40/
|
|
|
|
DISTNAME= vbsd440e
|
2000-09-22 00:40:21 +02:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2001-04-14 16:16:20 +02:00
|
|
|
MAINTAINER= jeh@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Evaluation version of a DOS/Windows/Linux file virus scanner
|
2000-09-22 00:40:21 +02:00
|
|
|
|
2004-03-09 19:04:33 +01:00
|
|
|
# misc/compat3x is forbidden, but if it is compiled into the system
|
|
|
|
# we may still be good to go.
|
2001-08-14 19:00:09 +02:00
|
|
|
LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
|
2004-11-20 20:38:28 +01:00
|
|
|
LIB_DEPENDS+= m.2:${PORTSDIR}/misc/compat4x
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_BUILD= YES
|
|
|
|
NO_WRKSUBDIR= YES
|
2004-11-21 17:28:34 +01:00
|
|
|
INSTALLS_SHLIB= YES
|
2000-09-22 00:40:21 +02:00
|
|
|
|
|
|
|
LICENSE= shareware
|
|
|
|
RESTRICTED= "restrictive 30 day evaluation license"
|
|
|
|
|
2004-11-21 17:28:34 +01:00
|
|
|
MAN1= uvscan.1
|
|
|
|
|
|
|
|
PORTDOCS= e4400upg.pdf readme.txt
|
|
|
|
|
|
|
|
PROGFILES= contact.txt license.dat license.txt messages.dat \
|
|
|
|
signlic.txt
|
2004-11-20 20:38:28 +01:00
|
|
|
|
2000-09-22 00:40:21 +02:00
|
|
|
do-configure:
|
|
|
|
${SED} <${FILESDIR}/uvscan.sh >${WRKSRC}/uvscan.sh \
|
|
|
|
-e 's:@@PREFIX@@:${PREFIX}:g'
|
2006-05-09 14:08:51 +02:00
|
|
|
${SED} -e 's:@PREFIX@:${PREFIX}:g' \
|
|
|
|
<${FILESDIR}/update_dat >${WRKDIR}/update_dat
|
2000-09-22 00:40:21 +02:00
|
|
|
|
|
|
|
do-install:
|
2006-05-09 14:08:51 +02:00
|
|
|
${MKDIR} ${PREFIX}/libexec/uvscan
|
2000-09-22 00:40:21 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${PREFIX}/libexec/uvscan
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan
|
2004-01-19 13:36:20 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/uvscan_secure ${PREFIX}/bin
|
2002-01-10 01:11:56 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libbsdfv.so.4 ${PREFIX}/lib/libbsdfv.so.4
|
2004-11-21 17:28:34 +01:00
|
|
|
.for filename in ${PROGFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${filename} ${PREFIX}/libexec/uvscan
|
|
|
|
.endfor
|
|
|
|
.for filename in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${filename} ${MANPREFIX}/man/man1/${filename}
|
2000-09-22 00:40:21 +02:00
|
|
|
.endfor
|
2004-11-20 20:38:28 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-21 17:28:34 +01:00
|
|
|
@if ! [ -d ${DOCSDIR} ]; then ${MKDIR} ${DOCSDIR}; fi
|
|
|
|
.for filename in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${filename} ${DOCSDIR}
|
2000-09-22 00:40:21 +02:00
|
|
|
.endfor
|
2004-11-20 20:38:28 +01:00
|
|
|
.endif
|
2006-05-09 14:08:51 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-09-22 00:40:21 +02:00
|
|
|
|
2004-11-21 17:28:34 +01:00
|
|
|
post-install:
|
2006-05-09 14:08:51 +02:00
|
|
|
${LN} -sf ${PREFIX}/lib/libbsdfv.so.4 ${PREFIX}/lib/libbsdfv.so
|
|
|
|
${ECHO_CMD} "Trying to fetch the current DAT file"
|
|
|
|
${SH} ${PREFIX}/sbin/update_dat
|
2004-11-21 17:28:34 +01:00
|
|
|
|
2000-09-22 00:40:21 +02:00
|
|
|
.include <bsd.port.mk>
|