From a34fa6a5f0e63ab4ed079a517be18128bb842a0d Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 21 Dec 2001 06:34:27 +0000 Subject: [PATCH] - Add NOPORTDOCS support - use ${INSTALL_DATA} over ${INSTALL_MAN} for docs. PR: 29749 Submitted by: pat No response from: maintainer (obrien) --- chinese/gb2ps/Makefile | 2 +- chinese/gb2ps/pkg-plist | 4 ++-- 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 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