From 36b6e6cbb2232ce90289a35ed04dee3f3b7648a1 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Thu, 5 Sep 2002 18:33:21 +0000 Subject: [PATCH] Fix installation by adding do-install target. PR: 42453 Submitted by: Adam Weinberger --- audio/cam/Makefile | 4 ++++ audio/cam/files/patch-ad | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/audio/cam/Makefile b/audio/cam/Makefile index 37225440a5a2..0898a686a087 100644 --- a/audio/cam/Makefile +++ b/audio/cam/Makefile @@ -16,4 +16,8 @@ MAINTAINER= ports@FreeBSD.org MAN1= cam.1 +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cam ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cam.1 ${PREFIX}/man/man1 + .include diff --git a/audio/cam/files/patch-ad b/audio/cam/files/patch-ad index e17aebef9fc8..f74988114ca5 100644 --- a/audio/cam/files/patch-ad +++ b/audio/cam/files/patch-ad @@ -21,17 +21,3 @@ OBJS = cam.o screens.o sounds.o ############################################################################### -@@ -68,11 +68,8 @@ - install:$(EFILE) $(MANFILE) - @echo "" - @echo "installing $(EFILE) in directory $(BINDIR)" -- @$(INSTALL) -m 755 -o root -g root $(EFILE) $(BINDIR) -- @$(INSTALL) -m 755 -o root -g root $(XEFILE) $(BINDIR) -+ @$(INSTALL) -c -m 755 -o $(BINOWN) -g $(BINGRP) $(EFILE) $(BINDIR) - @echo "" - @echo "installing manpages for cam" -- @$(INSTALL) -m 644 -o root -g root $(MANFILE) $(MANDIR) -- @echo "" -- @. installvgafont.sh -+ @$(INSTALL) -c -m 644 -o $(MANOWN) -g $(MANGRP) $(MANFILE) $(MANDIR) - @echo ""