source: trunk/dports/audio/libsndfile/Portfile @ 51058

Last change on this file since 51058 was 51058, checked in by perry@…, 11 years ago

audio/libsndfile - Updated to 1.0.20.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[20220]1# $Id: Portfile 51058 2009-05-17 03:11:25Z perry@macports.org $
[2122]2
[48093]3PortSystem          1.0
[31173]4
[48093]5name                libsndfile
[51058]6version             1.0.20
7revision            0
[48093]8categories          audio
9maintainers         perry
10platforms           darwin
[48085]11
[48093]12description         libsndfile is a C library for reading and writing files \
13                    containing sampled sound (such as MS Windows WAV and the \
14                    Apple/SGI AIFF format) through one standard library interface.
15long_description    ${description}
16homepage            http://www.mega-nerd.com/libsndfile/
17
[48101]18depends_build       port:pkgconfig
19depends_lib         port:flac port:libogg port:libvorbis
20
[48093]21master_sites        ${homepage}
22
[51058]23checksums           rmd160 873802efaa3f1e3303167fe1b7302fe2ab4cbd59
[48093]24
[49103]25configure.args \
26    --disable-alsa --disable-octave --disable-sqlite --enable-external-libs
[48093]27
[42762]28post-configure {
[48093]29    system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
[42762]30}
31
[48101]32if {[variant_isset no_external_libs] && ![variant_isset sqlite]} {
33    depends_build-delete port:pkgconfig
[48095]34}
[48093]35
[48101]36variant no_external_libs description {Disable support for FLAC, Ogg and Vorbis} {
37    depends_lib-delete port:flac port:libogg port:libvorbis
[48095]38
[48101]39    configure.args-append --disable-external-libs
40    configure.args-delete --enable-external-libs
[48095]41}
42
[49103]43variant octave description {Enable support for GNU Octave} {
44    depends_build-append port:gsed
45    depends_lib-append   port:octave
46
47    configure.args-append --enable-octave
48    configure.args-delete --disable-octave
49}
50
[48095]51variant sqlite description {Enable support for SQLite} {
52    depends_lib-append port:sqlite3
53
[48093]54    configure.args-append --enable-sqlite
55    configure.args-delete --disable-sqlite
[31173]56}
Note: See TracBrowser for help on using the repository browser.