- Switch to options helpers

- Regenerate patches with `make makepatch`
This commit is contained in:
amdmi3
2016-07-17 09:00:30 +00:00
parent 6606ed841c
commit e589e89601
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -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}
@@ -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