2003-10-22 05:08:51 +02:00
|
|
|
# New ports collection makefile for: f-prot
|
|
|
|
# Date created: 4 June 2003
|
|
|
|
# Whom: Tim Bishop <tim@bishnet.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-02-08 18:03:29 +01:00
|
|
|
PORTNAME= f-prot
|
2007-10-27 19:47:58 +02:00
|
|
|
PORTVERSION= 4.6.8
|
2003-10-22 05:08:51 +02:00
|
|
|
CATEGORIES= security
|
2004-02-08 18:03:29 +01:00
|
|
|
MASTER_SITES= ftp://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ \
|
2004-08-06 14:03:16 +02:00
|
|
|
http://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
|
2003-10-22 05:08:51 +02:00
|
|
|
DISTNAME= fp-freebsd-ws-${PORTVERSION}
|
|
|
|
|
2005-12-01 17:50:07 +01:00
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
2003-10-22 05:08:51 +02:00
|
|
|
COMMENT= F-Prot Antivirus for BSD Workstations
|
|
|
|
|
2004-11-24 17:39:33 +01:00
|
|
|
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
|
2003-10-28 09:56:10 +01:00
|
|
|
|
2006-02-03 21:51:47 +01:00
|
|
|
RESTRICTED= Free for personal use only
|
2003-10-22 05:08:51 +02:00
|
|
|
|
2004-02-08 18:03:29 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-10-22 05:08:51 +02:00
|
|
|
NO_BUILD= yes
|
2007-09-30 11:21:42 +02:00
|
|
|
USE_PERL5= yes
|
2003-10-22 05:08:51 +02:00
|
|
|
|
|
|
|
MAN1= f-prot.1
|
|
|
|
|
2007-03-09 19:21:19 +01:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2003-11-18 22:51:27 +01:00
|
|
|
|
2003-10-22 05:08:51 +02:00
|
|
|
do-install:
|
2004-02-23 02:45:55 +01:00
|
|
|
cd ${WRKDIR} && ${TAR} --exclude man_pages \
|
|
|
|
--exclude doc_ws \
|
|
|
|
--exclude f-prot.sh \
|
|
|
|
--exclude *.DEF \
|
2004-03-18 22:52:04 +01:00
|
|
|
--exclude install-f-prot.pl \
|
2004-02-23 02:45:55 +01:00
|
|
|
-cf - f-prot | ${TAR} -xf - -C ${PREFIX}
|
|
|
|
|
2005-10-06 22:48:47 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/f-prot ${PREFIX}/bin/f-prot
|
2003-10-22 05:08:51 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${MANPREFIX}/man/man1/
|
2004-05-10 01:07:08 +02:00
|
|
|
${CHMOD} 755 ${PREFIX}/f-prot/tools/check-updates.pl
|
2003-10-22 05:08:51 +02:00
|
|
|
|
2004-11-24 17:39:33 +01:00
|
|
|
.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
|
2005-01-10 22:17:21 +01:00
|
|
|
|
2004-02-23 02:45:55 +01:00
|
|
|
post-install:
|
2004-11-24 17:39:33 +01:00
|
|
|
.ifndef(NOPORTDOCS)
|
2004-02-23 02:45:55 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2003-10-22 05:08:51 +02:00
|
|
|
.include <bsd.port.mk>
|