summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-qt2/Makefile.common
blob: 05400a29d1b0be450ec2179044c56767c1081a80 (plain)
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
# $FreeBSD$

RUBY_QT2_VERSION=	0.12
RUBY_QT2_PORTVERSION=	${RUBY_QT2_VERSION}
RUBY_QT2_PORTREVISION=	2
RUBY_QT2_MASTER_SITES=	http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
RUBY_QT2_DISTNAME=	ruby-qt2-${RUBY_QT2_VERSION}

RUBY_QT2_PORTDIR=	${PORTSDIR}/x11-toolkits/ruby-qt2

RUBY_QT2_WRKSRC=	${WRKDIR}/qt2
RUBY_QT2_CONFIGURE_ARGS= \
			--with-qt2-include=${X11BASE}/include/qt2 \
			--with-qt2-lib=${X11BASE}/lib \
			--with-x11-dir=${X11BASE}
.if ${OSVERSION} >= 500018
RUBY_QT2_CONFIGURE_ARGS+= \
			--with-ldflags="${PTHREAD_LIBS}" \
			--with-qt2=qt2-mt
.else
.if ${PORTNAME} == qt2gl
BROKEN=	"Qt2's GL support is only supported on 5-CURRENT due to a problem with the thread library."
.endif

RUBY_QT2_CONFIGURE_ARGS+= \
			--with-qt2=qt2
.endif

MD5_FILE=		${RUBY_QT2_PORTDIR}/distinfo
OpenPOWER on IntegriCloud