freebsd-ports/security/f-prot/Makefile
Mark Linimon c2430908d4 Refactor f-prot into f-prot (for the code) and f-prot-sig (for the
signature definitions).  This allows the definitions to be updated
seperately as and when required.

PR:		ports/62917, 62918
Submitted by:	Tim Bishop <tim@bishnet.net> (maintainer)
2004-02-23 01:45:55 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: f-prot
# Date created: 4 June 2003
# Whom: Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#
PORTNAME= f-prot
PORTVERSION= 4.3.3
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 \
${PREFIX}/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 \
-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/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
.endif
.include <bsd.port.mk>