aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/chasen
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-02 13:48:42 +0800
committerknu <knu@FreeBSD.org>2001-03-02 13:48:42 +0800
commitabe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30 (patch)
tree4ca95bb6c118dbeee27cdd38b91b74b5cb34ffe9 /japanese/chasen
parent42095d616fb3d94e35a712ae31bf814e47fb89a6 (diff)
downloadfreebsd-ports-gnome-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.tar.gz
freebsd-ports-gnome-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.tar.zst
freebsd-ports-gnome-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.zip
Succeed to the maintainership.
Offered by: kuriyama (MAINTAINER) Install the documents as well.
Diffstat (limited to 'japanese/chasen')
-rw-r--r--japanese/chasen/Makefile16
-rw-r--r--japanese/chasen/pkg-plist9
2 files changed, 23 insertions, 2 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index 0cd09664fd25..d560ff14fb1e 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -8,12 +8,12 @@
PORTNAME= chasen
PORTVERSION= 2.02
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/
DISTNAME= ${PORTNAME}-sys${PORTVERSION}-ipadic2.1
-MAINTAINER= kuriyama@FreeBSD.org
+MAINTAINER= knu@FreeBSD.org
USE_PERL5= YES
@@ -23,6 +23,9 @@ MAN3= Text::ChaSen.3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALLS_SHLIB= yes
+DOCS_EN= README doc/manual.pdf doc/manual.tex
+DOCS_JA= CHANGES README.ja doc/manual-j.pdf doc/manual-j.tex
+
post-patch:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/lib/Makefile
@@ -38,5 +41,14 @@ post-install:
@cd ${WRKSRC}/perl; ${SETENV} ${MAKE_ENV} ${MAKE} install
${MKDIR} ${PREFIX}/include/chasen
@cd ${WRKSRC}/lib; ${SETENV} ${MAKE_ENV} ${MAKE} install
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/chasen/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/chasen/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/chasen/ja/
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/japanese/chasen/pkg-plist b/japanese/chasen/pkg-plist
index a7bea876ebc3..ffdd87d26abb 100644
--- a/japanese/chasen/pkg-plist
+++ b/japanese/chasen/pkg-plist
@@ -35,3 +35,12 @@ share/chasen/mkchadic/sortdic
@dirrm share/chasen/mkchadic
@dirrm share/chasen/dic
@dirrm share/chasen
+%%PORTDOCS%%share/doc/chasen/README
+%%PORTDOCS%%share/doc/chasen/manual.pdf
+%%PORTDOCS%%share/doc/chasen/manual.tex
+%%PORTDOCS%%share/doc/chasen/ja/CHANGES
+%%PORTDOCS%%share/doc/chasen/ja/README.ja
+%%PORTDOCS%%share/doc/chasen/ja/manual-j.pdf
+%%PORTDOCS%%share/doc/chasen/ja/manual-j.tex
+%%PORTDOCS%%@dirrm share/doc/chasen/ja
+%%PORTDOCS%%@dirrm share/doc/chasen