blob: ca4d2b8dfb5117253125a2fd6f86ad4ef48be7d7 (
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.5 2010/09/10 08:22:56 taca 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}; \
env ${TEST_ENV} ${RUBY} test.rb
BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
.include "../../textproc/mecab/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|