diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2016-08-24 08:20:31 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2016-08-24 08:20:31 +0000 |
commit | 0f583d87000061087521fb77c44c9055d122d787 (patch) | |
tree | b9dc00f333e96550a5732b38b9c9444035e4339c /x11/kde4-baseapps | |
parent | Import upstream patch to fix the detection of clang's version number. (diff) |
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
Notes
Notes:
svn path=/head/; revision=420774
Diffstat (limited to 'x11/kde4-baseapps')
-rw-r--r-- | x11/kde4-baseapps/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile index 3f5a77ef336f..2addbb5d5b56 100644 --- a/x11/kde4-baseapps/Makefile +++ b/x11/kde4-baseapps/Makefile @@ -12,10 +12,10 @@ COMMENT= Basic applications for KDE LIB_DEPENDS= libtidy.so:www/tidy-lib +USES= cmake:outsource gettext kde:4 tar:xz USE_GNOME= glib20 -USE_KDE4= kdelibs baloo baloo-widgets libkonq \ +USE_KDE= kdelibs baloo baloo-widgets libkonq \ automoc4 kactivities -USES= cmake:outsource gettext tar:xz USE_QT4= corelib dbus gui script xml \ moc_build qmake_build rcc_build uic_build USE_XORG= x11 xt @@ -27,16 +27,16 @@ OPTIONS_DEFINE= KONSOLE KWRITE OPTIONS_DEFAULT= ${OPTIONS_DEFINE} KONSOLE_DESC= Install Konsole terminal emulator -KONSOLE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/konsole:x11/konsole +KONSOLE_RUN_DEPENDS= ${KDE_PREFIX}/bin/konsole:x11/konsole KWRITE_DESC= Install KWrite text editor -KWRITE_USE= KDE4=kate_run +KWRITE_USE= KDE=kate_run pre-configure: # Quick hack to avoid building libkonq here ${REINPLACE_CMD} -e '/add_subdirectory (konq)/d' \ ${WRKSRC}/lib/CMakeLists.txt ${MKDIR} ${BUILD_WRKSRC}/lib && \ - ${LN} -s ${KDE4_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib + ${LN} -s ${KDE_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib .include <bsd.port.mk> |