Files

53 lines
1.6 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup muniversal 1.0
name libvorbis
version 1.3.7
revision 0
categories audio
license BSD
maintainers nomaintainer
description The Vorbis General Audio Compression Codec
long_description \
Ogg Vorbis is a fully open, non-proprietary, \
patent-and-royalty-free, general-purpose compressed audio format for \
audio and music at fixed and variable bitrates from 16 to 128 \
kbps/channel.
homepage https://xiph.org/vorbis/
master_sites https://ftp.osuosl.org/pub/xiph/releases/vorbis/
depends_lib port:libogg
checksums rmd160 dc894b201bcf253c54b3e8468c656987ea9f97c8 \
sha256 0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab \
size 1658963
patchfiles configure.patch \
docdir.patch
configure.args --disable-oggtest \
--disable-silent-rules
array set merger_configure_cflags {
ppc -force_cpusubtype_ALL
ppc64 -force_cpusubtype_ALL
}
if {(!${universal_possible} || ![variant_isset universal]) && [info exists merger_configure_cflags(${configure.build_arch})]} {
configure.cflags-append {*}$merger_configure_cflags(${configure.build_arch})
}
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING \
${destroot}${docdir}
}
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)