aboutsummaryrefslogtreecommitdiff
path: root/math/xplot
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:06:23 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:06:23 +0000
commitf5f67d9d7d1328a6699d4df40d40d8197a757822 (patch)
treeabd2ab7e396e4f3939c1f69b5a9f8aaa2f5e4f08 /math/xplot
parent3915ca2c7de366a8922237967a817348be2a15c0 (diff)
- Add USE_PERL5_RUN
- Add WWW PR: 161593 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=283796
Diffstat (limited to 'math/xplot')
-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%%