summaryrefslogtreecommitdiffstats
path: root/security/uvscan-dat/Makefile
blob: 4072530d55cd7178d87ea9a2123a692ee03a612e (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
# New ports collection makefile for:	uvscan_dat
# Date created:		01 Sep 2000
# Whom:			Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	uvscan_dat
PORTVERSION=	4099
CATEGORIES=	security
MASTER_SITES=	http://download.nai.com/products/datfiles/4.x/nai/
DISTNAME=	dat-${PORTVERSION}
EXTRACT_SUFX=	.tar

MAINTAINER=	kris@FreeBSD.org

NO_BUILD=	YES
NO_WRKSUBDIR=	YES

RESTRICTED=	"Restricted to the license terms set for VirusScan"

do-configure:
	${SED} -e 's:@PREFIX@:${PREFIX}:g' \
		<${FILESDIR}/update_dat >${WRKDIR}/update_dat

do-install:
	${MKDIR} ${PREFIX}/libexec/uvscan
.for file in clean.dat internet.dat names.dat scan.dat
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan
.endfor
	${MKDIR} ${PREFIX}/share/doc/uvscan
.for file in reseller.txt readme.txt packing.lst
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
.endfor
	${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin

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