openbsd-ports/devel/ruby-therubyracer/Makefile
2013-03-11 10:50:00 +00:00

27 lines
609 B
Makefile

# $OpenBSD: Makefile,v 1.2 2013/03/11 10:50:30 espie Exp $
COMMENT = embeds the V8 javascript interpreter into ruby
DISTNAME = therubyracer-0.11.0
CATEGORIES = devel
HOMEPAGE= https://github.com/cowboyd/therubyracer
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = pthread stdc++ v8
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem ext
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = lang/libv8 \
devel/ruby-ref,${MODRUBY_FLAVOR}
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
MODRUBY_TEST_ENV = RUBYOPT='-rubygems -rv8'
MODRUBY_TEST = rspec2
MODRUBY_TEST_TARGET = spec/{v8,c}/*_spec.rb
.include <bsd.port.mk>