diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-17 17:00:30 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-17 17:00:30 +0800 |
commit | af35e5e0ad42e3a8eaa6453b4867e7194ad9c66d (patch) | |
tree | a87818ee50f1439de3da35c8b650634ee3b9aaa0 /math | |
parent | 7ae7e9926068a673395ca9456d1d939902f5b72b (diff) | |
download | freebsd-ports-gnome-af35e5e0ad42e3a8eaa6453b4867e7194ad9c66d.tar.gz freebsd-ports-gnome-af35e5e0ad42e3a8eaa6453b4867e7194ad9c66d.tar.zst freebsd-ports-gnome-af35e5e0ad42e3a8eaa6453b4867e7194ad9c66d.zip |
- Switch to options helpers
- Regenerate patches with `make makepatch`
Diffstat (limited to 'math')
-rw-r--r-- | math/xplot/Makefile | 4 | ||||
-rw-r--r-- | math/xplot/files/patch-Makefile.in (renamed from math/xplot/files/patch-Makefile) | 4 |
2 files changed, 6 insertions, 2 deletions
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 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 |