From owner-svn-ports-all@freebsd.org Fri Aug 19 09:01:18 2016 Return-Path: Delivered-To: svn-ports-all@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 C654CBBEE98; Fri, 19 Aug 2016 09:01:18 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 964D61305; Fri, 19 Aug 2016 09:01:18 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7J91EHe028897; Fri, 19 Aug 2016 09:01:14 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7J91EBT028894; Fri, 19 Aug 2016 09:01:14 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201608190901.u7J91EBT028894@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 19 Aug 2016 09:01:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420450 - head/net-mgmt/TkTopNetFlows 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.22 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, 19 Aug 2016 09:01:18 -0000 Author: amdmi3 Date: Fri Aug 19 09:01:14 2016 New Revision: 420450 URL: https://svnweb.freebsd.org/changeset/ports/420450 Log: - Switch to options helpers - Add NO_ARCH - Cosmetic fixes Modified: head/net-mgmt/TkTopNetFlows/Makefile Modified: head/net-mgmt/TkTopNetFlows/Makefile ============================================================================== --- head/net-mgmt/TkTopNetFlows/Makefile Fri Aug 19 08:45:49 2016 (r420449) +++ head/net-mgmt/TkTopNetFlows/Makefile Fri Aug 19 09:01:14 2016 (r420450) @@ -10,21 +10,24 @@ MASTER_SITES= http://vfom.narod.ru/downl MAINTAINER= ports@FreeBSD.org COMMENT= GUI tool for NetFlow data visualisation -OPTIONS_DEFINE= DOCS - -LIB_DEPENDS+= libBLT25.so:x11-toolkits/blt \ +LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \ libTktable2.10.so:x11-toolkits/tktable RUN_DEPENDS= flowdumper:net-mgmt/p5-Cflow -NO_BUILD= yes USES= perl5 shebangfix tk:85 SHEBANG_FILES= flow_Server.pl view_definitions.pl.example -PORTDOCS= * +NO_BUILD= yes +NO_ARCH= yes + PLIST_SUB= PORTVERSION=${PORTVERSION} +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + post-patch: - ${REINPLACE_CMD} -e 's|/usr/local/bin/wish8.4|${WISH}|' \ - ${WRKSRC}/TkTopNetFlows.tcl + @${REINPLACE_CMD} -e 's|/usr/local/bin/wish8.4|${WISH}|' \ + ${WRKSRC}/TkTopNetFlows.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows.tcl ${STAGEDIR}${PREFIX}/bin @@ -34,6 +37,8 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/view_definitions.pl.example ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}-${PORTVERSION} ${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows_lib.tcl ${STAGEDIR}${PREFIX}/lib/${PORTNAME}-${PORTVERSION} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}