diff options
author | hoek <hoek@FreeBSD.org> | 1998-08-22 05:48:17 +0000 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-08-22 05:48:17 +0000 |
commit | f09903bd1e681acd689cc9ed14b280c322fa4171 (patch) | |
tree | e253a87e81e73831aa2a52836c0001abdd9630d2 /audio/cam/files | |
parent | 212fac4a8d185c00e3f2790501197d221403fdf1 (diff) | |
download | FreeBSD-ports-f09903bd1e681acd689cc9ed14b280c322fa4171.zip FreeBSD-ports-f09903bd1e681acd689cc9ed14b280c322fa4171.tar.gz |
Use MAN1. Split-up monolithic patch-aa. Make reinstall: work.
Respect BINOWN and MANOWN. (Changes for this are in patch-ad --- I
should have split patch-aa in a separate commit).
Diffstat (limited to 'audio/cam/files')
-rw-r--r-- | audio/cam/files/patch-ab | 15 | ||||
-rw-r--r-- | audio/cam/files/patch-ac | 21 | ||||
-rw-r--r-- | audio/cam/files/patch-ad | 36 |
3 files changed, 72 insertions, 0 deletions
diff --git a/audio/cam/files/patch-ab b/audio/cam/files/patch-ab new file mode 100644 index 0000000..40b7498 --- /dev/null +++ b/audio/cam/files/patch-ab @@ -0,0 +1,15 @@ +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" diff --git a/audio/cam/files/patch-ac b/audio/cam/files/patch-ac new file mode 100644 index 0000000..5c19493a --- /dev/null +++ b/audio/cam/files/patch-ac @@ -0,0 +1,21 @@ +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); diff --git a/audio/cam/files/patch-ad b/audio/cam/files/patch-ad new file mode 100644 index 0000000..660a902 --- /dev/null +++ b/audio/cam/files/patch-ad @@ -0,0 +1,36 @@ +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,9 @@ + @echo "" + @echo "installing $(EFILE) in directory $(BINDIR)" ++ @$(INSTALL) -c -m 755 -o $(BINOWN) -g $(BINGRP) $(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) -c -m 644 -o $(MANOWN) -g $(MANGRP) $(MANFILE) $(MANDIR) +- @$(INSTALL) -m 644 -o root -g root $(MANFILE) $(MANDIR) +- @echo "" +- @. installvgafont.sh + @echo "" |