[117651] trunk/dports/editors/frescobaldi
ryandesign at macports.org
ryandesign at macports.org
Thu Mar 6 18:53:56 PST 2014
Revision: 117651
https://trac.macports.org/changeset/117651
Author: ryandesign at macports.org
Date: 2014-03-06 18:53:56 -0800 (Thu, 06 Mar 2014)
Log Message:
-----------
frescobaldi: update to 2.0.14 (#42745)
Modified Paths:
--------------
trunk/dports/editors/frescobaldi/Portfile
Removed Paths:
-------------
trunk/dports/editors/frescobaldi/files/
Modified: trunk/dports/editors/frescobaldi/Portfile
===================================================================
--- trunk/dports/editors/frescobaldi/Portfile 2014-03-07 02:34:45 UTC (rev 117650)
+++ trunk/dports/editors/frescobaldi/Portfile 2014-03-07 02:53:56 UTC (rev 117651)
@@ -5,24 +5,24 @@
PortGroup python 1.0
PortGroup github 1.0
-github.setup wbsoft frescobaldi 2.0.13 v
+github.setup wbsoft frescobaldi 2.0.14 v
conflicts frescobaldi-devel
categories editors python
maintainers gmail.com:davide.liessi openmaintainer
description A LilyPond sheet music text editor
-long_description Frescobaldi is a LilyPond sheet music text editor. \
- It aims to be powerful, yet lightweight and easy to use.
+long_description Frescobaldi is an advanced text editor \
+ to edit LilyPond sheet music files. \
+ Features include an integrated PDF preview \
+ and a powerful Score Wizard.
homepage http://www.frescobaldi.org/
platforms darwin
supported_archs noarch
license GPL-2+
-checksums rmd160 bf385c596e26e0c15b994b7b6bd4122711c5b9c4 \
- sha256 5b272a65a329fe32d986edb28afb6a7361773ff895b13f26e3207ab268e9b955
+checksums rmd160 2d1a18d3137e1e8cead8736dfc02984b3bfef6e3 \
+ sha256 97e2582e14d565222bfe11cb677f81a67176ac96309c750d0c8f42f6ce1102f9
subport frescobaldi-devel {
- github.setup wbsoft frescobaldi 0cfa5eac4cdbe6136035cb3d2f9d5edf8f03d467
-
# github.setup also sets 'name frescobaldi', overriding the subport name.
# With 'name ${subport}', `port lint frescobaldi-devel` gives the following error:
# 'Error: Portfile directory frescobaldi does not match port name frescobaldi-devel'.
@@ -32,15 +32,10 @@
set PortInfo(name) ${subport}
conflicts frescobaldi
- version 20140211
+ version 20140306
set dev_version 2.0.14
-
- checksums rmd160 640169b560cea175aa4d8d260dcb324948d65fb3 \
- sha256 79cfea2e2c43dd6a3e752eeeab1142d8ff186798662057d27c2f46c94a255682
}
-build {}
-
depends_run-append port:portmidi
variant python26 conflicts python27 description {Use Python 2.6} {
@@ -64,6 +59,19 @@
}
default_variants +app
+build {
+ if {[variant_isset app]} {
+ if {${name} eq ${subport}} {
+ set bundle_version ${version}
+ } else {
+ set bundle_version ${dev_version}-dev-${version}
+ }
+
+ system -W ${worksrcpath} "${prefix}/bin/python${python.branch} \
+ macosx/mac-app.py -f -v ${bundle_version} -s ${prefix}/bin/frescobaldi"
+ }
+}
+
post-destroot {
set share_destroot ${destroot}${prefix}/share
set share_python ${python.prefix}/share
@@ -90,28 +98,7 @@
${doc_dir}
if {[variant_isset app]} {
- if {${name} eq ${subport}} {
- set bundle_version ${version}
- } else {
- set bundle_version ${dev_version}-dev-${version}
- }
-
- xinstall -m 644 -W ${filespath} mac-app.py ${workpath}
- reinplace "s|%%VERSION%%|${bundle_version}|g" ${workpath}/mac-app.py
- reinplace "s|%%PREFIX%%|${prefix}|g" ${workpath}/mac-app.py
-
- system "cd ${workpath} && ${prefix}/bin/python${python.branch} mac-app.py py2app"
-
- set app_resources ${workpath}/dist/Frescobaldi.app/Contents/Resources
- xinstall -m 644 -W ${worksrcpath}/macosx/icons frescobaldi.icns ${app_resources}
-
- foreach l {cs de en es fr gl it nl pl pt ru tr uk} {
- set app_lproj ${app_resources}/${l}.lproj
- xinstall -d ${app_lproj}
- xinstall -m 644 -W ${filespath} InfoPlist.strings ${app_lproj}
- }
-
- file copy ${workpath}/dist/Frescobaldi.app ${destroot}${applications_dir}
+ file copy ${worksrcpath}/dist/Frescobaldi.app ${destroot}${applications_dir}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140306/be839769/attachment.html>
More information about the macports-changes
mailing list