[85854] trunk/dports/kde

nicos at macports.org nicos at macports.org
Sun Oct 16 15:18:58 PDT 2011


Revision: 85854
          http://trac.macports.org/changeset/85854
Author:   nicos at macports.org
Date:     2011-10-16 15:18:57 -0700 (Sun, 16 Oct 2011)
Log Message:
-----------
kstars: adding port

Added Paths:
-----------
    trunk/dports/kde/kstars/
    trunk/dports/kde/kstars/Portfile
    trunk/dports/kde/kstars/files/
    trunk/dports/kde/kstars/files/patch-CMakeLists.txt.diff

Added: trunk/dports/kde/kstars/Portfile
===================================================================
--- trunk/dports/kde/kstars/Portfile	                        (rev 0)
+++ trunk/dports/kde/kstars/Portfile	2011-10-16 22:18:57 UTC (rev 85854)
@@ -0,0 +1,41 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           kde4   1.1
+
+name                kstars
+version             4.7.2
+categories          kde kde4
+platforms           darwin
+license             GPL-2+
+maintainers         nicos openmaintainer
+
+description         KStars is a Desktop Planetarium for KDE.
+long_description    ${description} It provides an accurate graphical simulation \
+                    of the night sky, from any location on Earth, at any date and time. The display \
+                    includes up to 100 million stars, 13,000 deep-sky objects ,all 8 planets, the Sun \
+                    and Moon, and thousands of comets and asteroids.
+
+homepage            http://edu.kde.org/kstars/
+master_sites        kde:stable/${version}/src/
+distname            ${name}-${version}
+
+checksums           rmd160  c1d74d91c650b2e0fce6e42a02c917eb6bd9c7a4 \
+                    sha256  dd27e35642710dc34d59c4f12635f628243cf280e573cf7cf24ce6035f5cad8f
+
+use_bzip2           yes
+
+depends_lib-append  port:kdelibs4 \
+                    port:eigen \
+                    port:xplanet \
+                    port:cfitsio
+
+patchfiles          patch-CMakeLists.txt.diff
+
+pre-configure {
+    reinplace "s|<GL/gl.h>|<gl.h>|g" ${worksrcpath}/kstars/skyglpainter.cpp
+}
+
+livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
+livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
\ No newline at end of file


Property changes on: trunk/dports/kde/kstars/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/kde/kstars/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/kde/kstars/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/kde/kstars/files/patch-CMakeLists.txt.diff	2011-10-16 22:18:57 UTC (rev 85854)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2011-10-02 15:25:33.000000000 +0200
++++ CMakeLists.txt	2011-10-11 14:06:52.000000000 +0200
+@@ -35,6 +35,7 @@
+ macro_optional_find_package(OpenGL)
+ macro_bool_to_01(OPENGL_FOUND HAVE_OPENGL)
+ macro_log_feature(OPENGL_FOUND "OpenGL" "Support for hardware rendering in KStars." "http://www.opengl.org/" FALSE "" "OpenGL rendering is generally faster on hardware with graphics acceleration.")
++include_directories(${OPENGL_INCLUDE_DIR}/Versions/A/Headers)
+ 
+ if (EIGEN2_FOUND)
+    include_directories(${CMAKE_CURRENT_BINARY_DIR})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111016/c7aa3282/attachment.html>


More information about the macports-changes mailing list