aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qtgtl/Makefile
blob: 52a0fa4b0ca6ea493613c4c5391ca2af326fd177 (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
# New ports collection makefile for:    qtgtl
# Date created:             28 September 2009
# Whom:                 Alberto Villa <villa.alberto@gmail.com>
#
# $FreeBSD$

PORTNAME=   qtgtl
PORTVERSION=    0.9.1
CATEGORIES= graphics devel
MASTER_SITES=   http://www.opengtl.org/download/
DISTNAME=   libQtGTL-${PORTVERSION}

MAINTAINER= avilla@FreeBSD.org
COMMENT=    Qt bindings for the Graphics Transformation Languages

LIB_DEPENDS=    GTLCore.0:${PORTSDIR}/graphics/opengtl

USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  gui moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
USE_CMAKE=  yes
USE_LDCONFIG=   yes

pre-configure:
    ${REINPLACE_CMD} -e 's|set(QTGTL_LIB_SOVERSION.*|set(QTGTL_LIB_SOVERSION "0")|' \
        ${PATCH_WRKSRC}/CMakeLists.txt
    ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
        ${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \
        ${PATCH_WRKSRC}/QtShiva/CMakeLists.txt

.include <bsd.port.mk>