blob: bbfd51642fc68126685d05b73e12693978e8a9e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.7 2012/02/27 11:53:07 obache Exp $
.include "../../textproc/mecab/Makefile.common"
DISTNAME= mecab-ruby-${MECAB_VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-mecab-${MECAB_VERSION}
CATEGORIES+= ruby
COMMENT= MeCab ruby module
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
REPLACE_RUBY+= test.rb
USE_RUBY_EXTCONF= yes
do-test:
${RUN} \
cd ${WRKSRC}; \
${SETENV} ${TEST_ENV} ${RUBY} -I${WRKSRC} test.rb
BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
.include "../../textproc/mecab/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|