Portfile

# $Id: Portfile 23133 2007-03-26 07:25:04Z pguyot@kallisys.net $

PortSystem 1.0
name mkvtoolnix
version 2.0.2
categories multimedia
maintainers pguyot@kallisys.net
description Matroska media files manipulation tools.
long_description mkvtoolnix will evolve to a set of tools to create, \
alter and inspect Matroska files under Linux and other \
Unices, just what the OGMtools do for the OGM format.
homepage http://www.bunkus.org/videotools/mkvtoolnix/
platforms darwin
use_bzip2 yes
master_sites ${homepage}sources/
checksums md5 48b478caef80117b6cd3cd9b06e9f104 \
sha1 6a4b1e62786fb6e5f426fe3a6ddc667034868212 \
rmd160 01ea703dfe6e15f9cf121fa0752d059b01a79c15
depends_lib lib:libmatroska:libmatroska \
lib:libogg:libogg \
lib:libvorbis:libvorbis \
lib:libFLAC:flac \
lib:libexpat:expat \
lib:liblzo:lzo \
port:wxWidgets
configure.args --mandir=${prefix}/share/man \
--with-extra-libs=${prefix}/lib \
--with-extra-includes=${prefix}/include

# livecheck.
livecheck.check regex
livecheck.url http://www.archlinux.org/packages/3992/
livecheck.regex mkvtoolnix (\[0-9.\]+)-\[0-9\]