aboutsummaryrefslogtreecommitdiffstats
path: root/net/flow-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/flow-tools/Makefile')
-rw-r--r--net/flow-tools/Makefile37
1 files changed, 17 insertions, 20 deletions
diff --git a/net/flow-tools/Makefile b/net/flow-tools/Makefile
index c7e7a7377572..a50cca61883d 100644
--- a/net/flow-tools/Makefile
+++ b/net/flow-tools/Makefile
@@ -6,38 +6,35 @@
#
PORTNAME= flow-tools
-PORTVERSION= 0.57
+PORTVERSION= 0.62
CATEGORIES= net
MASTER_SITES= ftp://ftp.eng.oar.net/pub/flow-tools/
MAINTAINER= .@babolo.ru
-SCRIPTS= flow-mirror flow-rsync flow-search
-
-USE_GMAKE= yes
USE_REINPLACE= yes
-
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--localstatedir=${PREFIX}
-MAN1= flow-capture.1 flow-gen.1 flow-split.1 flow-cat.1 \
- flow-header.1 flow-stat.1 flow-dscan.1 flow-import.1 \
- flow-tools-examples.1 flow-expire.1 flow-merge.1 \
- flow-tools.1 flow-export.1 flow-print.1 flow-xlate.1 \
- flow-fanout.1 flow-receive.1 flow-filter.1 flow-send.1 \
- flow-tag.1
+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-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
post-patch:
${TOUCH} -r ${WRKSRC}/configure.in.orig ${WRKSRC}/configure.in
${TOUCH} -r ${WRKSRC}/configure.orig ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
- ${WRKSRC}/docs/flow-print.1 ${WRKSRC}/docs/flow-tag.1
-
-pre-build:
- ${RM} ${WRKSRC}/src/ftbuild.h
-
-post-install:
-.for i in ${SCRIPTS}
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${PREFIX}/bin
+ ${TOUCH} -r ${WRKSRC}/Makefile.am.orig ${WRKSRC}/Makefile.am
+ ${REINPLACE_CMD}\
+ -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-install:
+.for I in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${I} ${PREFIX}/man/man1/
.endfor
.include <bsd.port.mk>