1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/math/xplot/Makefile
Muhammad Moinur Rahman f64877ddc4
math/xplot: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 20:41:57 +01:00

38 lines
849 B
Makefile

PORTNAME= xplot
PORTVERSION= 0.90.7.1
PORTREVISION= 4
CATEGORIES= math graphics net
MASTER_SITES= http://www.xplot.org/xplot/
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 plotting package
WWW= http://www.xplot.org/
USES= perl5 xorg
USE_XORG= x11
USE_PERL5= run
GNU_CONFIGURE= yes
PORTDOCS= README README.tcp_plots
PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot \
share/man/man1/tcpdump2xplot.1.gz \
share/man/man1/xplot.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/INSTALL/s|2xplot$$|2xplot.pl|' \
-e 's|man/man1|share/man/man1|' \
${WRKSRC}/Makefile.in
post-install:
${LN} -sf tcpdump2xplot.pl ${STAGEDIR}${PREFIX}/bin/tcpdump2xplot
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>