From f96f0fce50030fb4a8c6fd6ccf17204f1d55ba0a Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 19 May 2010 12:10:51 +0000 Subject: Import ruby18-yamcha-0.33 as textproc/ruby-yamcha. YamCha is a generic, customizable, and open source text chunker oriented toward a lot of NLP tasks, such as POS tagging, Named Entity Recognition, base NP chunking, and Text Chunking. YamCha is using a state-of-the-art machine learning algorithm called Support Vector Machines (SVMs), first introduced by Vapnik in 1995. This package is ruby module for YamCha. --- textproc/ruby-yamcha/DESCR | 7 +++++++ textproc/ruby-yamcha/Makefile | 27 +++++++++++++++++++++++++++ textproc/ruby-yamcha/PLIST | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 textproc/ruby-yamcha/DESCR create mode 100644 textproc/ruby-yamcha/Makefile create mode 100644 textproc/ruby-yamcha/PLIST (limited to 'textproc/ruby-yamcha') diff --git a/textproc/ruby-yamcha/DESCR b/textproc/ruby-yamcha/DESCR new file mode 100644 index 00000000000..cb92ae0e55d --- /dev/null +++ b/textproc/ruby-yamcha/DESCR @@ -0,0 +1,7 @@ +YamCha is a generic, customizable, and open source text chunker oriented toward +a lot of NLP tasks, such as POS tagging, Named Entity Recognition, base NP +chunking, and Text Chunking. YamCha is using a state-of-the-art machine learning +algorithm called Support Vector Machines (SVMs), first introduced by Vapnik in +1995. + +This package is ruby module for YamCha. diff --git a/textproc/ruby-yamcha/Makefile b/textproc/ruby-yamcha/Makefile new file mode 100644 index 00000000000..edc80c6d0a3 --- /dev/null +++ b/textproc/ruby-yamcha/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:10:51 obache Exp $ +# + +.include "../../textproc/yamcha/Makefile.common" + +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES+= ruby + +COMMENT= YamCha ruby module + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ + +USE_RUBY_EXTCONF= yes +RUBY_EXTCONF_SUBDIRS= ruby + +YAMCHA_LIBS_CMD= ${BUILDLINK_PREFIX.yamcha}/bin/yamcha-config --libs + +post-extract: + ${SED} -e "s|@YAMCHA_LIBS@|`${YAMCHA_LIBS_CMD}`|g" \ + ${WRKSRC}/ruby/extconf.rb.in > ${WRKSRC}/ruby/extconf.rb + +BUILDLINK_API_DEPENDS.yamcha+= yamcha>=${PKGVERSION_NOREV} +.include "../../textproc/yamcha/buildlink3.mk" +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-yamcha/PLIST b/textproc/ruby-yamcha/PLIST new file mode 100644 index 00000000000..074e677d3e4 --- /dev/null +++ b/textproc/ruby-yamcha/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:10:51 obache Exp $ +${RUBY_VENDORARCHLIB}/YamCha.${RUBY_DLEXT} -- cgit v1.2.3