summaryrefslogtreecommitdiffstats
path: root/security/vscan/Makefile
blob: 69dfcb4f46f3a09e4939daad657610a6f47b6578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	uvscan
# Date created:		01 Sep 2000
# Whom:			Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	uvscan
PORTVERSION=	4.14e
CATEGORIES=	security
MASTER_SITES=	http://download.nai.com/products/evaluation/virusscan/english/unix/free_bsd/v4.14.0/
DISTNAME=	vbsd414e
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	jeh@FreeBSD.org

RUN_DEPENDS+=	${LOCALBASE}/sbin/update_dat:${PORTSDIR}/security/uvscan-dat
LIB_DEPENDS+=	c.3:${PORTSDIR}/misc/compat3x

ONLY_FOR_ARCHS=	i386
NO_BUILD=	YES
NO_WRKSUBDIR=	YES

LICENSE=	shareware
RESTRICTED=	"restrictive 30 day evaluation license"

do-configure:
	${SED} <${FILESDIR}/uvscan.sh >${WRKSRC}/uvscan.sh \
		-e 's:@@PREFIX@@:${PREFIX}:g'

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${PREFIX}/libexec/uvscan
	${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan
	${INSTALL_PROGRAM} ${WRKSRC}/libbsdfv.so ${PREFIX}/lib/libbsdfv.so
.for file in license.dat messages.dat
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan
.endfor
.for file in unxadmin.pdf license.txt
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud