svn commit: r357044 - in head/math/xplot: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sun Jun 8 15:20:24 UTC 2014
Author: vanilla
Date: Sun Jun 8 15:20:23 2014
New Revision: 357044
URL: http://svnweb.freebsd.org/changeset/ports/357044
QAT: https://qat.redports.org/buildarchive/r357044/
Log:
Stagify.
Added:
head/math/xplot/files/
head/math/xplot/files/patch-Makefile (contents, props changed)
Modified:
head/math/xplot/Makefile
Modified: head/math/xplot/Makefile
==============================================================================
--- head/math/xplot/Makefile Sun Jun 8 15:15:21 2014 (r357043)
+++ head/math/xplot/Makefile Sun Jun 8 15:20:23 2014 (r357044)
@@ -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
Added: head/math/xplot/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/xplot/files/patch-Makefile Sun Jun 8 15:20:23 2014 (r357044)
@@ -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
+
More information about the svn-ports-all
mailing list