Ticket #46155: qtcurve-diff-20141207.diff
File qtcurve-diff-20141207.diff, 2.3 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
/opt/local/site-ports/kde/QtCurve/
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 126006 2014-10-01 21:17:50Z mk@macports.org$2 # $Id: Portfile Thu Jun 5 12:10:38 UTC 2014 rjvbertin@gmail.com $ 3 3 # kde/libkgapi/Portfile 4 4 5 5 PortSystem 1.0 … … 7 7 8 8 fetch.type git 9 9 git.url git://anongit.kde.org/qtcurve.git 10 git.branch 660f859556471f13834ef4fb095816639aa85014 10 #git.branch 660f8595 11 git.branch 13e147fb 11 12 12 13 name QtCurve 13 14 version 1.8.18 … … 33 34 port:kdelibs4 \ 34 35 port:qt4-mac 35 36 36 configure.args-append -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT5:BOOL=OFF \ 37 -DQTC_QT4_ENABLE_KWIN:BOOL=OFF 37 configure.args-append -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT4:BOOL=ON -DENABLE_QT5:BOOL=OFF \ 38 -DQTC_QT4_ENABLE_KWIN:BOOL=OFF -DQTC_ENABLE_PO:BOOL=ON \ 39 -DQTC_QT5_ENABLE_KDE:BOOL=OFF -DQTC_ENABLE_X11:BOOL=OFF 38 40 39 41 variant x11 description {build x11 support} {} 40 42 if { [variant_isset x11] } { 41 43 depends_lib-append port:xorg-libX11 44 configure.args-delete -DQTC_ENABLE_X11:BOOL=OFF 42 45 configure.args-append -DQTC_ENABLE_X11:BOOL=ON 43 } else {44 configure.args-append -DQTC_ENABLE_X11:BOOL=OFF45 46 } 46 47 47 48 variant gtk2 description {build the gtk2 plugin} {} 48 49 if { [variant_isset gtk2] } { 49 50 depends_lib-append port:gtk2 50 configure.args-append -DENABLE_GTK2:BOOL=ON 51 configure.args-delete -DQTC_ENABLE_X11:BOOL=OFF 52 configure.args-append -DENABLE_GTK2:BOOL=ON -DQTC_ENABLE_X11:BOOL=ON 51 53 } else { 52 54 configure.args-append -DENABLE_GTK2:BOOL=OFF 53 55 } … … 59 61 configure.args-delete -DENABLE_QT5:BOOL=OFF 60 62 } 61 63 64 variant kf5 description {build for KDE 5 Frameworks too} {} 65 if { [variant_isset kf5] } { 66 depends_lib-append port:qt5-kde 67 # default for ENABLE_QT5=on: 68 configure.args-delete -DENABLE_QT5:BOOL=OFF -DQTC_QT5_ENABLE_KDE:BOOL=OFF 69 } 70 62 71 variant devel description {Prevent stripping of binaries} {} 63 72 if { [variant_isset devel] } { 64 73 configure.args-delete -DCMAKE_BUILD_TYPE=Release