aboutsummaryrefslogtreecommitdiff
path: root/devel/qt4
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-05 11:44:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-05 11:44:35 +0000
commit3c32d2526e8f3559a1c647b4e3595944a2a1df53 (patch)
tree15c073242b7c2a2fa650463224c9e353819867b5 /devel/qt4
parent22f37f4bf80ff676ecdd5072a3b02b656c855a09 (diff)
downloadports-3c32d2526e8f3559a1c647b4e3595944a2a1df53.tar.gz
ports-3c32d2526e8f3559a1c647b4e3595944a2a1df53.zip
Notes
Diffstat (limited to 'devel/qt4')
-rw-r--r--devel/qt4/Makefile69
1 files changed, 30 insertions, 39 deletions
diff --git a/devel/qt4/Makefile b/devel/qt4/Makefile
index 3ba8625ad410..cc0e8a220490 100644
--- a/devel/qt4/Makefile
+++ b/devel/qt4/Makefile
@@ -7,7 +7,6 @@
PORTNAME= qt4
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # none
@@ -16,55 +15,47 @@ EXTRACT_ONLY= # empty
MAINTAINER= kde@FreeBSD.org
COMMENT= Multiplatform C++ application framework (metaport)
-OPTIONS= SQL_PLUGINS "Database connectivity plugins for QtSql" off
+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
-RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/accessible/libqtaccessiblecompatwidgets.so:${PORTSDIR}/accessibility/qt4-accessible \
- ${LOCALBASE}/lib/qt4/plugins/codecs/libqcncodecs.so:${PORTSDIR}/chinese/qt4-codecs-cn \
- ${LOCALBASE}/lib/qt4/plugins/codecs/libqtwcodecs.so:${PORTSDIR}/chinese/qt4-codecs-tw \
- ${LOCALBASE}/lib/libQtSql.so:${PORTSDIR}/databases/qt4-sql \
- qdbus:${PORTSDIR}/devel/dbus-qt4 \
- qdbusviewer:${PORTSDIR}/devel/qt4-qdbusviewer \
- qmake-qt4:${PORTSDIR}/devel/qmake4 \
- assistant-qt4:${PORTSDIR}/devel/qt4-assistant \
- ${LOCALBASE}/lib/libQtCore.so:${PORTSDIR}/devel/qt4-corelib \
- designer-qt4:${PORTSDIR}/devel/qt4-designer \
- ${LOCALBASE}/lib/libQtAssistantClient.so:${PORTSDIR}/devel/qt4-libqtassistantclient \
- linguist-qt4:${PORTSDIR}/devel/qt4-linguist \
- makeqpf-qt4:${PORTSDIR}/devel/qt4-makeqpf \
- moc-qt4:${PORTSDIR}/devel/qt4-moc \
- qt3to4:${PORTSDIR}/devel/qt4-porting \
- ${LOCALBASE}/lib/libQt3Support.so:${PORTSDIR}/devel/qt4-qt3support \
- rcc:${PORTSDIR}/devel/qt4-rcc \
- qvfb-qt4:${PORTSDIR}/devel/qt4-qvfb \
- ${LOCALBASE}/lib/libQtScript.so:${PORTSDIR}/devel/qt4-script \
- uic-qt4:${PORTSDIR}/devel/qt4-uic \
- uic3:${PORTSDIR}/devel/qt4-uic3 \
- ${LOCALBASE}/lib/libQtTest.so:${PORTSDIR}/devel/qt4-qtestlib \
- ${LOCALBASE}/lib/qt4/plugins/imageformats/libqgif.so:${PORTSDIR}/graphics/qt4-imageformats \
- ${LOCALBASE}/lib/libQtSvg.so:${PORTSDIR}/graphics/qt4-svg \
- ${LOCALBASE}/lib/qt4/plugins/iconengines/libqsvg.so:${PORTSDIR}/graphics/qt4-iconengines \
- pixeltool:${PORTSDIR}/graphics/qt4-pixeltool \
- ${LOCALBASE}/lib/qt4/plugins/codecs/libqjpcodecs.so:${PORTSDIR}/japanese/qt4-codecs-jp \
- ${LOCALBASE}/lib/qt4/plugins/codecs/libqkrcodecs.so:${PORTSDIR}/korean/qt4-codecs-kr \
- qtconfig-qt4:${PORTSDIR}/misc/qt4-qtconfig \
- ${LOCALBASE}/lib/libQtNetwork.so:${PORTSDIR}/net/qt4-network \
- ${LOCALBASE}/lib/libQtXml.so:${PORTSDIR}/textproc/qt4-xml \
- ${LOCALBASE}/lib/libQtOpenGL.so:${PORTSDIR}/x11/qt4-opengl \
- ${LOCALBASE}/lib/qt4/plugins/inputmethods/libqimsw-multi.so:${PORTSDIR}/x11/qt4-inputmethods \
- ${LOCALBASE}/lib/libQtGui.so:${PORTSDIR}/x11-toolkits/qt4-gui
+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 sql svg webkit xml \
+ xmlpatterns xmlpatterns-tool
NO_BUILD= yes
.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../Mk/bsd.qt.mk"
+
+.if defined(WITH_TOOLS)
+QT_COMPONENTS+= help-tools linguist makeqpf moc pixeltool \
+ porting qmake rcc uic uic3
+.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/libqsqlibase.so:${PORTSDIR}/databases/qt4-ibase-plugin \
${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/libqsqlsqlite2.so:${PORTSDIR}/databases/qt4-sqlite-plugin \
- ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-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