Ticket #50039: Portfile

File Portfile, 1.4 KB (added by rbubley, 8 years ago)

Portfile

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$
3
4PortSystem          1.0
5
6name                libav
7version             11.4
8categories          multimedia
9platforms           darwin
10license             LGPL-2.1+
11maintainers         nomaintainer
12description         Library for dealing with multimedia formats
13long_description    Libav provides cross-platform tools and libraries to \
14                    convert, manipulate and stream a wide range of multimedia \
15                    formats and protocols.
16homepage            https://libav.org/
17master_sites        https://libav.org/releases/
18
19checksums           rmd160  6a8144fdf47c70a04a4617623b5332af5e995733 \
20                    sha256  ce416632d4b62fbd1a667c4cbbd484eb5b5f058e15c5900fbec175d8b6865047
21
22depends_lib         port:zlib \
23                    port:xorg-libX11 \
24                    port:bzip2
25
26configure.args      --disable-debug
27
28livecheck.type     regex
29livecheck.url       ${master_sites}
30livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
31variant gpl2 description {Enable GPL code, license will be GPL-2+} {
32    configure.args-append   --enable-gpl
33    license                 GPL-2+
34}
35variant nonfree description {enable nonfree code, libraries and binaries will not be redistributable} {
36    configure.args-append   --enable-nonfree
37    license                 Restrictive
38}