openbsd-ports/devel/ruby-ffi/Makefile

41 lines
843 B
Makefile
Raw Normal View History

2011-09-16 05:24:48 -04:00
# $OpenBSD: Makefile,v 1.6 2011/09/16 09:24:57 espie Exp $
COMMENT = cross-platform dynamic library loading for ruby
2011-08-18 05:49:12 -04:00
DISTNAME = ffi-1.0.9
CATEGORIES = devel
2011-09-16 05:24:48 -04:00
REVISION= 0
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
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
post-install:
rm -r ${GEM_ABS_PATH}/gems/${DISTNAME}/ext
# Regress currently broken, libtest directory needed and not
# included in the gem
NO_REGRESS = yes
REGRESS_DEPENDS = devel/ruby-rake-compiler,${MODRUBY_FLAVOR}
MODRUBY_REGRESS = rake rspec
RAKE_REGRESS_TARGET = specs
.include <bsd.port.mk>