freebsd-ports/lang/ruby-extensions/Makefile
2011-07-04 01:30:57 +00:00

50 lines
973 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= RF
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Useful extensions for Ruby's standard classes
DEPRECATED= Doesn't work with Ruby 1.9
EXPIRATION_DATE= 2011-08-03
RUBY_SETUP= install.rb
USE_RUBY= yes
USE_RUBY_SETUP= yes
USE_RUBY_RDOC= yes
.if !defined(NOPORTDOCS)
USE_RAKE= yes
.endif
DOCS_EN= README README.1st build/rdoc/*
post-build:
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${RAKE_BIN} 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.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not build with ruby 1.9
.endif
.include <bsd.port.post.mk>