mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
d765f5df76
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed due to differences in how RDoc processes files. This also has a number of changes to the regress tests to work with the changes to devel/ruby-rake. It moves most of the regress tests to use MODRUBY_REGRESS. OK jcs@, landry@, jasper@, sthen@
41 lines
826 B
Makefile
41 lines
826 B
Makefile
# $OpenBSD: Makefile,v 1.11 2010/09/23 22:30:25 jeremy Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= access a SQLite3 database from ruby
|
|
|
|
VERSION= 1.2.4
|
|
DISTNAME= sqlite3-ruby-${VERSION}
|
|
PKGNAME= ruby-sqlite3-${VERSION}
|
|
REVISION = 1
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://sqlite-ruby.rubyforge.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=sqlite-ruby/}
|
|
|
|
MODULES= lang/ruby
|
|
|
|
WANTLIB= c m
|
|
|
|
# swig is needed to build the native extension
|
|
BUILD_DEPENDS= ::devel/swig
|
|
LIB_DEPENDS= sqlite3.>=8:sqlite3->=3.3.4:databases/sqlite3 \
|
|
${MODRUBY_LIB_DEPENDS}
|
|
|
|
CONFIGURE_STYLE= ruby gem
|
|
|
|
REGRESS_DEPENDS= ::devel/ruby-mocha \
|
|
::${BASE_PKGPATH}
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} test/tests.rb
|
|
|
|
.include <bsd.port.mk>
|