summaryrefslogtreecommitdiffstats
path: root/japanese/mh
diff options
context:
space:
mode:
authormotoyuki <motoyuki@FreeBSD.org>2001-06-17 06:13:22 +0000
committermotoyuki <motoyuki@FreeBSD.org>2001-06-17 06:13:22 +0000
commit4a7bca6652854f221596a4e4f6f0c10b7f31dba8 (patch)
tree4143666c34f72bf53502638b09ff3e813e8bc931 /japanese/mh
parent489a0d95352ee428df19173ee29fb821e079bdca (diff)
downloadFreeBSD-ports-4a7bca6652854f221596a4e4f6f0c10b7f31dba8.zip
FreeBSD-ports-4a7bca6652854f221596a4e4f6f0c10b7f31dba8.tar.gz
Install additional documents written in Japanese under ${PREFIX}/share/doc.
Bump PORTREVISION. PR: ports/27897 Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Diffstat (limited to 'japanese/mh')
-rw-r--r--japanese/mh/Makefile11
-rw-r--r--japanese/mh/pkg-plist10
2 files changed, 21 insertions, 0 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 822c7f6..1d690ae 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mh
PORTVERSION= ${VERSION}.j${JP_VERSION}
+PORTREVISION= 1
CATEGORIES= japanese mail
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/MH/ \
@@ -36,4 +37,14 @@ MANLANG= "" ja
MANCOMPRESSED= yes
INSTALLS_SHLIB= yes
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+READMES= 00.READ.ME.1ST CHANGES.JP COMMANDS.JP FAQ.JP FEATURES.JP \
+ INSTALL.JP OPTIONS.JP READ-ME.JP TODO.JP
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ (cd ${WRKSRC}/doc-JP; ${INSTALL_DATA} ${READMES} ${DOCDIR})
+.endif
+
.include <bsd.port.mk>
diff --git a/japanese/mh/pkg-plist b/japanese/mh/pkg-plist
index 374cc5c..aad6091 100644
--- a/japanese/mh/pkg-plist
+++ b/japanese/mh/pkg-plist
@@ -73,3 +73,13 @@ lib/libmh.so.3.2
@dirrm lib/mh
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R
+%%PORTDOCS%%share/doc/ja-mh/00.READ.ME.1ST
+%%PORTDOCS%%share/doc/ja-mh/CHANGES.JP
+%%PORTDOCS%%share/doc/ja-mh/COMMANDS.JP
+%%PORTDOCS%%share/doc/ja-mh/FAQ.JP
+%%PORTDOCS%%share/doc/ja-mh/FEATURES.JP
+%%PORTDOCS%%share/doc/ja-mh/INSTALL.JP
+%%PORTDOCS%%share/doc/ja-mh/OPTIONS.JP
+%%PORTDOCS%%share/doc/ja-mh/READ-ME.JP
+%%PORTDOCS%%share/doc/ja-mh/TODO.JP
+%%PORTDOCS%%@dirrm share/doc/ja/mh
OpenPOWER on IntegriCloud