Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 09:01:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420450 - head/net-mgmt/TkTopNetFlows
Message-ID:  <201608190901.u7J91EBT028894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



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