Ticket #30540: ipe.diff

File ipe.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • files/ipe.in

     
     1#!/bin/sh
     2
     3PATH="@PREFIX@/bin:$PATH" "@PREFIX@/bin/ipe"
  • files/Info.plist.in

    Property changes on: files/ipe.in
    ___________________________________________________________________
    Added: svn:executable
       + *
    Added: svn:eol-style
       + native
    
     
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3<plist version="1.0">
     4<dict>
     5        <key>CFBundleDevelopmentRegion</key>
     6        <string>English</string>
     7        <key>CFBundleExecutable</key>
     8        <string>Ipe</string>
     9        <key>CFBundleIconFile</key>
     10        <string>ipe.icns</string>
     11        <key>CFBundleIdentifier</key>
     12        <string>net.sourceforge.ipe7</string>
     13        <key>CFBundleInfoDictionaryVersion</key>
     14        <string>6.0</string>
     15        <key>CFBundleName</key>
     16        <string>Ipe</string>
     17        <key>CFBundlePackageType</key>
     18        <string>APPL</string>
     19        <key>CFBundleShortVersionString</key>
     20        <string>@VERSION@</string>
     21        <key>CFBundleSignature</key>
     22        <string>????</string>
     23        <key>CFBundleVersion</key>
     24        <string>@VERSION@</string>
     25</dict>
     26</plist>
  • Portfile

    Property changes on: files/Info.plist.in
    ___________________________________________________________________
    Added: svn:eol-style
       + native
    
     
    55
    66name                    ipe
    77version                 7.0.14
     8revision                1
    89categories              graphics
    910maintainers             jacobs-university.de:m.thon
    1011description             The Ipe extensible drawing editor
     
    4243
    4344destroot.args-append    IPEPREFIX=${prefix}
    4445use_parallel_build      no
     46
     47platform macosx {
     48    depends_build-append port:makeicns
     49    post-destroot {
     50        set app Ipe
     51        xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS \
     52            ${destroot}${applications_dir}/${app}.app/Contents/Resources
     53        xinstall -m 644 ${filespath}/Info.plist.in ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
     54        reinplace "s|@VERSION@|${version}|g" ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
     55        xinstall -m 755 ${filespath}/${name}.in ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
     56        reinplace "s|@PREFIX@|${prefix}|g" ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
     57        system "cd ${worksrcpath} && ${prefix}/bin/makeicns -in ${worksrcpath}/ipe/icons/ipe.png -out ${destroot}${applications_dir}/${app}.app/Contents/Resources/${name}.icns"
     58    }
     59}