[48374] trunk/dports/x11
jeremyhu at macports.org
jeremyhu at macports.org
Thu Mar 19 20:29:44 PDT 2009
Revision: 48374
http://trac.macports.org/changeset/48374
Author: jeremyhu at macports.org
Date: 2009-03-19 20:29:43 -0700 (Thu, 19 Mar 2009)
Log Message:
-----------
wine-crossover-games: New port: CodeWeavers' Crossover Games version of wine
Added Paths:
-----------
trunk/dports/x11/wine-crossover-games/
trunk/dports/x11/wine-crossover-games/Portfile
trunk/dports/x11/wine-crossover-games/files/
trunk/dports/x11/wine-crossover-games/files/wine.in
trunk/dports/x11/wine-crossover-games/work
Added: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile (rev 0)
+++ trunk/dports/x11/wine-crossover-games/Portfile 2009-03-20 03:29:43 UTC (rev 48374)
@@ -0,0 +1,86 @@
+# $Id$
+
+PortSystem 1.0
+
+name wine-crossover-games
+version 7.2.0
+categories x11
+maintainers jeremyhu openmaintainer
+homepage http://www.codeweavers.com/
+platforms darwin
+distname crossover-games-wine-src-${version}
+worksrcdir wine
+
+build.target depend all
+use_parallel_build yes
+universal_variant no
+
+description \
+ Wine Is Not an Emulator (1.1.12 with CodeWeavers Modifications)
+
+long_description \
+ Wine is an implementation of the Windows APIs on top of X11. This version contains the Codeweavers patches for Crossover Games
+
+master_sites \
+ http://media.codeweavers.com/pub/crossover/source/
+
+checksums md5 7b65ed80f08dc318485c5efb9b752d1b \
+ sha1 b7af9900b7ac5a109c8a16534fb111b83bf20436 \
+ rmd160 128775713960b36a9e2783ee4163a9b140ddab01
+
+
+depends_lib \
+ port:expat \
+ port:fontconfig \
+ port:freetype \
+ port:jpeg \
+ port:libiconv \
+ port:libxml2 \
+ port:libxslt \
+ port:ncurses \
+ port:openssl \
+ port:zlib \
+ port:xorg-libsm \
+ port:xorg-libXcursor \
+ port:xorg-libXi \
+ port:xorg-libXinerama \
+ port:xorg-libXrandr \
+ port:xorg-libXxf86vm \
+ port:mesa
+
+depends_build \
+ port:pkgconfig
+
+configure.ldflags-append \
+ -framework CoreServices \
+ -lz
+
+pre-fetch {
+ if { [string compare ${os.endian} "little"] != 0 } {
+ return -code error "${name} only runs on little-endian computers, such as an Intel Mac."
+ }
+}
+
+post-extract {
+ system "cd ${workpath} && mv sources/wine ."
+}
+
+post-destroot {
+ xinstall -d ${destroot}${prefix}/libexec/wine
+ xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine
+ reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
+ reinplace s|@X11PREFIX@|${x11prefix}|g ${destroot}${prefix}/bin/wine
+}
+
+# AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6.
+# This block helps us link correctly when we are +system_x11 and x11prefix
+# is somewhere non-standard and should cause AC_X_PATH to let us setup our
+# CPPFLAGS and LDFLAGS without interference
+configure.args-append --x-include=${prefix}/include --x-lib=${prefix}/lib
+pre-configure {
+ if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
+ configure.cppflags-append -I${x11prefix}/include
+ configure.ldflags-append -L${x11prefix}/lib
+ }
+}
+
Property changes on: trunk/dports/x11/wine-crossover-games/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/x11/wine-crossover-games/files/wine.in
===================================================================
--- trunk/dports/x11/wine-crossover-games/files/wine.in (rev 0)
+++ trunk/dports/x11/wine-crossover-games/files/wine.in 2009-03-20 03:29:43 UTC (rev 48374)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib:@X11PREFIX@/lib" \
+"@PREFIX@/bin/wineloader" "$@"
Property changes on: trunk/dports/x11/wine-crossover-games/files/wine.in
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/dports/x11/wine-crossover-games/work
===================================================================
--- trunk/dports/x11/wine-crossover-games/work (rev 0)
+++ trunk/dports/x11/wine-crossover-games/work 2009-03-20 03:29:43 UTC (rev 48374)
@@ -0,0 +1 @@
+link /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_x11_wine-crossover-games/work
\ No newline at end of file
Property changes on: trunk/dports/x11/wine-crossover-games/work
___________________________________________________________________
Added: svn:special
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090319/7dfc9e87/attachment-0001.html>
More information about the macports-changes
mailing list