summaryrefslogtreecommitdiff
path: root/textproc/java-mecab/Makefile
diff options
context:
space:
mode:
authorobache <obache>2008-02-04 04:58:52 +0000
committerobache <obache>2008-02-04 04:58:52 +0000
commitd986c560e63769282326761e6a80bdd94d5d5cda (patch)
tree19ab6f6f376a34b533f00d7a006010705b0258a7 /textproc/java-mecab/Makefile
parente10fa5e83f2d9acc5baf42208b69f61bcf5657c2 (diff)
downloadpkgsrc-d986c560e63769282326761e6a80bdd94d5d5cda.tar.gz
Update mecab to 0.97.
Pkgsrc changes: * fix some pkglint warining * add DESTDIR support. Changes: * Fix a bug of exclusive control when dictionary is opened in MultiThreading environment. * When installing the Windows version, it came to be able to specify the character-code of the dictionary. * Fix a problem that was not able to be compiled correctly by some compilers. * Add API that changes partial, analytical mode (Tagger::set_partial()) * Add API that changes generation level of lattice (Tagger::set_lattice_level()) * Add API that changes temperature parameter (Tagger::set_theta()) * Add API that changes all candidate output mode (Tagger::set_all_morphs())
Diffstat (limited to 'textproc/java-mecab/Makefile')
-rw-r--r--textproc/java-mecab/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/java-mecab/Makefile b/textproc/java-mecab/Makefile
index 243ec5246cc..f4bbd49ad86 100644
--- a/textproc/java-mecab/Makefile
+++ b/textproc/java-mecab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:53:46 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/02/04 04:58:52 obache Exp $
#
.include "../../textproc/mecab/Makefile.common"
@@ -9,13 +9,17 @@ CATEGORIES+= java
COMMENT= MeCab java module
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c++
TEST_TARGET= test
do-install:
- ${INSTALL_LIB} ${WRKSRC:Q}/libMeCab.so ${PREFIX:Q}/lib
- ${INSTALL_LIB} ${WRKSRC:Q}/MeCab.jar ${PREFIX:Q}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libMeCab.so ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/MeCab.jar ${DESTDIR}${PREFIX}/lib
+
+BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
.include "../../textproc/mecab/buildlink3.mk"
.include "../../mk/java-vm.mk"