From e589e89601e1cce84cd0d408452b9dbc7d0537de Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sun, 17 Jul 2016 09:00:30 +0000 Subject: [PATCH] - Switch to options helpers - Regenerate patches with `make makepatch` --- math/xplot/Makefile | 4 ++++ math/xplot/files/{patch-Makefile => patch-Makefile.in} | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) rename math/xplot/files/{patch-Makefile => patch-Makefile.in} (84%) diff --git a/math/xplot/Makefile b/math/xplot/Makefile index 8e031dbb3fcb..19dfa0aea48d 100644 --- a/math/xplot/Makefile +++ b/math/xplot/Makefile @@ -20,12 +20,16 @@ PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot \ man/man1/tcpdump2xplot.1.gz \ man/man1/xplot.1.gz +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ '/INSTALL/s|2xplot$$|2xplot.pl|' ${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} diff --git a/math/xplot/files/patch-Makefile b/math/xplot/files/patch-Makefile.in similarity index 84% rename from math/xplot/files/patch-Makefile rename to math/xplot/files/patch-Makefile.in index ac26d5dc6f92..ad46749e2515 100644 --- a/math/xplot/files/patch-Makefile +++ b/math/xplot/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2014-06-08 23:17:52.261073676 +0800 -+++ Makefile.in 2014-06-08 23:18:17.975100570 +0800 +--- Makefile.in.orig 2000-05-04 21:04:20 UTC ++++ Makefile.in @@ -70,11 +70,11 @@ version_string.c: version echo 'char *version_string = "'`cat version`'";' >version_string.c