openbsd-ports/databases/ruby-amalgalite/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

38 lines
956 B
Makefile

# $OpenBSD: Makefile,v 1.8 2012/09/23 16:57:32 jeremy Exp $
BROKEN-mips64el= hangs when compiling sqlite3.o
COMMENT = ruby SQLite3 embedded database library
DISTNAME = amalgalite-1.1.2
CATEGORIES = databases
REVISION = 1
HOMEPAGE = http://copiousfreetime.rubyforge.org/amalgalite/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem ext
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-arrayfields,${MODRUBY_FLAVOR}>=4.7.4,<4.8 \
textproc/ruby-fastercsv,${MODRUBY_FLAVOR}>=1.5.4,<1.6
AMALGALITE_SO_DIR = amalgalite/${MODRUBY_REV}
SUBST_VARS += AMALGALITE_SO_DIR
# distfile doesn't include configuration directory necessary for testing.
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
MODRUBY_REGRESS = rspec2
MODRUBY_REGRESS_TARGET = spec/*_spec.rb
.include <bsd.port.mk>