Ticket #30756: sqliteman-Portfile.diff
File sqliteman-Portfile.diff, 1.8 KB (added by tvb377@…, 13 years ago) |
---|
-
Portfile
old new 6 6 7 7 name sqliteman 8 8 version 1.2.2 9 revision 1 9 10 description GUI tool for Sqlite3 10 11 long_description The best developer's and/or admin's GUI tool for Sqlite3 in the world. \ 11 12 No joking here (or just a bit only) - it contains the most complete \ … … 24 25 25 26 use_bzip2 yes 26 27 27 depends_build-append port:cmake 28 depends_build-append port:cmake port:makeicns 28 29 29 30 depends_lib-append port:sqlite3 \ 30 31 port:qscintilla … … 34 35 35 36 configure.cmd cmake 36 37 configure.pre_args \ 37 -DCMAKE_INSTALL_PREFIX=${ prefix}\38 -DCMAKE_INSTALL_PREFIX=${applications_dir}/sqliteman.app/Contents/Resources \ 38 39 -DQSCINTILLA_INCLUDE_DIR:PATH=${qt_includes_dir}/Qsci 39 40 configure.args ${qt_cmake_defines} 41 42 # create app bundle 43 pre-destroot { 44 file mkdir -p ${destroot}${applications_dir}/sqliteman.app/Contents/Resources 45 file mkdir -p ${destroot}${applications_dir}/sqliteman.app/Contents/MacOS 46 file copy ${filespath}/PkgInfo ${destroot}${applications_dir}/sqliteman.app/Contents 47 file copy ${filespath}/Info.plist ${destroot}${applications_dir}/sqliteman.app/Contents 48 system "makeicns -in ${worksrcpath}/sqliteman/icons/sqliteman.png \ 49 -out ${destroot}${applications_dir}/sqliteman.app/Contents/Resources/sqliteman.icns" 50 } 51 52 # move binary into place 53 post-destroot { 54 file rename ${destroot}${applications_dir}/sqliteman.app/Contents/Resources/bin/sqliteman \ 55 ${destroot}${applications_dir}/sqliteman.app/Contents/MacOS 56 file delete ${destroot}${applications_dir}/sqliteman.app/Contents/Resources/bin 57 }