summaryrefslogtreecommitdiff
path: root/japanese/mh
diff options
context:
space:
mode:
authorMotoyuki Konno <motoyuki@FreeBSD.org>2001-06-17 06:13:22 +0000
committerMotoyuki Konno <motoyuki@FreeBSD.org>2001-06-17 06:13:22 +0000
commit5430a943036ad44cca809486a1375cbffefceda9 (patch)
tree570b8ab5d8b4d4aa6816918ddb7e3e52280dc306 /japanese/mh
parentFix in the non-gnome case. configure hard gtk-config hard coded. (diff)
Install additional documents written in Japanese under ${PREFIX}/share/doc.
Bump PORTREVISION. PR: ports/27897 Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Notes
Notes: svn path=/head/; revision=44089
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 822c7f6dbcc8..1d690ae5f35d 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 374cc5ca50e0..aad6091bcb20 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