summaryrefslogtreecommitdiff
path: root/textproc/ruby-cabocha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-cabocha/Makefile')
-rw-r--r--textproc/ruby-cabocha/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/textproc/ruby-cabocha/Makefile b/textproc/ruby-cabocha/Makefile
index dd14d0a0946..209aa2a4d0c 100644
--- a/textproc/ruby-cabocha/Makefile
+++ b/textproc/ruby-cabocha/Makefile
@@ -1,29 +1,18 @@
-# $NetBSD: Makefile,v 1.5 2013/01/25 12:56:41 obache Exp $
+# $NetBSD: Makefile,v 1.6 2013/05/22 13:14:30 obache Exp $
#
.include "../../textproc/cabocha/Makefile.common"
-PKGREVISION= 1
CATEGORIES+= ruby
COMMENT= CaboCha ruby module
-BUILD_DEPENDS+= swig-1.[0-9]*:../../devel/swig
-
USE_LANGUAGES= c c++
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF_SUBDIRS= ruby
-CABOCHA_LIBS_CMD= ${BUILDLINK_PREFIX.cabocha}/bin/cabocha-config --libs
-
-pre-configure:
- ${RUN} cd ${WRKSRC}/swig; ${SETENV} ${CONFIGURE_ENV} make ruby;
- ${SED} -e "s|@CABOCHA_LIBS@|`${CABOCHA_LIBS_CMD}`|g" \
- ${WRKSRC}/ruby/extconf.rb.in > ${WRKSRC}/ruby/extconf.rb
-
BUILDLINK_API_DEPENDS.cabocha+= cabocha>=${PKGVERSION_NOREV}
-
.include "../../textproc/cabocha/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"