blob: 03817cd0cb3a57da216ee4e9f4ae882d779bffc4 (
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.3 2011/02/21 16:01:22 taca Exp $
#
.include "../../textproc/yamcha/Makefile.common"
PKGREVISION= 1
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"
|