openbsd-ports/security/uvscan/Makefile
2003-04-10 18:08:56 +00:00

52 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2003/04/10 18:08:57 jsyn Exp $
# $NetBSD: Makefile,v 1.1.1.1 2000/06/05 12:01:24 rh Exp $
COMMENT= "evaluation version of a DOS/Windows file virus scanner"
VERSION= 4.16.0
DISTNAME= vlnx416e
PKGNAME= uvscan-${VERSION}
CATEGORIES= security
HOMEPAGE= http://www.nai.com/naicommon/buy-try/try/products-evals.asp
MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/linux/version_4.16/
EXTRACT_SUFX= .tar.Z
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= "Commercial software"
PERMIT_PACKAGE_FTP= "Commercial software"
PERMIT_DISTFILES_CDROM= "Commercial software"
PERMIT_DISTFILES_FTP= "Commercial software"
RUN_DEPENDS= :redhat_base-*:emulators/redhat/base \
:uvscan_dat-*:security/uvscan_dat
ONLY_FOR_ARCHS= i386
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}
do-configure:
sed -e 's:@@PREFIX@@:${PREFIX}:g' \
<${FILESDIR}/uvscan.sh >${WRKDIR}/uvscan.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan
${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/libexec/uvscan
${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${PREFIX}/libexec/uvscan
${INSTALL_SCRIPT} ${WRKSRC}/liblnxfv.so.4 ${PREFIX}/libexec/uvscan
ln -s liblnxfv.so.4 ${PREFIX}/libexec/uvscan/liblnxfv.so
.for file in clean.dat license.dat messages.dat names.dat
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uvscan
.for file in unxadmin.pdf license.txt readme.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
.endfor
.include <bsd.port.mk>