<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0c5579b2d0a00c0fdb3907aa5facc8f2eea3c2fb">https://github.com/macports/macports-ports/commit/0c5579b2d0a00c0fdb3907aa5facc8f2eea3c2fb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 0c5579b sqlitebrowser: use qmake for darwin
</span>0c5579b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0c5579b2d0a00c0fdb3907aa5facc8f2eea3c2fb
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Sat May 30 15:18:48 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> sqlitebrowser: use qmake for darwin
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> change maintainer
</span>---
databases/sqlitebrowser/Portfile | 86 ++++++++++++++++++++--------------------
1 file changed, 44 insertions(+), 42 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/sqlitebrowser/Portfile b/databases/sqlitebrowser/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b40c0f1..7fcec99 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/sqlitebrowser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/sqlitebrowser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +1,15 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cmake 1.1
</span> PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup app 1.0
</span>
github.setup sqlitebrowser sqlitebrowser 3.11.2 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories databases
platforms darwin linux
license GPL-3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {gmail.com:rjvbertin @RJVB} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@i0ntempest me.com:szf1234} openmaintainer
</span>
description GUI editor for SQLite databases
long_description SQLite Database Browser is a visual tool used to create, design and edit \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,59 +42,64 @@ github.livecheck.regex {([0-9.]+)}
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Uses QSysInfo::buildAbi and QSysInfo::currentCpuArchitecture
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-qt5.min_version 5.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append port:antlr \
port:qscintilla-qt5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qtmacextras qttools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> patchfiles-append 0001-Changes-for-MacPorts.patch
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[info procs cmake.save_configure_cmd] ne ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # create a .macports-$subport-configure.cmd file containing the cmake invocation details
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (provided by a pending update to cmake-1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmake.save_configure_cmd "log too"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQSCINTILLA_INCLUDE_DIR=${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQT_LIBRARY_DIR=${qt_frameworks_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- app.executable ${build.dir}/sqlitebrowser
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- app.icon ${worksrcpath}/src/icons/sqlitebrowser.png
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG+=c++11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH+=${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LIBDIR+=${qt_libs_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Uses QSysInfo::buildAbi and QSysInfo::currentCpuArchitecture
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.min_version 5.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|libs/antlr-2.7.7/antlr.pro||g" ${worksrcpath}/sqlitebrowser.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|libs/qscintilla/Qt4Qt5/qscintilla.pro||g" ${worksrcpath}/sqlitebrowser.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lqscintilla2|-lqscintilla2_qt5|g" ${worksrcpath}/src/src.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\$\$PWD/../libs/antlr-2.7.7||g" ${worksrcpath}/src/src.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\$\$PWD/../libs/qscintilla/Qt4Qt5||g" ${worksrcpath}/src/src.pro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/libs/antlr-2.7.7 ${worksrcpath}/libs/qscintilla
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras qttools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy "${worksrcpath}/src/DB Browser for SQLite.app" ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set APPNAME "${qt_apps_dir}/SQLiteBrowser.app"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # for some reason the app PG capitalises the 1st letter
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${applications_dir}/Sqlitebrowser.app ${destroot}${APPNAME}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${APPNAME}/Contents/MacOS/Sqlitebrowser ${destroot}${APPNAME}/Contents/MacOS/Sqlitebrowser-temp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${APPNAME}/Contents/MacOS/Sqlitebrowser-temp ${destroot}${APPNAME}/Contents/MacOS/sqlitebrowser
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${APPNAME}/Contents/Resources/Sqlitebrowser.icns ${destroot}${APPNAME}/Contents/Resources/Sqlitebrowser.icns-temp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${APPNAME}/Contents/Resources/Sqlitebrowser.icns-temp ${destroot}${APPNAME}/Contents/Resources/sqlitebrowser.icns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/src/app.plist ${destroot}${APPNAME}/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@EXECUTABLE@|sqlitebrowser|g" ${destroot}${APPNAME}/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@ICON@|sqlitebrowser.icns|g" ${destroot}${APPNAME}/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[info procs qt5.add_app_wrapper] != ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete ${destroot}${prefix}/bin/sqlitebrowser
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qt5.add_app_wrapper sqlitebrowser SQLiteBrowser sqlitebrowser
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s "${applications_dir}/DB Browser for SQLite.app/Contents/MacOS/DB Browser for SQLite" ${destroot}${prefix}/bin/sqlitebrowser
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform linux {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.min_version 5.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras qttools
</span> cmake.install_rpath-prepend \
${qt_libs_dir} ${prefix}/lib
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_PREFIX_PATH=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQT_LIBRARY_DIR=${qt_frameworks_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_PREFIX_PATH=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQSCINTILLA_INCLUDE_DIR=${qt_includes_dir} \
</span> -DQT_LIBRARY_DIR=${qt_libs_dir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[info procs cmake.save_configure_cmd] ne ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a .macports-$subport-configure.cmd file containing the cmake invocation details
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (provided by a pending update to cmake-1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.save_configure_cmd "log too"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
</pre><pre style='margin:0'>
</pre>