summaryrefslogtreecommitdiff
path: root/audio/tracker
diff options
context:
space:
mode:
authorSteven Wallace <swallace@FreeBSD.org>1994-10-02 23:15:02 +0000
committerSteven Wallace <swallace@FreeBSD.org>1994-10-02 23:15:02 +0000
commit60a76b3e814191dbb87feb4540199ef4796b65c8 (patch)
treeec9d358d14702510e4a0844c212cd627d0e7a8be /audio/tracker
parentThis is for texinfo printing (not in /usr/src/gnu/usr.bin/texinfo). (diff)
Tracker 4.3 - plays soundtracker modules
Notes
Notes: svn path=/head/; revision=158
Diffstat (limited to 'audio/tracker')
-rw-r--r--audio/tracker/Makefile13
-rw-r--r--audio/tracker/files/patch-aa105
-rw-r--r--audio/tracker/pkg-comment1
-rw-r--r--audio/tracker/pkg-descr8
-rw-r--r--audio/tracker/pkg-plist5
5 files changed, 132 insertions, 0 deletions
diff --git a/audio/tracker/Makefile b/audio/tracker/Makefile
new file mode 100644
index 000000000000..7679193efe52
--- /dev/null
+++ b/audio/tracker/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: tracker
+# Version required: 4.3
+# Date created: 2 Oct 1994
+# Whom: swallace
+#
+# $Id: Makefile,v 1.1.1.1 1994/09/28 07:27:40 swallace Exp $
+#
+
+DISTNAME= tracker
+DISTFILES= tracker-4.3-linux.tar.gz
+MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/sound/players
+
+.include <bsd.port.mk>
diff --git a/audio/tracker/files/patch-aa b/audio/tracker/files/patch-aa
new file mode 100644
index 000000000000..80cd4a40a1f3
--- /dev/null
+++ b/audio/tracker/files/patch-aa
@@ -0,0 +1,105 @@
+*** Unix/ui.c Sun Oct 2 15:28:51 1994
+--- Unix/ui.c Sun Oct 2 15:30:05 1994
+***************
+*** 82,88 ****
+--- 82,90 ----
+ #include <sys/termio.h>
+ #endif
+ #ifdef __386BSD__
++ #include <fcntl.h>
+ #include <sys/ioctl.h>
++ #define termio termios
+ #endif
+ #include <stdio.h>
+ #include <signal.h>
+***************
+*** 193,198 ****
+--- 195,201 ----
+ if (run_in_fg())
+ {
+ #ifdef __386BSD__
++ fcntl(fileno(stdin), F_SETFL, O_NONBLOCK);
+ tcgetattr(fileno(stdin), &zap);
+ #else
+ ioctl(fileno(stdin), TCGETA, &zap);
+***************
+*** 217,223 ****
+ #endif
+ zap.c_lflag &= ~(ICANON | ECHO);
+ #ifdef __386BSD__
+! tcsetattr(fileno(stdin, TCSANOW, &zap);
+ #else
+ ioctl(fileno(stdin), TCSETA, &zap);
+ #endif
+--- 220,226 ----
+ #endif
+ zap.c_lflag &= ~(ICANON | ECHO);
+ #ifdef __386BSD__
+! tcsetattr(fileno(stdin), TCSANOW, &zap);
+ #else
+ ioctl(fileno(stdin), TCSETA, &zap);
+ #endif
+***************
+*** 227,232 ****
+--- 230,244 ----
+ is_fg = FALSE;
+ }
+
++ /* if_fg_sane_tty():
++ * restore tty modes, if running in foreground
++ */
++ LOCAL void if_fg_sane_tty()
++ {
++ if (run_in_fg())
++ sane_tty();
++ }
++
+ /* nonblocking_io():
+ * try to setup the keyboard to non blocking io
+ */
+***************
+*** 240,252 ****
+ {
+ psanity = &sanity;
+ #ifdef __386BSD__
+! tcgetattr(fileno(stdin), &sanity);
+ #else
+ ioctl(fileno(stdin), TCGETA, psanity);
+ #endif
+ }
+ switch_mode();
+! at_end(sane_tty);
+ }
+
+
+--- 252,264 ----
+ {
+ psanity = &sanity;
+ #ifdef __386BSD__
+! tcgetattr(fileno(stdin), psanity);
+ #else
+ ioctl(fileno(stdin), TCGETA, psanity);
+ #endif
+ }
+ switch_mode();
+! at_end(if_fg_sane_tty);
+ }
+
+
+***************
+*** 255,261 ****
+ LOCAL void sane_tty()
+ {
+ #ifdef __386BSD__
+! tcsetattr(fileno(stdin), &sanity);
+ #else
+ ioctl(fileno(stdin), TCSETA, psanity);
+ #endif
+--- 267,273 ----
+ LOCAL void sane_tty()
+ {
+ #ifdef __386BSD__
+! tcsetattr(fileno(stdin), TCSADRAIN, psanity);
+ #else
+ ioctl(fileno(stdin), TCSETA, psanity);
+ #endif
diff --git a/audio/tracker/pkg-comment b/audio/tracker/pkg-comment
new file mode 100644
index 000000000000..d0c8d1e3bb4d
--- /dev/null
+++ b/audio/tracker/pkg-comment
@@ -0,0 +1 @@
+Tracker 4.3 - Mod player
diff --git a/audio/tracker/pkg-descr b/audio/tracker/pkg-descr
new file mode 100644
index 000000000000..5170e2ea26cd
--- /dev/null
+++ b/audio/tracker/pkg-descr
@@ -0,0 +1,8 @@
+Tracker 4.3 - play soundtracker modules on a Unix machine
+
+Tracker plays soundtracker music modules on a Unix machine.
+Soundtracker modules originated on the amiga, where several composing
+playing programs are available, that give results mostly compatible
+with each other. tracker just plays the specified files in sequence
+accord- ing with the current options.
+
diff --git a/audio/tracker/pkg-plist b/audio/tracker/pkg-plist
new file mode 100644
index 000000000000..ed0aa2750cad
--- /dev/null
+++ b/audio/tracker/pkg-plist
@@ -0,0 +1,5 @@
+@cwd /usr/local
+bin/tracker
+bin/randomize
+bin/analyzer
+man/man1/tracker.1