From 39dacbfa5648e1b463d47eef11075e87ed1dcfea Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Mon, 2 Mar 2009 02:47:39 +0000 Subject: - Install a perl sample client and an option associated with it - Bump PORTREVISION PR: ports/132218 Submitted by: Hsin-Han You Approved by: chifeng (maintainer) --- net-mgmt/pftabled/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'net-mgmt') 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 + +.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 +.include -- cgit v1.2.3