summaryrefslogtreecommitdiff
path: root/audio/tfmxplay
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-07-10 01:14:02 +0000
committerwiz <wiz@pkgsrc.org>2001-07-10 01:14:02 +0000
commit6d4e54993ece9f60ac37255fea922b329da8ee3d (patch)
tree6d003d08db2953d11570dacfcafd39118dcb3029 /audio/tfmxplay
parentc9f38b70e468d5563809468295bfb72e593ef809 (diff)
downloadpkgsrc-6d4e54993ece9f60ac37255fea922b329da8ee3d.tar.gz
Initial import of tfmxplay, a player for TFMX Amiga game music format audio
files.
Diffstat (limited to 'audio/tfmxplay')
-rw-r--r--audio/tfmxplay/Makefile18
-rw-r--r--audio/tfmxplay/distinfo7
-rw-r--r--audio/tfmxplay/patches/patch-aa24
-rw-r--r--audio/tfmxplay/patches/patch-ab16
-rw-r--r--audio/tfmxplay/patches/patch-ac12
-rw-r--r--audio/tfmxplay/pkg/DESCR13
-rw-r--r--audio/tfmxplay/pkg/PLIST4
7 files changed, 94 insertions, 0 deletions
diff --git a/audio/tfmxplay/Makefile b/audio/tfmxplay/Makefile
new file mode 100644
index 00000000000..fbdbaaf0e98
--- /dev/null
+++ b/audio/tfmxplay/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+#
+
+DISTNAME= tfmxplay-0.4
+CATEGORIES= audio
+MASTER_SITES= http://darkstar.tabu.uni-bonn.de/~neo/tfmx/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://darkstar.tabu.uni-bonn.de/~neo/audio.html
+COMMENT= console TFMX (amiga games sound file format) player
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tfmx-play ${PREFIX}/bin/tfmxplay
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tfmxplay
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tfmxplay/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/tfmxplay/distinfo b/audio/tfmxplay/distinfo
new file mode 100644
index 00000000000..c16c182536e
--- /dev/null
+++ b/audio/tfmxplay/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+SHA1 (tfmxplay-0.4.tgz) = 186e27c231915b609caa4c7630ab3b18b5c009a5
+Size (tfmxplay-0.4.tgz) = 24031 bytes
+SHA1 (patch-aa) = 4e218d7727785d001aa7e7c85ae0cd75242ea697
+SHA1 (patch-ab) = e93a0650a9346cc62ac0998081bc8e467229b3ae
+SHA1 (patch-ac) = 02f4608276479c14b1ad2b6a131bea6197b12568
diff --git a/audio/tfmxplay/patches/patch-aa b/audio/tfmxplay/patches/patch-aa
new file mode 100644
index 00000000000..a277b07b845
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- Makefile.orig Sat Jun 23 13:33:05 2001
++++ Makefile
+@@ -28,8 +28,8 @@
+
+ OBJS=player.o tfmx.o audio.o
+
+-CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
+-LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS)
++#CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
++LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) -lossaudio
+
+
+ BINARY=tfmx-play
+@@ -42,7 +42,7 @@
+ audio.c: player.h
+
+ audio.o: audio.c
+- $(CC) $(CFLAGS) -O3 -fno-strength-reduce -c audio.c -o audio.o $(ALSADEF)
++ $(CC) $(CFLAGS) -c audio.c -o audio.o $(ALSADEF)
+
+ clean:
+ rm -rf *.o $(BINARY)
diff --git a/audio/tfmxplay/patches/patch-ab b/audio/tfmxplay/patches/patch-ab
new file mode 100644
index 00000000000..2b2c2eb8c84
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- audio.c.orig Mon Mar 12 21:10:49 2001
++++ audio.c
+@@ -4,7 +4,11 @@
+ * 13Mar2000
+ */
+
++#ifdef __NetBSD__
++#include <soundcard.h>
++#else
+ #include <linux/soundcard.h>
++#endif
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+ #include <stdio.h>
diff --git a/audio/tfmxplay/patches/patch-ac b/audio/tfmxplay/patches/patch-ac
new file mode 100644
index 00000000000..88256bad254
--- /dev/null
+++ b/audio/tfmxplay/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+
+--- tfmx.c.orig Sat Jun 23 12:55:53 2001
++++ tfmx.c
+@@ -4,7 +4,6 @@
+ * jhp 29Feb96
+ */
+
+-#include <asm/byteorder.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <string.h>
diff --git a/audio/tfmxplay/pkg/DESCR b/audio/tfmxplay/pkg/DESCR
new file mode 100644
index 00000000000..61babd87e3a
--- /dev/null
+++ b/audio/tfmxplay/pkg/DESCR
@@ -0,0 +1,13 @@
+TFMX (The Final Musicsystem eXtended) is an Amiga game music format
+developed by Chris Huelsbeck. It is rather unlike the various "Module"
+formats (Protracker et al.). Some of the few players for this format
+are:
+ * the original TFMX editor (Amiga)
+ * EaglePlayer (Amiga)
+ * TFMX-Play and it's numerous derivates (originally ST, now Linux and Win32)
+ * the SUN-Project PMS-player (DOS, used for the PC-Version of Turrican 2)
+
+The original editor is extremely rare, but it is available from the
+ExoticA! site. The SUN-Project player is not that great (partly
+because of DOS, partly because it has never been finished).
+And TFMX-Play is what you're looking at right now.
diff --git a/audio/tfmxplay/pkg/PLIST b/audio/tfmxplay/pkg/PLIST
new file mode 100644
index 00000000000..e9fa2ac6c4c
--- /dev/null
+++ b/audio/tfmxplay/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $
+bin/tfmxplay
+share/doc/tfmxplay/README
+@dirrm share/doc/tfmxplay