[65730] trunk/dports/x11/xinit/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Mar 30 14:31:33 PDT 2010


Revision: 65730
          http://trac.macports.org/changeset/65730
Author:   jeremyhu at macports.org
Date:     2010-03-30 14:31:32 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
xinit: install a LaunchAgent on 10.6.3 and later

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

Modified: trunk/dports/x11/xinit/Portfile
===================================================================
--- trunk/dports/x11/xinit/Portfile	2010-03-30 21:00:44 UTC (rev 65729)
+++ trunk/dports/x11/xinit/Portfile	2010-03-30 21:31:32 UTC (rev 65730)
@@ -4,6 +4,7 @@
 
 name                xinit
 version             1.2.1
+revision            1
 categories          x11
 platforms           darwin
 maintainers         jeremyhu
@@ -34,8 +35,9 @@
 configure.args --with-launchd-id-prefix=org.macports
 
 post-destroot {
-	# Leave this on SnowLeopard and later once it supports side-by-side X11 servers
-	file delete -force ${destroot}/Library/LaunchAgents/org.macports.startx.plist
+	if {${os.platform} == "darwin" && [rpm-vercomp ${os.version} 10.3.0] < 0} {
+		file delete -force ${destroot}/Library/LaunchAgents/org.macports.startx.plist
+	}
 
 	xinstall -d ${destroot}${prefix}/lib/X11/xinit/xinitrc.d
 	eval xinstall -m 755 [glob ${filespath}/xinitrc.d/*.sh] ${destroot}${prefix}/lib/X11/xinit/xinitrc.d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100330/215517c2/attachment.html>


More information about the macports-changes mailing list