aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-03 11:47:31 +0800
committersteve <steve@FreeBSD.org>1999-05-03 11:47:31 +0800
commitc77f886f2df88a0ae7b16ed2642eff8a28f13316 (patch)
treea8d45f64d977cce8d26b1f37c1151e608c9f48a9
parent08f202e1f32478a978984b1fc723bdde244dfe35 (diff)
downloadfreebsd-ports-gnome-c77f886f2df88a0ae7b16ed2642eff8a28f13316.tar.gz
freebsd-ports-gnome-c77f886f2df88a0ae7b16ed2642eff8a28f13316.tar.zst
freebsd-ports-gnome-c77f886f2df88a0ae7b16ed2642eff8a28f13316.zip
Initial import of juke version 0.5
A simple curses/ncursebased juke box program. PR: 11439 Submitted by: Oyvind Moll <oyvindmo@initio.no>
-rw-r--r--audio/juke/Makefile22
-rw-r--r--audio/juke/distinfo1
-rw-r--r--audio/juke/files/patch-aa14
-rw-r--r--audio/juke/files/patch-ab16
-rw-r--r--audio/juke/pkg-comment1
-rw-r--r--audio/juke/pkg-descr11
-rw-r--r--audio/juke/pkg-message4
-rw-r--r--audio/juke/pkg-plist2
8 files changed, 71 insertions, 0 deletions
diff --git a/audio/juke/Makefile b/audio/juke/Makefile
new file mode 100644
index 000000000000..cb978d7def72
--- /dev/null
+++ b/audio/juke/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: juke
+# Version required: 0.5
+# Date created: 2 May 1999
+# Whom: oyvindmo@initio.no
+#
+# $Id$
+#
+
+DISTNAME= juke-0.5
+CATEGORIES= audio
+MASTER_SITES= http://www.nocrew.org/software/juke/archive/
+
+MAINTAINER= oyvindmo@initio.no
+
+GNU_CONFIGURE= yes
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/juke.conf ${PREFIX}/etc/juke.conf.sample
+ @${SED} 's,PREFIX,${PREFIX},' ${PKGDIR}/MESSAGE > ${WRKSRC}/MESSAGE
+ @${CAT} ${WRKSRC}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/audio/juke/distinfo b/audio/juke/distinfo
new file mode 100644
index 000000000000..c8009513791d
--- /dev/null
+++ b/audio/juke/distinfo
@@ -0,0 +1 @@
+MD5 (juke-0.5.tar.gz) = 089fcdf1576eb1911e97049c54cc5c08
diff --git a/audio/juke/files/patch-aa b/audio/juke/files/patch-aa
new file mode 100644
index 000000000000..42913e34dfa1
--- /dev/null
+++ b/audio/juke/files/patch-aa
@@ -0,0 +1,14 @@
+--- ../juke.orig/src/conf.h Thu Apr 15 21:44:53 1999
++++ ./src/conf.h Sun May 2 12:16:58 1999
+@@ -1,6 +1,11 @@
+ #define CFG_ARGS 10
+ #define CFG_STRLEN 100
+
++#ifndef PREFIX
++#define PREFIX "/usr/local"
++#endif
++#define CFG_RCFILE PREFIX "/etc/juke.conf"
++
+ struct CFG_FORMAT {
+ int args;
+ int match_len;
diff --git a/audio/juke/files/patch-ab b/audio/juke/files/patch-ab
new file mode 100644
index 000000000000..5cb264a4d143
--- /dev/null
+++ b/audio/juke/files/patch-ab
@@ -0,0 +1,16 @@
+--- ../juke.orig/src/conf.c Thu Apr 15 21:44:53 1999
++++ ./src/conf.c Sun May 2 12:18:07 1999
+@@ -207,11 +207,11 @@
+ return;
+ }
+ }
+- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
++ cfg->file_len = load_file (CFG_RCFILE, (void **)&cfg->file);
+ if (cfg->file_len != ERROR) {
+ evaluate (cfg);
+ if (! cfg->formats) {
+- fprintf (stderr, "error: No formats in /etc/juke.config\n");
++ fprintf (stderr, "error: No formats in " CFG_RCFILE "\n");
+ exit (ERROR);
+ }
+ build_arg_lists (cfg);
diff --git a/audio/juke/pkg-comment b/audio/juke/pkg-comment
new file mode 100644
index 000000000000..8cd3614497b8
--- /dev/null
+++ b/audio/juke/pkg-comment
@@ -0,0 +1 @@
+A simple curses/ncurses based juke box program.
diff --git a/audio/juke/pkg-descr b/audio/juke/pkg-descr
new file mode 100644
index 000000000000..93cc390e95ec
--- /dev/null
+++ b/audio/juke/pkg-descr
@@ -0,0 +1,11 @@
+Juke
+----
+
+Juke is a simple curses/ncurses based juke box program.
+It uses command line based players to play all kinds
+of music formats.
+
+http://www.nocrew.org/software/juke/
+
+--
+Port by Oyvind Moll <oyvindmo@initio.no>
diff --git a/audio/juke/pkg-message b/audio/juke/pkg-message
new file mode 100644
index 000000000000..e74fe687f414
--- /dev/null
+++ b/audio/juke/pkg-message
@@ -0,0 +1,4 @@
+A sample configuration file has been copied to
+PREFIX/etc/juke.conf.sample. Juke will not work without either
+PREFIX/etc/juke.conf or the running user's ~/.juke.conf being
+in place.
diff --git a/audio/juke/pkg-plist b/audio/juke/pkg-plist
new file mode 100644
index 000000000000..1539abd74c6b
--- /dev/null
+++ b/audio/juke/pkg-plist
@@ -0,0 +1,2 @@
+bin/juke
+etc/juke.conf.sample