blob: a9fcbb89f76fdc0af155ed28740e4c26be4e70e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.3 2013/03/03 10:53:31 shattered Exp $
--- Makefile.in.orig Wed May 5 10:24:39 1999
+++ Makefile.in Sun Jun 20 19:21:55 1999
@@ -10,8 +10,8 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
-bindir = /usr/local/bin
-mandir = /usr/local/man/man1
+bindir = $(PREFIX)/bin
+mandir = $(PREFIX)/${PKGMANDIR}/man1
SRCS1 = tty.c command.c command1.c getuint.c jpeg.c ppm.c bmp.c qvplay.c
OBJS1 = tty.o command.o command1.o getuint.o jpeg.o ppm.o bmp.o qvplay.o
@@ -52,12 +52,12 @@
# some BSD environment /dev/tty is uucp/bin
install: all
- $(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG1) $(bindir)/$(PROG1)
- $(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG2) $(bindir)/$(PROG2)
- $(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG3) $(bindir)/$(PROG3)
- $(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN1) $(mandir)/$(MAN1)
- $(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN2) $(mandir)/$(MAN2)
- $(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN3) $(mandir)/$(MAN3)
+ $(INSTALL_PROGRAM) $(PROG1) ${DESTDIR}$(bindir)/$(PROG1)
+ $(INSTALL_PROGRAM) $(PROG2) ${DESTDIR}$(bindir)/$(PROG2)
+ $(INSTALL_PROGRAM) $(PROG3) ${DESTDIR}$(bindir)/$(PROG3)
+ $(INSTALL_DATA) $(MAN1) ${DESTDIR}$(mandir)/$(MAN1)
+ $(INSTALL_DATA) $(MAN2) ${DESTDIR}$(mandir)/$(MAN2)
+ $(INSTALL_DATA) $(MAN3) ${DESTDIR}$(mandir)/$(MAN3)
depend: .depend
.depend:
mkdep $(SRCS1)
|