PortSystem              1.0

name                    cd-discid
version                 1.4
categories              audio
license                 {GPL-2+ Artistic-1}
platforms               darwin
maintainers             nomaintainer

description             read CD and get CDDB discid information

long_description        In order to do CDDB queries over the Internet, you \
                        must know the DiscID of the CD you are querying. \
                        cd-discid provides you with that information. It \
                        outputs the discid, the number of tracks, the frame \
                        offset of all of the tracks, and the total length \
                        of the CD in seconds, on one line in a \
                        space-delimited format. cd-discid was designed as a \
                        backend tool for cdgrab (now abcde) but will work \
                        independantly of it.

homepage                http://linukz.org/cd-discid.shtml
master_sites            http://linukz.org/download/

checksums               rmd160  a63dabd35ca0b1f8114eeca78f79ea2f6b52cd6e \
                        sha256  ffd68cd406309e764be6af4d5cbcc309e132c13f3597c6a4570a1f218edd2c63

patchfiles              patch-Makefile.diff \
                        patch-cd-discid.c.diff \
                        patch-cd-discid.1.diff

use_configure           no

build.env               CC=${configure.cc}

destroot.destdir        PREFIX=${destroot}${prefix}

universal_variant       no

livecheck.type          regex
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
