[40638] trunk/dports/x11/wm-extra/Portfile
jmr at macports.org
jmr at macports.org
Wed Oct 8 23:42:18 PDT 2008
Revision: 40638
http://trac.macports.org/changeset/40638
Author: jmr at macports.org
Date: 2008-10-08 23:42:17 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
wm-extra: remove use of cd
Modified Paths:
--------------
trunk/dports/x11/wm-extra/Portfile
Modified: trunk/dports/x11/wm-extra/Portfile
===================================================================
--- trunk/dports/x11/wm-extra/Portfile 2008-10-09 06:35:03 UTC (rev 40637)
+++ trunk/dports/x11/wm-extra/Portfile 2008-10-09 06:42:17 UTC (rev 40638)
@@ -90,13 +90,12 @@
post-destroot {
set wm_data ${destroot}${prefix}/share/WindowMaker
- cd ${workpath}
xinstall -d -m 755 ${wm_data}/Backgrounds
- xinstall -m 644 gnustepeinstein3.png \
+ xinstall -m 644 ${workpath}/gnustepeinstein3.png \
${wm_data}/Backgrounds
- xinstall -m 644 hexley_fork_96.tiff ${wm_data}/Icons
- file rename GNUstep/Library/WindowMaker/Themes/ElDotSee.themed .
- set fl [glob *.themed]
+ xinstall -m 644 ${workpath}/hexley_fork_96.tiff ${wm_data}/Icons
+ file rename ${workpath}/GNUstep/Library/WindowMaker/Themes/ElDotSee.themed ${workpath}
+ set fl [glob -directory ${workpath} *.themed]
foreach theme $fl {
xinstall -d -m 755 ${wm_data}/Themes/$theme
set dl [glob ${theme}/*]
@@ -104,6 +103,5 @@
xinstall -m 644 $item ${wm_data}/Themes/$theme
}
}
- cd ${wm_data}/Icons
- file delete -force Draw.xpm PDF.xpm xv.xpm
+ file delete -force ${wm_data}/Icons/Draw.xpm ${wm_data}/Icons/PDF.xpm ${wm_data}/Icons/xv.xpm
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/2aaab655/attachment.html
More information about the macports-changes
mailing list