summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2007-06-11 19:56:59 +0000
committerMikhail Teterin <mi@FreeBSD.org>2007-06-11 19:56:59 +0000
commitb4796ed31d4a374a41b906db1e04d8b121c41f78 (patch)
treee109207b316260a669377b3972427dc31521c378
parentUpgrade to JasperReports 1.3.4. (diff)
Do not install docs, when NOPORTDOCS is set. pkg-plist was doing the
right thing, but the post-install target was not properly ifdef-ed. Submitted by: rafan
-rw-r--r--devel/tcltls/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index ecd57e36d467..f527be0c2653 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -42,9 +42,11 @@ post-patch:
# The tests in ciphers.test are meaningless so far:
${MV} ${WRKSRC}/tests/ciphers.test ${WRKSRC}/tests/ciphers.test.broken
+.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${PREFIX}/share/doc/tls
${INSTALL_DATA} ${WRKSRC}/tls.htm ${PREFIX}/share/doc/tls/
+.endif
post-build test:
cd ${WRKSRC}/tests && env TCL_LIBRARY="${WRKSRC}" \