# $Id$ PortSystem 1.0 name cd-discid version 1.1 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 md5 04cb368e3f1ce17e656ac6691ca0b687 \ sha1 74cedeb2c5bf4f3248af249c0ff344ea9d713d1a \ rmd160 4fe4e53103565a01d1dc2dffcc9d43b4b1ea6565 patchfiles patch-Makefile post-patch { reinplace "s/@VERSION@/${version}/g" ${worksrcpath}/Makefile } use_configure no build.env CC=${configure.cc} destroot.destdir prefix=${destroot}${prefix} universal_variant no platform macosx { patchfiles-append patch-cd-discid.c.diff } livecheck.type regex livecheck.regex ${name}-(\[0-9.\]+)\\.tar