openbsd-ports/devel/ruby-ffi/Makefile

40 lines
851 B
Makefile
Raw Normal View History

2013-03-11 06:50:00 -04:00
# $OpenBSD: Makefile,v 1.13 2013/03/11 10:50:29 espie Exp $
COMMENT = cross-platform dynamic library loading for ruby
2013-03-08 05:41:26 -05:00
DISTNAME = ffi-1.2.0
CATEGORIES = devel
HOMEPAGE= http://github.com/ffi/ffi
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# LPGLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = ${MODRUBY_RAKE_DEPENDS}
2011-01-02 08:20:53 -05:00
WANTLIB = ffi
LIB_DEPENDS = devel/libffi
CONFIGURE_STYLE = ruby gem ext
2013-03-08 05:41:26 -05:00
post-extract:
rm ${WRKSRC}/ext/ffi_c/LongDouble.c.orig
post-install:
rm -r ${GEM_ABS_PATH}/gems/${DISTNAME}/ext
2013-03-11 06:50:00 -04:00
# Doesn't ship with libtest directory, which is necessary for test
#TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
#MODRUBY_TEST = rspec2
#MODRUBY_TEST_ENV = RUBYLIB=$$(dirname `${GEM} which ffi.rb`) \
# RUBYOPT=-rffi
2013-03-11 06:50:00 -04:00
#MODRUBY_TEST_TARGET = spec/ffi/*_spec.rb
.include <bsd.port.mk>