[48475] trunk/dports/science/qucs

rowue at macports.org rowue at macports.org
Sun Mar 22 20:42:07 PDT 2009


Revision: 48475
          http://trac.macports.org/changeset/48475
Author:   rowue at macports.org
Date:     2009-03-22 20:42:06 -0700 (Sun, 22 Mar 2009)
Log Message:
-----------
Added Icon

Modified Paths:
--------------
    trunk/dports/science/qucs/Portfile

Added Paths:
-----------
    trunk/dports/science/qucs/files/Info.plist
    trunk/dports/science/qucs/files/application.icns

Modified: trunk/dports/science/qucs/Portfile
===================================================================
--- trunk/dports/science/qucs/Portfile	2009-03-23 01:56:27 UTC (rev 48474)
+++ trunk/dports/science/qucs/Portfile	2009-03-23 03:42:06 UTC (rev 48475)
@@ -23,6 +23,11 @@
 patchfiles          patch-configure.diff
 post-destroot {
     xinstall -m 755 -d ${destroot}${applications_dir}/Qucs.app/Contents/MacOS
-    ln -s ${prefix}/bin/qucs ${destroot}${applications_dir}/Qucs.app/Contents/MacOS/Qucs
+    ln -s ${prefix}/bin/qucs ${destroot}${applications_dir}/Qucs.app/Contents/MacOS/qucs
+    xinstall -m 755 -d ${destroot}${applications_dir}/Qucs.app/Contents/Resources
+    xinstall -m 0644 ${filespath}/application.icns ${destroot}${applications_dir}/Qucs.app/Contents/Resources
+    xinstall -m 0644 ${filespath}/Info.plist ${destroot}${applications_dir}/Qucs.app/Contents/
+    reinplace "s|@VERSION@|${version}|" ${destroot}${applications_dir}/Qucs.app/Contents/Info.plist
+    system "echo 'APPL????' > ${destroot}${applications_dir}/Qucs.app/Contents/PkgInfo"
 }
 

Added: trunk/dports/science/qucs/files/Info.plist
===================================================================
--- trunk/dports/science/qucs/files/Info.plist	                        (rev 0)
+++ trunk/dports/science/qucs/files/Info.plist	2009-03-23 03:42:06 UTC (rev 48475)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>qucs</string>
+	<key>CFBundleGetInfoString</key>
+	<string>Qucs @VERSION@ by the Qucs team. This program is licensed under the GNU GPL.</string>
+	<key>CFBundleIconFile</key>
+	<string>application.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.qucs</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Qucs</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>Qucs @VERSION@</string>
+	<key>CFBundleSignature</key>
+	<string>qucs</string>
+	<key>CFBundleVersion</key>
+	<string>@VERSION@</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+</dict>
+</plist>

Added: trunk/dports/science/qucs/files/application.icns
===================================================================
(Binary files differ)


Property changes on: trunk/dports/science/qucs/files/application.icns
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090322/9cad114d/attachment-0001.html>


More information about the macports-changes mailing list