aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-06 09:10:47 +0800
committeredwin <edwin@FreeBSD.org>2003-04-06 09:10:47 +0800
commit91a67486727ee3fda95f069f0fd229a87f893cba (patch)
tree07d7fbc446e13c6461d9b5afe5b7cf93c3fcb217
parent22023c1765f1f2d7a3609483546482148987aa10 (diff)
downloadfreebsd-ports-gnome-91a67486727ee3fda95f069f0fd229a87f893cba.tar.gz
freebsd-ports-gnome-91a67486727ee3fda95f069f0fd229a87f893cba.tar.zst
freebsd-ports-gnome-91a67486727ee3fda95f069f0fd229a87f893cba.zip
port for audio/discid
A C Program to Compute CDDB discids on Linux and FreeBSD PR: ports/38751 Submitted by: Oliver Breuninger <ob@breuninger.org>
-rw-r--r--audio/Makefile1
-rw-r--r--audio/discid/Makefile21
-rw-r--r--audio/discid/distinfo1
-rw-r--r--audio/discid/files/patch-aa9
-rw-r--r--audio/discid/files/patch-ab14
-rw-r--r--audio/discid/pkg-descr15
-rw-r--r--audio/discid/pkg-plist1
7 files changed, 62 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 4b735ad8721e..6064eeeb4d28 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -46,6 +46,7 @@
SUBDIR += dap
SUBDIR += darkice
SUBDIR += denemo
+ SUBDIR += discid
SUBDIR += easytag
SUBDIR += ecasound
SUBDIR += ecawave
diff --git a/audio/discid/Makefile b/audio/discid/Makefile
new file mode 100644
index 000000000000..97ecea935809
--- /dev/null
+++ b/audio/discid/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: discid 1.3
+# Date created: May 27, 2002
+# Whom: Oliver Breuninger <ob@breuninger.org>
+#
+# $FreeBSD$
+
+PORTNAME= discid
+PORTVERSION= 1.3
+CATEGORIES= audio
+MASTER_SITES= http://family.zawodny.com/~jzawodn/c/discid/ \
+ http://www.breuninger.org/files/distfiles/
+DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
+
+MAINTAINER= ob@breuninger.org
+COMMENT= Identify audio cd in your drive
+
+WRKSRC= ${WRKDIR}/freebsd
+
+MAKE_ARGS= discid
+
+.include <bsd.port.mk>
diff --git a/audio/discid/distinfo b/audio/discid/distinfo
new file mode 100644
index 000000000000..18d9bd094407
--- /dev/null
+++ b/audio/discid/distinfo
@@ -0,0 +1 @@
+MD5 (discid-freebsd-1.3.tar.gz) = 3c955a49a2b5c95c71c8b73255c60c3e
diff --git a/audio/discid/files/patch-aa b/audio/discid/files/patch-aa
new file mode 100644
index 000000000000..7de74028de23
--- /dev/null
+++ b/audio/discid/files/patch-aa
@@ -0,0 +1,9 @@
+--- discid.c.orig Sat Apr 14 19:55:24 2001
++++ discid.c Mon May 27 18:33:37 2002
+@@ -92,5 +92,5 @@
+ }
+
+-void main(void) {
++int main(void) {
+ unsigned long discid;
+ int tracks, i;
diff --git a/audio/discid/files/patch-ab b/audio/discid/files/patch-ab
new file mode 100644
index 000000000000..852845dc2551
--- /dev/null
+++ b/audio/discid/files/patch-ab
@@ -0,0 +1,14 @@
+--- Makefile.orig Sun Oct 15 10:08:53 2000
++++ Makefile Mon May 27 18:40:23 2002
+@@ -1,3 +1,10 @@
++
++all: discid
++
+ discid: discid.c
+ gcc -o discid discid.c
+- strip discid
++ strip discid
++
++install:
++ cp -p discid ${PREFIX}/bin
++
diff --git a/audio/discid/pkg-descr b/audio/discid/pkg-descr
new file mode 100644
index 000000000000..9b6a5ec12c0d
--- /dev/null
+++ b/audio/discid/pkg-descr
@@ -0,0 +1,15 @@
+ The discid home page is located at:
+ http://family.zawodny.com/jzawodn/c/discid/
+
+ There may be bugs in the code as well as in the documentation. If
+ you find either, I'd appreciate a patch or at least a mail message
+ to let me know what's wrong.
+
+ discid has been developed and tested on Linux and FreeBSD. It may
+ work on other platforms with modification, but I don't know. If
+ you install it on another platform, I'd like to hear about it. If
+ you develop patches for that platform, I'd REALLY like to hear
+ about it. Send me a note. There's nothing that I know to be
+ platform-dependent in here yet, but you never know.
+
+WWW: http://family.zawodny.com/jzawodn/c/discid/
diff --git a/audio/discid/pkg-plist b/audio/discid/pkg-plist
new file mode 100644
index 000000000000..4217721f0d51
--- /dev/null
+++ b/audio/discid/pkg-plist
@@ -0,0 +1 @@
+bin/discid