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

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

MAINTAINER= jeh@FreeBSD.org
COMMENT=    AntiVirus DAT file for uvscan

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 filename in clean.dat internet.dat names.dat scan.dat
    ${INSTALL_DATA} ${WRKSRC}/${filename} ${PREFIX}/libexec/uvscan
.endfor
    ${MKDIR} ${PREFIX}/share/doc/uvscan
.for filename in reseller.txt packing.lst
    ${INSTALL_DATA} ${WRKSRC}/${filename} ${PREFIX}/share/doc/uvscan
.endfor
    ${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>