Makefile 633 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.38 2016/11/04 21:30:37 jeremy Exp $
  2. COMMENT= access a SQLite3 database from ruby
  3. DISTNAME= sqlite3-1.3.12
  4. CATEGORIES= databases
  5. MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
  6. HOMEPAGE= http://sqlite-ruby.rubyforge.org/
  7. # BSD
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MODULES= lang/ruby
  10. WANTLIB= sqlite3
  11. LIB_DEPENDS= databases/sqlite3
  12. CONFIGURE_STYLE= ruby gem ext
  13. MODRUBY_TEST= rake
  14. TEST_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR} \
  15. ${FULLPKGNAME}:${BUILD_PKGPATH}
  16. do-test:
  17. cd ${WRKSRC}/test && ${RUBY} -I . -rubygems -e \
  18. "require 'sqlite3'; Dir['test_*.rb'].each{|f| load(f)}"
  19. .include <bsd.port.mk>