2003-01-28 18:36:58 +00:00
|
|
|
#-*- mode: Makefile; tab-width: 4; -*-
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
# ex:ts=4
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Please view me with 4 column tabs!
|
|
|
|
|
2005-01-09 10:12:07 +00:00
|
|
|
# Please make sure all changes to this file are past through the maintainer.
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
|
2006-01-29 04:54:22 +00:00
|
|
|
KDE_MAINTAINER= kde@FreeBSD.org
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
|
|
|
|
# This section contains the USE_ definitions.
|
|
|
|
# XXX: Write HAVE_ definitions sometime.
|
|
|
|
|
2007-02-05 20:56:24 +00:00
|
|
|
# QT_COMPONENTS - Triggers individual Qt4 component port dependencies. Possible
|
|
|
|
# values: See _QT_COMPONENTS_ALL below. Only works if USE_QT_VER is set
|
|
|
|
# to 4.
|
2001-11-04 06:18:26 +00:00
|
|
|
# USE_QT_VER - Says that the port uses the Qt toolkit. Possible values:
|
2007-02-05 20:56:24 +00:00
|
|
|
# 3, 4; each specify the major version of Qt to use.
|
2001-11-04 06:18:26 +00:00
|
|
|
# USE_KDELIBS_VER - Says that the port uses KDE libraries. Possible values:
|
2004-07-23 14:53:13 +00:00
|
|
|
# 3 specifies the major version of KDE to use.
|
2001-11-04 06:18:26 +00:00
|
|
|
# This implies USE_QT of the appropriate version.
|
|
|
|
# USE_KDEBASE_VER - Says that the port uses the KDE base. Possible values:
|
2004-07-23 14:53:13 +00:00
|
|
|
# 3 specifies the major version of KDE to use.
|
2001-11-04 06:18:26 +00:00
|
|
|
# This implies USE_KDELIBS of the appropriate version.
|
|
|
|
|
2002-10-11 07:35:44 +00:00
|
|
|
# tagged MASTER_SITE_KDE_kde
|
|
|
|
kmaster= ${MASTER_SITE_KDE:S@%/@%/:kde@g}
|
|
|
|
.if !defined(MASTER_SITE_SUBDIR)
|
|
|
|
MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@@g}
|
|
|
|
.else
|
|
|
|
ksub=${MASTER_SITE_SUBDIR}
|
|
|
|
MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@${ksub}/@g}
|
2003-01-28 18:36:58 +00:00
|
|
|
.endif # !defined(MASTER_SITE_SUBDIR)
|
2002-10-11 07:35:44 +00:00
|
|
|
|
2001-04-14 20:43:29 +00:00
|
|
|
# USE_KDEBASE_VER section
|
|
|
|
.if defined(USE_KDEBASE_VER)
|
2003-06-23 18:14:38 +00:00
|
|
|
.if ${USE_KDEBASE_VER} == CVS
|
2004-08-30 19:55:42 +00:00
|
|
|
LIB_DEPENDS+= kfontinst:${PORTSDIR}/x11/kdebase
|
2003-06-23 18:14:38 +00:00
|
|
|
USE_KDELIBS_VER=CVS
|
|
|
|
.elif ${USE_KDEBASE_VER} == 3
|
2001-11-04 06:18:26 +00:00
|
|
|
# kdebase 3.x common stuff
|
2004-08-30 19:55:42 +00:00
|
|
|
LIB_DEPENDS+= kfontinst:${PORTSDIR}/x11/kdebase3
|
2001-11-04 06:18:26 +00:00
|
|
|
USE_KDELIBS_VER=3
|
2003-01-28 18:36:58 +00:00
|
|
|
.endif # ${USE_KDEBASE_VER} == 3
|
|
|
|
.endif # defined(USE_KDEBASE_VER)
|
2001-04-14 20:43:29 +00:00
|
|
|
|
2001-03-25 23:22:46 +00:00
|
|
|
# USE_KDELIBS_VER section
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
.if defined(USE_KDELIBS_VER)
|
2004-05-24 00:34:38 +00:00
|
|
|
|
|
|
|
## This is needed for configure scripts to figure out
|
|
|
|
## which threads lib to use
|
|
|
|
|
2004-05-21 22:47:46 +00:00
|
|
|
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2004-05-24 00:34:38 +00:00
|
|
|
|
2006-12-19 21:19:54 +00:00
|
|
|
## Every KDE application is inherently IPv6-capable
|
|
|
|
|
|
|
|
CATEGORIES+=ipv6
|
|
|
|
|
2004-05-24 00:34:38 +00:00
|
|
|
## XXX - This really belongs into bsd.port.mk
|
|
|
|
.if !defined(_NO_KDE_CONFTARGET_HACK)
|
|
|
|
CONFIGURE_TARGET=
|
2004-12-05 11:24:07 +00:00
|
|
|
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
|
2004-12-29 21:51:42 +00:00
|
|
|
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \
|
|
|
|
--disable-as-needed
|
2004-05-24 00:34:38 +00:00
|
|
|
.endif
|
|
|
|
|
2003-06-23 18:14:38 +00:00
|
|
|
.if ${USE_KDELIBS_VER} == CVS
|
2004-08-30 19:55:42 +00:00
|
|
|
LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs
|
2003-06-23 18:14:38 +00:00
|
|
|
USE_QT_VER= CVS
|
|
|
|
PREFIX= ${KDE_CVS_PREFIX}
|
|
|
|
.elif ${USE_KDELIBS_VER} == 3
|
2001-11-04 06:18:26 +00:00
|
|
|
# kdelibs 3.x common stuff
|
2004-08-30 19:55:42 +00:00
|
|
|
LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs3
|
2001-11-04 06:18:26 +00:00
|
|
|
USE_QT_VER= 3
|
2002-07-04 19:35:44 +00:00
|
|
|
PREFIX= ${KDE_PREFIX}
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
.else
|
* Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]
* Add sha256 to CHECKSUM_ALGORITHMS [2]
* Remove some whitespace [2]
* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]
* Fix USE_LDCONFIG with non-default PREFIX [4]
* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
support [5]
* Add 'make missing' to show missing dependencies [6]
* Fix DESKTOP_ENTRIES processing on 4.x [7]
PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
93601 [6], 98891 [7]
Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3],
gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
shaun [7]
2006-07-05 02:18:09 +00:00
|
|
|
IGNORE= cannot install: unsupported value in USE_KDELIBS_VER
|
2003-01-28 18:36:58 +00:00
|
|
|
.endif # ${USE_KDELIBS_VER} == 3
|
|
|
|
.endif # defined(USE_KDELIBS_VER)
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
|
2001-03-25 23:22:46 +00:00
|
|
|
# End of USE_KDELIBS_VER section
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
|
2001-04-03 08:14:43 +00:00
|
|
|
# USE_QT_VER section
|
2005-11-05 15:55:24 +00:00
|
|
|
.if ${USE_QT_VER} == CVS
|
2003-06-23 18:14:38 +00:00
|
|
|
|
|
|
|
KDE_CVS_PREFIX?= ${LOCALBASE}/kde-cvs
|
|
|
|
QT_CVS_PREFIX?= ${X11BASE}/qt-cvs
|
|
|
|
QTCPPFLAGS?=
|
|
|
|
QTCFGLIBS?=
|
|
|
|
|
|
|
|
MOC?= ${QT_CVS_PREFIX}/bin/moc
|
|
|
|
BUILD_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy
|
|
|
|
RUN_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy
|
|
|
|
QTCPPFLAGS+= -D_GETOPT_H # added to work around broken getopt.h #inc
|
|
|
|
.if !defined (QT_NONSTANDARD)
|
|
|
|
CONFIGURE_ARGS+=--with-extra-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-extra-includes="${LOCALBASE}/include"
|
2004-02-05 01:23:10 +00:00
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
|
2003-06-23 18:14:38 +00:00
|
|
|
QTDIR="${QT_CVS_PREFIX}" KDEDIR="${KDE_CVS_PREFIX}"
|
|
|
|
.endif
|
|
|
|
|
2002-05-05 09:55:30 +00:00
|
|
|
.elif ${USE_QT_VER} == 3
|
2001-11-04 06:18:26 +00:00
|
|
|
|
2002-07-04 19:35:44 +00:00
|
|
|
# Yeah, it's namespace pollution, but this is really the best place for this
|
2003-04-05 22:16:12 +00:00
|
|
|
# stuff. Arts does NOT use it anymore.
|
2006-12-19 21:19:54 +00:00
|
|
|
KDE_VERSION= 3.5.5
|
2003-01-28 18:36:58 +00:00
|
|
|
KDE_ORIGVER= ${KDE_VERSION}
|
2002-07-04 19:35:44 +00:00
|
|
|
KDE_PREFIX?= ${LOCALBASE}
|
|
|
|
|
2001-11-04 06:18:26 +00:00
|
|
|
QTCPPFLAGS?=
|
|
|
|
QTCGFLIBS?=
|
|
|
|
|
|
|
|
# Qt 3.x common stuff
|
2002-04-19 02:30:02 +00:00
|
|
|
QT_PREFIX?= ${X11BASE}
|
2001-11-13 06:35:28 +00:00
|
|
|
MOC?= ${QT_PREFIX}/bin/moc
|
2004-03-09 19:41:12 +00:00
|
|
|
#LIB_DEPENDS+= qt-mt.3:${PORTSDIR}/x11-toolkits/qt33
|
|
|
|
BUILD_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt33
|
|
|
|
RUN_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt33
|
2002-06-16 20:27:51 +00:00
|
|
|
QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
|
2002-09-15 21:50:36 +00:00
|
|
|
-I${QT_PREFIX}/include -D_GETOPT_H
|
2001-11-05 21:29:59 +00:00
|
|
|
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
|
2001-11-13 06:35:28 +00:00
|
|
|
-L${QT_PREFIX}/lib
|
2006-04-03 09:34:22 +00:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
TMPDIR?= /tmp
|
2006-04-04 23:02:40 +00:00
|
|
|
MAKE_ENV+= TMPDIR="${TMPDIR}"
|
|
|
|
CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
|
2006-04-03 09:34:22 +00:00
|
|
|
.endif
|
|
|
|
|
2001-11-04 06:18:26 +00:00
|
|
|
.if !defined(QT_NONSTANDARD)
|
2001-11-13 06:35:28 +00:00
|
|
|
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
|
2001-11-14 15:56:53 +00:00
|
|
|
--with-qt-libraries=${QT_PREFIX}/lib \
|
2004-02-05 01:23:10 +00:00
|
|
|
--with-extra-libs=${LOCALBASE}/lib \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include
|
2006-12-19 21:19:54 +00:00
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
|
|
|
|
QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
|
2003-01-28 18:36:58 +00:00
|
|
|
.endif # !defined(QT_NONSTANDARD)
|
2007-02-05 20:56:24 +00:00
|
|
|
|
|
|
|
.elif ${USE_QT_VER} == 4
|
|
|
|
|
|
|
|
# Qt 4.x common stuff
|
|
|
|
QT_PREFIX?= ${LOCALBASE}
|
|
|
|
MOC?= ${QT_PREFIX}/bin/moc4
|
|
|
|
UIC?= ${QT_PREFIX}/bin/uic4
|
|
|
|
QMAKE?= ${QT_PREFIX}/bin/qmake-qt4
|
|
|
|
QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
|
|
|
|
|
|
|
|
QTCPPFLAGS?=
|
|
|
|
QTCGFLIBS?=
|
|
|
|
|
|
|
|
.if !defined(QT_NONSTANDARD)
|
|
|
|
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
|
|
|
|
--with-qt-libraries=${QT_PREFIX}/lib \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include
|
2007-02-06 10:37:14 +00:00
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" UIC="${UIC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
|
|
|
|
QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
|
2007-02-05 20:56:24 +00:00
|
|
|
MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
|
|
|
|
.endif # !defined(QT_NONSTANDARD)
|
|
|
|
|
|
|
|
QT4_VERSION= 4.2.2
|
|
|
|
|
|
|
|
_QT_COMPONENTS_ALL= accessible assistant codecs-cn codecs-jp codecs-kr \
|
|
|
|
codecs-tw corelib designer doc gui iconengines \
|
|
|
|
imageformats inputformats assistantclient \
|
|
|
|
linguist moc network opengl pixeltool porting \
|
|
|
|
qmake qt3support qtconfig qtestlib qvfb rcc sql svg \
|
|
|
|
uic uic3 xml
|
|
|
|
|
|
|
|
accessible_DEPENDS= accessibility/qt4-acessible
|
|
|
|
assistant_DEPENDS= devel/qt4-assistant
|
|
|
|
codecs-cn_DEPENDS= chinese/qt4-codecs-cn
|
|
|
|
codecs-jp_DEPENDS= japanese/qt4-codecs-jp
|
|
|
|
codecs-kr_DEPENDS= korean/qt4-codecs-kr
|
2007-02-06 10:37:14 +00:00
|
|
|
codecs-tw_DEPENDS= chinese/qt4-codecs-tw
|
2007-02-05 20:56:24 +00:00
|
|
|
corelib_DEPENDS= devel/qt4-corelib
|
|
|
|
designer_DEPENDS= devel/qt4-designer
|
|
|
|
doc_DEPENDS= misc/qt4-doc
|
|
|
|
gui_DEPENDS= x11-toolkits/qt4-gui
|
|
|
|
iconengines_DEPENDS= graphics/qt4-iconengines
|
|
|
|
imageformats_DEPENDS= graphics/qt4-imageformats
|
|
|
|
inputformats_DEPENDS= x11/qt4-inputformats
|
|
|
|
assistantclient_DEPENDS=devel/qt4-libqtassistantclient
|
|
|
|
assistantclient_NAME= libQtAssistantClient
|
|
|
|
linguist_DEPENDS= devel/qt4-linguist
|
|
|
|
moc_DEPENDS= devel/qt4-moc
|
|
|
|
network_DEPENDS= net/qt4-network
|
|
|
|
opengl_DEPENDS= x11/qt4-opengl
|
|
|
|
pixeltool_DEPENDS= graphics/qt4-pixeltool
|
|
|
|
porting_DEPENDS= devel/qt4-porting
|
|
|
|
qmake_DEPENDS= devel/qmake4
|
|
|
|
qmake_QT4_PREFIX= # empty
|
|
|
|
qt3support_DEPENDS= devel/qt4-qt3support
|
|
|
|
qtconfig_DEPENDS= devel/qtconfig
|
|
|
|
qtestlib_DEPENDS= devel/qt4-qtestlib
|
|
|
|
qvfb_DEPENDS= devel/qt4-qvfb
|
|
|
|
rcc_DEPENDS= devel/qt4-rcc
|
2007-02-08 17:17:35 +00:00
|
|
|
svg_DEPENDS= graphics/qt4-svg
|
2007-02-05 20:56:24 +00:00
|
|
|
uic_DEPENDS= devel/qt4-uic
|
|
|
|
uic3_DEPENDS= devel/qt4-uic3
|
|
|
|
xml_DEPENDS= textproc/qt4-xml
|
|
|
|
|
|
|
|
.if defined(QT_COMPONENTS)
|
|
|
|
.for ext in ${QT_COMPONENTS}
|
|
|
|
${ext}_QT4_PREFIX?= qt4-
|
|
|
|
${ext}_QT4_VERSION?= ${QT4_VERSION}
|
|
|
|
${ext}_NAME?= ${ext}
|
|
|
|
.if ${_QT_COMPONENTS_ALL:M${ext}}!= ""
|
|
|
|
BUILD_DEPENDS+= ${${ext}_QT4_PREFIX}${${ext}_NAME}>=${${ext}_QT4_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}
|
|
|
|
RUN_DEPENDS+= ${${ext}_QT4_PREFIX}${${ext}_NAME}>=${${ext}_QT4_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}
|
|
|
|
.else
|
|
|
|
IGNORE= cannot install: unknown Qt4 component -- ${ext}
|
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
.else
|
|
|
|
BUILD_DEPENDS= qt4>=${QT4_VERSION}:${PORTSDIR}/devel/qt4
|
|
|
|
RUN_DEPENDS= qt4>=${QT4_VERSION}:${PORTSDIR}/devel/qt4
|
|
|
|
.endif
|
|
|
|
|
2004-07-23 14:53:13 +00:00
|
|
|
.else
|
* Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]
* Add sha256 to CHECKSUM_ALGORITHMS [2]
* Remove some whitespace [2]
* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]
* Fix USE_LDCONFIG with non-default PREFIX [4]
* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
support [5]
* Add 'make missing' to show missing dependencies [6]
* Fix DESKTOP_ENTRIES processing on 4.x [7]
PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
93601 [6], 98891 [7]
Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3],
gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
shaun [7]
2006-07-05 02:18:09 +00:00
|
|
|
IGNORE= cannot install: unsupported value of USE_QT_VER
|
2003-01-28 18:36:58 +00:00
|
|
|
.endif # defined(USE_QT_VER)
|
|
|
|
|
2001-04-03 08:14:43 +00:00
|
|
|
# End of USE_QT_VER section
|
|
|
|
|
2003-01-28 18:36:58 +00:00
|
|
|
# Assemble plist from parts
|
|
|
|
# <alane@freebsd.org> 2002-12-06
|
|
|
|
.if defined(KDE_BUILD_PLIST)
|
|
|
|
PLIST?= ${WRKDIR}/plist
|
|
|
|
PLIST_BASE?= plist.base
|
|
|
|
PLIST_APPEND?=
|
|
|
|
plist_base=${FILESDIR}/${PLIST_BASE}
|
|
|
|
plist_base_rm=${FILESDIR}/${PLIST_BASE}.rm
|
|
|
|
plist_append=${PLIST_APPEND:C:([A-Za-z0-9._]+):${FILESDIR}/\1:}
|
|
|
|
plist_append_rm=${PLIST_APPEND:C:([A-Za-z0-9._]+):${FILESDIR}/\1.rm:}
|
|
|
|
kde-plist:
|
|
|
|
${CAT} ${plist_base} ${plist_append} 2>/dev/null >${PLIST}
|
|
|
|
-${CAT} ${plist_append_rm} ${plist_base_rm} 2>/dev/null >>${PLIST};true
|
|
|
|
.PHONY: kde-plist
|
|
|
|
pre-build: kde-plist
|
|
|
|
.endif # defined(KDE_BUILD_PLIST)
|