diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-08 23:20:23 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-08 23:20:23 +0800 |
commit | c4d3bcb38b6bd19787faba37d69bb6e3aeec9a8b (patch) | |
tree | daf53fe195f24defabd136ba934f40b65492c780 /math | |
parent | d733cc8fa8c1162ddb3f163653e02e071d47fadd (diff) | |
download | freebsd-ports-gnome-c4d3bcb38b6bd19787faba37d69bb6e3aeec9a8b.tar.gz freebsd-ports-gnome-c4d3bcb38b6bd19787faba37d69bb6e3aeec9a8b.tar.zst freebsd-ports-gnome-c4d3bcb38b6bd19787faba37d69bb6e3aeec9a8b.zip |
Stagify.
Diffstat (limited to 'math')
-rw-r--r-- | math/xplot/Makefile | 12 | ||||
-rw-r--r-- | math/xplot/files/patch-Makefile | 19 |
2 files changed, 25 insertions, 6 deletions
diff --git a/math/xplot/Makefile b/math/xplot/Makefile index 6353ca091db2..ee00cf484d6e 100644 --- a/math/xplot/Makefile +++ b/math/xplot/Makefile @@ -15,21 +15,21 @@ USE_XORG= x11 USE_PERL5= run GNU_CONFIGURE= yes -MAN1= tcpdump2xplot.1 xplot.1 PORTDOCS= README README.tcp_plots -PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot +PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot \ + man/man1/tcpdump2xplot.1.gz \ + man/man1/xplot.1.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ '/INSTALL/s|2xplot$$|2xplot.pl|' ${WRKSRC}/Makefile.in post-install: - ${LN} -sf tcpdump2xplot.pl ${PREFIX}/bin/tcpdump2xplot + ${LN} -sf tcpdump2xplot.pl ${STAGEDIR}${PREFIX}/bin/tcpdump2xplot .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .endif diff --git a/math/xplot/files/patch-Makefile b/math/xplot/files/patch-Makefile new file mode 100644 index 000000000000..ac26d5dc6f92 --- /dev/null +++ b/math/xplot/files/patch-Makefile @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2014-06-08 23:17:52.261073676 +0800 ++++ Makefile.in 2014-06-08 23:18:17.975100570 +0800 +@@ -70,11 +70,11 @@ version_string.c: version + echo 'char *version_string = "'`cat version`'";' >version_string.c + + install: all +- mkdir -p $(bindir) +- $(INSTALL_PROGRAM) xplot $(bindir)/xplot +- $(INSTALL) tcpdump2xplot.pl $(bindir)/tcpdump2xplot +- mkdir -p $(mandir) +- $(INSTALL_MAN) $(MANFILES) $(mandir) ++ mkdir -p $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) xplot $(DESTDIR)$(bindir)/xplot ++ $(INSTALL) tcpdump2xplot.pl $(DESTDIR)$(bindir)/tcpdump2xplot ++ mkdir -p $(DESTDIR)$(mandir) ++ $(INSTALL_MAN) $(MANFILES) $(DESTDIR)$(mandir) + clean: + rm -f ${PROG} ${PROG}.old *.o version_string.c + |