diff options
author | hoek <hoek@FreeBSD.org> | 1998-08-22 13:48:17 +0800 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-08-22 13:48:17 +0800 |
commit | f09903bd1e681acd689cc9ed14b280c322fa4171 (patch) | |
tree | e253a87e81e73831aa2a52836c0001abdd9630d2 /audio | |
parent | 212fac4a8d185c00e3f2790501197d221403fdf1 (diff) | |
download | freebsd-ports-gnome-f09903bd1e681acd689cc9ed14b280c322fa4171.tar.gz freebsd-ports-gnome-f09903bd1e681acd689cc9ed14b280c322fa4171.tar.zst freebsd-ports-gnome-f09903bd1e681acd689cc9ed14b280c322fa4171.zip |
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')
-rw-r--r-- | audio/cam/Makefile | 4 | ||||
-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 | ||||
-rw-r--r-- | audio/cam/pkg-plist | 1 |
5 files changed, 75 insertions, 2 deletions
diff --git a/audio/cam/Makefile b/audio/cam/Makefile index 5ca740f668f3..ff092ced83ea 100644 --- a/audio/cam/Makefile +++ b/audio/cam/Makefile @@ -3,7 +3,7 @@ # Date created: Tue Nov 12 15:54:21 CST 1996 # Whom: erich@FreeBSD.org # -# $Id: Makefile,v 1.3 1996/11/16 08:49:10 asami Exp $ +# $Id: Makefile,v 1.4 1996/11/20 02:09:54 obrien Exp $ # DISTNAME= cam-1.02 @@ -14,4 +14,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= erich@FreeBSD.org +MAN1= cam.1 + .include <bsd.port.mk> diff --git a/audio/cam/files/patch-ab b/audio/cam/files/patch-ab new file mode 100644 index 000000000000..40b7498a9775 --- /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 000000000000..5c19493a2743 --- /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 000000000000..660a902e513c --- /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 "" diff --git a/audio/cam/pkg-plist b/audio/cam/pkg-plist index 8f086daba0a2..c34194b42a00 100644 --- a/audio/cam/pkg-plist +++ b/audio/cam/pkg-plist @@ -1,2 +1 @@ bin/cam -man/man1/cam.1.gz |