c3579f1baf
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
31 lines
741 B
Makefile
31 lines
741 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/09/23 16:57:33 jeremy Exp $
|
|
|
|
COMMENT = embed C code in your ruby script
|
|
|
|
DISTNAME = ffi-inliner-0.2.4
|
|
CATEGORIES = devel
|
|
REVISION = 1
|
|
|
|
HOMEPAGE = http://github.com/remogatto/ffi-inliner
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = devel/ruby-ffi,${MODRUBY_FLAVOR}
|
|
|
|
# 1 failure because we don't support the optional tcc dependency
|
|
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
|
MODRUBY_REGRESS = rspec
|
|
MODRUBY_REGRESS_ENV = LD_PRELOAD=/usr/lib/libpthread.so
|
|
MODRUBY_REGRESS_TARGET= spec/ffi-inliner/inliner_spec.rb
|
|
|
|
.include <bsd.port.mk>
|