[81638] trunk/dports/graphics/ipe

ryandesign at macports.org ryandesign at macports.org
Wed Aug 3 01:02:29 PDT 2011


Revision: 81638
          http://trac.macports.org/changeset/81638
Author:   ryandesign at macports.org
Date:     2011-08-03 01:02:29 -0700 (Wed, 03 Aug 2011)
Log Message:
-----------
ipe: add app in applications_dir; see #30540

Modified Paths:
--------------
    trunk/dports/graphics/ipe/Portfile

Added Paths:
-----------
    trunk/dports/graphics/ipe/files/Info.plist.in
    trunk/dports/graphics/ipe/files/ipe.in

Modified: trunk/dports/graphics/ipe/Portfile
===================================================================
--- trunk/dports/graphics/ipe/Portfile	2011-08-03 07:59:14 UTC (rev 81637)
+++ trunk/dports/graphics/ipe/Portfile	2011-08-03 08:02:29 UTC (rev 81638)
@@ -5,6 +5,7 @@
 
 name                    ipe
 version                 7.0.14
+revision                1
 categories              graphics
 maintainers             jacobs-university.de:m.thon
 description             The Ipe extensible drawing editor
@@ -42,3 +43,17 @@
 
 destroot.args-append    IPEPREFIX=${prefix}
 use_parallel_build      no
+
+platform macosx {
+    depends_build-append port:makeicns
+    post-destroot {
+        set app Ipe
+        xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS \
+            ${destroot}${applications_dir}/${app}.app/Contents/Resources
+        xinstall -m 644 ${filespath}/Info.plist.in ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
+        reinplace "s|@VERSION@|${version}|g" ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
+        xinstall -m 755 ${filespath}/${name}.in ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
+        reinplace "s|@PREFIX@|${prefix}|g" ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
+        system "cd ${worksrcpath} && ${prefix}/bin/makeicns -in ${worksrcpath}/ipe/icons/ipe.png -out ${destroot}${applications_dir}/${app}.app/Contents/Resources/${name}.icns"
+    }
+}

Added: trunk/dports/graphics/ipe/files/Info.plist.in
===================================================================
--- trunk/dports/graphics/ipe/files/Info.plist.in	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/Info.plist.in	2011-08-03 08:02:29 UTC (rev 81638)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//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>Ipe</string>
+	<key>CFBundleIconFile</key>
+	<string>ipe.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>net.sourceforge.ipe7</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Ipe</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>@VERSION@</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>@VERSION@</string>
+</dict>
+</plist>


Property changes on: trunk/dports/graphics/ipe/files/Info.plist.in
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/ipe/files/ipe.in
===================================================================
--- trunk/dports/graphics/ipe/files/ipe.in	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/ipe.in	2011-08-03 08:02:29 UTC (rev 81638)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+PATH="@PREFIX@/bin:$PATH" "@PREFIX@/bin/ipe"


Property changes on: trunk/dports/graphics/ipe/files/ipe.in
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110803/d090dd76/attachment.html>


More information about the macports-changes mailing list