2003-01-28 19:36:58 +01:00
|
|
|
# -*-mode: makefile-*-
|
2008-08-09 18:52:28 +02:00
|
|
|
# New ports collection makefile for: kdebase-workspace
|
|
|
|
# Date created: 22 Januar 2008
|
|
|
|
# Whom: kde@FreeBSD.org
|
1997-11-01 15:28:21 +01:00
|
|
|
#
|
1999-08-31 04:51:23 +02:00
|
|
|
# $FreeBSD$
|
1997-11-01 15:28:21 +01:00
|
|
|
#
|
|
|
|
|
2008-08-09 18:52:28 +02:00
|
|
|
PORTNAME= kdebase-workspace
|
|
|
|
PORTVERSION= ${KDE4_VERSION}
|
2010-04-17 16:50:54 +02:00
|
|
|
PORTREVISION= 2
|
2003-01-28 19:36:58 +01:00
|
|
|
CATEGORIES= x11 kde
|
2002-11-16 15:39:52 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.
New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.
New ports for KDE 4.2.0:
arabic/kde4-l10n Arabic
hebrew/kde4-l10n Hebrew
misc/kde4-l10n-bn_IN Bengali (India)
misc/kde4-l10n-eu Basque
misc/kde4-l10n-gu Gujarati
misc/kde4-l10n-is Icelandic
misc/kde4-l10n-kn Kannada
misc/kde4-l10n-mai Maithili
misc/kde4-l10n-mr Marathi
misc/kde4-l10n-ro Romanian
misc/kde4-l10n-tg Tajik
math/eigen2 Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4 KDE4 kipi graphics plugins
sysutils/policykit-kde PolicyKit manager for KDE
Unfortunately FreeBSD 6.4 support is dropped.
We'd like to say thanks for feedback and help to:
Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 21:23:45 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
1997-11-01 15:28:21 +01:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2004-02-10 15:10:07 +01:00
|
|
|
COMMENT= Basic applications for the KDE system
|
1998-09-30 04:07:28 +02:00
|
|
|
|
2009-04-24 11:42:19 +02:00
|
|
|
LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz\
|
2008-08-09 18:52:28 +02:00
|
|
|
dbus-1.3:${PORTSDIR}/devel/dbus \
|
|
|
|
hal.1:${PORTSDIR}/sysutils/hal \
|
2009-08-04 23:14:07 +02:00
|
|
|
polkit-qt-core.0:${PORTSDIR}/sysutils/policykit-qt \
|
2008-08-09 18:52:28 +02:00
|
|
|
xklavier.12:${PORTSDIR}/x11/libxklavier
|
|
|
|
RUN_DEPENDS= ${KDE4_PREFIX}/env/xdg-env.sh:${PORTSDIR}/misc/kde4-xdg-env \
|
|
|
|
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
|
|
|
|
xprop:${PORTSDIR}/x11/xprop \
|
|
|
|
xsetroot:${PORTSDIR}/x11/xsetroot \
|
|
|
|
xmessage:${PORTSDIR}/x11/xmessage \
|
|
|
|
xrdb:${PORTSDIR}/x11/xrdb \
|
|
|
|
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
2009-04-16 07:05:56 +02:00
|
|
|
xset:${PORTSDIR}/x11/xset \
|
|
|
|
setxkbmap:${PORTSDIR}/x11/setxkbmap
|
2008-08-09 18:52:28 +02:00
|
|
|
|
|
|
|
SUB_FILES= kdm
|
2009-08-04 23:14:07 +02:00
|
|
|
USE_RC_SUBR= kdm4
|
|
|
|
USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 oxygen \
|
|
|
|
kdeexp
|
2008-08-09 18:52:28 +02:00
|
|
|
KDE4_BUILDENV= yes
|
1999-02-28 22:48:09 +01:00
|
|
|
USE_BZIP2= yes
|
2008-08-09 18:52:28 +02:00
|
|
|
USE_QT_VER= 4
|
2009-01-14 00:16:38 +01:00
|
|
|
QT_COMPONENTS= assistant corelib dbus designer gui network opengl \
|
|
|
|
script svg sql qt3support qtestlib xml webkit \
|
|
|
|
qmake_build moc_build rcc_build uic_build \
|
2009-08-04 23:14:07 +02:00
|
|
|
porting_build uic3_build phonon
|
2008-08-09 18:52:28 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
2009-08-04 23:14:07 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-08-10 13:47:36 +02:00
|
|
|
|
|
|
|
MAN1= plasmaengineexplorer.1
|
2004-03-09 20:41:12 +01:00
|
|
|
|
The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.
New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.
New ports for KDE 4.2.0:
arabic/kde4-l10n Arabic
hebrew/kde4-l10n Hebrew
misc/kde4-l10n-bn_IN Bengali (India)
misc/kde4-l10n-eu Basque
misc/kde4-l10n-gu Gujarati
misc/kde4-l10n-is Icelandic
misc/kde4-l10n-kn Kannada
misc/kde4-l10n-mai Maithili
misc/kde4-l10n-mr Marathi
misc/kde4-l10n-ro Romanian
misc/kde4-l10n-tg Tajik
math/eigen2 Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4 KDE4 kipi graphics plugins
sysutils/policykit-kde PolicyKit manager for KDE
Unfortunately FreeBSD 6.4 support is dropped.
We'd like to say thanks for feedback and help to:
Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 21:23:45 +01:00
|
|
|
CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
|
|
|
|
-DWITH_BlueZ:BOOL=OFF \
|
|
|
|
-DWITH_Sensors:BOOL=OFF \
|
|
|
|
-DWITH_NetworkManager:BOOL=OFF \
|
|
|
|
-DWITH_Xmms:BOOL=OFF \
|
|
|
|
-DWITH_Googlegadgets:BOOL=OFF \
|
2009-05-09 21:38:16 +02:00
|
|
|
-DWITH_QEdje:BOOL=OFF \
|
|
|
|
-DWITH_PyKDE4:BOOL=OFF
|
|
|
|
#PyKDE4, Xmms and Googlegadgets could be enabled,
|
The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.
New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.
New ports for KDE 4.2.0:
arabic/kde4-l10n Arabic
hebrew/kde4-l10n Hebrew
misc/kde4-l10n-bn_IN Bengali (India)
misc/kde4-l10n-eu Basque
misc/kde4-l10n-gu Gujarati
misc/kde4-l10n-is Icelandic
misc/kde4-l10n-kn Kannada
misc/kde4-l10n-mai Maithili
misc/kde4-l10n-mr Marathi
misc/kde4-l10n-ro Romanian
misc/kde4-l10n-tg Tajik
math/eigen2 Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4 KDE4 kipi graphics plugins
sysutils/policykit-kde PolicyKit manager for KDE
Unfortunately FreeBSD 6.4 support is dropped.
We'd like to say thanks for feedback and help to:
Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 21:23:45 +01:00
|
|
|
#QEdje has not been ported yet.
|
2006-12-19 22:19:54 +01:00
|
|
|
|
2009-04-24 11:42:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-03-22 05:50:35 +01:00
|
|
|
.if ${ARCH} == "ia64"
|
|
|
|
BROKEN= Segfaults on ia64
|
|
|
|
.endif
|
|
|
|
|
2009-04-24 11:42:19 +02:00
|
|
|
.if ${OSVERSION} < 800069
|
|
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
|
|
.endif
|
|
|
|
|
2009-12-06 21:51:35 +01:00
|
|
|
.if ${OSVERSION} < 900004
|
|
|
|
LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter
|
|
|
|
.endif
|
|
|
|
|
2009-08-04 23:14:07 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
2009-08-10 13:47:36 +02:00
|
|
|
${PATCH_WRKSRC}/startkde.cmake \
|
|
|
|
${PATCH_WRKSRC}/kcontrol/kfontinst/lib/KfiConstants.h \
|
|
|
|
${PATCH_WRKSRC}/kcontrol/kfontinst/kio/KioFonts.cpp \
|
|
|
|
${PATCH_WRKSRC}/kcontrol/kxkb/x11helper.cpp \
|
|
|
|
${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c
|
2009-08-21 17:07:14 +02:00
|
|
|
${CP} ${FILESDIR}/uptime.* ${WRKSRC}/ksysguard/ksysguardd/FreeBSD/
|
2009-08-04 23:14:07 +02:00
|
|
|
|
2005-02-06 13:38:43 +01:00
|
|
|
pre-configure:
|
2008-08-09 18:52:28 +02:00
|
|
|
${REINPLACE_CMD} -e 's|<qhash.h>|<QHash>|'\
|
2009-08-10 13:47:36 +02:00
|
|
|
${PATCH_WRKSRC}/kwin/effects/thumbnailaside/thumbnailaside.h
|
2008-08-09 18:52:28 +02:00
|
|
|
.for item in b2/b2client.cpp kwmtheme/kwmthemeclient.cpp\
|
|
|
|
laptop/laptopclient.cpp modernsystem/modernsys.cpp\
|
|
|
|
redmond/redmond.cpp
|
|
|
|
${REINPLACE_CMD} -e 's|<qdrawutil.h>|<QtGui/qdrawutil.h>|'\
|
2009-08-10 13:47:36 +02:00
|
|
|
${PATCH_WRKSRC}/kwin/clients/${item}
|
2009-12-06 21:51:35 +01:00
|
|
|
.endfor
|
|
|
|
.if ${OSVERSION} < 900004
|
2009-08-04 23:14:07 +02:00
|
|
|
${REINPLACE_CMD} -e 's|addToUtmp ""|addToUtmp "${LOCALBASE}/lib"|' \
|
|
|
|
-e 's|(utempter.h|(${LOCALBASE}/include/utempter.h|' \
|
2009-08-10 13:47:36 +02:00
|
|
|
${PATCH_WRKSRC}/kwrited/CMakeLists.txt
|
2009-12-06 21:51:35 +01:00
|
|
|
.endif
|
Update to KDE 2.2:
* All patches except sysutils/kdeadmin/files/patch-rpmMessages.c:
- Either obsoleted or merged into KDE.
* All pkg-plists:
- Huge diffs are due to mass conversion from static HTML pages
to XML/XSL versions.
* audio/kdemultimedia2:
- aRts + Noatun, etc. now work and play MP3s et al properly,
using the mpg123 aRtsplugin. Remove mpeglib[,_artsplug]
from compile.
* converters/kdesupport2:
- Obsolete. No longer used in this version of KDE.
* deskutils/kdepim:
- Use autoconf and account for brokenness in the configure
script by replacing invocations of INSTALL under libical
with the proper incantations.
- Per David O'Brien's request, move libimap to libkimap;
this was performed by Rik Hemsley <rikkus@kde.org>.
* devel/kdesdk:
- New module with some helpful tools. One in particular that
seems demanded is ``kbabel'', which, as I've been told, is
a translator's wet dream.
- Workaround dumb problem in kbabel's libgettext (which I could
not figure out how to remove) by replacing its error() with
errc(). KBabel seems to run fine with this patch.
* devel/kdevelop:
- Fix lame check for libkdeui.so.* by replacing it with just
a check for libkdeui.so. It's been/being removed from
kdevelop after 2.2.
* editors/koffice:
- Fix kivio compile errors by substituting in PTHREAD_LIBS
in the correct place. Compensate for kivio's dependency
on pthreads by changing kivio to use LD_PRELOAD=/usr/lib/libc_r.so
in kivio.desktop.
* games/kdegames2:
- Some new games.
* graphics/kdegraphics2:
- Fix link errors in libkscan and kamera where they
require gettext (ie: add -lintl).
- Fix compile error in kamera.cpp which is dependent on a
correctly done gphoto2.. of course, this will only help
people who've manually installed gphoto2 themselves.
* net/kdenetwork2:
- Mimelib was moved here (reason for removal of kdesupport2).
* misc/kdeaddons:
- New module to FreeBSD ports; some simple addons for KDE2.
Suggested by Lauri Watts <lauri@kde.org>.
* misc/kdeutils2:
- Added a couple manpages.
* x11-clocks/kdetoys2:
- Some new apps.
* sysutils/kdeadmin:
- Remove kuser from compile because it has some problems. ;\
* x11/kdelibs2:
- Add libFAM dependency to help people who run FAM; FAM
increases the overall desktop responsiveness.
Submitted by Lauri Watts <lauri@kde.org>.
- Add CUPS dependency to bring in KDE's new print system.
- Add bzip2/libxml2 dependencies to support the new help kioslave.
- Disable installation of libltdl stuff to prevent conflicts
with other stuff. Submitted by wjv.
- Add pkg-req script to avoid conflicts with kdelibs11; add
to Makefile too. Submitted by benno.
- Be sure to remove the pth header conflicts stuff from the
arts/mcop_mt section.
- Fix problem with configure trying to find -lfam in the
wrong place.
- Remove kspell and api subdirs from doc; we don't need them,
and there are problems trying to build/install them.
Submitted by Lauri Watts <lauri@kde.org>.
* x11/kdebase2:
- Solve link permissions problem by changing the modes on
files installed by kdesktop/init/Templates to 644.
Submitted by Jim Durham <durham@w2xo.pgh.pa.us>.
* x11/kde2:
- Bump version; no other changes.
Special thanks to Lauri Watts <lauri@kde.org> for helping me test
packages generated by these changes on a virgin system. I believe
that this is the best-tested update I've ever done for KDE, and it
really shines this time around.
I just noticed there are a couple other PRs in the PR db that need
to be addressed. I will take care of those by tomorrow. Sorry...
PR: 22735, 28549
Blanket approval by: demon (kdesdk, kdevelop)
2001-08-15 14:43:08 +02:00
|
|
|
|
2001-09-03 19:48:23 +02:00
|
|
|
post-install:
|
The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.
New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.
New ports for KDE 4.2.0:
arabic/kde4-l10n Arabic
hebrew/kde4-l10n Hebrew
misc/kde4-l10n-bn_IN Bengali (India)
misc/kde4-l10n-eu Basque
misc/kde4-l10n-gu Gujarati
misc/kde4-l10n-is Icelandic
misc/kde4-l10n-kn Kannada
misc/kde4-l10n-mai Maithili
misc/kde4-l10n-mr Marathi
misc/kde4-l10n-ro Romanian
misc/kde4-l10n-tg Tajik
math/eigen2 Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4 KDE4 kipi graphics plugins
sysutils/policykit-kde PolicyKit manager for KDE
Unfortunately FreeBSD 6.4 support is dropped.
We'd like to say thanks for feedback and help to:
Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 21:23:45 +01:00
|
|
|
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
|
|
|
|
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
|
|
|
|
@${LN} -sf ${PREFIX}/bin/startkde ${PREFIX}/bin/startkde4
|
|
|
|
@${MV} ${PREFIX}/bin/kdm ${PREFIX}/bin/kdm-bin
|
|
|
|
@${MV} ${PREFIX}/lib/kde4/libexec/kdm_config ${PREFIX}/lib/kde4/libexec/kdm-bin_config
|
|
|
|
@${MV} ${PREFIX}/lib/kde4/libexec/kdm_greet ${PREFIX}/lib/kde4/libexec/kdm-bin_greet
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/kdm ${PREFIX}/bin
|
2008-08-09 18:52:28 +02:00
|
|
|
|
2009-04-24 11:42:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|