[38705] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 29 02:06:31 PDT 2008
Revision: 38705
http://trac.macosforge.org/projects/macports/changeset/38705
Author: ryandesign at macports.org
Date: 2008-07-29 02:06:29 -0700 (Tue, 29 Jul 2008)
Log Message:
-----------
VirtualPlanetBuilder: New port, version 0.9.1, dependency of petitpoucet; see #15969
Added Paths:
-----------
trunk/dports/graphics/VirtualPlanetBuilder/
trunk/dports/graphics/VirtualPlanetBuilder/Portfile
trunk/dports/graphics/VirtualPlanetBuilder/files/
trunk/dports/graphics/VirtualPlanetBuilder/files/patch-CMakeLists.txt.diff
Added: trunk/dports/graphics/VirtualPlanetBuilder/Portfile
===================================================================
--- trunk/dports/graphics/VirtualPlanetBuilder/Portfile (rev 0)
+++ trunk/dports/graphics/VirtualPlanetBuilder/Portfile 2008-07-29 09:06:29 UTC (rev 38705)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem 1.0
+
+name VirtualPlanetBuilder
+version 0.9.1
+maintainers ryandesign openmaintainer
+platforms darwin
+categories graphics
+use_zip yes
+homepage http://www.openscenegraph.org/projects/VirtualPlanetBuilder
+master_sites ${homepage}/attachment/wiki/WikiStart/${distfiles}?format=raw&foo=
+use_parallel_build yes
+worksrcdir ${name}
+
+description terrain database creation tool
+
+long_description ${name} is a terrain database creation tool that can \
+ read a wide range of geospatial imagery and elevation \
+ data and scales from small-area terrain databases to \
+ massive whole-planet paged databases. These databases \
+ can be uploaded to the Internet to provide online \
+ GoogleEarth-style roaming of whole-planet databases, \
+ or kept on local disks for high-speed access for \
+ professional flight simulator applications.
+
+checksums md5 e084fec6150c31b01412dfb4d2a9959f \
+ sha1 632e352f53b9c62a3df733e507aae5286b673840 \
+ rmd160 ccf764c679c36cb4ae4cd3f2e1efeeac3074dcaa
+
+patchfiles patch-CMakeLists.txt.diff
+
+depends_build port:cmake
+
+depends_lib port:OpenSceneGraph
+
+configure.cmd cmake
+configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
+configure.args -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_APPLICATIONS=OFF
+
+universal_variant no
+# patch-CMakeLists.txt.diff removes the built-in universal support. We need a
+# MacPorts-controlled universal build, but this universal variant is untested.
+#variant universal {
+# configure.args-append -DCMAKE_OSX_ARCHITECTURES="${configure.universal_archs}" \
+# -DCMAKE_CXX_FLAGS="${configure.universal_cxxflags}"
+#}
+
+livecheck.check regex
+livecheck.url http://www.openscenegraph.org/svn/VirtualPlanetBuilder/tags/
+livecheck.regex ${name}-(\[0-9.\]+)/
Property changes on: trunk/dports/graphics/VirtualPlanetBuilder/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/graphics/VirtualPlanetBuilder/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/VirtualPlanetBuilder/files/patch-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/graphics/VirtualPlanetBuilder/files/patch-CMakeLists.txt.diff 2008-07-29 09:06:29 UTC (rev 38705)
@@ -0,0 +1,43 @@
+--- CMakeLists.txt 2007-08-07 05:52:54.000000000 -0500
++++ CMakeLists.txt 2008-07-27 01:09:19.000000000 -0500
+@@ -182,40 +182,6 @@
+
+
+
+-# Set defaults for Universal Binaries. We want 32-bit Intel/PPC on 10.4
+-# and 32/64-bit Intel/PPC on >= 10.5. Anything <= 10.3 doesn't support.
+-IF(APPLE)
+- # These are just defaults/recommendations, but how we want to build
+- # out of the box. But the user needs to be able to change these options.
+- # So we must only set the values the first time CMake is run, or we
+- # will overwrite any changes the user sets.
+- # FORCE is used because the options are not reflected in the UI otherwise.
+- # Seems like a good place to add version specific compiler flags too.
+- IF(NOT VPB_CONFIG_HAS_BEEN_RUN_BEFORE)
+- # This is really fragile, but CMake doesn't provide the OS system
+- # version information we need. (Darwin versions can be changed
+- # independently of OS X versions.)
+- # It does look like CMake handles the CMAKE_OSX_SYSROOT automatically.
+- IF(EXISTS /Developer/SDKs/10.5.sdk)
+- SET(CMAKE_OSX_ARCHITECTURES "ppc;i386;ppc64;x86_64" CACHE STRING "Build architectures for OSX" FORCE)
+- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.5 -ftree-vectorize -fvisibility-inlines-hidden" CACHE STRING "Flags used by the compiler during all build types." FORCE)
+- ELSE(EXISTS /Developer/SDKs/10.5.sdk)
+- IF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)
+- SET(CMAKE_OSX_ARCHITECTURES "ppc;i386" CACHE STRING "Build architectures for OSX" FORCE)
+- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.4 -ftree-vectorize -fvisibility-inlines-hidden" CACHE STRING "Flags used by the compiler during all build types." FORCE)
+- ELSE(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)
+- # No Universal Binary support
+- # Should break down further to set the -mmacosx-version-min,
+- # but the SDK detection is too unreliable here.
+- ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)
+- ENDIF(EXISTS /Developer/SDKs/10.5.sdk)
+- ENDIF(NOT VPB_CONFIG_HAS_BEEN_RUN_BEFORE)
+-
+- OPTION(VPB_BUILD_APPLICATION_BUNDLES "Enable the building of applications and examples as OSX Bundles" OFF)
+-
+-ENDIF(APPLE)
+-
+-
+ # This needs to be run very last so other parts of the scripts can take
+ # advantage of this.
+ IF(NOT VPB_CONFIG_HAS_BEEN_RUN_BEFORE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080729/cf2e9044/attachment.html
More information about the macports-changes
mailing list