summaryrefslogtreecommitdiff
path: root/audio/discid
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-06 01:10:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-06 01:10:47 +0000
commit632f5e970912acd7e8554636b56767e9b6bcdef8 (patch)
tree8f643ae214d07d544e2bef2f35594c0fa3978894 /audio/discid
parentnew port: www/cherokee (diff)
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>
Notes
Notes: svn path=/head/; revision=78376
Diffstat (limited to 'audio/discid')
-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
6 files changed, 61 insertions, 0 deletions
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