aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-06 02:33:21 +0800
committertrevor <trevor@FreeBSD.org>2002-09-06 02:33:21 +0800
commit85638f9bf27a2689ac520d0f008047ee0f0ba2b0 (patch)
tree7f3aa82c4e9a26d9d171da93ab0acab75283f643
parent0217665fcbc148ddf5c234c5fbf6252b59040bf7 (diff)
downloadfreebsd-ports-gnome-85638f9bf27a2689ac520d0f008047ee0f0ba2b0.tar.gz
freebsd-ports-gnome-85638f9bf27a2689ac520d0f008047ee0f0ba2b0.tar.zst
freebsd-ports-gnome-85638f9bf27a2689ac520d0f008047ee0f0ba2b0.zip
Fix installation by adding do-install target.
PR: 42453 Submitted by: Adam Weinberger
-rw-r--r--audio/cam/Makefile4
-rw-r--r--audio/cam/files/patch-ad14
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 <bsd.port.mk>
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 ""