diff options
author | adamw <adamw@FreeBSD.org> | 2014-01-03 23:34:13 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-01-03 23:34:13 +0800 |
commit | e2e4cbd9b35b6c806cda00430c69d44a90276b8b (patch) | |
tree | bda726dcf401a0a3088ac3e3520896cd590c1cec /benchmarks/thrulay | |
parent | 855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (diff) | |
download | freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.gz freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.zst freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.zip |
Convert benchmarks to PORT_OPTIONS:MDOCS
Diffstat (limited to 'benchmarks/thrulay')
-rw-r--r-- | benchmarks/thrulay/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/benchmarks/thrulay/Makefile b/benchmarks/thrulay/Makefile index a242143f326d..b03a710f345d 100644 --- a/benchmarks/thrulay/Makefile +++ b/benchmarks/thrulay/Makefile @@ -23,6 +23,9 @@ MAKE_JOBS_UNSAFE= yes PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: ${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure @@ -30,7 +33,7 @@ post-extract: @${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/ post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} |