summaryrefslogtreecommitdiffstats
path: root/security/f-prot/Makefile
blob: fdabf7c6603fd13942cbe10fd8a656157f6fe609 (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
43
44
45
46
47
48
49
50
# New ports collection makefile for:	f-prot
# Date created:			4 June 2003
# Whom:				Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#

PORTNAME=	f-prot
PORTVERSION=	4.4.2
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ \
		http://www.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
DISTNAME=	fp-freebsd-ws-${PORTVERSION}

MAINTAINER=	tim@bishnet.net
COMMENT=	F-Prot Antivirus for BSD Workstations

RUN_DEPENDS=	${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww \
		${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig

NO_PACKAGE=	Free for personal use only
NO_CDROM=	Free for personal use only
RESTRICTED=	Free for personal use only

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

MAN1=		f-prot.1

ONLY_FOR_ARCHS=	i386

do-install:
	cd ${WRKDIR} && ${TAR}	--exclude man_pages \
				--exclude doc_ws \
				--exclude f-prot.sh \
				--exclude *.DEF \
				--exclude install-f-prot.pl \
				-cf - f-prot | ${TAR} -xf - -C ${PREFIX}

	${INSTALL_SCRIPT} ${WRKSRC}/f-prot.sh ${PREFIX}/bin/f-prot
	${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${MANPREFIX}/man/man1/
	${CHMOD} 755 ${PREFIX}/f-prot/tools/check-updates.pl

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
.endif

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