source: trunk/dports/audio/solfege/Portfile

Last change on this file was 138168, checked in by cal@…, 2 years ago

solfege: update to 3.22.2, closes #42998

Depend on librsvg, because gdk-pixbuf2 needs that to load solfege's SVG icon
but adding it as a dependency in gdk-pixbuf2 would cause a cyclic dependency.

Additionally, patch solfege's build system to avoid using the GNU cp feature
--parents.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 138168 2015-06-30 22:28:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                solfege
7version             3.22.2
8checksums           rmd160  35f3a7adbf30c95552e9f62ca8bc06d8f3f71065 \
9                    sha256  e46a0960c83e4998d9dcf7bb07b8269e03fc81fab6c4485f8112c5a3e6488fe4
10
11categories          audio education python
12maintainers         gmail.com:allencmcbride
13description         Ear training software
14license             GPL-3
15homepage            http://www.solfege.org/
16long_description    Solfege is a free eartraining program. The program is part \
17                    of the GNU Project. One of the ideas of this program is \
18                    that you can extend the program without having to dig into \
19                    the source code. If you want to practise some special \
20                    chords or want to practise dictation with some music not \
21                    included, you can write lesson files and put them into a \
22                    lessonfiles subdirectory in your home directory.
23
24platforms           darwin
25supported_archs     noarch
26
27# Solfege fails to load its icon without librsvg; it should be a dependency of
28# gdk-pixbuf2, but can't be because it would create a cycle. Add it here
29# instead.
30depends_lib         port:py27-pygtk \
31                    port:librsvg
32
33depends_build       port:texinfo \
34                    port:pkgconfig
35depends_run         port:qtplay
36
37master_sites        sourceforge:project/solfege/solfege-stable/${version} \
38                    gnu
39
40patchfiles          patch-default-config.diff \
41                    patch-Makefile.in-avoid-cp-parents.diff
42
43post-patch {
44    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/default.config
45}
46
47configure.python    ${prefix}/bin/python2.7
48configure.pkg_config_path   ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig/
49
50livecheck.type      regex
51livecheck.url       http://sourceforge.net/projects/${name}/files/
52livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.