diff options
Diffstat (limited to 'japanese/chasen/Makefile')
-rw-r--r-- | japanese/chasen/Makefile | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile index ff886b8c318b..204383429758 100644 --- a/japanese/chasen/Makefile +++ b/japanese/chasen/Makefile @@ -7,39 +7,19 @@ # PORTNAME= chasen -PORTVERSION= 2.02 -PORTREVISION= 3 +PORTVERSION= 2.2.7 CATEGORIES= japanese -MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/ -DISTNAME= ${PORTNAME}-sys${PORTVERSION}-ipadic2.1 +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAKE_ARGS= NOPROFILE=true -INSTALLS_SHLIB= yes +RUN_DEPENDS= chasen:${PORTSDIR}/japanese/chasen-base \ + ${LOCALBASE}/share/chasen/dic/ipadic/cforms.cha:${PORTSDIR}/japanese/ipadic -DOCS_EN= README doc/manual.pdf doc/manual.tex -DOCS_JA= CHANGES README.ja doc/manual-j.pdf doc/manual-j.tex +NO_BUILD= YES -post-patch: - ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/lib/Makefile - -post-build: - @${ECHO_MSG} "Making dictionaries" - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} dic - -post-install: - ${MKDIR} ${PREFIX}/include/chasen - @cd ${WRKSRC}/lib; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} 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 +do-install: .include <bsd.port.mk> |