diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-03-02 02:47:39 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-03-02 02:47:39 +0000 |
commit | 39dacbfa5648e1b463d47eef11075e87ed1dcfea (patch) | |
tree | 61df53600be088459da8f6dc22f6718b1130af26 /net-mgmt/pftabled | |
parent | 02619ce25481994d0ddd67754911bba71e8c1fdf (diff) | |
download | ports-39dacbfa5648e1b463d47eef11075e87ed1dcfea.tar.gz ports-39dacbfa5648e1b463d47eef11075e87ed1dcfea.zip |
Notes
Diffstat (limited to 'net-mgmt/pftabled')
-rw-r--r-- | net-mgmt/pftabled/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/net-mgmt/pftabled/Makefile b/net-mgmt/pftabled/Makefile index 71da44ce492c..0d8f9c54222e 100644 --- a/net-mgmt/pftabled/Makefile +++ b/net-mgmt/pftabled/Makefile @@ -7,6 +7,7 @@ PORTNAME= pftabled PORTVERSION= 1.07 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.wolfermann.org/ @@ -21,7 +22,20 @@ PLIST_FILES= bin/pftabled-client sbin/pftabled GNU_CONFIGURE= yes USE_GMAKE= yes +OPTIONS= PERLC "A Sample Perl Client" On + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_PERLC) +RUN_DEPEND= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 +PLIST_FILES+= bin/pftabled-client.pl + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin + +.endif + post-patch: @${REINPLACE_CMD} -e 's|cat1/pftabled.0|man1/pftabled.0|' ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |