summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-07-01 09:12:52 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-07-01 09:12:52 +0000
commit3d17e331f4ca6b38d2da4429b75295a4fad4ce95 (patch)
treea4162cc977099561ed9ba49f9c4f750a59c072a8 /audio
parentAn X-based spreadsheet program. (diff)
An X-based mixer program.
Submitted by: Janusz Kokot <janek@gaja.ipan.lublin.pl>
Notes
Notes: svn path=/head/; revision=1905
Diffstat (limited to 'audio')
-rw-r--r--audio/xmix/Makefile23
-rw-r--r--audio/xmix/distinfo2
-rw-r--r--audio/xmix/files/patch-aa37
-rw-r--r--audio/xmix/pkg-comment1
-rw-r--r--audio/xmix/pkg-descr4
-rw-r--r--audio/xmix/pkg-plist7
6 files changed, 74 insertions, 0 deletions
diff --git a/audio/xmix/Makefile b/audio/xmix/Makefile
new file mode 100644
index 000000000000..b489ebe53212
--- /dev/null
+++ b/audio/xmix/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xmix
+# Version required: 2.1
+# Date created: 30 June 1995
+# Whom: janek@gaja.ipan.lublin.pl
+#
+
+DISTNAME= xmix-2.1
+CATEGORIES+= audio
+MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/sound/mixers/ \
+ ftp://ftp.icm.edu.pl/pub2/linux/apps/sound/mixers/
+
+PATCH_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/sound/mixers/ \
+ ftp://ftp.icm.edu.pl/pub2/linux/apps/sound/mixers/
+PATCHFILES= xmix-2.1.mixers.patch
+
+USE_IMAKE= yes
+WRKSRC= $(WRKDIR)/xmix
+
+pre-install:
+ cp ${WRKSRC}/xmix.1 ${WRKSRC}/xmix.man
+ /usr/bin/install -c -m 0444 $(WRKSRC)/XMix /usr/X11R6/lib/X11/app-defaults
+
+.include <bsd.port.mk>
diff --git a/audio/xmix/distinfo b/audio/xmix/distinfo
new file mode 100644
index 000000000000..722803ecfee9
--- /dev/null
+++ b/audio/xmix/distinfo
@@ -0,0 +1,2 @@
+MD5 (xmix-2.1.mixers.patch) = 26786ade59dd22f01700be2e8d2239c3
+MD5 (xmix-2.1.tar.gz) = 9216b84746fc66179dcd93696b139d68
diff --git a/audio/xmix/files/patch-aa b/audio/xmix/files/patch-aa
new file mode 100644
index 000000000000..97750e6f1557
--- /dev/null
+++ b/audio/xmix/files/patch-aa
@@ -0,0 +1,37 @@
+diff -rc ../../xmix.orig/Imakefile ./Imakefile
+*** ../../xmix.orig/Imakefile Fri Jun 30 18:49:35 1995
+--- ./Imakefile Fri Jun 30 20:11:30 1995
+***************
+*** 14,17 ****
+
+ LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+
+! NormalProgramTarget(xmix,$(OBJS1),,$(LOCAL_LIBRARIES),)
+--- 14,19 ----
+
+ LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+
+! PROGRAM = $(PROGRAMS)
+!
+! ComplexProgramTarget_1($(PROGRAM),$(LOCAL_LIBRARIES),)
+Only in ./: Imakefile.orig
+diff -rc ../../xmix.orig/xmix.c ./xmix.c
+*** ../../xmix.orig/xmix.c Fri Jun 30 20:09:41 1995
+--- ./xmix.c Fri Jun 30 20:11:49 1995
+***************
+*** 77,83 ****
+ #include "square_empty.bit"
+ #include "square_with_x.bit"
+
+! #include <linux/soundcard.h>
+
+ #define SOUND_FULL_SCALE 100.0
+ #define MAX_SOUND_VOL 95
+--- 77,83 ----
+ #include "square_empty.bit"
+ #include "square_with_x.bit"
+
+! #include <machine/soundcard.h>
+
+ #define SOUND_FULL_SCALE 100.0
+ #define MAX_SOUND_VOL 95
diff --git a/audio/xmix/pkg-comment b/audio/xmix/pkg-comment
new file mode 100644
index 000000000000..78b25c4b052e
--- /dev/null
+++ b/audio/xmix/pkg-comment
@@ -0,0 +1 @@
+xmix-2.1, mixer for X windows
diff --git a/audio/xmix/pkg-descr b/audio/xmix/pkg-descr
new file mode 100644
index 000000000000..1a9ea4913274
--- /dev/null
+++ b/audio/xmix/pkg-descr
@@ -0,0 +1,4 @@
+This is the xmix sound mixer for the sound drivers in the FreeBSD
+It was originally written for Linux by Hal Brand (brand@netcom.com).
+
+This is version 2.1.
diff --git a/audio/xmix/pkg-plist b/audio/xmix/pkg-plist
new file mode 100644
index 000000000000..4f87a712b807
--- /dev/null
+++ b/audio/xmix/pkg-plist
@@ -0,0 +1,7 @@
+@mode 755
+@owner bin
+@group bin
+bin/xmix
+@mode 644
+lib/X11/app-defaults/XMix
+man/man1/xmix.1.gz