- 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@
24 lines
562 B
Makefile
24 lines
562 B
Makefile
# New ports collection makefile for: yadis
|
|
# Date created: Dec 19, 2006
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yadis
|
|
PORTVERSION= 0.3.4
|
|
CATEGORIES= net rubygems
|
|
MASTER_SITES= http://www.openidenabled.com/resources/downloads/ruby-yadis/
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= A Yadis Service discovery library written in pure Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
GEM_NAME= ${DISTNAME}
|
|
|
|
post-install:
|
|
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -name "*~" -delete
|
|
|
|
.include <bsd.port.mk>
|