aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4/Makefile
blob: 04e615ec1ba618f746c61887ecadf5cace1611d4 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# New ports collection makefile for:    qt4
# Date created:     2007-01-25
# Whom:         Michael Nottebrock <lofi@kiste>
#
# $FreeBSD$
#

PORTNAME=   qt4
PORTVERSION=    ${QT4_VERSION}
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   # empty
DISTFILES=  # none
EXTRACT_ONLY=   # empty

MAINTAINER= kde@FreeBSD.org
COMMENT=    Multiplatform C++ application framework (metaport)

OPTIONS=    CODECS "Enable support for CN, JP, KR, TW" off \
        PHONON "Phonon support" off \
        QTCONFIG "Qt configuration (depends on PHONON)" off \
        SQL_PLUGINS "Database connectivity plugins for QtSql" off \
        TOOLS "Install Qt tools (qmake, moc, etc.)" off \
        DEMO "Install demonstration and example programs" off

USE_QT_VER= 4
QT_COMPONENTS=  accessible assistant assistant-adp assistantclient \
        clucene corelib dbus designer doc help gui iconengines \
        imageformats inputmethods multimedia network opengl \
        qdbusviewer qt3support qtestlib qvfb script scripttools \
        sql svg webkit xml xmlpatterns xmlpatterns-tool

NO_BUILD=   yes

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NLS)
QT_COMPONENTS+= l10n
.endif

.if defined(WITH_TOOLS)
QT_COMPONENTS+= help-tools linguist makeqpf moc pixeltool \
        porting qmake rcc uic uic3 qdoc3
.endif

.if defined(WITH_QTCONFIG)
QT_COMPONENTS+= qtconfig
.endif

.if defined(WITH_PHONON)
QT_COMPONENTS+= phonon phonon-gst
.endif

.if defined(WITH_CODECS)
QT_COMPONENTS+= codecs-cn codecs-jp codecs-kr codecs-tw
.endif

.if defined(WITH_SQL_PLUGINS)
QT_COMPONENTS+= sql-mysql sql-odbc sql-pgsql sql-sqlite2 sql-sqlite3
.endif

.if defined(WITH_DEMO)
QT_COMPONENTS+= demo
.endif

do-patch:   #empty
    ${DO_NADA}

do-install: #empty
    ${DO_NADA}

.include <bsd.port.post.mk>