[40597] trunk/dports/devel/perforce/Portfile
jmr at macports.org
jmr at macports.org
Tue Oct 7 23:29:06 PDT 2008
Revision: 40597
http://trac.macports.org/changeset/40597
Author: jmr at macports.org
Date: 2008-10-07 23:29:05 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
perforce: remove use of cd
Modified Paths:
--------------
trunk/dports/devel/perforce/Portfile
Modified: trunk/dports/devel/perforce/Portfile
===================================================================
--- trunk/dports/devel/perforce/Portfile 2008-10-08 06:20:09 UTC (rev 40596)
+++ trunk/dports/devel/perforce/Portfile 2008-10-08 06:29:05 UTC (rev 40597)
@@ -22,16 +22,16 @@
system "cp ${distpath}/* ${worksrcpath}/" }
configure {}
build {}
-destroot { cd ${worksrcpath}
+destroot {
system "install -o root -m 755 -d ${destroot}${prefix}/bin"
system "install -o root -m 755 -d ${destroot}${prefix}/sbin"
system "install -o root -m 755 -d ${destroot}${prefix}/share/man/man1"
system "install -o root -m 755 -d ${destroot}${prefix}/share/man/man8"
- system "install -o root -m 755 -c p4 ${destroot}${prefix}/bin"
- system "install -o root -m 755 -c p4d ${destroot}${prefix}/sbin"
- system "install -o root -m 644 -c p4.1 \
+ system "cd ${worksrcpath} && install -o root -m 755 -c p4 ${destroot}${prefix}/bin"
+ system "cd ${worksrcpath} && install -o root -m 755 -c p4d ${destroot}${prefix}/sbin"
+ system "cd ${worksrcpath} && install -o root -m 644 -c p4.1 \
${destroot}${prefix}/share/man/man1"
- system "install -o root -m 644 -c p4d.1 \
+ system "cd ${worksrcpath} && install -o root -m 644 -c p4d.1 \
${destroot}${prefix}/share/man/man8" }
variant server {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/07408945/attachment-0001.html
More information about the macports-changes
mailing list