Use PORTDOCS and DOCSDIR and ifx plist with -DNOPORTDOCS.

Prompted by:	QAT QA run
Approved by:	maintainer timeout on QATMail
This commit is contained in:
Ion-Mihai Tetcu 2009-04-08 12:38:27 +00:00
parent e4f65a9d29
commit c54771ee35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231879
2 changed files with 4 additions and 4 deletions

View file

@ -32,8 +32,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/colors.gif ${PREFIX}/share/tkhonyaku/
${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/tkhonyaku
${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${PREFIX}/share/doc/tkhonyaku/
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,7 +1,7 @@
share/doc/tkhonyaku/tkhonyaku-readme
%%PORTDOCS%%%%DOCSDIR%%/tkhonyaku-readme
share/tkhonyaku/tkhonyaku.gif
share/tkhonyaku/tkhonyaku.xpm
share/tkhonyaku/colors.gif
bin/tkhonyaku
@dirrm share/doc/tkhonyaku
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/tkhonyaku