openbsd-ports/devel/ruby-ffi/Makefile
jeremy 1fed8cfbd5 Import ruby-ffi 0.6.3
Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions
from Ruby code. Moreover, a Ruby-FFI extension works without changes on
Ruby and JRuby.

* It has a very intuitive DSL
* It supports all C native types
* It supports C structs (also nested), enums and global variables
* It supports callbacks
* It has smart methods to handle memory management of pointers and
  structs
2010-12-20 18:04:16 +00:00

32 lines
705 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 18:04:16 jeremy Exp $
COMMENT = cross-platform dynamic library loading for ruby
DISTNAME = ffi-0.6.3
CATEGORIES = devel
HOMEPAGE= http://github.com/ffi/ffi
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# LPGLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem ext
post-install:
rm -r ${GEM_ABS_PATH}/gems/${DISTNAME}/ext
# Regress currently broken, libtest directory needed and not
# included in the gem
REGRESS_DEPENDS = devel/ruby-rake-compiler,${MODRUBY_FLAVOR}
MODRUBY_REGRESS = rake rspec
RAKE_REGRESS_TARGET = specs
.include <bsd.port.mk>