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.
|
|
|
|
|
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.
|
2007-07-16 10:12:15 +00:00
|
|
|
# Note: 4 is handled by bsd.qt.mk.
|
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
|
2008-08-13 09:14:11 +00:00
|
|
|
LIB_DEPENDS+= kfontinst.0:${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
|
2008-08-13 09:14:11 +00:00
|
|
|
LIB_DEPENDS+= kfontinst.0:${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)
|
2008-08-21 06:18:49 +00:00
|
|
|
CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
|
2004-12-29 21:51:42 +00:00
|
|
|
--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
|
2008-08-13 09:14:11 +00:00
|
|
|
LIB_DEPENDS+= kimproxy.0:${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
|
2008-08-13 09:14:11 +00:00
|
|
|
LIB_DEPENDS+= kimproxy.0:${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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
QT_CVS_PREFIX?= ${LOCALBASE}/qt-cvs
|
2003-06-23 18:14:38 +00:00
|
|
|
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.
|
2008-08-29 11:30:04 +00:00
|
|
|
KDE_VERSION= 3.5.10
|
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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
QT_PREFIX?= ${LOCALBASE}
|
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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/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
|
|
|
|
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)
|