2013-01-09 12:38:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2013/01/09 17:38:52 jeremy Exp $
|
2010-12-20 13:04:16 -05:00
|
|
|
|
|
|
|
COMMENT = cross-platform dynamic library loading for ruby
|
|
|
|
|
2011-08-18 05:49:12 -04:00
|
|
|
DISTNAME = ffi-1.0.9
|
2010-12-20 13:04:16 -05:00
|
|
|
CATEGORIES = devel
|
2013-01-09 12:38:52 -05:00
|
|
|
REVISION = 3
|
2010-12-20 13:04:16 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-12-27 13:58:40 -05:00
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS = ${MODRUBY_RAKE_DEPENDS}
|
|
|
|
|
2011-01-02 08:20:53 -05:00
|
|
|
WANTLIB = ffi
|
|
|
|
|
|
|
|
LIB_DEPENDS = devel/libffi
|
|
|
|
|
2010-12-20 13:04:16 -05:00
|
|
|
CONFIGURE_STYLE = ruby gem ext
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
rm -r ${GEM_ABS_PATH}/gems/${DISTNAME}/ext
|
|
|
|
|
2011-12-02 14:34:42 -05:00
|
|
|
# Doesn't ship with libtest directory, which is necessary for regress
|
2011-11-17 11:08:00 -05:00
|
|
|
#REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
|
|
|
#MODRUBY_REGRESS = rspec2
|
|
|
|
#MODRUBY_REGRESS_ENV = RUBYLIB=$$(dirname `${GEM} which ffi.rb`) \
|
|
|
|
# RUBYOPT=-rffi
|
|
|
|
#MODRUBY_REGRESS_TARGET = spec/ffi/*_spec.rb
|
2010-12-20 13:04:16 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|