summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/cdrkit/DESCR7
-rw-r--r--sysutils/cdrkit/Makefile18
-rw-r--r--sysutils/cdrkit/PLIST31
-rw-r--r--sysutils/cdrkit/distinfo8
-rw-r--r--sysutils/cdrkit/patches/patch-aa13
-rw-r--r--sysutils/cdrkit/patches/patch-ab12
-rw-r--r--sysutils/cdrkit/patches/patch-ac9
7 files changed, 98 insertions, 0 deletions
diff --git a/sysutils/cdrkit/DESCR b/sysutils/cdrkit/DESCR
new file mode 100644
index 00000000000..f56630339e9
--- /dev/null
+++ b/sysutils/cdrkit/DESCR
@@ -0,0 +1,7 @@
+cdrkit is a suite of programs for recording CDs and DVDs, blanking
+CD-RW media, creating ISO-9660 filesystem images, extracting audio
+CD data, and more. The programs included in the cdrkit package were
+originally derived from several sources, most notably mkisofs by
+Eric Youngdale and others, cdda2wav by Heiko Eissfeldt, and cdrecord
+by Joerg Schilling. However, cdrkit is not affiliated with any of
+these authors; it is now an independent project.
diff --git a/sysutils/cdrkit/Makefile b/sysutils/cdrkit/Makefile
new file mode 100644
index 00000000000..73b593ddf96
--- /dev/null
+++ b/sysutils/cdrkit/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+#
+
+DISTNAME= cdrkit-1.1.6
+CATEGORIES= sysutils
+MASTER_SITES= http://cdrkit.org/releases/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://cdrkit.org/
+COMMENT= Portable command-line CD/DVD recorder software
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+MAKE_FLAGS+= MANSUBDIR=man
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/cdrkit/PLIST b/sysutils/cdrkit/PLIST
new file mode 100644
index 00000000000..197d02340b8
--- /dev/null
+++ b/sysutils/cdrkit/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+bin/cdda2mp3
+bin/cdda2ogg
+bin/devdump
+bin/dirsplit
+bin/genisoimage
+bin/icedax
+bin/isodebug
+bin/isodump
+bin/isoinfo
+bin/isovfy
+bin/pitchplay
+bin/readmult
+bin/readom
+bin/wodim
+man/man1/cdda2ogg.1
+man/man1/devdump.1
+man/man1/dirsplit.1
+man/man1/genisoimage.1
+man/man1/icedax.1
+man/man1/isodebug.1
+man/man1/isodump.1
+man/man1/isoinfo.1
+man/man1/isovfy.1
+man/man1/list_audio_tracks.1
+man/man1/pitchplay.1
+man/man1/readmult.1
+man/man1/readom.1
+man/man1/wodim.1
+man/man5/genisoimagerc.5
+sbin/netscsid
diff --git a/sysutils/cdrkit/distinfo b/sysutils/cdrkit/distinfo
new file mode 100644
index 00000000000..e4d1a747be2
--- /dev/null
+++ b/sysutils/cdrkit/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+
+SHA1 (cdrkit-1.1.6.tar.gz) = 39fd5f9c500f4f084bd112bc103bed2785a8eb8b
+RMD160 (cdrkit-1.1.6.tar.gz) = e8d322cdef9770c0cdce3fbb9b45a5e904f20d23
+Size (cdrkit-1.1.6.tar.gz) = 1407346 bytes
+SHA1 (patch-aa) = b83c5b64b957db9f2c0b003b2c6088ca9d17aa9a
+SHA1 (patch-ab) = 07e110ec3165c697f80f8fc2dbb104863f2bac97
+SHA1 (patch-ac) = 21d3b2cce56dadd2195897ed0e4c8ab34e9ac884
diff --git a/sysutils/cdrkit/patches/patch-aa b/sysutils/cdrkit/patches/patch-aa
new file mode 100644
index 00000000000..dd77f9c8fe2
--- /dev/null
+++ b/sysutils/cdrkit/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+
+--- genisoimage/genisoimage.c.orig 2007-01-09 09:41:51.000000000 +0000
++++ genisoimage/genisoimage.c
+@@ -1337,7 +1337,7 @@ int main(int argc, char *argv[])
+ longopts[il].name = NULL;
+ }
+
+- while ((c = getopt_long_only(argc, argv, shortopts,
++ while ((c = getopt_long(argc, argv, shortopts,
+ longopts, &longind)) != EOF)
+ switch (c) {
+ case 1:
diff --git a/sysutils/cdrkit/patches/patch-ab b/sysutils/cdrkit/patches/patch-ab
new file mode 100644
index 00000000000..dbca7c10c9b
--- /dev/null
+++ b/sysutils/cdrkit/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+
+--- icedax/CMakeLists.txt.orig 2006-11-30 02:05:00.000000000 +0000
++++ icedax/CMakeLists.txt
+@@ -7,6 +7,7 @@ include(../include/AddNetworkBits.cmake)
+ FIND_FILE (HAVE_SYS_SOUNDCARD_H sys/soundcard.h)
+ IF(HAVE_SYS_SOUNDCARD_H)
+ ADD_DEFINITIONS(-DHAVE_SYS_SOUNDCARD_H)
++ LIST(APPEND EXTRA_LIBS ossaudio)
+ ENDIF(HAVE_SYS_SOUNDCARD_H)
+ FIND_FILE (HAVE_LINUX_SOUNDCARD_H linux/soundcard.h)
+ IF(HAVE_LINUX_SOUNDCARD_H)
diff --git a/sysutils/cdrkit/patches/patch-ac b/sysutils/cdrkit/patches/patch-ac
new file mode 100644
index 00000000000..314df5ee541
--- /dev/null
+++ b/sysutils/cdrkit/patches/patch-ac
@@ -0,0 +1,9 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/07/01 00:26:14 wiz Exp $
+
+--- 3rd-party/dirsplit/CMakeLists.txt.orig 2006-08-24 17:36:32.000000000 +0000
++++ 3rd-party/dirsplit/CMakeLists.txt
+@@ -1,3 +1,3 @@
+ PROJECT (DIRSPLIT)
+ INSTALL(PROGRAMS dirsplit DESTINATION bin)
+-INSTALL(FILES dirsplit.1 DESTINATION share/man/man1)
++INSTALL(FILES dirsplit.1 DESTINATION ${MANSUBDIR}/man1)