fae8e0f615
- 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@
29 lines
620 B
Makefile
29 lines
620 B
Makefile
# New ports collection makefile for: ruby-event-loop
|
|
# Date created: 08 November 2006
|
|
# Whom: Alexander Botero-Lowry <alexbl@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= event-loop
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.brockman.se/software/ruby-event-loop/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= alexbl@FreeBSD.org
|
|
COMMENT= An Event loop for Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RAKE= yes
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${RUBY} setup.rb config --prefix=${PREFIX}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${RUBY} setup.rb setup
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${RUBY} setup.rb install
|
|
|
|
.include <bsd.port.mk>
|