summaryrefslogtreecommitdiff
path: root/textproc/cabocha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cabocha/Makefile')
-rw-r--r--textproc/cabocha/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/textproc/cabocha/Makefile b/textproc/cabocha/Makefile
index f666611cf82..2a2a2663161 100644
--- a/textproc/cabocha/Makefile
+++ b/textproc/cabocha/Makefile
@@ -1,18 +1,16 @@
-# $NetBSD: Makefile,v 1.3 2012/10/25 06:55:43 asau Exp $
+# $NetBSD: Makefile,v 1.4 2013/05/22 13:14:29 obache Exp $
#
.include "Makefile.common"
COMMENT= Yet another Japanese Dependency Structure Analyzer
-PKGREVISION= 1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= gmake perl:run gzcat
+USE_TOOLS+= gmake
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
INSTALL_MAKE_FLAGS+= confdir=${PREFIX}/share/examples
@@ -20,15 +18,8 @@ CONF_FILES= share/examples/cabocharc ${PKG_SYSCONFDIR}/cabocharc
TEST_TARGET= check
-BUILD_DEPENDS+= nkf-[0-9]*:../../converters/nkf
-
-# using zcat to extract .gz
-SUBST_CLASSES+= zcat
-SUBST_STAGE.zcat= post-configure
-SUBST_FILES.zcat= model/Makefile
-SUBST_SED.zcat= -e 's|zcat|${TOOLS_CMDLINE_GZCAT}|g'
-
-.include "options.mk"
-
-.include "../../textproc/yamcha/buildlink3.mk"
+BUILDLINK_API_DEPENDS.crfpp+= CRF++>=0.55
+.include "../../textproc/CRF++/buildlink3.mk"
+BUILDLINK_API_DEPENDS.mecab+= mecab>=0.993
+.include "../../textproc/mecab/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"