fa6e35ac80
but version 2 has 4 packages (core, expectations, mocks, and rspec). Stick version 1 in a subdir named 1, and the version 2 packages each in their own subdir. Upgrade version 1 to 1.3.2, the latest version, as some ports depend on >=1.3.0,<2.0. Because rubygems does not correctly handle the case where two versions of the same library install different binaries, manually hack the version 1 spec binary to work. Both version 1 and version 2 ship with the autospec binary, so comment it out from version 1 so the versions don't conflict. This requires changes to dependent ports, which will be committed shortly.
14 lines
386 B
Makefile
14 lines
386 B
Makefile
# $OpenBSD: Makefile,v 1.1 2011/11/17 15:15:27 jeremy Exp $
|
|
|
|
COMMENT = ruby framework for Behaviour Driven Development
|
|
DISTNAME = rspec-2.7.0
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = devel/ruby-rspec/core,${MODRUBY_FLAVOR} \
|
|
devel/ruby-rspec/expectations,${MODRUBY_FLAVOR} \
|
|
devel/ruby-rspec/mocks,${MODRUBY_FLAVOR}
|
|
|
|
SUBST_VARS = MODRUBY_PREFIX
|
|
|
|
.include <bsd.port.mk>
|