ports/132218: [PATCH] net-mgmt/pftabled: Add its perl client
Hsin-Han You
hhyou at cs.nctu.edu.tw
Sun Mar 1 14:00:08 UTC 2009
>Number: 132218
>Category: ports
>Synopsis: [PATCH] net-mgmt/pftabled: Add its perl client
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 01 14:00:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Hsin-Han You
>Release: FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD csmail1.cs.nctu.edu.tw 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Fri Jan 9 19:01:14 CST
>Description:
pftabled 1.07 add a perl sample client.
add a options to install it.
Port maintainer (chifeng at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- pftabled-1.07.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/pftabled/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile 19 Feb 2009 20:20:43 -0000 1.5
+++ Makefile 1 Mar 2009 13:54:26 -0000
@@ -21,7 +21,20 @@
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>
--- pftabled-1.07.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list