aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-25 15:32:36 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-25 15:32:36 +0000
commit600ae94e73770f95327dd2c31b944f581b69b038 (patch)
tree6c71453c0e39e64aef0e87c0c99389d3eac9db9e /audio
parent119254c786536254cdfa63296d9878da67e2e6b4 (diff)
downloadports-600ae94e73770f95327dd2c31b944f581b69b038.tar.gz
ports-600ae94e73770f95327dd2c31b944f581b69b038.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/cd-console/Makefile16
-rw-r--r--audio/cd-console/distinfo1
-rw-r--r--audio/cd-console/files/patch-aa41
-rw-r--r--audio/cd-console/files/patch-ab12
-rw-r--r--audio/cd-console/pkg-comment1
-rw-r--r--audio/cd-console/pkg-descr8
-rw-r--r--audio/cd-console/pkg-plist1
8 files changed, 81 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index dfc95eb5debf..fe25c36ab884 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -6,6 +6,7 @@
SUBDIR += aumix
SUBDIR += bladeenc
SUBDIR += cam
+ SUBDIR += cd-control
SUBDIR += cdd
SUBDIR += cdindex
SUBDIR += cdplay
diff --git a/audio/cd-console/Makefile b/audio/cd-console/Makefile
new file mode 100644
index 000000000000..61a1cd1b5b81
--- /dev/null
+++ b/audio/cd-console/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: cd-console
+# Version required: 2.1
+# Date created: Sun Nov 28 19:55:19 EST 1999
+# Whom: jdunn@aquezada.com
+#
+# $FreeBSD$
+#
+
+DISTNAME= cd-console-2.3
+CATEGORIES= audio
+MASTER_SITES= http://www.cs.helsinki.fi/~salerma/cd-console/ \
+ ftp://ftp.aquezada.com/pub/cd-console/
+
+MAINTAINER= jdunn@aquezada.com
+
+.include <bsd.port.mk>
diff --git a/audio/cd-console/distinfo b/audio/cd-console/distinfo
new file mode 100644
index 000000000000..14bceb502897
--- /dev/null
+++ b/audio/cd-console/distinfo
@@ -0,0 +1 @@
+MD5 (cd-console-2.3.tar.gz) = b5b9b75b8dbb89a970cdc380e4cc54ec
diff --git a/audio/cd-console/files/patch-aa b/audio/cd-console/files/patch-aa
new file mode 100644
index 000000000000..837447cfc001
--- /dev/null
+++ b/audio/cd-console/files/patch-aa
@@ -0,0 +1,41 @@
+--- Makefile.orig Sun Nov 28 20:08:56 1999
++++ Makefile Sun Nov 28 20:14:20 1999
+@@ -5,17 +5,17 @@
+ # very welcome).
+
+ # for linux
+-DEFS = -DOS_LINUX
+-EXTRA_OBJS = cd_ll_linux.o
++#DEFS = -DOS_LINUX
++#EXTRA_OBJS = cd_ll_linux.o
+
+ # for bsd. only tested on freebsd
+-#DEFS = -DOS_BSD
+-#EXTRA_OBJS = cd_ll_bsd.o
+-
++DEFS = -DOS_BSD
++EXTRA_OBJS = cd_ll_bsd.o
++CDDEVICE=\"/dev/acd0c\"
+
+ # you shouldn't have to change anything below this line
+
+-
++BINPATH=${PREFIX}/bin/
+ OBJS=cd-console.o cd.o $(EXTRA_OBJS)
+ LIBS = -lncurses
+
+@@ -38,10 +38,13 @@
+ $(CC) -c cd_ll_linux.cpp $(CFLAGS)
+
+ cd_ll_bsd.o: cd_ll.h cd_ll_bsd.h cd_ll_bsd.cpp
+- $(CC) -c cd_ll_bsd.cpp $(CFLAGS)
++ $(CC) -c -DDEVICE=$(CDDEVICE) cd_ll_bsd.cpp $(CFLAGS)
+
+ cd.o: cd.h cd.cpp
+ $(CC) -c cd.cpp $(CFLAGS)
+
+ clean:
+ rm -f $(OBJS) cd-console
++
++install:
++ @$(BSD_INSTALL_PROGRAM) cd-console $(BINPATH)
diff --git a/audio/cd-console/files/patch-ab b/audio/cd-console/files/patch-ab
new file mode 100644
index 000000000000..87ba8607e5c5
--- /dev/null
+++ b/audio/cd-console/files/patch-ab
@@ -0,0 +1,12 @@
+--- cd_ll_bsd.cpp.orig Sun Nov 28 20:14:31 1999
++++ cd_ll_bsd.cpp Sun Nov 28 20:15:29 1999
+@@ -10,7 +10,9 @@
+ #include "cd_ll_bsd.h"
+
+ // the cd-rom device file
++#ifndef DEVICE
+ #define DEVICE "/dev/acd0c"
++#endif
+
+ cd_ll_bsd::cd_ll_bsd()
+ : m_fd(-1)
diff --git a/audio/cd-console/pkg-comment b/audio/cd-console/pkg-comment
new file mode 100644
index 000000000000..f4c1bdf29881
--- /dev/null
+++ b/audio/cd-console/pkg-comment
@@ -0,0 +1 @@
+A curses-based console CD player
diff --git a/audio/cd-console/pkg-descr b/audio/cd-console/pkg-descr
new file mode 100644
index 000000000000..074bcf0de1b5
--- /dev/null
+++ b/audio/cd-console/pkg-descr
@@ -0,0 +1,8 @@
+A curses-based console CD player, with two viewing modes,
+one suitable for a 7x41 xterm.
+
+WWW: http://www.cs.helsinki.fi/~salerma/cd-console/
+Author: Osku Salerma, osku@iki.fi
+
+- Julian
+jdunn@aquezada.com
diff --git a/audio/cd-console/pkg-plist b/audio/cd-console/pkg-plist
new file mode 100644
index 000000000000..89ec796f8ba9
--- /dev/null
+++ b/audio/cd-console/pkg-plist
@@ -0,0 +1 @@
+bin/cd-console