[40606] trunk/dports/textproc/sword/Portfile
jmr at macports.org
jmr at macports.org
Wed Oct 8 01:38:01 PDT 2008
Revision: 40606
http://trac.macports.org/changeset/40606
Author: jmr at macports.org
Date: 2008-10-08 01:38:00 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
sword: remove use of cd
Modified Paths:
--------------
trunk/dports/textproc/sword/Portfile
Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile 2008-10-08 08:22:40 UTC (rev 40605)
+++ trunk/dports/textproc/sword/Portfile 2008-10-08 08:38:00 UTC (rev 40606)
@@ -48,22 +48,18 @@
--without-icu --without-lucene
post-destroot {
- cd ${worksrcpath}/samples/mods.d
xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/mods.d
- xinstall -m 0644 globals.conf ${destroot}${prefix}/share/${name}/mods.d
+ xinstall -m 0644 ${worksrcpath}/samples/mods.d/globals.conf ${destroot}${prefix}/share/${name}/mods.d
xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/modules
system "touch ${destroot}${prefix}/share/${name}/modules/.turd"
- cd ${worksrcpath}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 README ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 INSTALL ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 LICENSE ${destroot}${prefix}/share/doc/${name}
- foreach dir [exec find samples -type d] {
+ xinstall -m 0644 -W ${worksrcpath} README INSTALL LICENSE ${destroot}${prefix}/share/doc/${name}
+ foreach dir [exec find ${worksrcpath}/samples -type d] {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/${dir}
}
- foreach file [exec find samples -type f] {
+ foreach file [exec find ${worksrcpath}/samples -type f] {
xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}/${file}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/2892aaee/attachment.html
More information about the macports-changes
mailing list