[44627] trunk/dports/x11/xorg/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Dec 31 17:19:18 PST 2008


Revision: 44627
          http://trac.macports.org/changeset/44627
Author:   jeremyhu at macports.org
Date:     2008-12-31 17:19:18 -0800 (Wed, 31 Dec 2008)
Log Message:
-----------
xorg: Converted to a meta-package for xorg-server, x.org apps, and xterm

Modified Paths:
--------------
    trunk/dports/x11/xorg/Portfile

Modified: trunk/dports/x11/xorg/Portfile
===================================================================
--- trunk/dports/x11/xorg/Portfile	2009-01-01 00:52:01 UTC (rev 44626)
+++ trunk/dports/x11/xorg/Portfile	2009-01-01 01:19:18 UTC (rev 44627)
@@ -2,9 +2,9 @@
 
 PortSystem 1.0
 name		xorg
-version		X11R6.8.2
+version		20081231
 categories	x11
-maintainers	waqar at macports.org
+maintainers	jeremyhu blb openmaintainer
 description	The X Window System
 long_description	\
 	X11, or X, is a vendor-neutral, system-architecture neutral 	\
@@ -14,57 +14,95 @@
 	and display the user interface (the windows) on inexpensive 	\
 	desktop machines.
 
-platforms	darwin
+platforms	darwin macosx
 homepage	http://www.x.org
-master_sites    http://ftp.sunet.se/pub/X11/ftp.x.org/${version}/src-single \
-		http://www.mirror.ac.uk/mirror/ftp.x.org/pub/${version}/src-single \
-		http://ftp.pl.debian.org/mirror/ftp.x.org/pub/${version}/src-single \
-		http://www2.x.org/pub/${version}/src-single \
-		http://sunsite.sut.ac.jp/pub/archives/X11/${version}/src-single
+master_sites	${homepage}
 
-pre-fetch {
-    return -code error "
-        Hi, my name is xorg, I am broken for the time being, so please do not file a bug for me.
-        Instead, you can use Apple's X11 that is provided on the OS X install CDs ...
-            and also install the X11 SDK from Xcode Tools because they are both required.
-        There is also a working XFree86 port and ongoing development to port X11R7 to OS X.
-        "
-}
-use_bzip2	yes
-distname	${version}-src
-checksums	md5 8131cd7ea1e4566e6e05c438a93fcfe1 \
-		sha1 632e25a202bc41bb9b1c5dbc8bbb0d775c6593b0
+depends_run \
+    port:appres \
+    port:bdftopcf \
+    port:bitmap \
+    port:editres \
+    port:fonttosfnt \
+    port:fslsfonts \
+    port:fstobdf \
+    port:iceauth \
+    port:ico \
+    port:listres \
+    port:luit \
+    port:mkfontdir \
+    port:mkfontscale \
+    port:oclock \
+    port:rgb \
+    port:sessreg \
+    port:setxkbmap \
+    port:showfont \
+    port:twm \
+    port:viewres \
+    port:x11perf \
+    port:xauth \
+    port:xcalc \
+    port:xclipboard \
+    port:xclock \
+    port:xconsole \
+    port:xcursorgen \
+    port:xditview \
+    port:xdm \
+    port:xdpyinfo \
+    port:xedit \
+    port:xev \
+    port:xeyes \
+    port:xfd \
+    port:xfontsel \
+    port:xfs \
+    port:xfsinfo \
+    port:xgc \
+    port:xhost \
+    port:xinit \
+    port:xinput \
+    port:xkbcomp \
+    port:xkbevd \
+    port:xkbprint \
+    port:xkbutils \
+    port:xkill \
+    port:xload \
+    port:xlogo \
+    port:xlsatoms \
+    port:xlsclients \
+    port:xlsfonts \
+    port:xmag \
+    port:xman \
+    port:xmessage \
+    port:xmh \
+    port:xmodmap \
+    port:xmore \
+    port:xorg-scripts \
+    port:xpr \
+    port:xprop \
+    port:xrandr \
+    port:xrdb \
+    port:xrefresh \
+    port:xset \
+    port:xsetmode \
+    port:xsetpointer \
+    port:xsetroot \
+    port:xsm \
+    port:xstdcmap \
+    port:xterm \
+    port:xtrap \
+    port:xvinfo \
+    port:xwd \
+    port:xwininfo \
+    port:xwud \
+    port:xorg-server \
 
-worksrcdir 	xc
-configure	{
-	set cfpath ${worksrcpath}/config/cf
-	file copy -force ${cfpath}/xorgsite.def ${cfpath}/host.def
-}
+fetch           { }
+checksum        { }
+build           { }
+destroot	{ }
+archive		{ }
+activate	{ }
 
-build.target	World
-destroot.target install install.man
+use_configure no
+universal_variant no
 
-platform darwin 	{
-	pre-configure {
-		set hw ${worksrcpath}/programs/Xserver/hw
-		reinplace "s|/Applications|/Applications/MacPorts|g"	\
-			${hw}/darwin/quartz/Imakefile 	\
-			${hw}/darwin/quartz/XDarwinStartup.man \
-			${hw}/xfree86/doc/README.Darwin	\
-			${hw}/xfree86/doc/sgml/Darwin.sgml \
-			${hw}/xfree86/etc/bindist/Darwin-ppc/quartz-list \
-			${worksrcpath}/programs/Xserver/Imakefile \
-	}
-}
-
-platform puredarwin {
-	post-configure      {
-		set hostfd [open "${worksrcpath}/config/cf/host.def" w+]
-		puts $hostfd "#define DarwinQuartzSupport NO"
-		puts $hostfd "#define BuildGlxExt YES"
-		puts $hostfd "#define BuildGLXLibrary YES"
-		puts $hostfd "#define GlxBuiltInXMesa YES"
-		close $hostfd
-	}
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081231/e77d639f/attachment.html>


More information about the macports-changes mailing list