diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-15 23:11:12 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-15 23:11:12 +0000 |
commit | 44eaadcb751194bcef34890a161d4bf9a873a2a4 (patch) | |
tree | 37076f8661cc0a667d6e54eab2728ecc665430a0 /benchmarks | |
parent | - strip .so files (diff) |
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
Notes
Notes:
svn path=/head/; revision=362014
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/tsung/Makefile | 2 | ||||
-rw-r--r-- | benchmarks/ttcp/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/benchmarks/tsung/Makefile b/benchmarks/tsung/Makefile index b4a70065d213..dd19f0eaa4ac 100644 --- a/benchmarks/tsung/Makefile +++ b/benchmarks/tsung/Makefile @@ -23,6 +23,8 @@ SHEBANG_FILES= src/*.pl.in src/tsung-plotter/tsung/tsung.py PLIST_SUB= PORTVERSION=${PORTVERSION} +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|MAN_DIR = $$(datadir)/man/man1/|MAN_DIR = $$(prefix)/man/man1/| ; \ s|CONFDIR = $$(docdir)/examples|CONFDIR = $$(prefix)/share/examples/tsung|' \ diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile index 84a46747e644..515dbde2f365 100644 --- a/benchmarks/ttcp/Makefile +++ b/benchmarks/ttcp/Makefile @@ -21,6 +21,8 @@ LICENSE_TEXT= The license: ${_LICENSE} (${_LICENSE_NAME}) is standard, please re NO_WRKSUBDIR= yes DIST_SUBDIR= ${PORTNAME} +OPTIONS_DEFINE= DOCS + post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/ttcp.c ${WRKSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/ttcp.1 ${WRKSRC} |