Ticket #48024: charm.2.diff
File charm.2.diff, 2.4 KB (added by RJVB (René Bertin), 7 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 PortGroup github 1.0 5 PortGroup cmake 1. 05 PortGroup cmake 1.1 6 6 7 7 name charm 8 version 1.1 0.08 version 1.11.0 9 9 10 10 github.setup KDAB Charm ${version} 11 11 … … 20 20 PortGroup qt5 1.0 21 21 22 22 conflicts ${name} 23 depends_lib-append port:qt5-sqlite-plugin 24 configure.args-append -DWITH_QT4:BOOL=OFF 23 qt5.depends_component \ 24 qtmacextras \ 25 qtscript \ 26 sqlite-plugin 27 configure.args-append \ 28 -DCHARM_FORCE_QT4:BOOL=OFF \ 29 -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Keychain=ON 25 30 } 26 31 27 32 if {${subport} ne "${name}-qt5"} { 28 33 PortGroup qt4 1.0 29 34 30 revision 2015101831 32 35 conflicts ${name}-qt5 33 depends_build-append port:automoc 34 depends_lib-append port:qt4-mac-sqlite3-plugin 35 configure.args-append -DWITH_QT4:BOOL=ON 36 depends_build-append \ 37 port:automoc 38 depends_lib-append \ 39 port:qt4-mac-sqlite3-plugin 40 configure.args-append \ 41 -DCHARM_FORCE_QT4:BOOL=ON 36 42 } 37 43 38 checksums rmd160 40184c4f0de2b7f9fe328b7fd2f0d47922be6e1c\39 sha256 5c7ea12da4ad1324a9aaf1f5d29612fc1d789a70bbcbfa2f57766b96f04275e144 checksums rmd160 da690a57d743e8c79e2d60d8bb2f29a276b69055 \ 45 sha256 8729bc0936a481a113b8a56a747455ec488bf565182ca29d8bb583c74b194267 40 46 41 configure.args-append -DCharm_VERSION="${version}" 47 configure.args-append \ 48 -DCharm_VERSION="${version}" 42 49 43 50 # These patches have still do be adapted to the current version: 44 51 #patchfiles adapt-to-osx-macports.patch 45 52 46 post-extract {file mkdir ${workpath}/build}47 # standard post-arg, where to find the primary CMakeLists.txt file.48 default configure.post_args {../${worksrcdir}}49 default configure.dir {${workpath}/build}50 default build.dir {${workpath}/build}51 52 53 use_parallel_build yes 53 54 54 55 destroot { 55 xinstall -m 0755 -d ${destroot}${ applications_dir}56 file copy ${workpath}/build/Charm/Charm.app ${destroot}${ applications_dir}56 xinstall -m 0755 -d ${destroot}${qt_apps_dir} 57 file copy ${workpath}/build/Charm/Charm.app ${destroot}${qt_apps_dir} 57 58 } 58 59