aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/xcd/Makefile4
-rw-r--r--audio/xcd/pkg-comment1
-rw-r--r--audio/xcd/pkg-descr10
-rw-r--r--audio/xcd/pkg-plist26
-rw-r--r--audio/xcd/scripts/configure13
5 files changed, 54 insertions, 0 deletions
diff --git a/audio/xcd/Makefile b/audio/xcd/Makefile
new file mode 100644
index 000000000000..9d0c2a05231b
--- /dev/null
+++ b/audio/xcd/Makefile
@@ -0,0 +1,4 @@
+DISTNAME= xcd
+MASTER_SITES= ftp://ftp.obs-besancon.fr/pub/outgoing/
+
+.include <bsd.port.mk>
diff --git a/audio/xcd/pkg-comment b/audio/xcd/pkg-comment
new file mode 100644
index 000000000000..3430f76b68c7
--- /dev/null
+++ b/audio/xcd/pkg-comment
@@ -0,0 +1 @@
+xcd - a Tcl/Tk CD player
diff --git a/audio/xcd/pkg-descr b/audio/xcd/pkg-descr
new file mode 100644
index 000000000000..a05075ed0f77
--- /dev/null
+++ b/audio/xcd/pkg-descr
@@ -0,0 +1,10 @@
+Xcd is a simple GUI to control a CD player. It requires Tcl/Tk to be
+installed on your system.
+Xcd has the usual buttons to control a CD player: "play",
+"pause/resume", "stop", "eject", "next track", "previous track",
+"rewind", "forward" and a volume slider. Xcd displays continuously the
+current track number and the elapsed time of the track. Pressing the
+left mouse button on the "track" label causes Xcd to display the total
+number of the tracks and the total duration of the disk. Pressing the
+left mouse button on the "time" label causes xcd to display the
+duration of the current track.
diff --git a/audio/xcd/pkg-plist b/audio/xcd/pkg-plist
new file mode 100644
index 000000000000..510d229c017d
--- /dev/null
+++ b/audio/xcd/pkg-plist
@@ -0,0 +1,26 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/cdplayer
+bin/xcd
+@mode 644
+lib/xcd/eject.xbm
+lib/xcd/eject_s.xbm
+lib/xcd/ff.xbm
+lib/xcd/ff_s.xbm
+lib/xcd/logo.xbm
+lib/xcd/next.xbm
+lib/xcd/next_s.xbm
+lib/xcd/pause.xbm
+lib/xcd/pause_s.xbm
+lib/xcd/play.xbm
+lib/xcd/play_s.xbm
+lib/xcd/prev.xbm
+lib/xcd/prev_s.xbm
+lib/xcd/rewind.xbm
+lib/xcd/rewind_s.xbm
+lib/xcd/stop.xbm
+lib/xcd/stop_s.xbm
+man/man1/cdplayer.1
+man/man1/xcd.1
+
diff --git a/audio/xcd/scripts/configure b/audio/xcd/scripts/configure
new file mode 100644
index 000000000000..e0b3b073ca9b
--- /dev/null
+++ b/audio/xcd/scripts/configure
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1;
+
+cat >> Makefile << END
+
+BINDIR = $PREFIX/bin
+CDDIR = $PREFIX/lib/xcd
+MANDIR = $PREFIX/man/man1
+
+END
+
+exit 0;