aboutsummaryrefslogtreecommitdiffstats
path: root/security/uvscan-dat/Makefile
blob: 62fe2279009013c68b3698dc7c308bb4b35054d2 (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=    4254
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 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 packing.lst
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
.endfor
    ${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>