[40593] trunk/dports/lang/gcj34/Portfile
jmr at macports.org
jmr at macports.org
Tue Oct 7 23:03:13 PDT 2008
Revision: 40593
http://trac.macports.org/changeset/40593
Author: jmr at macports.org
Date: 2008-10-07 23:03:12 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
gcj34: remove use of cd
Modified Paths:
--------------
trunk/dports/lang/gcj34/Portfile
Modified: trunk/dports/lang/gcj34/Portfile
===================================================================
--- trunk/dports/lang/gcj34/Portfile 2008-10-08 03:52:39 UTC (rev 40592)
+++ trunk/dports/lang/gcj34/Portfile 2008-10-08 06:03:12 UTC (rev 40593)
@@ -49,25 +49,24 @@
# Since we install in a subdir dedicated to gcj, this gets it visibility
post-destroot {
- cd ${destroot}${prefix}/${name}-${version}/share/man/
foreach n {1 7} {
foreach f [glob man${n}/*.${n}] {
- system "gzip -9 ${f}"
+ system "cd ${destroot}${prefix}/${name}-${version}/share/man/ && gzip -9 ${f}"
}
}
set gcjLinkFiles { gcj gcjh gij grepjar jcf-dump jv-convert jv-scan }
- cd ${destroot}${prefix}/bin
+
foreach gcjBinFile ${gcjLinkFiles} {
- system "ln -s ../${name}-${version}/bin/${gcjBinFile} ."
+ system "cd ${destroot}${prefix}/bin && ln -s ../${name}-${version}/bin/${gcjBinFile} ."
}
- cd ${destroot}${prefix}/share/man/man1
+
foreach gcjManFile ${gcjLinkFiles} {
- system "ln -s \
+ system "cd ${destroot}${prefix}/share/man/man1 && ln -s \
../../../${name}-${version}/share/man/man1/${gcjManFile}.1.gz ."
}
xinstall -m 755 -d ${destroot}${prefix}/lib/pkgconfig
- cd ${destroot}${prefix}/lib/pkgconfig
- system "ln -s ../../${name}-${version}/lib/pkgconfig/libgcj.pc ."
+
+ system "cd ${destroot}${prefix}/lib/pkgconfig && ln -s ../../${name}-${version}/lib/pkgconfig/libgcj.pc ."
}
platform darwin 8 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/3d84e60a/attachment.html
More information about the macports-changes
mailing list