Ticket #48024: charm.diff
File charm.diff, 2.3 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 sqlite-plugin 25 configure.args-append \ 26 -DCHARM_FORCE_QT4:BOOL=OFF 25 27 } 26 28 27 29 if {${subport} ne "${name}-qt5"} { … … 30 32 revision 20151018 31 33 32 34 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 35 depends_build-append \ 36 port:automoc 37 depends_lib-append \ 38 port:qt4-mac-sqlite3-plugin 39 configure.args-append \ 40 -DCHARM_FORCE_QT4:BOOL=ON 36 41 } 37 42 38 checksums rmd160 40184c4f0de2b7f9fe328b7fd2f0d47922be6e1c\39 sha256 5c7ea12da4ad1324a9aaf1f5d29612fc1d789a70bbcbfa2f57766b96f04275e143 checksums rmd160 da690a57d743e8c79e2d60d8bb2f29a276b69055 \ 44 sha256 8729bc0936a481a113b8a56a747455ec488bf565182ca29d8bb583c74b194267 40 45 41 configure.args-append -DCharm_VERSION="${version}" 46 configure.args-append \ 47 -DCharm_VERSION="${version}" 42 48 43 49 # These patches have still do be adapted to the current version: 44 50 #patchfiles adapt-to-osx-macports.patch 45 51 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 52 use_parallel_build yes 53 53 54 54 destroot { 55 xinstall -m 0755 -d ${destroot}${ applications_dir}56 file copy ${workpath}/build/Charm/Charm.app ${destroot}${ applications_dir}55 xinstall -m 0755 -d ${destroot}${qt_apps_dir} 56 file copy ${workpath}/build/Charm/Charm.app ${destroot}${qt_apps_dir} 57 57 } 58 58