Ticket #31951: Portfile.2.diff

File Portfile.2.diff, 647 bytes (added by rudloff@…, 13 years ago)

Patch to use the app portgroup

  • Portfile

    old new  
    22# $Id: Portfile 84839 2011-10-03 13:12:06Z and.damore@macports.org $
    33
    44PortSystem      1.0
     5PortGroup                       app 1.0
    56
    67name            geany
    78version         0.21
     
    3738platform darwin {
    3839    patchfiles-append vte-sonames.diff
    3940}
     41
     42post-destroot {
     43        reinplace "s|@PREFIX@|${prefix}|g" ${destroot}${applications_dir}/${app.name}.app/Contents/MacOS/${app.name}
     44}
     45
     46app.icon "icons/48x48/geany.png"
     47app.executable ${filespath}/launch