[30664] trunk/dports/lang/lua/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Nov 2 14:09:05 PDT 2007
Revision: 30664
http://trac.macosforge.org/projects/macports/changeset/30664
Author: afb at macports.org
Date: 2007-11-02 14:09:04 -0700 (Fri, 02 Nov 2007)
Log Message:
-----------
expand use of cd (now illegal)
Modified Paths:
--------------
trunk/dports/lang/lua/Portfile
Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2007-11-02 19:31:29 UTC (rev 30663)
+++ trunk/dports/lang/lua/Portfile 2007-11-02 21:09:04 UTC (rev 30664)
@@ -47,21 +47,20 @@
destroot.target install INSTALL_TOP=${destroot}/${prefix}
post-destroot {
- cd ${worksrcpath}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 README ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 COPYRIGHT ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 HISTORY ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/COPYRIGHT ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/HISTORY ${destroot}${prefix}/share/doc/${name}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/html
- foreach html [glob doc/*.html doc/*.gif] {
+ foreach html [glob ${worksrcpath}/doc/*.html ${worksrcpath}/doc/*.gif] {
xinstall -m 0644 ${html} ${destroot}${prefix}/share/doc/${name}/html
}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/test
- foreach test [glob test/README test/*.lua] {
+ foreach test [glob ${worksrcpath}/test/README ${worksrcpath}/test/*.lua] {
xinstall -m 0644 ${test} ${destroot}${prefix}/share/doc/${name}/test
}
xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig
- xinstall -m 0644 etc/lua.pc ${destroot}${prefix}/lib/pkgconfig/lua.pc
+ xinstall -m 0644 ${worksrcpath}/etc/lua.pc ${destroot}${prefix}/lib/pkgconfig/lua.pc
}
platform darwin 7 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071102/3f6c253c/attachment.html
More information about the macports-changes
mailing list