aboutsummaryrefslogtreecommitdiff
path: root/www/tclwebtest
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
commita36cc6f76069b486e45004dd475af0181e2d50a3 (patch)
tree980687f44e6ea0b8061f73b70997b5ed094b78d7 /www/tclwebtest
parentf093667af6bed85e379cf39682c94edcbfba0c61 (diff)
downloadports-a36cc6f76069b486e45004dd475af0181e2d50a3.tar.gz
ports-a36cc6f76069b486e45004dd475af0181e2d50a3.zip
Notes
Diffstat (limited to 'www/tclwebtest')
-rw-r--r--www/tclwebtest/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/www/tclwebtest/Makefile b/www/tclwebtest/Makefile
index 3d61b88b852f..0241613efe23 100644
--- a/www/tclwebtest/Makefile
+++ b/www/tclwebtest/Makefile
@@ -19,7 +19,7 @@ NO_BUILD= YES
LIBDIR= lib/tclwebtest${PORTVERSION}
PLIST_SUB+= LIBDIR="${LIBDIR}"
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
@@ -36,11 +36,9 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
post-install:
-.if !defined(NOPORTDOCS)
@${ECHO} "Installing docs"
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
- @${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
- @${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
-.endif
+ ${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
+ ${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>