jeremy 3b2e299ff9 Remove MODRUBY_RAKE_DEPENDS. Only necessary on ruby 1.8, and none of
the ports that use it are still built with ruby 1.8.

OK ajacoutot@
2015-07-19 02:10:31 +00:00

31 lines
735 B
Makefile

# $OpenBSD: Makefile,v 1.12 2015/07/19 02:10:31 jeremy Exp $
COMMENT = build and package Ruby extensions using Rake as glue
DISTNAME = rake-compiler-0.7.9
REVISION = 6
CATEGORIES = devel
HOMEPAGE = https://github.com/luislavena/rake-compiler
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT License
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
pre-configure:
${SUBST_CMD} -DMAKE_PROGRAM=${MAKE_PROGRAM} \
${WRKSRC}/lib/rake/extensiontask.rb \
${WRKSRC}/tasks/bin/cross-ruby.rake
rm ${WRKSRC}/lib/rake/extensiontask.rb.beforesubst \
${WRKSRC}/tasks/bin/cross-ruby.rake.beforesubst
TEST_DEPENDS = devel/ruby-isolate,${MODRUBY_FLAVOR}
MODRUBY_TEST = rake rspec
.include <bsd.port.mk>