[55327] trunk/dports/emulators/bochs/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 8 23:27:44 PDT 2009


Revision: 55327
          http://trac.macports.org/changeset/55327
Author:   ryandesign at macports.org
Date:     2009-08-08 23:27:42 -0700 (Sat, 08 Aug 2009)
Log Message:
-----------
bochs: use ${applications_dir}

Modified Paths:
--------------
    trunk/dports/emulators/bochs/Portfile

Modified: trunk/dports/emulators/bochs/Portfile
===================================================================
--- trunk/dports/emulators/bochs/Portfile	2009-08-09 05:53:31 UTC (rev 55326)
+++ trunk/dports/emulators/bochs/Portfile	2009-08-09 06:27:42 UTC (rev 55327)
@@ -35,12 +35,12 @@
 pre-destroot {
         xinstall -m 755 -d ${destroot}${prefix}/bin
         xinstall -m 755 -d ${destroot}${prefix}/share/bochs
-	xinstall -m 755 -d ${destroot}/Applications/MacPorts
+	xinstall -m 755 -d ${destroot}${applications_dir}
 }
 
 post-destroot {
 	file copy ${worksrcpath}/bochs.app ${destroot}${prefix}/share/bochs
-	system "ln -s ${prefix}/share/bochs/bochs.app ${destroot}/Applications/MacPorts/bochs.app"
+	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
@@ -69,7 +69,7 @@
 4) Format the disk image using FreeDOS (http://bochs.sourceforge.net/diskimages.html)
    according to the bochs documentation. (http://bochs.sourceforge.net/)
 
-5) Now start bochs using the /Applications/MacPorts/bochs.app program;
+5) Now start bochs using the ${applications_dir}/bochs.app program;
    you may also use the bochs command line utility. \n"
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090808/9fa8e092/attachment-0001.html>


More information about the macports-changes mailing list