2008-02-04 05:58:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2008/02/04 04:58:52 obache Exp $
|
2007-05-12 15:53:46 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../../textproc/mecab/Makefile.common"
|
|
|
|
|
|
|
|
DISTNAME= mecab-java-${MECAB_VERSION}
|
|
|
|
PKGNAME= java-mecab-${MECAB_VERSION}
|
|
|
|
CATEGORIES+= java
|
|
|
|
|
|
|
|
COMMENT= MeCab java module
|
|
|
|
|
2008-02-04 05:58:52 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-05-12 15:53:46 +02:00
|
|
|
USE_LANGUAGES= c++
|
|
|
|
|
|
|
|
TEST_TARGET= test
|
|
|
|
|
|
|
|
do-install:
|
2008-02-04 05:58:52 +01:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/libMeCab.so ${DESTDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/MeCab.jar ${DESTDIR}${PREFIX}/lib
|
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
|
2007-05-12 15:53:46 +02:00
|
|
|
|
|
|
|
.include "../../textproc/mecab/buildlink3.mk"
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|