Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Mar 2009 21:56:58 +0800 (CST)
From:      Hsin-Han You <hhyou@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chifeng@gmail.com
Subject:   ports/132218: [PATCH] net-mgmt/pftabled: Add its perl client
Message-ID:  <20090301135658.DEFD14BE65@csmail1.cs.nctu.edu.tw>
Resent-Message-ID: <200903011400.n21E07bI044606@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090301135658.DEFD14BE65>