aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
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
parent42095d616fb3d94e35a712ae31bf814e47fb89a6 (diff)
downloadfreebsd-ports-graphics-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.tar.gz
freebsd-ports-graphics-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.tar.zst
freebsd-ports-graphics-abe37ce89ca8ff8eb5d9c0b6725bb9ff6197cf30.zip
Succeed to the maintainership.
Offered by: kuriyama (MAINTAINER) Install the documents as well.
Diffstat (limited to 'japanese')
-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 0cd09664fd2..d560ff14fb1 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 a7bea876ebc..ffdd87d26ab 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