[119913] trunk/dports/aqua
sean at macports.org
sean at macports.org
Fri May 9 15:12:43 PDT 2014
Revision: 119913
https://trac.macports.org/changeset/119913
Author: sean at macports.org
Date: 2014-05-09 15:12:43 -0700 (Fri, 09 May 2014)
Log Message:
-----------
inkscape-app: add new port to create an .app for inkscape
Added Paths:
-----------
trunk/dports/aqua/inkscape-app/
trunk/dports/aqua/inkscape-app/Portfile
trunk/dports/aqua/inkscape-app/files/
trunk/dports/aqua/inkscape-app/files/Info.plist
Added: trunk/dports/aqua/inkscape-app/Portfile
===================================================================
--- trunk/dports/aqua/inkscape-app/Portfile (rev 0)
+++ trunk/dports/aqua/inkscape-app/Portfile 2014-05-09 22:12:43 UTC (rev 119913)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name inkscape-app
+version 0.48
+license GPL-2+
+maintainers nomaintainer
+description Inkscape.app application bundle
+long_description ${description}
+
+categories aqua graphics
+homepage http://gimp-app.sourceforge.net
+
+depends_run bin:inkscape:inkscape
+
+# we only need to download the icns file
+master_sites https://github.com/piksels-and-lines-orchestra/inkscape/raw/master/packaging/macosx/Resources
+
+distfiles Inkscape.icns
+
+checksums rmd160 a0dc6e65125ad2d4554728515996c473b9aac671 \
+ sha256 0ae10f9edd037c72b445d797e8be257dde94ef19d3df19e6aeabb1c0ec87fcca
+
+extract.mkdir yes
+use_configure no
+
+extract {
+ copy ${distpath}/Inkscape.icns ${worksrcpath}
+}
+
+build {}
+
+destroot {
+ set inkapp ${destroot}${applications_dir}/Inkscape.app
+ xinstall -d ${inkapp}/Contents/MacOS
+ xinstall -d ${inkapp}/Contents/Resources
+
+ xinstall ${filespath}/Info.plist ${inkapp}/Contents/
+ xinstall ${worksrcpath}/Inkscape.icns ${inkapp}/Contents/Resources/
+ ln -s ${prefix}/bin/inkscape ${inkapp}/Contents/MacOS/Inkscape
+}
+
+livecheck.type none
Added: trunk/dports/aqua/inkscape-app/files/Info.plist
===================================================================
--- trunk/dports/aqua/inkscape-app/files/Info.plist (rev 0)
+++ trunk/dports/aqua/inkscape-app/files/Info.plist 2014-05-09 22:12:43 UTC (rev 119913)
@@ -0,0 +1,54 @@
+<?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>Inkscape</string>
+ <key>CFBundleIconFile</key>
+ <string>Inkscape.icns</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>eps</string>
+ <string>pdf</string>
+ <string>ps</string>
+ <string>svg</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>*</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>All</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>****</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
+ </array>
+ <key>CFBundleIdentifier</key>
+ <string>org.inkscape.Inkscape</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>Inkscape</string>
+ <key>CFBundleVersion</key>
+ <string>389</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140509/357a2fb1/attachment.html>
More information about the macports-changes
mailing list