blob: 4c95177ac7d38d2f41cc208bc03f44b520b9fd87 (
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
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.36 2012/10/31 11:19:43 asau Exp $
PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER}
PKGREVISION= 4
COMMENT= Ruby bindings for Subversion
.include "../../devel/subversion/Makefile.common"
SHLIBTOOL_OVERRIDE= # empty
REPLACE_RUBY_DIRS= tools
CONFIGURE_ENV+= RUBY=${RUBY:Q}
CONFIGURE_ARGS+= --with-ruby-sitedir=${PREFIX}/${RUBY_VENDORLIB_BASE}
BUILD_TARGET= swig-rb
INSTALL_TARGET= install-swig-rb
TEST_TARGET= check-swig-rb
INSTALLATION_DIRS+= ${SVNEXAMPLES:S/${PREFIX}\///}/ruby
post-patch:
${RM} ${WRKSRC}/build-outputs.mk
${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk
post-install:
${RM} ${DESTDIR}${PREFIX}/${RUBY_VENDORARCHLIB}/svn/ext/*.la
${INSTALL_DATA} ${WRKSRC}/tools/*/*.rb ${DESTDIR}${SVNEXAMPLES}/ruby
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|