From owner-svn-ports-all@FreeBSD.ORG Fri Jun 20 16:22:58 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE330469; Fri, 20 Jun 2014 16:22:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE89B21B4; Fri, 20 Jun 2014 16:22:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5KGMvFe096087; Fri, 20 Jun 2014 16:22:57 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5KGMvr0096085; Fri, 20 Jun 2014 16:22:57 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406201622.s5KGMvr0096085@svn.freebsd.org> From: "Vanilla I. Shu" Date: Fri, 20 Jun 2014 16:22:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358599 - in head/net-mgmt/pftabled: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2014 16:22:58 -0000 Author: vanilla Date: Fri Jun 20 16:22:57 2014 New Revision: 358599 URL: http://svnweb.freebsd.org/changeset/ports/358599 QAT: https://qat.redports.org/buildarchive/r358599/ Log: 1: Stagify. 2: s/pftabled.0/pftabled.1/, bump version. Approved by: portmgr@ Added: head/net-mgmt/pftabled/files/patch-Makefile.in (contents, props changed) Modified: head/net-mgmt/pftabled/Makefile Modified: head/net-mgmt/pftabled/Makefile ============================================================================== --- head/net-mgmt/pftabled/Makefile Fri Jun 20 16:13:03 2014 (r358598) +++ head/net-mgmt/pftabled/Makefile Fri Jun 20 16:22:57 2014 (r358599) @@ -3,6 +3,7 @@ PORTNAME= pftabled PORTVERSION= 1.09 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.wolfermann.org/ @@ -10,19 +11,18 @@ MAINTAINER= chifeng@gmail.com COMMENT= The pftabled is a tool to manage your pf tables remotely USE_RC_SUBR= pftabled -MAN1= pftabled.0 -PLIST_FILES= bin/pftabled-client sbin/pftabled +PLIST_FILES= bin/pftabled-client man/man1/pftabled.1.gz sbin/pftabled GNU_CONFIGURE= yes -USES= gmake +USES= gmake shebangfix +SHEBANG_FILES= pftabled-client.pl OPTIONS_DEFINE= PERLC PYTHONC OPTIONS_DEFAULT= PERLC PYTHONC PERLC_DESC= A Sample Perl Client PYTHONC_DESC= A Sample Python Client -NO_STAGE= yes .include .if ${PORT_OPTIONS:MPERLC} @@ -33,15 +33,12 @@ PLIST_FILES+= bin/pftabled-client.pl 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 ${PORT_OPTIONS:MPERLC} - ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${STAGEDIR}${PREFIX}/bin/ .endif .if ${PORT_OPTIONS:MPYTHONC} - ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${STAGEDIR}${PREFIX}/bin/ .endif .include Added: head/net-mgmt/pftabled/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/pftabled/files/patch-Makefile.in Fri Jun 20 16:22:57 2014 (r358599) @@ -0,0 +1,17 @@ +--- Makefile.in.orig 2014-06-21 00:18:35.407089008 +0800 ++++ Makefile.in 2014-06-21 00:19:16.975090050 +0800 +@@ -36,11 +36,11 @@ pftabled-client: ${CLIENTOBJS} + install: @INSTALLTARGET@ + + server-install: pftabled pftabled.cat1 +- ${INSTALL} -s -m 555 pftabled ${sbindir} +- ${INSTALL} -m 444 pftabled.cat1 ${mandir}/cat1/pftabled.0 ++ ${INSTALL} -s -m 555 pftabled $(DESTDIR)${sbindir} ++ ${INSTALL} -m 444 pftabled.cat1 $(DESTDIR)${mandir}/man1/pftabled.1 + + client-install: pftabled-client +- ${INSTALL} -s -m 555 pftabled-client ${bindir} ++ ${INSTALL} -s -m 555 pftabled-client $(DESTDIR)${bindir} + + clean: + -rm -f pftabled pftabled-client *.o *.cat1