<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/223f26ed10f505ec5b46e1ba65da594da1ff7920">https://github.com/macports/macports-ports/commit/223f26ed10f505ec5b46e1ba65da594da1ff7920</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 223f26e stellarium: update to 0.18.1, provide -devel port
</span>223f26e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 223f26ed10f505ec5b46e1ba65da594da1ff7920
</span>Author: Michael Lass <michael.lass@uni-paderborn.de>
AuthorDate: Wed Jul 25 17:01:41 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> stellarium: update to 0.18.1, provide -devel port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Update stellarium to 0.18.1
</span><span style='display:block; white-space:pre;color:#404040;'> * Introduce a -devel port uses latest commit from git master branch
</span><span style='display:block; white-space:pre;color:#404040;'> * Change download source to github since the project moved away from sourceforge
</span><span style='display:block; white-space:pre;color:#404040;'> * Update patch to match new version
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Thanks to @michaelld for providing his improvements!
</span>---
science/stellarium/Portfile | 41 ++++++++++++++++------
science/stellarium/files/patch-CMakeLists.txt.diff | 4 +--
2 files changed, 32 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/stellarium/Portfile b/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 409951d..22cf55c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</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:#e0ffe0;'>+PortGroup github 1.0
</span> PortGroup cmake 1.0
PortGroup qt5 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,19 +12,40 @@ license GPL-2+
</span> maintainers {michaelld @michaelld} openmaintainer
description Stellarium is a free open source planetarium for your computer.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Stellarium is a free open source planetarium for your computer. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description} \
</span> It shows a realistic sky in 3D, just like what you see with the naked eye, \
binoculars or a telescope. It is being used in planetarium projectors. Just \
set your coordinates and go.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://stellarium.org/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport stellarium-devel {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts stellarium-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup Stellarium stellarium 0.18.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 cb90746754d2b3dc2342711a8df3b409ffd3ec79 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7bd1daad2c60cd7a4aaea1535274bc8a00cee65cc6d15e3beab0b3194516b627 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 259842941
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # devel
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.16.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 96fcc1e87ebdffeb5c30afc899bbb3289ac88f36 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b001c252afddaa1c470fb444fcbb5595b7f7a7db028d884743d20bcb5635fd20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${long_description}: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This port is kept up with the Stellarium GIT master branch, which is typically updated daily to weekly.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts stellarium
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup Stellarium stellarium 15519727b86a961c82912ca37d5e522ec5d1af23
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20180725
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7f40763dc47b5e14a53683073d0e4c9e97533a2b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 193d0dd1739a349a7b44ef75830223dfdde6581d9f6188d6156f8b8e62b6a558 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 260387188
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://stellarium.org/
</span>
# builds as 64-bit only, according to its top-level CMakeLists.txt file
universal_variant no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +111,3 @@ post-destroot {
</span> copy ${qt_plugins_dir}/platforms/libqcocoa.dylib \
${appdir}/plugins/platforms
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://sourceforge.net/projects/stellarium/files/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "Stellarium-sources/.*/stellarium-(.*)[quotemeta ${extract.suffix}]"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/stellarium/files/patch-CMakeLists.txt.diff b/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index cc591f3..d55f24b7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span> --- CMakeLists.txt.orig
+++ CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -497,7 +497,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -506,7 +506,7 @@
</span> ########### Set some global variables ###########
IF(UNIX AND NOT WIN32)
IF(APPLE)
- SET(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/Stellarium.app/Contents")
+ SET(CMAKE_INSTALL_PREFIX "${MP_APPLICATIONS_DIR}/Stellarium.app/Contents")
ELSE()
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ADD_DEFINITIONS(-DINSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/share/stellarium")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_DEFINITIONS(-DINSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/share/${PACKAGE}")
</span> ADD_DEFINITIONS(-DINSTALL_LOCALEDIR="${CMAKE_INSTALL_PREFIX}/share/locale")
</pre><pre style='margin:0'>
</pre>