aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pftabled
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-11-25 11:58:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-11-25 11:58:25 +0000
commit91100f0fb3ec2565071dfd907461995881caf114 (patch)
tree4f1ead9abb50b29f53d4a4c271501f1cd53c5f36 /net-mgmt/pftabled
parentc7a39435e10d681bfaf4f76259cdc6b1f479d83c (diff)
downloadports-91100f0fb3ec2565071dfd907461995881caf114.tar.gz
ports-91100f0fb3ec2565071dfd907461995881caf114.zip
Notes
Diffstat (limited to 'net-mgmt/pftabled')
-rw-r--r--net-mgmt/pftabled/Makefile23
-rw-r--r--net-mgmt/pftabled/distinfo5
2 files changed, 17 insertions, 11 deletions
diff --git a/net-mgmt/pftabled/Makefile b/net-mgmt/pftabled/Makefile
index a30c725edef2..727733bf9e5d 100644
--- a/net-mgmt/pftabled/Makefile
+++ b/net-mgmt/pftabled/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pftabled
-PORTVERSION= 1.08
-PORTREVISION= 1
+PORTVERSION= 1.09
CATEGORIES= net-mgmt
MASTER_SITES= http://www.wolfermann.org/
@@ -22,7 +21,8 @@ PLIST_FILES= bin/pftabled-client sbin/pftabled
GNU_CONFIGURE= yes
USE_GMAKE= yes
-OPTIONS= PERLC "A Sample Perl Client" On
+OPTIONS= PERLC "A Sample Perl Client" on \
+ PYTHONC "A Sample Python Client" on
.include <bsd.port.pre.mk>
@@ -30,15 +30,22 @@ OPTIONS= PERLC "A Sample Perl Client" On
. if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
. endif
-PLIST_FILES+= bin/pftabled-client.pl bin/pftabled-client.py
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${PREFIX}/bin
+PLIST_FILES+= bin/pftabled-client.pl
+.endif
+.if !defined(WITHOUT_PYTHONC)
+PLIST_FILES+= bin/pftabled-client.py
.endif
post-patch:
@${REINPLACE_CMD} -e 's|cat1/pftabled.0|man1/pftabled.0|' ${WRKSRC}/Makefile.in
+post-install:
+.if !defined(WITHOUT_PERLC)
+ ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin/
+.endif
+.if !defined(WITHOUT_PYTHONC)
+ ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${PREFIX}/bin/
+.endif
+
.include <bsd.port.post.mk>
diff --git a/net-mgmt/pftabled/distinfo b/net-mgmt/pftabled/distinfo
index 20e31df4221e..2d96b87c71da 100644
--- a/net-mgmt/pftabled/distinfo
+++ b/net-mgmt/pftabled/distinfo
@@ -1,3 +1,2 @@
-MD5 (pftabled-1.08.tar.gz) = 5788cd147f2bc785eacc565e3e8302d4
-SHA256 (pftabled-1.08.tar.gz) = f3a5dc27945d7d2f86845a29b3c91ff8f20b3297c67d289f8e97c1b871e2fe0d
-SIZE (pftabled-1.08.tar.gz) = 51637
+SHA256 (pftabled-1.09.tar.gz) = 5cc3febd6439c176172bb8ca543677866d8e3d8c24bed763af9cef34f59588cd
+SIZE (pftabled-1.09.tar.gz) = 52144