# -*- 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

PortSystem      1.0

name            libcddb
version         1.3.2
revision        2
categories      devel
license         LGPL
maintainers     nomaintainer
description     library to access data on a CDDB server
long_description \
    Libcddb is a C library to access data on a CDDB server \
    (freedb.org). It allows you to search the database for \
    possible CD matches, retrieve detailed information about \
    a specific CD, and submit new CD entries to the database.
homepage        https://libcddb.sourceforge.net

depends_lib     port:libiconv

master_sites    sourceforge:project/libcddb/libcddb/${version}

checksums       rmd160  e38ed8c7dd5a9b4a5b2a1772a9e98f914872c397 \
                sha256  35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b \
                size    352909

use_bzip2       yes

patchfiles      patch-fix-log-headers.diff

configure.args  --without-cdio

test.run        yes
test.target     check
