mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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:
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
|
@ -34,7 +34,7 @@ do-install:
|
||||||
.endfor
|
.endfor
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
@${MKDIR} ${PREFIX}/share/doc/gb2ps
|
@${MKDIR} ${PREFIX}/share/doc/gb2ps
|
||||||
${INSTALL_MAN} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
|
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -6,7 +6,7 @@ share/chinese/gb/ckai24.ccf
|
||||||
share/chinese/gb/cfang24.ccf
|
share/chinese/gb/cfang24.ccf
|
||||||
share/chinese/gb/chei24.ccf
|
share/chinese/gb/chei24.ccf
|
||||||
share/chinese/gb/cfan24.ccf
|
share/chinese/gb/cfan24.ccf
|
||||||
share/doc/gb2ps/gb2ps.help
|
%%PORTDOCS%%share/doc/gb2ps/gb2ps.help
|
||||||
@dirrm share/doc/gb2ps
|
%%PORTDOCS%%@dirrm share/doc/gb2ps
|
||||||
@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
|
@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
|
||||||
@unexec rmdir %D/share/chinese 2>/dev/null || true
|
@unexec rmdir %D/share/chinese 2>/dev/null || true
|
||||||
|
|
Loading…
Add table
Reference in a new issue