Revision
121495
Author
ryandesign@macports.org
Date
2014-06-26 22:38:39 -0700 (Thu, 26 Jun 2014)

Log Message

Coin: fix framework installation location when using +aqua variant (see https://lists.macosforge.org/pipermail/macports-users/2014-June/035732.html)

Modified Paths

Diff

Modified: trunk/dports/graphics/Coin/Portfile (121494 => 121495)


--- trunk/dports/graphics/Coin/Portfile	2014-06-27 04:12:33 UTC (rev 121494)
+++ trunk/dports/graphics/Coin/Portfile	2014-06-27 05:38:39 UTC (rev 121495)
@@ -5,7 +5,7 @@
 
 name                Coin
 version             3.1.3
-revision            2
+revision            3
 license             GPL-2
 description         cross platform C++ OpenGL scene graph library
 long_description    Coin is a high-level 3D graphics library with a   \
@@ -45,14 +45,15 @@
 platform darwin {
     configure.args-append   --disable-framework --enable-darwin-x11
 
-variant aqua description {Install as a MacOS X framework without X11.} {
-    configure.args-delete   --disable-framework --enable-darwin-x11
-    configure.args-append   --with-framework-prefix=${destroot}${frameworks_dir} --without-x
-    depends_lib-delete      port:xorg-libsm \
-                            port:xorg-libXext \
-                            port:xorg-libXt
+    variant aqua description {Install as an OS X framework without X11.} {
+        configure.args-replace  --disable-framework --with-framework-prefix=${frameworks_dir}
+        configure.args-replace  --enable-darwin-x11 --without-x
+
+        depends_lib-delete      port:xorg-libsm \
+                                port:xorg-libXext \
+                                port:xorg-libXt
+    }
 }
-}
 
 variant devel description {Activate developer features, including debug libraries.} {
     configure.args-append   --enable-next-minor --enable-debug