aboutsummaryrefslogtreecommitdiff
path: root/security/cp2fwb/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
commit17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch)
treee856fa025c5b15bbef21f621e347c51780662a47 /security/cp2fwb/Makefile
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
Notes
Diffstat (limited to 'security/cp2fwb/Makefile')
-rw-r--r--security/cp2fwb/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/security/cp2fwb/Makefile b/security/cp2fwb/Makefile
index 23d8dfe7014c..1efcbc61b3d0 100644
--- a/security/cp2fwb/Makefile
+++ b/security/cp2fwb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cp2fwb
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}uilder/${PORTNAME}uilder/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -14,15 +15,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Checkpoint FW1 to Firewall Builder ruleset converter
-RUN_DEPENDS= ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+RUN_DEPENDS= ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer
PLIST_FILES= bin/cp2fwbuilder
USE_PERL5= yes
NO_BUILD= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cp2fwbuilder ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>