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 +# +# $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 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