1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/f-prot/Makefile
Pav Lucistnik a94b7eb343 - Update to 4.5.4
PR:		ports/78055
Submitted by:	Tim Bishop <tim@bishnet.net> (maintainer)
2005-02-25 19:19:43 +00:00

64 lines
1.6 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.5.4
CATEGORIES= security
MASTER_SITES= ftp://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ \
http://ftp.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
.ifndef(WITHOUT_SIGNATURES)
RUN_DEPENDS+= ${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig
.endif
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
.ifdef(WITHOUT_SIGNATURES)
post-extract:
@${ECHO_MSG} ""
@${ECHO_MSG} "WARNING: You have chosen not to have the virus signatures installed."
@${ECHO_MSG} ""
@${ECHO_MSG} "Make sure you download and update the signatures yourself, or use the"
@${ECHO_MSG} "check-updates.pl script provided in this port to do it for you."
@${ECHO_MSG} ""
.endif
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
.endif
.include <bsd.port.mk>