42 lines
849 B
Makefile
42 lines
849 B
Makefile
# $OpenBSD: Makefile,v 1.6 2008/06/05 07:37:47 bernd Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= access a SQLite3 database from ruby
|
|
|
|
VERSION= 1.2.2
|
|
DISTNAME= sqlite3-ruby-${VERSION}
|
|
PKGNAME= ruby-sqlite3-${VERSION}
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://sqlite-ruby.rubyforge.org/
|
|
|
|
MAINTAINER= Bernd Ahlers <bernd@openbsd.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 \
|
|
ruby.>=1::lang/ruby
|
|
|
|
CONFIGURE_STYLE= ruby gem
|
|
|
|
REGRESS_DEPENDS= ::devel/ruby-mocha \
|
|
::${BASE_PKGPATH}
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} test/tests.rb
|
|
|
|
.include <bsd.port.mk>
|