summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-09-18 20:46:21 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-09-18 20:46:21 +0000
commit9fa8d14cc8e771b6a0796d30dcad44b4ae7292f1 (patch)
tree513e10d5294c9eb37762d26eb17251fc9d567d77 /audio
parentUpdate to version 1.4 (diff)
Import of xmp.
Xmp is the "eXtended Module Player". It supports many of the Amiga and PC module formats -- currently 47 of them and runs with little system load. PR: 13805 Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=21725
Diffstat (limited to 'audio')
-rw-r--r--audio/xmp/Makefile28
-rw-r--r--audio/xmp/distinfo1
-rw-r--r--audio/xmp/files/patch-aa20
-rw-r--r--audio/xmp/files/patch-ab19
-rw-r--r--audio/xmp/files/patch-ac21
-rw-r--r--audio/xmp/pkg-comment1
-rw-r--r--audio/xmp/pkg-descr14
-rw-r--r--audio/xmp/pkg-plist4
8 files changed, 108 insertions, 0 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
new file mode 100644
index 000000000000..43057d7460f5
--- /dev/null
+++ b/audio/xmp/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xmp
+# Version required: xmp-2.0.0-pre
+# Date created: 18 September 1999
+# Whom: Anders Nordby <anders@fix.no>
+#
+# $FreeBSD$
+#
+
+DISTNAME= xmp-2.0.0-pre
+PKGNAME= xmp-2.0.0
+CATEGORIES= audio
+MASTER_SITES= http://xmp.helllabs.org/pkg/2.0.0/ \
+ http://xmp.linuxbox.com/pkg/2.0.0/
+
+MAINTAINER= anders@fix.no
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-alsa
+
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_BZIP2= yes
+
+CFLAGS+= -DHAVE_SYS_RTPRIO_H
+
+MAN1= xmp.1 xxmp.1
+
+.include <bsd.port.mk>
diff --git a/audio/xmp/distinfo b/audio/xmp/distinfo
new file mode 100644
index 000000000000..071615510ba4
--- /dev/null
+++ b/audio/xmp/distinfo
@@ -0,0 +1 @@
+MD5 (xmp-2.0.0-pre.tar.bz2) = df88e2802bbbea98f26e38524c84bd87
diff --git a/audio/xmp/files/patch-aa b/audio/xmp/files/patch-aa
new file mode 100644
index 000000000000..dec5f80919be
--- /dev/null
+++ b/audio/xmp/files/patch-aa
@@ -0,0 +1,20 @@
+--- src/player/readrc.c.orig Sat Jul 3 17:13:04 1999
++++ src/player/readrc.c Sat Sep 18 13:11:48 1999
+@@ -49,7 +49,7 @@
+
+ if ((rc = fopen (myrc2, "r")) == NULL) {
+ if ((rc = fopen (myrc, "r")) == NULL) {
+- if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) {
++ if ((rc = fopen ("/usr/local/etc/xmp.conf", "r")) == NULL) {
+ free (myrc);
+ return -1;
+ }
+@@ -191,7 +191,7 @@
+
+ myrc = malloc ((home ? strlen (home) : 0) + 20);
+ sprintf (myrc, "%s/.xmp/modules.conf", home);
+- parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size);
++ parse_modconf (ctl, "/usr/local/etc/xmp-modules.conf", crc, size);
+ parse_modconf (ctl, myrc, crc, size);
+ free (myrc);
+ }
diff --git a/audio/xmp/files/patch-ab b/audio/xmp/files/patch-ab
new file mode 100644
index 000000000000..1b63134be24d
--- /dev/null
+++ b/audio/xmp/files/patch-ab
@@ -0,0 +1,19 @@
+*** etc/Makefile.orig Sat Sep 18 14:29:28 1999
+--- etc/Makefile Sat Sep 18 14:29:39 1999
+***************
+*** 21,27 ****
+ @if [ -f /etc/xmp-modules.conf]; then \
+ mv -f /etc/xmp-modules.conf /etc/xmp-modules.conf.old; \
+ fi
+! $(INSTALL) -m644 xmp.conf xmp-modules.conf /etc
+
+ xmp.spec: xmp.spec.in ../Makefile.rules
+ cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@
+--- 21,27 ----
+ @if [ -f /etc/xmp-modules.conf]; then \
+ mv -f /etc/xmp-modules.conf /etc/xmp-modules.conf.old; \
+ fi
+! $(INSTALL) -m644 xmp.conf xmp-modules.conf $(PREFIX)/etc
+
+ xmp.spec: xmp.spec.in ../Makefile.rules
+ cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@
diff --git a/audio/xmp/files/patch-ac b/audio/xmp/files/patch-ac
new file mode 100644
index 000000000000..12789321356e
--- /dev/null
+++ b/audio/xmp/files/patch-ac
@@ -0,0 +1,21 @@
+*** Makefile.orig Sat Sep 18 15:34:54 1999
+--- Makefile Sat Sep 18 15:35:29 1999
+***************
+*** 39,46 ****
+
+ install::
+ @echo
+! @echo " Installation complete. To customize, copy /etc/xmp.conf to"
+! @echo " \$$HOME/.xmp/xmp.conf and /etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
+ @echo
+
+ uninstall:
+--- 39,46 ----
+
+ install::
+ @echo
+! @echo " Installation complete. To customize, copy ${PREFIX}/etc/xmp.conf to"
+! @echo " \$$HOME/.xmp/xmp.conf and ${PREFIX}/etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
+ @echo
+
+ uninstall:
diff --git a/audio/xmp/pkg-comment b/audio/xmp/pkg-comment
new file mode 100644
index 000000000000..ed9cb3b4a540
--- /dev/null
+++ b/audio/xmp/pkg-comment
@@ -0,0 +1 @@
+A player for many different Amiga and PC module formats
diff --git a/audio/xmp/pkg-descr b/audio/xmp/pkg-descr
new file mode 100644
index 000000000000..2344a9a57874
--- /dev/null
+++ b/audio/xmp/pkg-descr
@@ -0,0 +1,14 @@
+This is the Extended Module Player, an open source module player for UNIX
+distributed under the terms of the GNU GPL. xmp currently runs on several
+platforms, including ALSA, OSS (for Linux on i386 and Alpha and FreeBSD),
+BSD, SunOS, Solaris, S/Linux and HP-UX. On PC class machines with GUS or
+AWE cards xmp takes advantage of the OSS sequencer to play modules with
+virtually no system load. Using software mixing, xmp plays at rates up to
+48 kHz in mono or stereo, 8 or 16 bits, signed or unsigned, little or big
+endian samples with 32 bit linear interpolation.
+
+The current version of xmp supports many Amiga and PC module formats
+(including packed, Powerpacked and SQSHed modules) -- currently 47 known
+formats.
+
+WWW: http://xmp.helllabs.org
diff --git a/audio/xmp/pkg-plist b/audio/xmp/pkg-plist
new file mode 100644
index 000000000000..87f5abce8a4b
--- /dev/null
+++ b/audio/xmp/pkg-plist
@@ -0,0 +1,4 @@
+bin/xmp
+bin/xxmp
+etc/xmp.conf
+etc/xmp-modules.conf