summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1994-10-02 23:15:02 +0000
committerswallace <swallace@FreeBSD.org>1994-10-02 23:15:02 +0000
commit56379a34200fbaee80e305a1f5419a6de6150d35 (patch)
tree9dd31a8c596ef1405204a967c51762041bb33082 /audio
parent741c1d699ce96dc2f5ea64f794e2c8ed9014e285 (diff)
downloadFreeBSD-ports-56379a34200fbaee80e305a1f5419a6de6150d35.zip
FreeBSD-ports-56379a34200fbaee80e305a1f5419a6de6150d35.tar.gz
Tracker 4.3 - plays soundtracker modules
Diffstat (limited to 'audio')
-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 0000000..7679193
--- /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 0000000..80cd4a4
--- /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 0000000..d0c8d1e
--- /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 0000000..5170e2e
--- /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 0000000..ed0aa27
--- /dev/null
+++ b/audio/tracker/pkg-plist
@@ -0,0 +1,5 @@
+@cwd /usr/local
+bin/tracker
+bin/randomize
+bin/analyzer
+man/man1/tracker.1
OpenPOWER on IntegriCloud