summaryrefslogtreecommitdiff
path: root/sysutils/ledit/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ledit/files/patch-Makefile')
-rw-r--r--sysutils/ledit/files/patch-Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/ledit/files/patch-Makefile b/sysutils/ledit/files/patch-Makefile
new file mode 100644
index 000000000000..36ab09ef7acd
--- /dev/null
+++ b/sysutils/ledit/files/patch-Makefile
@@ -0,0 +1,28 @@
+--- Makefile.orig Tue Feb 8 18:10:04 2005
++++ Makefile Tue Feb 8 18:17:56 2005
+@@ -1,8 +1,10 @@
+ # $Id: Makefile,v 1.19 2001/10/03 09:36:34 ddr Exp $
+
+-BINDIR=/usr/local/bin
+-LIBDIR=/usr/local/lib
+-MANDIR=/usr/man/manl
++PREFIX?=/usr/local
++
++BINDIR=$(PREFIX)/bin
++LIBDIR=$(PREFIX)/lib
++MANDIR=$(PREFIX)/man/manl
+ COMP=ocamlc
+ COMPOPT=ocamlopt
+ PP=camlp4r
+@@ -33,6 +35,11 @@
+ install:
+ -$(MKDIR) $(BINDIR) $(MANDIR)
+ -cp ledit.out $(BINDIR)/ledit
++ -cp ledit.l $(MANDIR)/ledit.l
++
++install.opt: $(TARGET:.out=.opt)
++ -$(MKDIR) $(BINDIR) $(MANDIR)
++ -cp ledit.opt $(BINDIR)/ledit
+ -cp ledit.l $(MANDIR)/ledit.l
+
+ depend: