b1b851b687
With ffi-inliner you can run C code within your ruby script: * Mix C snippets in your Ruby code and gulp it on the fly! * It's based on Ruby-FFI so the C code you inject is portable across Ruby implementations! * Yep, it means that you can run it on JRuby too! * Fast compilation through tcc * But it can use the system's compiler (e.g. gcc) on those platforms that don't support tcc (e.g. OSX) or that don't have it installed
28 lines
609 B
Makefile
28 lines
609 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 18:05:12 jeremy Exp $
|
|
|
|
COMMENT = embed C code in your ruby script
|
|
|
|
DISTNAME = ffi-inliner-0.2.4
|
|
CATEGORIES = devel
|
|
|
|
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}
|
|
|
|
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
|
MODRUBY_REGRESS = rspec
|
|
RSPEC_REGRESS_TARGET= spec/ffi-inliner/inliner_spec.rb
|
|
|
|
.include <bsd.port.mk>
|