Skip to content

Commit

Permalink
math/xplot: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 24, 2024
1 parent 7b6beb6 commit f64877d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions math/xplot/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xplot
PORTVERSION= 0.90.7.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math graphics net
MASTER_SITES= http://www.xplot.org/xplot/

Expand All @@ -15,14 +15,15 @@ GNU_CONFIGURE= yes

PORTDOCS= README README.tcp_plots
PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot \
man/man1/tcpdump2xplot.1.gz \
man/man1/xplot.1.gz
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|' ${WRKSRC}/Makefile.in
@${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
Expand Down

0 comments on commit f64877d

Please sign in to comment.