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
This commit is contained in:
Mikhail Teterin 2007-06-11 19:56:59 +00:00
parent bec39030ef
commit b4796ed31d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193292

View File

@ -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}" \