mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
5152047e02
including many of those captured at on the Wiki at StandardClassExtensions. They are thoroughly documented and tested. See the project homepage for API documentation. Author: Gavin Sinclair <gsinclair@soyabean.com.au> WWW: http://extensions.rubyforge.net PR: ports/107434 Submitted by: Christopher Boumenot <boumenot at gmail.com>
46 lines
946 B
Makefile
46 lines
946 B
Makefile
# New ports collection makefile for: ruby-extensions
|
|
# Date created: 3 Jan 2007
|
|
# Whom: Christopher Boumenot <boumenot@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= extensions
|
|
PORTVERSION= 0.6.0
|
|
CATEGORIES= lang ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= boumenot@gmail.com
|
|
COMMENT= Useful extensions for Ruby's standard classes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
|
|
.endif
|
|
|
|
RUBY_SETUP= install.rb
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
USE_RUBY_RDOC= yes
|
|
|
|
DOCS_EN= README README.1st build/rdoc/*
|
|
|
|
post-build:
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKSRC} && rake rerdoc
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS_EN}
|
|
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|