1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Only run pre-install when NOPORTDOCS isn't set

Noticed by: ionbot
This commit is contained in:
Edwin Groothuis 2008-07-05 05:10:59 +00:00
parent 0ff0f0afcd
commit 25eabe0ac5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216352

View File

@ -47,13 +47,15 @@ CONFLICTS= nmh-[0-9]*
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
pre-install:
${MKDIR} ${PREFIX}/share/doc/ja-mh
.endif
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCDIR} ${MKDIR} ${DOCDIR}
(cd ${WRKSRC}/doc-JP; ${INSTALL_DATA} ${READMES} ${DOCDIR}) (cd ${WRKSRC}/doc-JP; ${INSTALL_DATA} ${READMES} ${DOCDIR})
.endif .endif
pre-install:
${MKDIR} ${PREFIX}/share/doc/ja-mh
.include <bsd.port.post.mk> .include <bsd.port.post.mk>