aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4/Makefile
blob: 54e72f8e4db457988ebd30c179c492eec749b7b6 (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
42
43
44
45
46
47
48
49
50
51
52
53
# Created by: Michael Nottebrock <lofi@kiste>
# $FreeBSD$

PORTNAME=   qt4
DISTVERSION=    ${QT4_VERSION}
CATEGORIES= devel

MAINTAINER= kde@FreeBSD.org
COMMENT=    Cross-platform application and UI framework (metaport)

USE_QT4=    accessible clucene corelib dbus declarative designer \
        graphicssystems-opengl gui help iconengines \
        imageformats inputmethods multimedia network opengl \
        phonon qt3support qtestlib script scripttools sql \
        svg webkit xml xmlpatterns
USE_QT4:=   ${USE_QT4:S/$/_run/}
USES=       metaport

OPTIONS_DEFINE= CODECS DOCS EXAMPLES GSTREAMER NLS SQL_PLUGINS TOOLS
OPTIONS_DEFAULT=${OPTIONS_DEFINE}

CODECS_DESC=    CN, JP, KR, TW codecs support
CODECS_USE= codecs-cn codecs-jp codecs-kr codecs-tw

DOCS_USE=   doc

EXAMPLES_USE=   demo

GSTREAMER_USE=  phonon-gst

NLS_USE=    l10n

SQL_PLUGINS_DESC=   Install database plugins for QtSql
SQL_PLUGINS_USE=sql-mysql sql-odbc sql-pgsql sql-sqlite2 \
        sql-sqlite3

TOOLS_DESC= Install Qt tools (qmake, moc, etc.)
TOOLS_USE=  assistant help-tools linguist linguisttools makeqpf \
        moc pixeltool \
        porting qdbusviewer qdoc3 qmake qmlviewer qtconfig \
        qvfb rcc uic uic3 xmlpatterns-tool

.for opt in ${OPTIONS_DEFINE}
${opt}_USE:=    ${${opt}_USE:S/^/QT4=/:S/$/_run/}
.endfor

.include <bsd.port.options.mk>

.if ${ARCH} == amd64 || ${ARCH} == i386
SQL_PLUGINS_USE+=   sql-ibase
.endif

.include <bsd.port.mk>