Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 19:12:54 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349281 - head/net-mgmt/flow-tools
Message-ID:  <201403261912.s2QJCsYS041745@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Mar 26 19:12:53 2014
New Revision: 349281
URL: http://svnweb.freebsd.org/changeset/ports/349281
QAT: https://qat.redports.org/buildarchive/r349281/

Log:
  Support STAGE
  
  Approved by:	portmgr (blanket)

Modified:
  head/net-mgmt/flow-tools/Makefile
  head/net-mgmt/flow-tools/pkg-plist

Modified: head/net-mgmt/flow-tools/Makefile
==============================================================================
--- head/net-mgmt/flow-tools/Makefile	Wed Mar 26 19:02:11 2014	(r349280)
+++ head/net-mgmt/flow-tools/Makefile	Wed Mar 26 19:12:53 2014	(r349281)
@@ -21,14 +21,6 @@ USE_PYTHON_RUN=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--localstatedir="${PREFIX}"
 
-MAN1=	flow-capture.1 flow-cat.1 flow-dscan.1 flow-expire.1	\
-	flow-export.1 flow-fanout.1 flow-filter.1 flow-gen.1	\
-	flow-header.1 flow-import.1 flow-mask.1 flow-merge.1	\
-	flow-nfilter.1 flow-print.1 flow-receive.1		\
-	flow-report.1 flow-send.1 flow-split.1 flow-stat.1	\
-	flow-tag.1 flow-tools.1	flow-tools-examples.1 		\
-	flow-xlate.1 flow-rptfmt.1 flow-log2rrd.1 flow-rpt2rrd.1
-
 SUB_FILES=	pkg-install pkg-deinstall
 SUB_LIST=	FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}" \
 		FLOW_CAPTURE_USER="${FLOW_CAPTURE_USER}" \
@@ -46,7 +38,6 @@ FLOW_CAPTURE_UID=	174
 FLOW_CAPTURE_GID=	174
 FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPGSQL}
@@ -68,16 +59,10 @@ post-patch:
 	 -e 's|@localstatedir@/sym/|${PREFIX}/share/flow-tools/|' \
 	 -e 's|@localstatedir@/cfg/|${PREFIX}/etc/flow-tools/|' \
 	  ${WRKSRC}/docs/flow-*.1.in ${WRKSRC}/docs/flow-*.html.in
-
-pre-su-install:
-	@${SETENV} ${SCRIPTS_ENV} \
-		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+	@${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' \
+		${WRKSRC}/lib/Makefile.in
 
 post-install:
-.for I in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/docs/${I} ${PREFIX}/man/man1/
-.endfor
-	@${SETENV} ${SCRIPTS_ENV} \
-		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+	${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/flow-tools/pkg-plist
==============================================================================
--- head/net-mgmt/flow-tools/pkg-plist	Wed Mar 26 19:02:11 2014	(r349280)
+++ head/net-mgmt/flow-tools/pkg-plist	Wed Mar 26 19:12:53 2014	(r349281)
@@ -34,6 +34,32 @@ include/ftpaths.h
 include/ftqueue.h
 include/radix.h
 lib/libft.a
+man/man1/flow-capture.1.gz
+man/man1/flow-cat.1.gz
+man/man1/flow-dscan.1.gz
+man/man1/flow-expire.1.gz
+man/man1/flow-export.1.gz
+man/man1/flow-fanout.1.gz
+man/man1/flow-filter.1.gz
+man/man1/flow-gen.1.gz
+man/man1/flow-header.1.gz
+man/man1/flow-import.1.gz
+man/man1/flow-mask.1.gz
+man/man1/flow-merge.1.gz
+man/man1/flow-nfilter.1.gz
+man/man1/flow-print.1.gz
+man/man1/flow-receive.1.gz
+man/man1/flow-report.1.gz
+man/man1/flow-send.1.gz
+man/man1/flow-split.1.gz
+man/man1/flow-stat.1.gz
+man/man1/flow-tag.1.gz
+man/man1/flow-tools.1.gz
+man/man1/flow-tools-examples.1.gz
+man/man1/flow-xlate.1.gz
+man/man1/flow-rptfmt.1.gz
+man/man1/flow-log2rrd.1.gz
+man/man1/flow-rpt2rrd.1.gz
 %%DATADIR%%/asn.sym
 %%DATADIR%%/ip-prot.sym
 %%DATADIR%%/ip-type.sym



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