Changeset 117651


Ignore:
Timestamp:
Mar 7, 2014, 2:53:56 AM (7 years ago)
Author:
ryandesign@…
Message:

frescobaldi: update to 2.0.14 (#42745)

Location:
trunk/dports/editors/frescobaldi
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/frescobaldi/Portfile

    r117117 r117651  
    66PortGroup           github 1.0
    77
    8 github.setup        wbsoft frescobaldi 2.0.13 v
     8github.setup        wbsoft frescobaldi 2.0.14 v
    99conflicts           frescobaldi-devel
    1010categories          editors python
    1111maintainers         gmail.com:davide.liessi openmaintainer
    1212description         A LilyPond sheet music text editor
    13 long_description    Frescobaldi is a LilyPond sheet music text editor. \
    14                     It aims to be powerful, yet lightweight and easy to use.
     13long_description    Frescobaldi is an advanced text editor \
     14                    to edit LilyPond sheet music files. \
     15                    Features include an integrated PDF preview \
     16                    and a powerful Score Wizard.
    1517homepage            http://www.frescobaldi.org/
    1618platforms           darwin
     
    1820license             GPL-2+
    1921
    20 checksums           rmd160  bf385c596e26e0c15b994b7b6bd4122711c5b9c4 \
    21                     sha256  5b272a65a329fe32d986edb28afb6a7361773ff895b13f26e3207ab268e9b955
     22checksums           rmd160  2d1a18d3137e1e8cead8736dfc02984b3bfef6e3 \
     23                    sha256  97e2582e14d565222bfe11cb677f81a67176ac96309c750d0c8f42f6ce1102f9
    2224
    2325subport frescobaldi-devel {
    24     github.setup        wbsoft frescobaldi 0cfa5eac4cdbe6136035cb3d2f9d5edf8f03d467
    25 
    2626    # github.setup also sets 'name frescobaldi', overriding the subport name.
    2727    # With 'name ${subport}', `port lint frescobaldi-devel` gives the following error:
     
    3333
    3434    conflicts           frescobaldi
    35     version             20140211
     35    version             20140306
    3636    set dev_version     2.0.14
    37 
    38     checksums           rmd160  640169b560cea175aa4d8d260dcb324948d65fb3 \
    39                         sha256  79cfea2e2c43dd6a3e752eeeab1142d8ff186798662057d27c2f46c94a255682
    4037}
    41 
    42 build {}
    4338
    4439depends_run-append  port:portmidi
     
    6459}
    6560default_variants    +app
     61
     62build {
     63    if {[variant_isset app]} {
     64        if {${name} eq ${subport}} {
     65            set bundle_version    ${version}
     66        } else {
     67            set bundle_version    ${dev_version}-dev-${version}
     68        }
     69
     70        system -W ${worksrcpath} "${prefix}/bin/python${python.branch} \
     71            macosx/mac-app.py -f -v ${bundle_version} -s ${prefix}/bin/frescobaldi"
     72    }
     73}
    6674
    6775post-destroot {
     
    9199
    92100    if {[variant_isset app]} {
    93         if {${name} eq ${subport}} {
    94             set bundle_version    ${version}
    95         } else {
    96             set bundle_version    ${dev_version}-dev-${version}
    97         }
    98 
    99         xinstall -m 644 -W ${filespath} mac-app.py ${workpath}
    100         reinplace "s|%%VERSION%%|${bundle_version}|g" ${workpath}/mac-app.py
    101         reinplace "s|%%PREFIX%%|${prefix}|g" ${workpath}/mac-app.py
    102 
    103         system "cd ${workpath} && ${prefix}/bin/python${python.branch} mac-app.py py2app"
    104 
    105         set app_resources   ${workpath}/dist/Frescobaldi.app/Contents/Resources
    106         xinstall -m 644 -W ${worksrcpath}/macosx/icons frescobaldi.icns ${app_resources}
    107 
    108         foreach l {cs de en es fr gl it nl pl pt ru tr uk} {
    109             set app_lproj ${app_resources}/${l}.lproj
    110             xinstall -d ${app_lproj}
    111             xinstall -m 644 -W ${filespath} InfoPlist.strings ${app_lproj}
    112         }
    113 
    114         file copy ${workpath}/dist/Frescobaldi.app ${destroot}${applications_dir}
     101        file copy ${worksrcpath}/dist/Frescobaldi.app ${destroot}${applications_dir}
    115102    }
    116103}
Note: See TracChangeset for help on using the changeset viewer.