1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/graphics/ruby-esmart/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

41 lines
983 B
Makefile

# New ports collection makefile for: ruby-esmart
# Date created: 22 June 2006
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#
PORTNAME= esmart
PORTVERSION= 20080302
PORTREVISION= 0
CATEGORIES= graphics ruby
MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-esmart-${PORTVERSION}
MAINTAINER= stas@FreeBSD.org
COMMENT= Ruby bindings for Esmart library
BUILD_DEPENDS= ${RUBY_SA}/evas/rb_evas.h:${PORTSDIR}/graphics/ruby-evas \
${RUBY_SA}/ecore/rb_window.h:${PORTSDIR}/devel/ruby-ecore
USE_BZIP2= yes
USE_RUBY= yes
USE_RAKE= yes
USE_EFL_ESMART= trans_x11 container draggies
CFLAGS+= -I"${LOCALBASE}/include" -fPIC
RUBY_SA= ${RUBY_SITEARCHLIBDIR}
.include <bsd.port.pre.mk>
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ESMART_PREFIX=${LOCALBASE} \
${RAKE_BIN})
do-install:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ESMART_PREFIX=${LOCALBASE} \
${RAKE_BIN} install)
.include <bsd.port.post.mk>