blob: 7786b5f4697f3872f642f360ba19b4756ded6826 (
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
|
# $NetBSD: Makefile,v 1.5 2005/12/05 20:50:07 rillig Exp $
PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER}
PKGREVISION= 1
COMMENT= Ruby bindings for Subversion
.include "../../devel/subversion/Makefile.common"
USE_RUBY_DIST_SUBDIR= no
REPLACE_RUBY_DIRS= ${WRKSRC}/tools
CONFIGURE_ENV+= RUBY=${RUBY:Q}
BUILD_TARGET= swig-rb-lib swig-rb
INSTALL_TARGET= install-swig-rb
TEST_TARGET= check-swig-rb
post-patch:
${RM} ${WRKSRC}/build-outputs.mk
${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk
post-install:
${RM} ${RUBY_SITEARCHLIBDIR}/svn/ext/*.a
${RM} ${RUBY_SITEARCHLIBDIR}/svn/ext/*.la
${INSTALL_DATA_DIR} ${SVNEXAMPLES}/ruby
${INSTALL_DATA} ${WRKSRC}/tools/*/*.rb ${SVNEXAMPLES}/ruby
.include "../../devel/subversion/buildlink3.mk"
.include "../../devel/swig13/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|