freebsd-ports/graphics/ruby-redact/Makefile
Stanislav Sedov fae8e0f615 - Add ruby 1.9 support
- 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@
2008-04-06 08:58:21 +00:00

30 lines
725 B
Makefile

# New ports collection makefile for: redact
# Date created: 06 Apr 2006
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
PORTNAME= redact
PORTVERSION= 0.1.5
PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= ftp://ftp.code-monkey.de/pub/redact/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
MAINTAINER= alexbl@FreeBSD.org
COMMENT= An edje compiler written in ruby
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/imlib2.so:${PORTSDIR}/graphics/ruby-imlib2 \
${RUBY_SITELIBDIR}/eet.rb:${PORTSDIR}/devel/ruby-eet
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_RUBY= yes
USE_RAKE= yes
NO_BUILD= yes
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC} && ${RAKE_BIN} PREFIX=${PREFIX}/ install
.include <bsd.port.post.mk>