[43006] trunk/dports/x11/xinit/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Dec 2 23:36:07 PST 2008
Revision: 43006
http://trac.macports.org/changeset/43006
Author: jeremyhu at macports.org
Date: 2008-12-02 23:36:07 -0800 (Tue, 02 Dec 2008)
Log Message:
-----------
xinit: Updated post-destroot to use builtins instead of system, thanks to Ryan Schmidt for keeping me honest ;)
Modified Paths:
--------------
trunk/dports/x11/xinit/Portfile
Modified: trunk/dports/x11/xinit/Portfile
===================================================================
--- trunk/dports/x11/xinit/Portfile 2008-12-03 07:15:38 UTC (rev 43005)
+++ trunk/dports/x11/xinit/Portfile 2008-12-03 07:36:07 UTC (rev 43006)
@@ -39,10 +39,9 @@
}
post-destroot {
- system "mv ${destroot}/Library/LaunchAgents/org.x.startx.plist ${destroot}/Library/LaunchAgents/org.macports.startx.plist"
- system "mv ${destroot}/Library/LaunchDaemons/org.x.privileged_startx.plist ${destroot}/Library/LaunchDaemons/org.macports.privileged_startx.plist"
+ move ${destroot}/Library/LaunchAgents/org.x.startx.plist ${destroot}/Library/LaunchAgents/org.macports.startx.plist
+ move ${destroot}/Library/LaunchDaemons/org.x.privileged_startx.plist ${destroot}/Library/LaunchDaemons/org.macports.privileged_startx.plist
- system "mkdir ${destroot}/${prefix}/lib/X11/xinit/xinitrc.d"
- system "cp ${filespath}/xinitrc.d/*.sh ${destroot}/${prefix}/lib/X11/xinit/xinitrc.d"
- system "chmod 755 ${destroot}/${prefix}/lib/X11/xinit/xinitrc.d/*.sh"
+ 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/20081202/7db51c15/attachment.html>
More information about the macports-changes
mailing list