summaryrefslogtreecommitdiff
path: root/audio/libcddb
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libcddb')
-rw-r--r--audio/libcddb/DESCR4
-rw-r--r--audio/libcddb/Makefile20
-rw-r--r--audio/libcddb/PLIST16
-rw-r--r--audio/libcddb/buildlink2.mk22
-rw-r--r--audio/libcddb/buildlink3.mk20
-rw-r--r--audio/libcddb/distinfo4
6 files changed, 86 insertions, 0 deletions
diff --git a/audio/libcddb/DESCR b/audio/libcddb/DESCR
new file mode 100644
index 00000000000..24bb4174af2
--- /dev/null
+++ b/audio/libcddb/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/audio/libcddb/Makefile b/audio/libcddb/Makefile
new file mode 100644
index 00000000000..fbc5d5b0373
--- /dev/null
+++ b/audio/libcddb/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/17 15:25:37 recht Exp $
+#
+
+DISTNAME= libcddb-0.9.4
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libcddb/}
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://libcddb.sourceforge.net/
+COMMENT= Library to access data on a CDDB server
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libcddb.pc.in
+GNU_CONFIGURE= yes
+
+.include "../../misc/libcdio/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libcddb/PLIST b/audio/libcddb/PLIST
new file mode 100644
index 00000000000..46548f90ea0
--- /dev/null
+++ b/audio/libcddb/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/17 15:25:39 recht Exp $
+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
+lib/libcddb.so.1.0
+lib/pkgconfig/libcddb.pc
+@dirrm include/cddb
diff --git a/audio/libcddb/buildlink2.mk b/audio/libcddb/buildlink2.mk
new file mode 100644
index 00000000000..e9b9fb86137
--- /dev/null
+++ b/audio/libcddb/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/17 15:25:39 recht Exp $
+#
+
+.if !defined(LIBCDDB_BUILDLINK2_MK)
+LIBCDDB_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libcddb
+BUILDLINK_DEPENDS.libcddb?= libcddb>=0.9.4
+BUILDLINK_PKGSRCDIR.libcddb?= ../../audio/libcddb.work
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libcddb=libcddb
+BUILDLINK_PREFIX.libcddb_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libcddb+= include/cddb/*.h
+BUILDLINK_FILES.libcddb+= lib/libcddb.*
+
+.include "../../misc/libcdio/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libcddb-buildlink
+
+libcddb-buildlink: _BUILDLINK_USE
+
+.endif # LIBCDDB_BUILDLINK2_MK
diff --git a/audio/libcddb/buildlink3.mk b/audio/libcddb/buildlink3.mk
new file mode 100644
index 00000000000..87335a18a35
--- /dev/null
+++ b/audio/libcddb/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/01/17 15:25:39 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBCDDB_BUILDLINK3_MK:= ${LIBCDDB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libcddb
+.endif
+
+.if !empty(LIBCDDB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libcddb
+BUILDLINK_DEPENDS.libcddb?= libcddb>=0.9.4
+BUILDLINK_PKGSRCDIR.libcddb?= ../../audio/libcddb.work
+
+.include "../../misc/libcdio/buildlink3.mk"
+
+.endif # LIBCDDB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libcddb/distinfo b/audio/libcddb/distinfo
new file mode 100644
index 00000000000..e01847d8bbc
--- /dev/null
+++ b/audio/libcddb/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/17 15:25:39 recht Exp $
+
+SHA1 (libcddb-0.9.4.tar.gz) = ea64a127bedbf953c7a7a380d15f867a6244f8eb
+Size (libcddb-0.9.4.tar.gz) = 272751 bytes