1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Succeed to the maintainership.

Offered by:	kuriyama (MAINTAINER)

Install the documents as well.
This commit is contained in:
Akinori MUSHA 2001-03-02 05:48:42 +00:00
parent 60abb6e0eb
commit 166c952e80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38953
2 changed files with 23 additions and 2 deletions

View File

@ -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>

View File

@ -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