2003-01-28 19:36:58 +01:00
|
|
|
# -*-mode: makefile-*-
|
2008-08-09 18:52:28 +02:00
|
|
|
# New ports collection makefile for: kdebase-runtime
|
|
|
|
# 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-runtime
|
|
|
|
PORTVERSION= ${KDE4_VERSION}
|
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
|
|
|
|
2010-08-30 15:26:53 +02:00
|
|
|
LIB_DEPENDS= IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
|
|
|
|
exiv2.9:${PORTSDIR}/graphics/exiv2 \
|
|
|
|
xine.1:${PORTSDIR}/multimedia/libxine \
|
2010-05-11 16:21:05 +02:00
|
|
|
slp.1:${PORTSDIR}/net/openslp \
|
2010-08-30 15:26:53 +02:00
|
|
|
smbclient.0:${PORTSDIR}/net/samba-libsmbclient \
|
|
|
|
ssh.4:${PORTSDIR}/security/libssh \
|
|
|
|
attica.0:${PORTSDIR}/x11-toolkits/attica
|
2010-05-24 09:01:57 +02:00
|
|
|
#explicitly depend on libssh to avoid interference with ssh.4 from compat7x
|
2010-09-02 23:06:27 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh \
|
|
|
|
${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
|
|
|
|
RUN_DEPENDS= cagibid:${PORTSDIR}/net/cagibi
|
2009-08-04 23:14:07 +02:00
|
|
|
|
2010-09-02 23:06:27 +02:00
|
|
|
USE_KDE4= kdelibs kdeprefix kdehier automoc4
|
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-08-04 23:14:07 +02:00
|
|
|
QT_COMPONENTS= corelib opengl dbus phonon \
|
2009-01-14 00:16:38 +01:00
|
|
|
qmake_build moc_build rcc_build uic_build
|
2008-08-09 18:52:28 +02:00
|
|
|
USE_GETTEXT= yes
|
2009-06-03 13:02:11 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2001-08-31 13:27:34 +02:00
|
|
|
|
2010-05-11 16:21:05 +02:00
|
|
|
MAN1= kdesu.1
|
2010-09-02 23:06:27 +02:00
|
|
|
MAN8= nepomukserver.8 nepomukservicestub.8
|
2010-05-26 09:34:15 +02:00
|
|
|
|
|
|
|
SUB_FILES= nepomuk-env.sh
|
|
|
|
|
2010-09-02 23:06:27 +02:00
|
|
|
OPTIONS= PULSEAUDIO "Enable playback via PulseAudio sound server" off \
|
2010-06-20 00:14:33 +02:00
|
|
|
VIRTUOSO "Install Virtuoso server (required for Nepomuk)" off
|
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
|
|
|
|
2010-05-11 16:21:05 +02:00
|
|
|
# Explicitly disable alsa, see for details:
|
|
|
|
# http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html
|
|
|
|
CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2010-05-21 18:22:40 +02:00
|
|
|
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
2010-11-09 19:58:25 +01:00
|
|
|
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
|
2010-05-11 16:21:05 +02:00
|
|
|
.endif
|
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
|
|
|
|
|
|
|
.if defined(WITH_PULSEAUDIO)
|
|
|
|
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=ON
|
|
|
|
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
|
|
|
|
.endif
|
|
|
|
|
2010-05-26 09:34:15 +02:00
|
|
|
.if defined(WITH_VIRTUOSO)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/virtuoso-t:${PORTSDIR}/databases/virtuoso
|
|
|
|
.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}/khelpcenter/infotree.cpp \
|
|
|
|
${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \
|
|
|
|
${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \
|
2009-08-13 16:32:08 +02:00
|
|
|
${PATCH_WRKSRC}/kioslave/man/man2html.cpp \
|
|
|
|
${PATCH_WRKSRC}/cmake/modules/FindCLucene.cmake
|
2009-08-04 23:14:07 +02:00
|
|
|
|
2010-05-26 09:34:15 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/env
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/nepomuk-env.sh ${PREFIX}/env
|
|
|
|
|
2010-05-11 16:21:05 +02:00
|
|
|
.include <bsd.port.mk>
|