diff options
author | steve <steve@FreeBSD.org> | 1999-12-25 15:32:36 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-25 15:32:36 +0000 |
commit | 3b6c44ff3966016fe76a1e30b859e06fd30c64a4 (patch) | |
tree | de6f305a18ed61260fb0146d87df73972c1595d4 | |
parent | d877498922ab2ab0e3a0fee3047586fc694330a3 (diff) | |
download | FreeBSD-ports-3b6c44ff3966016fe76a1e30b859e06fd30c64a4.zip FreeBSD-ports-3b6c44ff3966016fe76a1e30b859e06fd30c64a4.tar.gz |
Adding cd-control version 2.3.
A curses-based console CD player.
PR: 15152
Submitted by: Julian C. Dunn <jdunn@aquezada.com>
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/cd-console/Makefile | 16 | ||||
-rw-r--r-- | audio/cd-console/distinfo | 1 | ||||
-rw-r--r-- | audio/cd-console/files/patch-aa | 41 | ||||
-rw-r--r-- | audio/cd-console/files/patch-ab | 12 | ||||
-rw-r--r-- | audio/cd-console/pkg-comment | 1 | ||||
-rw-r--r-- | audio/cd-console/pkg-descr | 8 | ||||
-rw-r--r-- | audio/cd-console/pkg-plist | 1 |
8 files changed, 81 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index dfc95eb..fe25c36 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 0000000..61a1cd1 --- /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 0000000..14bceb5 --- /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 0000000..837447c --- /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 0000000..87ba860 --- /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 0000000..f4c1bdf --- /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 0000000..074bcf0 --- /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 0000000..89ec796 --- /dev/null +++ b/audio/cd-console/pkg-plist @@ -0,0 +1 @@ +bin/cd-console |