[109857] users/mojca/wxports/graphics
mojca at macports.org
mojca at macports.org
Tue Aug 20 14:36:37 PDT 2013
Revision: 109857
https://trac.macports.org/changeset/109857
Author: mojca at macports.org
Date: 2013-08-20 14:36:37 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
mojca/rt-volume-rendering: fixing the project is too complex, wait for the maintainer to fix it
Modified Paths:
--------------
users/mojca/wxports/graphics/rt-volume-rendering/Portfile
Added Paths:
-----------
users/mojca/wxports/graphics/rt-volume-rendering/
Modified: users/mojca/wxports/graphics/rt-volume-rendering/Portfile
===================================================================
--- trunk/dports/graphics/rt-volume-rendering/Portfile 2013-08-19 21:25:06 UTC (rev 109766)
+++ users/mojca/wxports/graphics/rt-volume-rendering/Portfile 2013-08-20 21:36:37 UTC (rev 109857)
@@ -3,10 +3,11 @@
PortSystem 1.0
PortGroup xcode 1.0
+PortGroup wxWidgets 1.0
name rt-volume-rendering
version 1.0.0
-revision 5
+revision 6
categories graphics
platforms darwin
maintainers gmail.com:bugcutt
@@ -18,14 +19,9 @@
sets in real-time. The application uses a texture based \
approach that is run entirely on the GPU.
-depends_lib port:wxWidgets \
- port:glew \
+depends_lib port:glew \
port:zlib
-# wxWidgets is 32-bit only
-universal_variant no
-supported_archs i386 ppc
-
homepage http://www.joeforte.net/projects/real-time-volume-rendering/
master_sites http://www.joeforte.net/project_data/rt_volume_rendering/
@@ -39,6 +35,35 @@
xcode.project RTVolumeRendering.xcodeproj
xcode.configuration Release
+pre-fetch {
+ ui_error "The port ${name} needs to be adapted to new wxWidgets packaging"
+ return -code error "outdated port definition"
+}
+
+# TODO: test whether wxwidgets30 works at all after patching
+# in case it does, other variants may go away;
+# in case it doesn't, it should be commented out
+variant wxwidgets30 conflicts wxgtk28 wxwidgets28 description {Use wxWidgets 2.9} {
+ wxWidgets.use wxWidgets-3.0
+ depends_lib-append port:${wxWidgets.port}
+}
+
+variant wxwidgets28 conflicts wxgtk28 wxwidgets30 description {Use 32-bit Carbon-based wxWidgets 2.8} {
+ wxWidgets.use wxWidgets-2.8
+ depends_lib-append port:${wxWidgets.port}
+}
+
+variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} {
+ wxWidgets.use wxGTK-2.8
+ depends_lib-append port:${wxWidgets.port}
+}
+
+if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} {
+ # TODO:
+ default_variants +wxwidgets30
+}
+
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex rtvolumerendering-(\[0-9.\]+)\\.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/3ceb5d52/attachment.html>
More information about the macports-changes
mailing list