aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/thrulay
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:34:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:34:13 +0000
commit58848c550bf7029a7c353fcfb5d561f730a4a04e (patch)
treebda726dcf401a0a3088ac3e3520896cd590c1cec /benchmarks/thrulay
parent49bf36d52771ccccdeacb84f6e4f3406a8814618 (diff)
downloadports-58848c550bf7029a7c353fcfb5d561f730a4a04e.tar.gz
ports-58848c550bf7029a7c353fcfb5d561f730a4a04e.zip
Notes
Diffstat (limited to 'benchmarks/thrulay')
-rw-r--r--benchmarks/thrulay/Makefile5
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}