aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cd-console
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-25 23:32:36 +0800
committersteve <steve@FreeBSD.org>1999-12-25 23:32:36 +0800
commit3b6c44ff3966016fe76a1e30b859e06fd30c64a4 (patch)
treede6f305a18ed61260fb0146d87df73972c1595d4 /audio/cd-console
parentd877498922ab2ab0e3a0fee3047586fc694330a3 (diff)
downloadfreebsd-ports-gnome-3b6c44ff3966016fe76a1e30b859e06fd30c64a4.tar.gz
freebsd-ports-gnome-3b6c44ff3966016fe76a1e30b859e06fd30c64a4.tar.zst
freebsd-ports-gnome-3b6c44ff3966016fe76a1e30b859e06fd30c64a4.zip
Adding cd-control version 2.3.
A curses-based console CD player. PR: 15152 Submitted by: Julian C. Dunn <jdunn@aquezada.com>
Diffstat (limited to 'audio/cd-console')
-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
7 files changed, 80 insertions, 0 deletions
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