source: trunk/dports/multimedia/libtheora/Portfile

Last change on this file was 140811, checked in by mcalhoun@…, 2 years ago

libtheora:

  • prevent documentation from being built
  • point to actual executable for fake configuration program
  • 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 140811 2015-10-03 17:34:16Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xcodeversion 1.0
6
7name            libtheora
8epoch           1
9version         1.1.1
10revision        2
11categories      multimedia
12platforms       darwin
13license         BSD
14maintainers     nomaintainer
15description     Xiph.org Foundation's open video codec
16
17long_description \
18    Theora is an open video codec being developed by the \
19    Xiph.org Foundation as part of their Ogg project (It is \
20    a project that aims to integrate On2's VP3 video codec, \
21    Ogg Vorbis audio codec and Ogg multimedia container \
22    formats into a multimedia solution that can compete \
23    with MPEG-4 format).
24
25homepage        http://www.theora.org/
26master_sites    http://downloads.xiph.org/releases/theora/
27use_bzip2       yes
28
29checksums           md5     292ab65cedd5021d6b7ddd117e07cd8e \
30                    sha1    8dcaa8e61cd86eb1244467c0b64b9ddac04ae262 \
31                    rmd160  1d07234bd7e2296c61d6e30fe9816415aa7fd8e5
32
33depends_build   port:pkgconfig
34depends_lib     port:libvorbis
35
36patchfiles      patch-configure.diff \
37                patch-docdir.diff
38
39configure.env   SDL_CONFIG=/usr/bin/false \
40                HAVE_PDFLATEX=no          \
41                HAVE_DOXYGEN=no           \
42                HAVE_BIBTEX=no            \
43                HAVE_TRANSFIG=no
44
45configure.args  --disable-oggtest \
46                --disable-vorbistest \
47                --disable-examples \
48                --disable-asm
49
50minimum_xcodeversions   {8 2.5}
51
52post-destroot {
53    set docdir ${prefix}/share/doc/${name}
54    xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING LICENSE README \
55        ${destroot}${docdir}
56}
57
58test.run        yes
59test.target     check
60
61platform darwin powerpc {
62    # http://trac.macports.org/ticket/13033
63    # http://trac.macports.org/ticket/20141
64    configure.args-delete   --disable-asm
65}
66
67livecheck.type  regex
68livecheck.url   ${master_sites}?C=M&O=D
69livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
70
Note: See TracBrowser for help on using the repository browser.