[44922] trunk/dports/x11
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 12:47:10 PST 2009
Revision: 44922
http://trac.macports.org/changeset/44922
Author: jeremyhu at macports.org
Date: 2009-01-04 12:47:09 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
xorg-lib* mesa xrender Xft2 xpm: Added system_x11 variant which causes this port to be a stub, thus allowing dependent ports to link against libs in x11prefix instead of prefix
Modified Paths:
--------------
trunk/dports/x11/Xft2/Portfile
trunk/dports/x11/mesa/Portfile
trunk/dports/x11/xorg-libAppleWM/Portfile
trunk/dports/x11/xorg-libFS/Portfile
trunk/dports/x11/xorg-libX11/Portfile
trunk/dports/x11/xorg-libXScrnSaver/Portfile
trunk/dports/x11/xorg-libXTrap/Portfile
trunk/dports/x11/xorg-libXau/Portfile
trunk/dports/x11/xorg-libXaw/Portfile
trunk/dports/x11/xorg-libXcomposite/Portfile
trunk/dports/x11/xorg-libXcursor/Portfile
trunk/dports/x11/xorg-libXdamage/Portfile
trunk/dports/x11/xorg-libXdmcp/Portfile
trunk/dports/x11/xorg-libXevie/Portfile
trunk/dports/x11/xorg-libXext/Portfile
trunk/dports/x11/xorg-libXfixes/Portfile
trunk/dports/x11/xorg-libXfont/Portfile
trunk/dports/x11/xorg-libXfontcache/Portfile
trunk/dports/x11/xorg-libXi/Portfile
trunk/dports/x11/xorg-libXinerama/Portfile
trunk/dports/x11/xorg-libXmu/Portfile
trunk/dports/x11/xorg-libXp/Portfile
trunk/dports/x11/xorg-libXrandr/Portfile
trunk/dports/x11/xorg-libXres/Portfile
trunk/dports/x11/xorg-libXt/Portfile
trunk/dports/x11/xorg-libXtst/Portfile
trunk/dports/x11/xorg-libXv/Portfile
trunk/dports/x11/xorg-libXvMC/Portfile
trunk/dports/x11/xorg-libXxf86dga/Portfile
trunk/dports/x11/xorg-libXxf86misc/Portfile
trunk/dports/x11/xorg-libXxf86vm/Portfile
trunk/dports/x11/xorg-libdmx/Portfile
trunk/dports/x11/xorg-libfontenc/Portfile
trunk/dports/x11/xorg-libice/Portfile
trunk/dports/x11/xorg-liblbxutil/Portfile
trunk/dports/x11/xorg-liboldX/Portfile
trunk/dports/x11/xorg-libsm/Portfile
trunk/dports/x11/xorg-libxcb/Portfile
trunk/dports/x11/xorg-libxkbfile/Portfile
trunk/dports/x11/xorg-libxkbui/Portfile
trunk/dports/x11/xorg-proto/Portfile
trunk/dports/x11/xorg-xcb-util/Portfile
trunk/dports/x11/xpm/Portfile
trunk/dports/x11/xrender/Portfile
Modified: trunk/dports/x11/Xft2/Portfile
===================================================================
--- trunk/dports/x11/Xft2/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/Xft2/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -47,3 +47,16 @@
livecheck.check regex
livecheck.url ${master_sites}?C=M&O=D
livecheck.regex libXft-(\[0-9.\]+)\\.tar\\.bz2
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXft.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/mesa/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -50,3 +50,16 @@
}
build.args-append RC_ARCHS="${universal_archs}"
}
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libGLU.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libAppleWM/Portfile
===================================================================
--- trunk/dports/x11/xorg-libAppleWM/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libAppleWM/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -40,3 +40,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libAppleWM-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libAppleWM.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libFS/Portfile
===================================================================
--- trunk/dports/x11/xorg-libFS/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libFS/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -27,3 +27,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libFS-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libFS.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libX11/Portfile
===================================================================
--- trunk/dports/x11/xorg-libX11/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libX11/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -41,3 +41,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libX11-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libX11.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXScrnSaver/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXScrnSaver/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXScrnSaver/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -29,3 +29,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXScrnSaver-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXss.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXTrap/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXTrap/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXTrap/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -23,3 +23,16 @@
depends_lib lib:libXext.6:xorg-libXext lib:libXt.6:xorg-libXt
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXTrap.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXau/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXau/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXau/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -26,3 +26,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXau-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXau.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXaw/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXaw/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXaw/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -43,3 +43,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXaw-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXaw.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXcomposite/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXcomposite/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXcomposite/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -31,3 +31,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXcomposite-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXcomposite.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXcursor/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXcursor/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXcursor/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -32,3 +32,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXcursor-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXcursor.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXdamage/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXdamage/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXdamage/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXdamage-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXdamage.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXdmcp/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXdmcp/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXdmcp/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -24,3 +24,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXdmcp-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXdmcp.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXevie/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXevie/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXevie/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -28,3 +28,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXevie-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXevie.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXext/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXext/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXext/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -29,3 +29,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXext-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXext.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXfixes/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXfixes/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXfixes/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXfixes-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXfixes.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXfont/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXfont/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXfont/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -40,3 +40,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXfont-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXfont.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXfontcache/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXfontcache/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXfontcache/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -32,3 +32,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXfontcache-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXfontcache.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXi/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXi/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXi/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -29,3 +29,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXi-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXi.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXinerama/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXinerama/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXinerama/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXinerama-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXinerama.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXmu/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXmu/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXmu/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -32,3 +32,16 @@
livecheck.regex libXmu-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXmu.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXp/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXp/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXp/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXp-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXp.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXrandr/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXrandr/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXrandr/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -33,3 +33,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXrandr-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXrandr.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXres/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXres/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXres/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -28,3 +28,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXres-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXres.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXt/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXt/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXt/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -33,3 +33,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXt-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXt.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXtst/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXtst/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXtst/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -31,3 +31,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXtst-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXtst.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXv/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXv/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXv/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -29,3 +29,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXv-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXv.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXvMC/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXvMC/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXvMC/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -29,3 +29,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXvMC-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXvMC.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXxf86dga/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXxf86dga/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXxf86dga/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXxf86dga-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXxf86dga.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXxf86misc/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXxf86misc/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXxf86misc/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -33,3 +33,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXxf86misc-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXxf86misc.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libXxf86vm/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXxf86vm/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libXxf86vm/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXxf86vm-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXxf86vm.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libdmx/Portfile
===================================================================
--- trunk/dports/x11/xorg-libdmx/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libdmx/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -32,3 +32,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libdmx-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libdmx.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libfontenc/Portfile
===================================================================
--- trunk/dports/x11/xorg-libfontenc/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libfontenc/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -27,3 +27,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libfontenc-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libfontenc.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libice/Portfile
===================================================================
--- trunk/dports/x11/xorg-libice/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libice/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -28,3 +28,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libICE-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libICE.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-liblbxutil/Portfile
===================================================================
--- trunk/dports/x11/xorg-liblbxutil/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-liblbxutil/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -31,3 +31,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex liblbxutil-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/liblbxutil.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-liboldX/Portfile
===================================================================
--- trunk/dports/x11/xorg-liboldX/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-liboldX/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -27,3 +27,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex liboldX-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/liboldX.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libsm/Portfile
===================================================================
--- trunk/dports/x11/xorg-libsm/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libsm/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -35,3 +35,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libSM-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libSM.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libxcb/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxcb/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libxcb/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -37,3 +37,16 @@
livecheck.check regex
livecheck.url ${master_sites}?C=M&O=D
livecheck.regex libxcb-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libxcb.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libxkbfile/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxkbfile/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libxkbfile/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libxkbfile-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libxkbfile.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-libxkbui/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxkbui/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-libxkbui/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -30,3 +30,16 @@
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libxkbui-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libxkbui.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xorg-proto/Portfile
===================================================================
--- trunk/dports/x11/xorg-proto/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-proto/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -51,8 +51,6 @@
xinstall -d ${destroot}${prefix}/share/doc/${name}
system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
}
-archive { }
-activate { }
use_configure no
universal_variant no
Modified: trunk/dports/x11/xorg-xcb-util/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-util/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xorg-xcb-util/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -26,3 +26,16 @@
livecheck.check regex
livecheck.url ${master_sites}?C=M&O=D
livecheck.regex xcb-util-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libxcb-render-util.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xpm/Portfile
===================================================================
--- trunk/dports/x11/xpm/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xpm/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -27,3 +27,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXpm-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXpm.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
Modified: trunk/dports/x11/xrender/Portfile
===================================================================
--- trunk/dports/x11/xrender/Portfile 2009-01-04 20:34:08 UTC (rev 44921)
+++ trunk/dports/x11/xrender/Portfile 2009-01-04 20:47:09 UTC (rev 44922)
@@ -69,3 +69,16 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
+
+variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
+ if { [file exists ${x11prefix}/lib/libXrender.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ fetch { }
+ checksum { }
+ build { }
+ destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+ }
+ use_configure no
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/232c467e/attachment-0001.html>
More information about the macports-changes
mailing list