aboutsummaryrefslogtreecommitdiff
path: root/editors/e3/files/patch-Makefile
blob: 6773f474575bb75845ce8864014c9a13d09c95bc (plain) (blame)
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
--- Makefile.orig	Fri Nov  9 10:38:26 2001
+++ Makefile	Mon Dec 24 17:54:32 2001
@@ -8,7 +8,7 @@
 
 # 2. edit dest dir prefix if you want....
 
-PREFIX='/usr/local'
+PREFIX?='/usr/local'
 #PREFIX=/boot/home
 
 
@@ -86,13 +86,13 @@
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
 else
 	install -d $(PREFIX) $(BINDIR) $(MANDIR)
-	install -m 755 e3 $(BINDIR)
+	${BSD_INSTALL_PROGRAM} e3 $(BINDIR)
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ws
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3em
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3pi
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3vi
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
-	install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
+	${BSD_INSTALL_MAN} e3.man $(MANDIR)/e3.$(MANSEC)
 endif
 
 clean: