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@
26 lines
579 B
Makefile
26 lines
579 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: rubygem-twitter
|
|
# Date created: Apr 15, 2007
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= twitter
|
|
PORTVERSION= 0.2.1
|
|
CATEGORIES= net rubygems
|
|
MASTER_SITES= RF
|
|
|
|
MAINTAINER= ijliao@FreeBSD.org
|
|
COMMENT= Command line twits and an API wrapper
|
|
|
|
BUILD_DEPENDS= rubygem-hpricot>0:${PORTSDIR}/www/rubygem-hpricot \
|
|
rubygem-hoe>=1.2.0:${PORTSDIR}/devel/rubygem-hoe \
|
|
rubygem-activesupport>0:${PORTSDIR}/devel/rubygem-activesupport
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
GEM_NAME= ${DISTNAME}
|
|
|
|
.include <bsd.port.mk>
|