diff options
author | augustss <augustss@pkgsrc.org> | 1997-10-28 23:18:20 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1997-10-28 23:18:20 +0000 |
commit | 4daa64a62986fd842753a48935d3c8adf6758d93 (patch) | |
tree | cc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/cam | |
parent | 4434fa54eccf4fa0896d9f01cd93c91ab718ec2c (diff) | |
download | pkgsrc-4daa64a62986fd842753a48935d3c8adf6758d93.tar.gz |
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/cam')
-rw-r--r-- | audio/cam/Makefile | 17 | ||||
-rw-r--r-- | audio/cam/files/md5 | 1 | ||||
-rw-r--r-- | audio/cam/patches/patch-aa | 76 | ||||
-rw-r--r-- | audio/cam/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/cam/pkg/DESCR | 7 | ||||
-rw-r--r-- | audio/cam/pkg/PLIST | 2 |
6 files changed, 104 insertions, 0 deletions
diff --git a/audio/cam/Makefile b/audio/cam/Makefile new file mode 100644 index 00000000000..3dde03654b9 --- /dev/null +++ b/audio/cam/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: cam +# Version required: 1.02 +# Date created: Tue Nov 12 15:54:21 CST 1996 +# Whom: erich@FreeBSD.org +# +# $Id: Makefile,v 1.1.1.1 1997/10/28 23:18:23 augustss Exp $ +# + +DISTNAME= cam-1.02 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= apps/sound/mixers +EXTRACT_SUFX= .tgz + +MAINTAINER= erich@FreeBSD.org + +.include <bsd.port.mk> diff --git a/audio/cam/files/md5 b/audio/cam/files/md5 new file mode 100644 index 00000000000..2c0e667ec44 --- /dev/null +++ b/audio/cam/files/md5 @@ -0,0 +1 @@ +MD5 (cam-1.02.tgz) = dfb2d6afaa608d797f490c9ae468faac diff --git a/audio/cam/patches/patch-aa b/audio/cam/patches/patch-aa new file mode 100644 index 00000000000..fccade6a166 --- /dev/null +++ b/audio/cam/patches/patch-aa @@ -0,0 +1,76 @@ +diff -ru ../cam-1.02-virgin/cam.h ./cam.h +--- ../cam-1.02-virgin/cam.h Mon Oct 21 13:08:08 1996 ++++ ./cam.h Sun Nov 10 12:19:52 1996 +@@ -23,7 +23,11 @@ + #include <stdio.h> + #include <ncurses.h> + #include <signal.h> ++#ifdef __FreeBSD__ ++#include <machine/soundcard.h> ++#else + #include <sys/soundcard.h> ++#endif + #include <fcntl.h> + + #include "sounds.h" +Only in .: cam.o +Only in .: screens.o +diff -ru ../cam-1.02-virgin/sounds.c ./sounds.c +--- ../cam-1.02-virgin/sounds.c Mon Oct 21 13:33:55 1996 ++++ ./sounds.c Sun Nov 10 12:20:22 1996 +@@ -36,7 +36,7 @@ + + + int mixer_fd, recmask, devmask, stereodevs, recsrc; +-char *devname[DEV_COUNT] = SOUND_DEVICE_LABELS; ++char *cam_devname[DEV_COUNT] = SOUND_DEVICE_LABELS; + char *mixer_dev = "/dev/mixer"; + struct devices + { +@@ -287,7 +287,7 @@ + else + dev_vol[dev_count].vol_right = dev_vol[dev_count].vol_left; + +- draw_slider( Y, X, devname[dev_nr]); ++ draw_slider( Y, X, cam_devname[dev_nr]); + draw_handle( Y+1, X+14+dev_vol[dev_count].vol_left, FALSE, 4); + if (STEREO(dev_nr)) + draw_handle( Y+2, X+14+dev_vol[dev_count].vol_right, FALSE, 4); +Only in .: sounds.o +diff -ru ../cam-1.02-virgin/xcam ./xcam +--- ../cam-1.02-virgin/xcam Thu Sep 19 12:10:40 1996 ++++ ./xcam Sun Nov 10 12:21:10 1996 +@@ -1 +1 @@ +-color-xterm -tn xterm-color -font vga -geometry 80x25 -bg black -fg gray -e cam ++color_xterm -tn xterm-color -font vga -geometry 80x25 -bg black -fg gray -e ./cam +--- Makefile~ Tue Nov 12 16:03:05 1996 ++++ Makefile Tue Nov 12 16:03:57 1996 +@@ -8,11 +8,11 @@ + CFLAGS = -Wall -O2 + LIBS = -lncurses + INSTALL = install +-BINDIR = /usr/local/bin ++BINDIR = ${PREFIX}/bin + MANFILE= cam.1 +-MANDIR = /usr/man/man1 ++MANDIR = ${PREFIX}/man/man1 + EFILE = cam +-XEFILE = xcam ++#XEFILE = xcam + OBJS = cam.o screens.o sounds.o + ############################################################################### + +@@ -69,12 +69,10 @@ + @echo "" + @echo "installing $(EFILE) in directory $(BINDIR)" ++ @$(INSTALL) -m 755 -o root -g bin $(EFILE) $(BINDIR) +- @$(INSTALL) -m 755 -o root -g root $(EFILE) $(BINDIR) +- @$(INSTALL) -m 755 -o root -g root $(XEFILE) $(BINDIR) + @echo "" + @echo "installing manpages for cam" ++ @$(INSTALL) -m 644 -o root -g bin $(MANFILE) $(MANDIR) +- @$(INSTALL) -m 644 -o root -g root $(MANFILE) $(MANDIR) ++ @gzip -9nf ${MANDIR}/${MANFILE} +- @echo "" +- @. installvgafont.sh + @echo "" diff --git a/audio/cam/pkg/COMMENT b/audio/cam/pkg/COMMENT new file mode 100644 index 00000000000..305c8057146 --- /dev/null +++ b/audio/cam/pkg/COMMENT @@ -0,0 +1 @@ +Cpu's Audio Mixer [curses based] diff --git a/audio/cam/pkg/DESCR b/audio/cam/pkg/DESCR new file mode 100644 index 00000000000..7a847d274a9 --- /dev/null +++ b/audio/cam/pkg/DESCR @@ -0,0 +1,7 @@ +CAM - Cpu's Audio Mixer +================================= + +This is an audio mixer with an interface or +command line support. + + diff --git a/audio/cam/pkg/PLIST b/audio/cam/pkg/PLIST new file mode 100644 index 00000000000..8f086daba0a --- /dev/null +++ b/audio/cam/pkg/PLIST @@ -0,0 +1,2 @@ +bin/cam +man/man1/cam.1.gz |