aboutsummaryrefslogtreecommitdiff
path: root/japanese/chasen
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-02 05:48:42 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-02 05:48:42 +0000
commit166c952e80fe2be7efcfe6fe343bfc8465ad0918 (patch)
treefc5d5cdaaa38d3e7d6b3c869c26abbb0664a3894 /japanese/chasen
parent60abb6e0eb9624855ed145d2a6e86fdb062362a4 (diff)
downloadports-166c952e80fe2be7efcfe6fe343bfc8465ad0918.tar.gz
ports-166c952e80fe2be7efcfe6fe343bfc8465ad0918.zip
Notes
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