aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdebindings4-ruby-krossruby/Makefile
blob: 88fe919bd56c53eeba91aec10e434188492f089c (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
40
41
# New ports collection makefile for:    kdebindings4-ruby-krossruby
# Date created:             1 September 2011
# Whom:                 Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   krossruby
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= devel kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}kdebindings-
DISTNAME=   kross-interpreters-${PORTVERSION}
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    Ruby bindings for Qt/KDE

CONFLICTS=  ruby1[89]-kdebindings-4.[0-6].*

USE_KDE4=   kdehier kdelibs kdeprefix pimlibs automoc4
USE_QT_VER= 4
QT_COMPONENTS=  gui qmake_build moc_build uic_build rcc_build
USE_RUBY=   yes
USE_BZIP2=  yes
DISTINFO_FILE=  ${PORTSDIR}/devel/kdebindings4-kross-interpreters/distinfo
USE_CMAKE=  yes
CMAKE_ARGS+=    -DBUILD_python:BOOL=FALSE \
        -DBUILD_falcon:BOOL=FALSE \
        -DBUILD_java:BOOL=FALSE
MAKE_JOBS_SAFE= yes

.include <bsd.port.pre.mk>

# Kross Ruby is broken with Ruby 1.9, see http://bugs.kde.org/243565
.if ${RUBY_VER} == 1.9
BROKEN=     does not build with Ruby 1.9
.endif

.include <bsd.port.post.mk>