summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt4pas/Makefile
blob: 0e7a2e588b369ec89aa83cba5f563d8a4c222ae4 (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
30
31
32
33
34
35
36
# New ports collection makefile for:	qt4pas
# Date created:		2009-01-20
# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	qt4pas
PORTVERSION=	2.5
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V${PORTVERSION}/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/^/V/}_Qt${QT4_VER_MIN}

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Qt4 binding for FreePascal

USE_LDCONFIG=	yes
USE_QT4=	corelib gui network script webkit qmake_build \
		moc_build

QT4_VER_MIN=	4.5.3

.include <bsd.port.pre.mk>

.if ${ARCH} == i386
BROKEN=		does not build
.endif

.if  ${QT4_VERSION:S/.//g} < ${QT4_VER_MIN:S/.//g}
IGNORE=	Please update your current qt4 version to ${QT4_VER_MIN}
.endif

pre-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud