summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/libcdio/DESCR7
-rw-r--r--misc/libcdio/Makefile20
-rw-r--r--misc/libcdio/PLIST24
-rw-r--r--misc/libcdio/buildlink2.mk21
-rw-r--r--misc/libcdio/buildlink3.mk18
-rw-r--r--misc/libcdio/distinfo4
6 files changed, 94 insertions, 0 deletions
diff --git a/misc/libcdio/DESCR b/misc/libcdio/DESCR
new file mode 100644
index 00000000000..668934553e3
--- /dev/null
+++ b/misc/libcdio/DESCR
@@ -0,0 +1,7 @@
+This library is to encapsulate CD-ROM reading and
+control. Applications wishing to be oblivious of the OS- and
+device-dependant properties of a CD-ROM can use this library.
+
+Some support for disk image types like BIN/CUE and NRG is available,
+so applications that use this library also have the ability to read
+disc images as though they were CD's.
diff --git a/misc/libcdio/Makefile b/misc/libcdio/Makefile
new file mode 100644
index 00000000000..134ccd75826
--- /dev/null
+++ b/misc/libcdio/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/17 14:38:22 recht Exp $
+#
+
+DISTNAME= libcdio-0.65
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/libcdio/
+COMMENT= CD-ROM access library
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libcdio.pc.in
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libiso9660.pc.in
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/libcdio/PLIST b/misc/libcdio/PLIST
new file mode 100644
index 00000000000..78ad6055318
--- /dev/null
+++ b/misc/libcdio/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/17 14:38:22 recht Exp $
+include/cdio/cd_types.h
+include/cdio/cdio.h
+include/cdio/iso9660.h
+include/cdio/logging.h
+include/cdio/sector.h
+include/cdio/types.h
+include/cdio/util.h
+include/cdio/version.h
+include/cdio/xa.h
+info/libcdio.info
+lib/libcdio.a
+lib/libcdio.la
+lib/libcdio.so
+lib/libcdio.so.0
+lib/libcdio.so.0.0
+lib/libiso9660.a
+lib/libiso9660.la
+lib/libiso9660.so
+lib/libiso9660.so.0
+lib/libiso9660.so.0.0
+lib/pkgconfig/libcdio.pc
+lib/pkgconfig/libiso9660.pc
+@dirrm include/cdio
diff --git a/misc/libcdio/buildlink2.mk b/misc/libcdio/buildlink2.mk
new file mode 100644
index 00000000000..d82335b717b
--- /dev/null
+++ b/misc/libcdio/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/17 14:38:22 recht Exp $
+#
+
+.if !defined(LIBCDIO_BUILDLINK2_MK)
+LIBCDIO_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libcdio
+BUILDLINK_DEPENDS.libcdio?= libcdio>=0.65
+BUILDLINK_PKGSRCDIR.libcdio?= ../../misc/libcdio.work
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libcdio=libcdio
+BUILDLINK_PREFIX.libcdio_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libcdio+= include/cdio/*.h
+BUILDLINK_FILES.libcdio+= lib/libcdio.*
+BUILDLINK_FILES.libcdio+= lib/libiso9660.*
+
+BUILDLINK_TARGETS+= libcdio-buildlink
+
+libcdio-buildlink: _BUILDLINK_USE
+
+.endif # LIBCDIO_BUILDLINK2_MK
diff --git a/misc/libcdio/buildlink3.mk b/misc/libcdio/buildlink3.mk
new file mode 100644
index 00000000000..02ac510dc93
--- /dev/null
+++ b/misc/libcdio/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/01/17 14:38:22 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBCDIO_BUILDLINK3_MK:= ${LIBCDIO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libcdio
+.endif
+
+.if !empty(LIBCDIO_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libcdio
+BUILDLINK_DEPENDS.libcdio?= libcdio>=0.65
+BUILDLINK_PKGSRCDIR.libcdio?= ../../misc/libcdio.work
+
+.endif # LIBCDIO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/misc/libcdio/distinfo b/misc/libcdio/distinfo
new file mode 100644
index 00000000000..4435a268a2b
--- /dev/null
+++ b/misc/libcdio/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/17 14:38:22 recht Exp $
+
+SHA1 (libcdio-0.65.tar.gz) = 1e1979e8cff107325722aafda7c510ef66b195f2
+Size (libcdio-0.65.tar.gz) = 1170863 bytes