b9d791c80d
by Ruby 1.8.3 updates.
33 lines
900 B
Makefile
33 lines
900 B
Makefile
# $NetBSD: Makefile,v 1.3 2005/11/02 09:48:33 taca Exp $
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER}
|
|
PKGREVISION= 1
|
|
COMMENT= Ruby bindings for Subversion
|
|
|
|
.include "../../devel/subversion/Makefile.common"
|
|
|
|
USE_RUBY_DIST_SUBDIR= no
|
|
RUBY_VERSION_SUPPORTED= 18
|
|
REPLACE_RUBY_DIRS= ${WRKSRC}/tools
|
|
|
|
CONFIGURE_ENV+= RUBY=${RUBY}
|
|
|
|
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"
|