# -*- 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: Portfile 108935 2013-08-04 20:59:04Z ecronin@macports.org $

PortSystem 1.0

name            lsdvd
version         0.16
set long_vers   ${version}%20-%20I%20hate%20James%20Blunt
revision        2
categories      sysutils multimedia
license         GPL-2
maintainers     ecronin openmaintainer
platforms       darwin
description     lsdvd is a console application that displays the \
                content of a dvd.
long_description \
                lsdvd is a console application that displays the \
                content of a dvd. It provides output about the \
                types of video and audio tracks, subtitles etc... \
                output is available in a number of formats including \
                human readable, perl, ruby or xml.
homepage        http://sourceforge.net/projects/lsdvd/
master_sites    sourceforge:project/lsdvd/lsdvd/${long_vers}
checksums       md5  340e1abe5c5e5abf7ff8031e78f49ee7 \
                sha1 d5c0d32bfb220807ebdc0bfbb17679e7294791f4 \
                rmd160 fcd0993aea6ad2203c8be019ec31ba7c8660ca25
livecheck.url   http://sourceforge.net/projects/lsdvd/files/
livecheck.type  regex
livecheck.regex Download ${name}-(\[0-9.\]*)${extract.suffix}
patchfiles      patch-configure.diff patch-lsdvd_c.diff
depends_lib     port:libdvdread
configure.args  --mandir=${prefix}/share/man
