freebsd-ports/x11/kde4/Makefile
Tobias C. Berner 0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00

65 lines
2.2 KiB
Makefile

# Created by: Will Andrews <will@FreeBSD.org>
# $FreeBSD$
PORTNAME= kde
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= x11 kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Software Compilation 4 (meta port)
USES= kde:4 metaport
USE_KDE= baseapps_run runtime_run workspace_run
OPTIONS_DEFINE= KDEACCESSIBILITY KDEADMIN KDEARTWORK KDEBINDINGS KDEEDU \
KDEGAMES KDEGRAPHICS KDEMULTIMEDIA KDENETWORK \
KDEPLASMA KDEPIM KDESDK KDETOYS KDEUTILS KDEWEBDEV
OPTIONS_DEFAULT=${OPTIONS_DEFINE:NKDEBINDINGS}
KDEACCESSIBILITY_DESC= Accessibility applications
KDEACCESSIBILITY_RUN_DEPENDS= kdeaccessibility>=${KDE4_VERSION}:accessibility/kdeaccessibility4
KDEADMIN_DESC= Administration utilities
KDEADMIN_RUN_DEPENDS= kdeadmin>=${KDE4_VERSION}:sysutils/kdeadmin4
KDEARTWORK_DESC= Additional screensavers and wallpapers
KDEARTWORK_RUN_DEPENDS= ${KDE_PREFIX}/bin/kxsconfig:x11-themes/kdeartwork4
KDEBINDINGS_DESC= Bindings for programming languages
KDEBINDINGS_RUN_DEPENDS= kdebindings>=${KDE4_VERSION}:devel/kdebindings4
KDEEDU_DESC= Entertaining, educational programs
KDEEDU_RUN_DEPENDS= kdeedu>=${KDE4_VERSION}:misc/kdeedu4
KDEGAMES_DESC= Collection of games
KDEGAMES_RUN_DEPENDS= kdegames>=${KDE4_VERSION}:games/kdegames4
KDEGRAPHICS_DESC= Graphics utilities
KDEGRAPHICS_RUN_DEPENDS= kdegraphics>=${KDE4_VERSION}:graphics/kdegraphics4
KDEMULTIMEDIA_DESC= Multimedia applications
KDEMULTIMEDIA_RUN_DEPENDS= kdemultimedia>=${KDE4_VERSION}:multimedia/kdemultimedia4
KDENETWORK_DESC= Network-related programs
KDENETWORK_RUN_DEPENDS= kdenetwork>=${KDE4_VERSION}:net/kdenetwork4
KDEPIM_DESC= Personal information management
KDEPIM_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmail:deskutils/kdepim4
KDEPLASMA_DESC= Extra plasmoids and plugins for Plasma
KDEPLASMA_RUN_DEPENDS= ${KDE_PREFIX}/bin/lancelot:deskutils/kdeplasma-addons
KDESDK_DESC= Software development kit
KDESDK_RUN_DEPENDS= kdesdk>=${KDE4_VERSION}:devel/kdesdk4
KDETOYS_DESC= Miscellaneous small applications
KDETOYS_RUN_DEPENDS= kdetoys>=${KDE4_VERSION}:x11-clocks/kdetoys4
KDEUTILS_DESC= Set of generic utilities
KDEUTILS_RUN_DEPENDS= kdeutils>=${KDE4_VERSION}:misc/kdeutils4
KDEWEBDEV_DESC= Web development environment
KDEWEBDEV_RUN_DEPENDS= ${KDE_PREFIX}/bin/klinkstatus:www/kdewebdev4
.include <bsd.port.mk>