- Implement new knobs for gems and rake (these are included in ruby 1.9 distribution already). Also move gem bits from ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend on gems or rake you should define USE_RUBYGEMS/USE_RAKE accordingly. Also RAKE_BIN variable is provided for pointing to the right rake executable. - Rewrite RUBY_SCHEBANG in awk to eliminate build dependency on ruby. Discussed with: Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer) Tested by: ports@
22 lines
457 B
Makefile
22 lines
457 B
Makefile
# Ports collection makefile for: rubygem-rspec
|
|
# Date created: 22 December 2006
|
|
# Whom: Roman Shterenzon <romanbsd@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rspec
|
|
PORTVERSION= 0.7.5.1
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= rspec
|
|
|
|
MAINTAINER= romanbsd@yahoo.com
|
|
COMMENT= Behaviour Driven Development in Ruby
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_RUBY= yes
|
|
USE_RAKE= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
.include <bsd.port.mk>
|