1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix installation by adding do-install target.

PR:		42453
Submitted by:	Adam Weinberger
This commit is contained in:
Trevor Johnson 2002-09-05 18:33:21 +00:00
parent 80285b20b9
commit 36b6e6cbb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65696
2 changed files with 4 additions and 14 deletions

View File

@ -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>

View File

@ -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 ""