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