diff options
Diffstat (limited to 'japanese/chasen/Makefile')
-rw-r--r-- | japanese/chasen/Makefile | 16 |
1 files changed, 14 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> |