- Add NOPORTDOCS support

- use ${INSTALL_DATA} over ${INSTALL_MAN} for docs.

PR:		29749
Submitted by:	pat
No response from:	maintainer (obrien)
This commit is contained in:
Ying-Chieh Liao 2001-12-21 06:34:27 +00:00
parent fb10909a4e
commit a34fa6a5f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51914
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ do-install:
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gb2ps
${INSTALL_MAN} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
.endif
.include <bsd.port.mk>

View file

@ -6,7 +6,7 @@ share/chinese/gb/ckai24.ccf
share/chinese/gb/cfang24.ccf
share/chinese/gb/chei24.ccf
share/chinese/gb/cfan24.ccf
share/doc/gb2ps/gb2ps.help
@dirrm share/doc/gb2ps
%%PORTDOCS%%share/doc/gb2ps/gb2ps.help
%%PORTDOCS%%@dirrm share/doc/gb2ps
@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
@unexec rmdir %D/share/chinese 2>/dev/null || true