Skip to content
Permalink
Browse files

kde: pass the meta-port to kde4 instead of kde3 (ticket https://trac.…

  • Loading branch information
NicosPavlov committed Mar 27, 2014
1 parent 32bf081 commit 7f16a184f0da0a5e116f6b1fe4df53ff7dbbf5bf
Showing with 38 additions and 36 deletions.
  1. +38 −36 kde/kde/Portfile
@@ -1,21 +1,25 @@
# $Id$

PortSystem 1.0
PortSystem 1.0
PortGroup kde4 1.1

name kde
version 3.5.10
categories kde kde3
maintainers nomaintainer
version 4.12.2
categories kde kde4
license Permissive
maintainers nicks openmaintainer
description KDE Desktop bundle
long_description ${description}
platforms darwin
homepage http://www.kde.org/
master_sites

depends_lib port:kdelibs3 \
port:kdebase3 \
port:kdenetwork3 \
port:kdepim3 \
port:kdeutils3
depends_lib port:kdelibs4 \
port:kde4-baseapps \
port:kdenetwork4 \
port:kdemultimedia4 \
port:kdepim4 \
port:kdeutils4

distfiles

@@ -25,40 +29,38 @@ destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/kde
xinstall -m 644 ${filespath}/README ${destroot}${prefix}/share/doc/kde/
reinplace "s|%%PREFIX%%|${prefix}|" ${destroot}${prefix}/share/doc/kde/README

ui_msg "To start KDE, put \"exec \$SHELL -l -c ${prefix}/bin/startkde\" in your .xinitrc"
ui_msg "If you have problems, refer to ${prefix}/share/doc/kde/README"
}

variant accessibility {
depends_lib-append port:kdeaccessibility3
}
variant accessibility description "Stub variant from kde3 times" { }

variant dev_tools {
depends_lib-append port:kdesdk3 \
port:kdewebdev3
variant dev_tools description "Development tools for KDE platform" {
depends_lib-append port:kdesdk4 \
port:kdewebdev \
port:kdebindings4
}

variant fun {
depends_lib-append port:kdeaddons3 \
port:kdeartwork3 \
port:kdeedu3 \
port:kdegames3 \
port:kdetoys3
variant fun description "Games and educational programs from KDE" {
depends_lib-append port:kdeartwork \
port:kdeedu4 \
port:kdegames4
}

variant graphics {
depends_lib-append port:kdegraphics3
variant graphics description "Graphics utilities from KDE platform" {
depends_lib-append port:kdegraphics4
}

variant all {
depends_lib-append port:kdeaccessibility3 \
port:kdeaddons3 \
port:kdeartwork3 \
port:kdeedu3 \
port:kdegames3 \
port:kdegraphics3 \
port:kdesdk3 \
port:kdetoys3 \
port:kdewebdev3
variant all description "The whole KDE suite" {
depends_lib-append port:kde4-baseapps \
port:kdenetwork4 \
port:kdemultimedia4 \
port:kdepim4 \
port:kdeutils4 \
port:kdesdk4 \
port:kdewebdev \
port:kdebindings4 \
port:kdeartwork \
port:kdeedu4 \
port:kdegames4 \
port:kdegraphics4 \
port:kdeadmin
}

0 comments on commit 7f16a18

Please sign in to comment.
You can’t perform that action at this time.