From owner-svn-ports-head@freebsd.org Fri Aug 28 13:37:20 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 812D09C38E6; Fri, 28 Aug 2015 13:37:20 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.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 7138416D; Fri, 28 Aug 2015 13:37:20 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7SDbKFr089348; Fri, 28 Aug 2015 13:37:20 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7SDbKLY089347; Fri, 28 Aug 2015 13:37:20 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201508281337.t7SDbKLY089347@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 28 Aug 2015 13:37:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395482 - head/net-mgmt/routers2-extras X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 13:37:20 -0000 Author: amdmi3 Date: Fri Aug 28 13:37:19 2015 New Revision: 395482 URL: https://svnweb.freebsd.org/changeset/ports/395482 Log: - Fix shebangs - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket Modified: head/net-mgmt/routers2-extras/Makefile Modified: head/net-mgmt/routers2-extras/Makefile ============================================================================== --- head/net-mgmt/routers2-extras/Makefile Fri Aug 28 13:35:52 2015 (r395481) +++ head/net-mgmt/routers2-extras/Makefile Fri Aug 28 13:37:19 2015 (r395482) @@ -3,7 +3,7 @@ PORTNAME= routers2-extras PORTVERSION= 2.19 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://www.steveshipway.org/software/rrd/ \ ftp://ftp.oav.oav.net/routers2/ @@ -17,15 +17,22 @@ RUN_DEPENDS= ${LOCALBASE}/www/routers2/r WRKSRC= ${WRKDIR}/routers2-v${PORTVERSION}/extras -USES= perl5 -NO_BUILD= YES +USES= perl5 shebangfix +SHEBANG_FILES= check_foundry check_vmware.pl \ + checkagent gather.pl graphprune.pl \ + mrtg-apache mrtg-nrpe.pl mrtg-pnsclient.pl \ + mrtg-portsinuse.pl rrd-archive-clean.pl \ + rrd-archive.pl rrdextend.pl \ + winalert.pl +NO_BUILD= yes +NO_ARCH= yes PORTDOCS= README *.txt OPTIONS_DEFINE= DOCS -.include - post-patch: + ${REINPLACE_CMD} -e '1s|#!perl|#!${perl_CMD}|' \ + ${WRKSRC}/targetnames/targetnames.pl ${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/buildwan.pl \ @@ -46,9 +53,9 @@ do-install: ${STAGEDIR}${PREFIX}/www/routers2/extras cd ${WRKSRC}; ${INSTALL_DATA} mrtg-templates/* \ ${STAGEDIR}${PREFIX}/www/routers2/extras/templates -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}; ${INSTALL_DATA} README *.txt ${STAGEDIR}${DOCSDIR} -.endif .include