2012-10-25 08:55:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2012/10/25 06:56:57 asau Exp $
|
2007-05-12 15:57:22 +02:00
|
|
|
|
|
|
|
.include "../../textproc/mecab/Makefile.common"
|
|
|
|
|
|
|
|
DISTNAME= mecab-ruby-${MECAB_VERSION}
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-mecab-${MECAB_VERSION}
|
|
|
|
CATEGORIES+= ruby
|
|
|
|
|
|
|
|
COMMENT= MeCab ruby module
|
2009-10-14 10:22:35 +02:00
|
|
|
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR modified-bsd
|
2007-05-12 15:57:22 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
REPLACE_RUBY+= test.rb
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
do-test:
|
2008-02-04 05:58:52 +01:00
|
|
|
${RUN} \
|
2007-05-12 15:57:22 +02:00
|
|
|
cd ${WRKSRC}; \
|
2012-02-27 12:53:06 +01:00
|
|
|
${SETENV} ${TEST_ENV} ${RUBY} -I${WRKSRC} test.rb
|
2007-05-12 15:57:22 +02:00
|
|
|
|
2008-02-04 05:58:52 +01:00
|
|
|
BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
|
|
|
|
|
2007-05-12 15:57:22 +02:00
|
|
|
.include "../../textproc/mecab/buildlink3.mk"
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|