freebsd-ports/graphics/ruby-evas/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

34 lines
708 B
Makefile

# New ports collection makefile for: ruby-evas
# Date created: 22 June 2006
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#
PORTNAME= evas
PORTVERSION= 20080302
PORTREVISION= 0
CATEGORIES= graphics ruby
MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-evas-${PORTVERSION}
MAINTAINER= stas@FreeBSD.org
COMMENT= Ruby bindings for Evas library
USE_BZIP2= yes
USE_RUBY= yes
USE_RAKE= yes
USE_EFL= evas
.include <bsd.port.pre.mk>
do-build:
@(cd ${WRKSRC}; ${SETENV} EVAS_PREFIX=${LOCALBASE} \
${RAKE_BIN})
do-install:
@(cd ${WRKSRC}; ${SETENV} EVAS_PREFIX=${LOCALBASE} \
${RAKE_BIN} install)
.include <bsd.port.post.mk>