From ab885c68d45ffd842196ff45cea031166ab135b3 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 1 Mar 2004 19:16:24 +0000 Subject: Add libcddb, a library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (http://freedb.org). It tries to be as cross-platform as possible. The initial libary will have a C API. PR: ports/63576 Submitted by: michael johnson --- audio/libcddb/Makefile | 27 +++++++++++++++++++++++++++ audio/libcddb/distinfo | 2 ++ audio/libcddb/files/cddb.h-systypes-patch | 11 +++++++++++ audio/libcddb/files/cddb_ni.h-systypes-patch | 10 ++++++++++ audio/libcddb/pkg-descr | 6 ++++++ audio/libcddb/pkg-plist | 14 ++++++++++++++ 6 files changed, 70 insertions(+) create mode 100644 audio/libcddb/Makefile create mode 100644 audio/libcddb/distinfo create mode 100644 audio/libcddb/files/cddb.h-systypes-patch create mode 100644 audio/libcddb/files/cddb_ni.h-systypes-patch create mode 100644 audio/libcddb/pkg-descr create mode 100644 audio/libcddb/pkg-plist (limited to 'audio/libcddb') diff --git a/audio/libcddb/Makefile b/audio/libcddb/Makefile new file mode 100644 index 000000000000..681a565ad7eb --- /dev/null +++ b/audio/libcddb/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: libcddb +# Date created: Mon Mar 1 00:48:58 EST 2004 +# Whom: Michael Johnson +# +# $FreeBSD$ + +PORTNAME= libcddb +PORTVERSION= 0.9.4 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ahze@ahze.net +COMMENT= A library to access data on a CDDB server + +USE_LIBTOOL= yes +USE_GNOME= gnomehack pkgconfig +INSTALL_SHLIBS= yes + +.include + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES+= ${PATCHDIR}/cddb.h-systypes-patch \ + ${PATCHDIR}/cddb_ni.h-systypes-patch +.endif + +.include diff --git a/audio/libcddb/distinfo b/audio/libcddb/distinfo new file mode 100644 index 000000000000..706aa943db30 --- /dev/null +++ b/audio/libcddb/distinfo @@ -0,0 +1,2 @@ +MD5 (libcddb-0.9.4.tar.gz) = 366095f09e1d89d91915a2dd7c7c1478 +SIZE (libcddb-0.9.4.tar.gz) = 272751 diff --git a/audio/libcddb/files/cddb.h-systypes-patch b/audio/libcddb/files/cddb.h-systypes-patch new file mode 100644 index 000000000000..1426f6c5be72 --- /dev/null +++ b/audio/libcddb/files/cddb.h-systypes-patch @@ -0,0 +1,11 @@ +--- include/cddb/cddb.h.orig Mon Mar 1 04:22:27 2004 ++++ include/cddb/cddb.h Mon Mar 1 04:22:47 2004 +@@ -26,7 +26,7 @@ + extern "C" { + #endif + +- ++#include + #include + #include + #include diff --git a/audio/libcddb/files/cddb_ni.h-systypes-patch b/audio/libcddb/files/cddb_ni.h-systypes-patch new file mode 100644 index 000000000000..60e7c02643b3 --- /dev/null +++ b/audio/libcddb/files/cddb_ni.h-systypes-patch @@ -0,0 +1,10 @@ +--- include/cddb/cddb_ni.h.orig Mon Mar 1 04:28:02 2004 ++++ include/cddb/cddb_ni.h Mon Mar 1 04:28:16 2004 +@@ -18,6 +18,7 @@ + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + */ ++#include + + #ifndef CDDB_NI_H + #define CDDB_NI_H 1 diff --git a/audio/libcddb/pkg-descr b/audio/libcddb/pkg-descr new file mode 100644 index 000000000000..0d5f1d2edd29 --- /dev/null +++ b/audio/libcddb/pkg-descr @@ -0,0 +1,6 @@ +Libcddb is a library that implements the different protocols (CDDBP, +HTTP, SMTP) to access data on a CDDB server (http://freedb.org). It +tries to be as cross-platform as possible. The initial libary will +have a C API. + +WWW: http://libcddb.sourceforge.net/ diff --git a/audio/libcddb/pkg-plist b/audio/libcddb/pkg-plist new file mode 100644 index 000000000000..e9c6fe57fea8 --- /dev/null +++ b/audio/libcddb/pkg-plist @@ -0,0 +1,14 @@ +bin/cddb_query +include/cddb/cddb.h +include/cddb/cddb_cmd.h +include/cddb/cddb_conn.h +include/cddb/cddb_disc.h +include/cddb/cddb_error.h +include/cddb/cddb_log.h +include/cddb/cddb_track.h +lib/libcddb.a +lib/libcddb.la +lib/libcddb.so +lib/libcddb.so.1 +libdata/pkgconfig/libcddb.pc +@dirrm include/cddb -- cgit v1.2.3