aboutsummaryrefslogtreecommitdiff
path: root/security/f-prot
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2004-11-24 16:39:33 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2004-11-24 16:39:33 +0000
commit8af92e9868b66bd285201fbdaac296ac6b022fcc (patch)
tree7c8a5672afc2597ca799c41f1988c686d475fbd2 /security/f-prot
parent88bbd748e93065bf3304c2f2e593c3f01d32153f (diff)
downloadports-8af92e9868b66bd285201fbdaac296ac6b022fcc.tar.gz
ports-8af92e9868b66bd285201fbdaac296ac6b022fcc.zip
Notes
Diffstat (limited to 'security/f-prot')
-rw-r--r--security/f-prot/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/security/f-prot/Makefile b/security/f-prot/Makefile
index 5642c8fbc475..10550c7e8871 100644
--- a/security/f-prot/Makefile
+++ b/security/f-prot/Makefile
@@ -15,8 +15,11 @@ 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
+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
@@ -41,8 +44,18 @@ do-install:
${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:
-.if !defined(NOPORTDOCS)
+.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
.endif