Ignore:
Timestamp:
Aug 14, 2011, 10:01:47 AM (8 years ago)
Author:
ryandesign@…
Message:

sqliteman: add app in applications_dir; see #30756

Location:
trunk/dports/databases/sqliteman
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/sqliteman/Portfile

    r76385 r82472  
    77name                sqliteman
    88version             1.2.2
     9revision            1
     10
    911description         GUI tool for Sqlite3
    1012long_description        The best developer's and/or admin's GUI tool for Sqlite3 in the world. \
     
    3840    -DQSCINTILLA_INCLUDE_DIR:PATH=${qt_includes_dir}/Qsci
    3941configure.args      ${qt_cmake_defines}
     42
     43platform macosx {
     44    depends_build-append port:makeicns
     45    post-destroot {
     46        set app Sqliteman
     47        xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS \
     48            ${destroot}${applications_dir}/${app}.app/Contents/Resources
     49        xinstall -m 644 ${filespath}/Info.plist.in ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
     50        reinplace "s|@VERSION@|${version}|g" ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
     51        ln -s ${prefix}/bin/${name} ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
     52        system -W ${worksrcpath} "${prefix}/bin/makeicns -in ${worksrcpath}/sqliteman/icons/sqliteman.png -out ${destroot}${applications_dir}/${app}.app/Contents/Resources/${name}.icns"
     53    }
     54}
Note: See TracChangeset for help on using the changeset viewer.