# -*- 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 # $Id$ PortSystem 1.0 name mp4v2 conflicts mp4v2-devel version 1.9.1 revision 2 categories multimedia maintainers gmail.com:cedric.luthi description Read, create, and modify mp4 files. long_description The mp4v2 library provides an API to create and modify mp4 \ files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. \ mp4v2 used to be part of the mpeg4ip library. homepage http://code.google.com/p/mp4v2/ platforms darwin master_sites googlecode checksums md5 986701929ef15b03155ac4fb16444797 \ sha1 c62d00e99b65efce16accd83c501fb8a57206aa8 \ rmd160 66aed17925589b49ec3b1241bfcb45a8e3181c08 depends_build port:help2man use_bzip2 yes patchfiles mp4v2-1.9.1-libversion.patch # TODO: This project has buggy C++ which clang rejects # http://trac.macports.org/ticket/31547 compiler.blacklist clang platform darwin { if {${os.major} >= 13} { # This project needs to be updated to build with clang++ against libc++ depends_lib depends_run pre-fetch { ui_error "$name does not build on Mavericks or later." error "unsupported platform" } } } variant universal { configure.args-append --disable-gch } livecheck.type regex livecheck.url http://code.google.com/p/mp4v2/downloads/list livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"