diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-01-28 12:02:08 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-01-28 12:02:08 +0000 |
commit | 508422bed41749b9b03403d951240a9e4eb9138c (patch) | |
tree | 748079b1fef1ac2cb5343f83a6c934362bc2eab9 | |
parent | Call the package "jpeg-5a". Kinda confusing to call the binary package (diff) |
Upgrade
Notes
Notes:
svn path=/head/; revision=838
-rw-r--r-- | audio/tracker/Makefile | 10 | ||||
-rw-r--r-- | audio/tracker/distinfo | 2 | ||||
-rw-r--r-- | audio/tracker/files/patch-aa | 204 | ||||
-rw-r--r-- | audio/tracker/pkg-comment | 2 | ||||
-rw-r--r-- | audio/tracker/pkg-descr | 2 | ||||
-rw-r--r-- | audio/tracker/pkg-plist | 2 |
6 files changed, 131 insertions, 91 deletions
diff --git a/audio/tracker/Makefile b/audio/tracker/Makefile index d8187ddc85bb..b356dac54b00 100644 --- a/audio/tracker/Makefile +++ b/audio/tracker/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: tracker -# Version required: 4.3 +# Version required: 4.7 # Date created: 2 Oct 1994 # Whom: swallace # -# $Id: Makefile,v 1.1.1.1 1994/10/02 23:15:01 swallace Exp $ +# $Id: Makefile,v 1.2 1994/11/16 16:11:30 ats Exp $ # DISTNAME= tracker -DISTFILES= tracker-4.3-linux.tar.gz -MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/ +DISTFILES= tracker-4.7.tar.Z +MASTER_SITES= ftp://ftp.ens.fr/pub/dmi/users/espie/ +USE_GMAKE= YES +INSTALL_TARGET= install install.man .include <bsd.port.mk> diff --git a/audio/tracker/distinfo b/audio/tracker/distinfo index ca39fedf76d2..42672850bf35 100644 --- a/audio/tracker/distinfo +++ b/audio/tracker/distinfo @@ -1 +1 @@ -MD5 (tracker-4.3-linux.tar.gz) = 58896065b80453b5f4533f86d624b14a +MD5 (tracker-4.7.tar.Z) = 722e5450784f6c7e3821d468d34d596b diff --git a/audio/tracker/files/patch-aa b/audio/tracker/files/patch-aa index 1a4192d823ff..1c1b8660ad29 100644 --- a/audio/tracker/files/patch-aa +++ b/audio/tracker/files/patch-aa @@ -1,77 +1,94 @@ -*** Unix/ui.c.orig Sun Feb 13 17:45:57 1994 ---- Unix/ui.c Sun Nov 27 15:06:44 1994 +*** Makefile.old Sat Jan 28 12:51:48 1995 +--- Makefile Sat Jan 28 14:24:11 1995 *************** -*** 69,74 **** ---- 69,76 ---- - * - */ +*** 11,17 **** + # hpalib, hplow, hp3, dec, solaris, sparc, linux, freebsd, sgi, + # soundblaster, aix. + # gmake needed to handle this file in FreeBSD +! MACHINE = sparc -+ #include "defs.h" -+ - #ifdef dec - #define stub_only - #endif + # The name of your C compiler. For most machines this will be + # either 'cc' or 'gcc'. +--- 11,17 ---- + # hpalib, hplow, hp3, dec, solaris, sparc, linux, freebsd, sgi, + # soundblaster, aix. + # gmake needed to handle this file in FreeBSD +! MACHINE = freebsd + + # The name of your C compiler. For most machines this will be + # either 'cc' or 'gcc'. *************** -*** 82,92 **** - #include <sys/termio.h> - #endif - #ifdef __386BSD__ - #include <sys/ioctl.h> - #endif - #include <stdio.h> - #include <signal.h> -- #include "defs.h" - #include "extern.h" - #include "tags.h" - #include "prefs.h" ---- 84,95 ---- - #include <sys/termio.h> - #endif - #ifdef __386BSD__ -+ #include <fcntl.h> - #include <sys/ioctl.h> -+ #define termio termios - #endif - #include <stdio.h> - #include <signal.h> - #include "extern.h" - #include "tags.h" - #include "prefs.h" +*** 30,40 **** + # + # If you don't wish to use the 'make install' and 'make install.man' + # commands, you can ignore these. +! BIN_DIR = /users/algo/espie/pub/bin +! MAN_DIR = /usr/local/man + + # Where to put the compression methods description +! COMPRESSION_FILE=/users/algo/espie/pub/lib/compression_methods + + # How to install the binaries and manpage. If you have a unix system, + # use the GNU install program if you have it, otherwise try 'cp'. For +--- 30,44 ---- + # + # If you don't wish to use the 'make install' and 'make install.man' + # commands, you can ignore these. +! PREFIX=/usr/local +! #BIN_DIR = /users/algo/espie/pub/bin +! BIN_DIR = $(PREFIX)/bin +! #MAN_DIR = /usr/local/man +! MAN_DIR = $(PREFIX)/man + + # Where to put the compression methods description +! #COMPRESSION_FILE=/users/algo/espie/pub/lib/compression_methods +! COMPRESSION_FILE=$(PREFIX)/etc/compression_methods + + # How to install the binaries and manpage. If you have a unix system, + # use the GNU install program if you have it, otherwise try 'cp'. For *************** -*** 193,198 **** ---- 196,202 ---- - if (run_in_fg()) - { - #ifdef __386BSD__ -+ fcntl(fileno(stdin), F_SETFL, O_NONBLOCK); - tcgetattr(fileno(stdin), &zap); - #else - ioctl(fileno(stdin), TCGETA, &zap); +*** 55,62 **** + # + # If you don't wish to use the 'make install' and 'make install.man' + # commands, you can ignore these. +! INST_BIN_OPT = -s -m 755 -o root -g root +! INST_MAN_OPT = -m 644 -o root -g root + ############################################################################### + # + # C compiler flags and libraries for each machine. +--- 59,68 ---- + # + # If you don't wish to use the 'make install' and 'make install.man' + # commands, you can ignore these. +! #INST_BIN_OPT = -s -m 755 -o root -g root +! #INST_MAN_OPT = -m 644 -o root -g root +! INST_BIN_OPT = -c -s -m 555 -o bin -g bin +! INST_MAN_OPT = -c -m 644 -o bin -g bin + ############################################################################### + # + # C compiler flags and libraries for each machine. *************** -*** 217,223 **** - #endif - zap.c_lflag &= ~(ICANON | ECHO); - #ifdef __386BSD__ -! tcsetattr(fileno(stdin, TCSANOW, &zap); - #else - ioctl(fileno(stdin), TCSETA, &zap); - #endif ---- 221,227 ---- - #endif - zap.c_lflag &= ~(ICANON | ECHO); - #ifdef __386BSD__ -! tcsetattr(fileno(stdin), TCSANOW, &zap); - #else - ioctl(fileno(stdin), TCSETA, &zap); - #endif +*** 154,159 **** +--- 160,168 ---- + $(INSTALL) $(INST_BIN_OPT) tracker $(BIN_DIR) + $(INSTALL) $(INST_BIN_OPT) randomize $(BIN_DIR) + $(INSTALL) $(INST_BIN_OPT) analyzer $(BIN_DIR) ++ $(INSTALL) $(INST_BIN_OPT) splitmod $(BIN_DIR) ++ [ -f ${COMPRESSION_FILE} ] || \ ++ $(INSTALL) $(INST_MAN_OPT) compression_methods ${COMPRESSION_FILE} + + install.man: + $(INSTALL) $(INST_MAN_OPT) man/tracker.1 $(MAN_DIR)/man1/tracker.1 +*** Unix/ui.c.old Sat Jan 28 12:57:02 1995 +--- Unix/ui.c Sat Jan 28 14:41:15 1995 *************** -*** 227,232 **** ---- 231,245 ---- - is_fg = FALSE; +*** 148,153 **** +--- 148,162 ---- + return FALSE; } + /* if_fg_sane_tty(): -+ * restore tty modes, if running in foreground ++ * restore tty modes, _only_ if running in foreground + */ + LOCAL void if_fg_sane_tty() + { @@ -79,32 +96,51 @@ + sane_tty(); + } + - /* nonblocking_io(): - * try to setup the keyboard to non blocking io - */ + LOCAL void switch_mode() + { + #ifdef __NeXT__ *************** -*** 240,252 **** - { - psanity = &sanity; - #ifdef __386BSD__ +*** 200,206 **** + #endif + zap.c_lflag &= ~(ICANON | ECHO); + #ifdef __FreeBSD__ +! tcsetattr(fileno(stdin), TCSANOW, &zap); + #else + ioctl(fileno(stdin), TCSETA, &zap); + #endif +--- 209,215 ---- + #endif + zap.c_lflag &= ~(ICANON | ECHO); + #ifdef __FreeBSD__ +! tcsetattr(fileno(stdin), TCSADRAIN, &zap); + #else + ioctl(fileno(stdin), TCSETA, &zap); + #endif +*************** +*** 227,240 **** + ioctl(fileno(stdin), TIOCGETP, psanity); + #else /* __NeXT__ */ + #ifdef __FreeBSD__ ! tcgetattr(fileno(stdin), &sanity); #else ioctl(fileno(stdin), TCGETA, psanity); #endif + #endif /* __NeXT__ */ } switch_mode(); ! at_end(sane_tty); } ---- 253,265 ---- - { - psanity = &sanity; - #ifdef __386BSD__ +--- 236,249 ---- + ioctl(fileno(stdin), TIOCGETP, psanity); + #else /* __NeXT__ */ + #ifdef __FreeBSD__ ! tcgetattr(fileno(stdin), psanity); #else ioctl(fileno(stdin), TCGETA, psanity); #endif + #endif /* __NeXT__ */ } switch_mode(); ! at_end(if_fg_sane_tty); @@ -112,18 +148,18 @@ *************** -*** 255,261 **** - LOCAL void sane_tty() - { - #ifdef __386BSD__ +*** 246,252 **** + ioctl(fileno(stdin), TIOCSETP, psanity); + #else /* __NeXT__ */ + #ifdef __FreeBSD__ ! tcsetattr(fileno(stdin), &sanity); #else ioctl(fileno(stdin), TCSETA, psanity); #endif ---- 268,274 ---- - LOCAL void sane_tty() - { - #ifdef __386BSD__ +--- 255,261 ---- + ioctl(fileno(stdin), TIOCSETP, psanity); + #else /* __NeXT__ */ + #ifdef __FreeBSD__ ! tcsetattr(fileno(stdin), TCSADRAIN, psanity); #else ioctl(fileno(stdin), TCSETA, psanity); diff --git a/audio/tracker/pkg-comment b/audio/tracker/pkg-comment index d0c8d1e3bb4d..4f001ef8d003 100644 --- a/audio/tracker/pkg-comment +++ b/audio/tracker/pkg-comment @@ -1 +1 @@ -Tracker 4.3 - Mod player +Tracker 4.7 - MOD player diff --git a/audio/tracker/pkg-descr b/audio/tracker/pkg-descr index 5170e2ea26cd..49caeb31f45b 100644 --- a/audio/tracker/pkg-descr +++ b/audio/tracker/pkg-descr @@ -1,4 +1,4 @@ -Tracker 4.3 - play soundtracker modules on a Unix machine +Tracker 4.7 - 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 diff --git a/audio/tracker/pkg-plist b/audio/tracker/pkg-plist index ed0aa2750cad..51831815e717 100644 --- a/audio/tracker/pkg-plist +++ b/audio/tracker/pkg-plist @@ -2,4 +2,6 @@ bin/tracker bin/randomize bin/analyzer +bin/splitmod +etc/compression_methods man/man1/tracker.1 |