1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/qt4/Makefile
Martin Wilke e9424863a5 - Update to Qt-4.5
The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (myself)
2009-11-26 23:24:38 +00:00

69 lines
2.0 KiB
Makefile

# New ports collection makefile for: qt4
# Date created: 2007-01-25
# Whom: Michael Nottebrock <lofi@kiste>
#
# $FreeBSD$
#
PORTNAME= qt4
PORTVERSION= ${QT4_VERSION}
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_QT}
DISTNAME= qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Multiplatform C++ application framework (metaport)
OPTIONS= SQL_PLUGINS "Database connectivity plugins for QtSql" off \
QTCONFIG "Qt configuration (depends on PHONON)" off \
PHONON "Phonon support (conflicts with KDE4)" off \
CODECS "Enable support for CN, JP, KR, TW" off \
TOOLS "Install Qt tools (qmake, moc, etc.)" off
USE_QT_VER= 4
QT_COMPONENTS= accessible assistant assistant-adp assistantclient \
clucene corelib dbus designer doc help gui iconengines \
imageformats inputmethods 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)
RUN_DEPENDS+= qt4-l10n>=${QT4_VERSION}:${PORTSDIR}/misc/qt4-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)
RUN_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt4-mysql-plugin \
${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlodbc.so:${PORTSDIR}/databases/qt4-odbc-plugin \
${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlpsql.so:${PORTSDIR}/databases/qt4-pgsql-plugin \
${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite2.so:${PORTSDIR}/databases/qt4-sqlite-plugin \
${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin
.endif
do-install: #empty
${DO_NADA}
.include <bsd.port.post.mk>