aboutsummaryrefslogtreecommitdiff
path: root/chinese/gb2ps
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-21 06:34:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-21 06:34:27 +0000
commita34fa6a5f0e63ab4ed079a517be18128bb842a0d (patch)
tree14247a6aa1ee9c2a84d66ad84c8a8fb118839132 /chinese/gb2ps
parentfb10909a4eac095ba134c737769bd2f30541929c (diff)
downloadports-a34fa6a5f0e63ab4ed079a517be18128bb842a0d.tar.gz
ports-a34fa6a5f0e63ab4ed079a517be18128bb842a0d.zip
- Add NOPORTDOCS support
- use ${INSTALL_DATA} over ${INSTALL_MAN} for docs. PR: 29749 Submitted by: pat No response from: maintainer (obrien)
Notes
Notes: svn path=/head/; revision=51914
Diffstat (limited to 'chinese/gb2ps')
-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 1494574424ca..928ee8d5edc3 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 cb6fa14900b4..f03cd6845b87 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