source: trunk/dports/multimedia/XviD/Portfile

Last change on this file was 140301, checked in by devans@…, 23 months ago

XviD: update to version 1.3.4, homepage.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- 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
2# $Id: Portfile 140301 2015-09-16 19:03:25Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6# The configure script checks endianness and bitness.
7PortGroup           muniversal 1.0
8
9name                XviD
10version             1.3.4
11categories          multimedia devel
12platforms           darwin sunos
13maintainers         nomaintainer
14license             GPL-2+
15
16description         High performance and high quality MPEG-4 video library
17
18long_description    The Xvid video codec implements MPEG-4 Simple Profile and Advanced \
19                    Simple Profile standards. It permits compressing and decompressing \
20                    digital video in order to reduce the required bandwidth of video \
21                    data for transmission over computer networks or efficient storage on \
22                    CDs or DVDs. Due to its unrivalled quality Xvid has gained great \
23                    popularity and is used in many other GPLed applications, like e.g. \
24                    Transcode, MEncoder, MPlayer, Xine and many more.
25
26homepage            https://labs.xvid.com/
27master_sites        http://downloads.xvid.org/downloads/
28distname            xvidcore-${version}
29use_bzip2           yes
30
31checksums           rmd160  5a7c902163f5d268c8aa69037b75f744d4f22aa6 \
32                    sha256  5faf6380b828db8ad29f0b69f030edf86d0fe26d1f9c5427030c6accd3ad8bf7
33
34worksrcdir          xvidcore/build/generic
35
36patchfiles          patch-Makefile.diff \
37                    patch-CFLAGS.diff
38
39use_autoreconf      yes
40
41configure.universal_args-delete --disable-dependency-tracking
42
43set my_targets(ppc)     powerpc
44set my_targets(ppc64)   powerpc
45set my_targets(i386)    i386
46set my_targets(x86_64)  x86_64
47
48platform darwin {
49    if {[variant_isset universal]} {
50        foreach arch ${configure.universal_archs} {
51            set merger_configure_args(${arch}) --build=$my_targets(${arch})-apple-darwin${os.major}
52        }
53    } else {
54        if {[info exists my_targets(${configure.build_arch})]} {
55            configure.args-append --build=$my_targets(${configure.build_arch})-apple-darwin${os.major}
56        }
57    }
58}
59
60platform darwin i386 {
61    configure.args-append --disable-assembly
62}
63
64build.args          V=1
65destroot.args       V=1
66
67post-destroot {
68    set docdir ${prefix}/share/doc/${name}
69    xinstall -d ${destroot}${docdir}
70    xinstall -m 0644 -W ${worksrcpath}/../.. AUTHORS ChangeLog LICENSE TODO \
71        ${destroot}${docdir}
72}
73
74use_parallel_build  no
75
76livecheck.type      regex
77livecheck.url       ${homepage}Downloads.43.0.html
78livecheck.regex     xvidcore-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.