aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-10-18 21:06:23 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-10-18 21:06:23 +0800
commitec65e4c1466c306523d52ea8c79694091af02d74 (patch)
tree9462b105310476745a716ba41536a4792ce9cdb8 /math
parent303f66c1d08584ab3e03f6eb15184df834468f92 (diff)
downloadfreebsd-ports-gnome-ec65e4c1466c306523d52ea8c79694091af02d74.tar.gz
freebsd-ports-gnome-ec65e4c1466c306523d52ea8c79694091af02d74.tar.zst
freebsd-ports-gnome-ec65e4c1466c306523d52ea8c79694091af02d74.zip
- Add USE_PERL5_RUN
- Add WWW PR: 161593 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'math')
-rw-r--r--math/xplot/Makefile26
-rw-r--r--math/xplot/pkg-descr5
-rw-r--r--math/xplot/pkg-plist6
3 files changed, 17 insertions, 20 deletions
diff --git a/math/xplot/Makefile b/math/xplot/Makefile
index 23d7698d5437..271c36b723a1 100644
--- a/math/xplot/Makefile
+++ b/math/xplot/Makefile
@@ -7,30 +7,32 @@
PORTNAME= xplot
PORTVERSION= 0.90.7.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math graphics net
MASTER_SITES= http://www.xplot.org/xplot/
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 plotting package
+USE_XORG= x11
+USE_PERL5_RUN= yes
GNU_CONFIGURE= yes
-#XPLOT_DEMOS= demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7
-
-USE_XORG= x11
MAN1= tcpdump2xplot.1 xplot.1
+PORTDOCS= README README.tcp_plots
+PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/INSTALL/s|2xplot$$|2xplot.pl|' ${WRKSRC}/Makefile.in
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tcpdump2xplot.pl ${PREFIX}/bin
+ ${LN} -sf tcpdump2xplot.pl ${PREFIX}/bin/tcpdump2xplot
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/xplot
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xplot
- ${INSTALL_DATA} ${WRKSRC}/README.tcp_plots ${PREFIX}/share/doc/xplot
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
.endif
-# ${MKDIR} ${PREFIX}/share/examples/xplot
-#.for i in ${XPLOT_DEMOS}
-# ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/xplot
-#.endfor
.include <bsd.port.mk>
diff --git a/math/xplot/pkg-descr b/math/xplot/pkg-descr
index ef39fa8c626b..daa45bf8830c 100644
--- a/math/xplot/pkg-descr
+++ b/math/xplot/pkg-descr
@@ -1,2 +1,3 @@
-An X11 graphing utility. Commonly used to display TCP
-traces.
+An X11 graphing utility. Commonly used to display TCP traces.
+
+WWW: http://www.xplot.org/
diff --git a/math/xplot/pkg-plist b/math/xplot/pkg-plist
deleted file mode 100644
index 23f9a1782a0b..000000000000
--- a/math/xplot/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/xplot
-bin/tcpdump2xplot
-bin/tcpdump2xplot.pl
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.tcp_plots
-%%PORTDOCS%%@dirrm %%DOCSDIR%%