diff --git a/audio/libsndfile/Portfile b/audio/libsndfile/Portfile
index d3dd8cb6b0..9d9d2d1f45 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name libsndfile |
6 | | version 1.0.26 |
| 6 | version 1.0.27 |
7 | 7 | categories audio |
8 | 8 | maintainers stare.cz:hans |
9 | 9 | platforms darwin |
10 | 10 | |
11 | | description libsndfile is a C library for reading and writing files \ |
12 | | containing sampled sound (such as MS Windows WAV and the \ |
13 | | Apple/SGI AIFF format) through one standard library \ |
14 | | interface. |
| 11 | description a C library for reading and writing files containing \ |
| 12 | sampled sound through one standard library interface. |
15 | 13 | long_description ${description} |
16 | 14 | license LGPL-2.1+ |
17 | | homepage http://www.mega-nerd.com/libsndfile/ |
18 | 15 | |
19 | 16 | depends_build port:pkgconfig |
20 | | |
21 | 17 | depends_lib port:flac port:libogg port:libvorbis |
22 | 18 | |
| 19 | homepage http://www.mega-nerd.com/libsndfile/ |
23 | 20 | master_sites ${homepage}files/ |
24 | | |
25 | | checksums rmd160 e521b70af27b0a1bd6aebee3b46806d66aac230a \ |
26 | | sha256 cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092 |
27 | | |
28 | | patchfiles carbon.patch speex.patch |
| 21 | checksums \ |
| 22 | rmd160 df7b8931cb96faa815add7abc43b482fb62ebf67 \ |
| 23 | sha256 a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0 |
29 | 24 | |
30 | 25 | configure.args \ |
31 | 26 | --disable-alsa \ |
32 | 27 | --disable-octave \ |
33 | 28 | --disable-silent-rules \ |
34 | 29 | --disable-sqlite \ |
| 30 | --disable-test-coverage \ |
35 | 31 | --enable-external-libs |
36 | 32 | |
37 | | post-configure { |
38 | | # https://trac.macports.org/changeset/42762 |
39 | | # http://www.mega-nerd.com/libsndfile/FAQ.html#Q018 |
40 | | system "ed - ${worksrcpath}/src/config.h < ${filespath}/config.h.ed" |
41 | | } |
42 | | |
43 | | if {[variant_isset no_external_libs]} { |
44 | | depends_build-delete port:pkgconfig |
45 | | } |
46 | | |
47 | | variant no_external_libs description {Disable support for FLAC, Ogg and Vorbis} { |
| 33 | variant no_external_libs description {Disable FLAC, Ogg and Vorbis support} { |
| 34 | depends_build-delete port:pkgconfig |
48 | 35 | depends_lib-delete port:flac port:libogg port:libvorbis |
49 | | |
50 | 36 | configure.args-append --disable-external-libs |
51 | 37 | configure.args-delete --enable-external-libs |
52 | 38 | } |
… |
… |
variant no_external_libs description {Disable support for FLAC, Ogg and Vorbis} |
54 | 40 | variant octave description {Enable support for Octave} { |
55 | 41 | depends_build-append port:gsed |
56 | 42 | depends_lib-append path:bin/octave:octave |
57 | | |
58 | 43 | configure.args-append --enable-octave |
59 | 44 | configure.args-delete --disable-octave |
60 | 45 | } |