From owner-svn-ports-all@FreeBSD.ORG Fri Jul 11 07:46:05 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A94E356C; Fri, 11 Jul 2014 07:46:05 +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 9697F2A95; Fri, 11 Jul 2014 07:46:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6B7k5KV015096; Fri, 11 Jul 2014 07:46:05 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6B7k5aW015095; Fri, 11 Jul 2014 07:46:05 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407110746.s6B7k5aW015095@svn.freebsd.org> From: Pawel Pekala Date: Fri, 11 Jul 2014 07:46:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361509 - head/security/ipfwcount 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, 11 Jul 2014 07:46:05 -0000 Author: pawel Date: Fri Jul 11 07:46:05 2014 New Revision: 361509 URL: http://svnweb.freebsd.org/changeset/ports/361509 QAT: https://qat.redports.org/buildarchive/r361509/ Log: - Add staging support - Convert to new options framework Modified: head/security/ipfwcount/Makefile Modified: head/security/ipfwcount/Makefile ============================================================================== --- head/security/ipfwcount/Makefile Fri Jul 11 07:32:45 2014 (r361508) +++ head/security/ipfwcount/Makefile Fri Jul 11 07:46:05 2014 (r361509) @@ -8,21 +8,18 @@ CATEGORIES= security MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \ http://users.netleader.com.au/~rob/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Summarise ipfw logs by counting and sorting the fields -PLIST_FILES= bin/ipfwcount -MAN1= ipfwcount.1 - USES= perl5 -.if !defined(NOPORTDOCS) -PLIST_DIRS= %%EXAMPLESDIR%% -PLIST_FILES+= %%EXAMPLESDIR%%/100.ipfwcount +PLIST_FILES= bin/ipfwcount man/man1/ipfwcount.1.gz +PORTEXAMPLES= 100.ipfwcount + SUB_FILES= pkg-message -.endif -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + post-patch: ${REINPLACE_CMD} -e '1s,^#![^ ]*,#!${PERL},' ${WRKSRC}/ipfwcount @@ -30,16 +27,9 @@ do-build: cd ${WRKSRC} && pod2man ipfwcount > ipfwcount.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${PREFIX}/man/man1/ipfwcount.1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${EXAMPLESDIR} -.endif - -post-install: -.if !defined(NOPORTDOCS) - @${CAT} ${PKGMESSAGE} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${STAGEDIR}${PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${STAGEDIR}${EXAMPLESDIR} .include