summaryrefslogtreecommitdiff
path: root/editors/e3/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/e3/files/patch-Makefile')
-rw-r--r--editors/e3/files/patch-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/e3/files/patch-Makefile b/editors/e3/files/patch-Makefile
new file mode 100644
index 000000000000..5ffa14cfe4a3
--- /dev/null
+++ b/editors/e3/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- Makefile.orig Mon Dec 18 21:08:30 2000
++++ Makefile Mon Dec 18 21:10:02 2000
+@@ -7,7 +7,7 @@
+
+ # 2. edit dest dir prefix if you want....
+
+-PREFIX='/usr/local'
++PREFIX?='/usr/local'
+ #PREFIX=/boot/home
+
+ BINDIR='$(PREFIX)/bin'
+@@ -38,12 +38,12 @@
+
+ install: e3
+ 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
+- install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
++ ${BSD_INSTALL_MAN} e3.man $(MANDIR)/e3.$(MANSEC)
+
+ clean:
+ rm -f e3*.o e3*.lst e3 e3em e3pi e3vi e3ws