aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-esmart/Makefile
blob: aba6c904c73153e49ddb9d1077e099968229d7df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    ruby-esmart
# Date created:     22 June 2006
# Whom:         Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#

PORTNAME=   esmart
PORTVERSION=    20061008
PORTREVISION=   1
CATEGORIES= graphics ruby
MASTER_SITES=   http://sunner.elcomnet.ru/~stas/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-esmart-${PORTVERSION}

MAINTAINER= stas@FreeBSD.org
COMMENT=    Ruby bindings for Esmart library

BUILD_DEPENDS=  ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake \
        ${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_EFL_ESMART= trans_x11

RUBY_SA=    ${RUBY_SITEARCHLIBDIR}

.include <bsd.port.pre.mk>

do-build:
    @(cd ${WRKSRC}; ${SETENV} ESMART_PREFIX=${LOCALBASE} \
        ${LOCALBASE}/bin/rake)

do-install:
    @(cd ${WRKSRC}; ${SETENV} ESMART_PREFIX=${LOCALBASE} \
        ${LOCALBASE}/bin/rake install)

.include <bsd.port.post.mk>