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