6ca8fbaa71
Change to 1.7.x branch. Many changes are introduced. See http://subversion.apache.org/docs/release-notes/1.7.html .
34 lines
906 B
Makefile
34 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.41 2013/02/09 13:22:10 ryoon Exp $
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER}
|
|
COMMENT= Ruby bindings for Subversion
|
|
|
|
.include "../../devel/subversion/Makefile.common"
|
|
|
|
RUBY_VERSION_SUPPORTED= 18
|
|
|
|
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"
|