[65689] trunk/dports/emulators/bochs/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Mar 30 02:12:49 PDT 2010
Revision: 65689
http://trac.macports.org/changeset/65689
Author: ryandesign at macports.org
Date: 2010-03-30 02:12:48 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
bochs: simplify destroot
Modified Paths:
--------------
trunk/dports/emulators/bochs/Portfile
Modified: trunk/dports/emulators/bochs/Portfile
===================================================================
--- trunk/dports/emulators/bochs/Portfile 2010-03-30 09:12:03 UTC (rev 65688)
+++ trunk/dports/emulators/bochs/Portfile 2010-03-30 09:12:48 UTC (rev 65689)
@@ -35,18 +35,11 @@
configure.args-append --enable-smp --enable-cpu-level=6
}
-pre-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/bin
- xinstall -m 755 -d ${destroot}${prefix}/share/bochs
- xinstall -m 755 -d ${destroot}${applications_dir}
-}
-
post-destroot {
+ xinstall -d ${destroot}${prefix}/share/bochs
file copy ${worksrcpath}/bochs.app ${destroot}${prefix}/share/bochs
system "ln -s ${prefix}/share/bochs/bochs.app ${destroot}${applications_dir}/bochs.app"
- xinstall -m 755 ${worksrcpath}/bochs ${destroot}${prefix}/bin
- xinstall -m 755 ${worksrcpath}/bximage ${destroot}${prefix}/bin
- xinstall -m 755 ${worksrcpath}/bxcommit ${destroot}${prefix}/bin
+ xinstall -W ${worksrcpath} bochs bximage bxcommit ${destroot}${prefix}/bin
reinplace "s|\$BXSHARE/|${prefix}/share/bochs/|g" \
${destroot}${prefix}/share/bochs/bochsrc-sample.txt
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100330/c0cd22de/attachment.html>
More information about the macports-changes
mailing list