[74891] trunk/dports/textproc/tnef2txt/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 5 21:32:20 PST 2011
Revision: 74891
http://trac.macports.org/changeset/74891
Author: ryandesign at macports.org
Date: 2011-01-05 21:32:13 -0800 (Wed, 05 Jan 2011)
Log Message:
-----------
tnef2txt: fix destroot to not use system, and to work at all now that cwd is not worksrcpath; see #27879
Modified Paths:
--------------
trunk/dports/textproc/tnef2txt/Portfile
Modified: trunk/dports/textproc/tnef2txt/Portfile
===================================================================
--- trunk/dports/textproc/tnef2txt/Portfile 2011-01-06 04:27:21 UTC (rev 74890)
+++ trunk/dports/textproc/tnef2txt/Portfile 2011-01-06 05:32:13 UTC (rev 74891)
@@ -23,7 +23,8 @@
build.target tnef2txt
-destroot { system "install -m 755 -d ${destroot}${prefix}/bin"
- system "install -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin"
- system "install -m 755 -d ${destroot}${prefix}/share/doc/${name}"
- system "install -m 644 apptnef.* ${destroot}${prefix}/share/doc/${name}" }
+destroot {
+ xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ eval xinstall -m 644 [glob ${worksrcpath}/apptnef.*] ${destroot}${prefix}/share/doc/${name}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110105/8b815883/attachment.html>
More information about the macports-changes
mailing list