summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-21 06:34:27 +0000
committerijliao <ijliao@FreeBSD.org>2001-12-21 06:34:27 +0000
commitbbe9e214dfba379285e4e7020679e434b0b2aabd (patch)
treef85a64744857984db29a75ab3a0fd851e19c4ce2 /chinese
parent9790ce3fe7ad1dbe540a4f775ed9d63fbd6610d7 (diff)
downloadFreeBSD-ports-bbe9e214dfba379285e4e7020679e434b0b2aabd.zip
FreeBSD-ports-bbe9e214dfba379285e4e7020679e434b0b2aabd.tar.gz
- Add NOPORTDOCS support
- use ${INSTALL_DATA} over ${INSTALL_MAN} for docs. PR: 29749 Submitted by: pat No response from: maintainer (obrien)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/gb2ps/Makefile2
-rw-r--r--chinese/gb2ps/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/gb2ps/Makefile b/chinese/gb2ps/Makefile
index 1494574..928ee8d 100644
--- a/chinese/gb2ps/Makefile
+++ b/chinese/gb2ps/Makefile
@@ -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>
diff --git a/chinese/gb2ps/pkg-plist b/chinese/gb2ps/pkg-plist
index cb6fa14..f03cd68 100644
--- a/chinese/gb2ps/pkg-plist
+++ b/chinese/gb2ps/pkg-plist
@@ -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
OpenPOWER on IntegriCloud