source: trunk/dports/editors/jove/files/patch-Makefile.diff @ 6831

Last change on this file since 6831 was 6831, checked in by matt, 16 years ago

Bug: 1799
Submitted by: maintainer, vivek@… (Vivek Khera)
Reviewed by: matt@
Approved by:
Obtained from:

Man pages now get installed into ${prefix}/share/man.
Thanks Vivek!

  • Property svn:eol-style set to native
File size: 2.1 KB
RevLine 
[2311]1--- Makefile.orig       Tue Mar 19 13:44:33 1996
2+++ Makefile    Wed Dec 20 05:39:12 2000
3@@ -27,16 +27,16 @@
4 # LIBDIR and SHAREDIR.  All others must already exist.
5 
6 SHELL = /bin/sh
7-TMPDIR = /usr/tmp
8+TMPDIR = /var/tmp
9 RECDIR = /usr/preserve
10 
11-JOVEHOME = /usr/local
12-SHAREDIR = $(JOVEHOME)/lib/jove
13-LIBDIR = $(JOVEHOME)/lib/jove
14+JOVEHOME = __PREFIX
15+SHAREDIR = $(JOVEHOME)/share/jove
16+LIBDIR = $(JOVEHOME)/libexec/jove
17 BINDIR = $(JOVEHOME)/bin
[6831]18-MANDIR = $(JOVEHOME)/man/man$(MANEXT)
19+MANDIR = $(JOVEHOME)/share/man/man$(MANEXT)
[2311]20 MANEXT = 1
21-DFLTSHELL = /bin/csh
22+DFLTSHELL = /bin/sh
23 
24 # The install commands of BSD and System V differ in unpleasant ways:
25 # -c: copy (BSD); -c dir: destination directory (SysV)
26@@ -50,12 +50,12 @@
27 INSTALLFLAGS = # -g bin -o root
28 
29 # to install executable files
30-XINSTALL=cp
31-#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
32+#XINSTALL=cp
33+XINSTALL=install $(INSTALLFLAGS) -c -m 755 -s
34 
35 # to install text files
36-TINSTALL=cp
37-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
38+#TINSTALL=cp
39+TINSTALL=install $(INSTALLFLAGS) -c -m 644
40 
41 # These should all just be right if the above ones are.
42 # You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
43@@ -79,7 +79,7 @@
44 # compiler, adding -Xa -v will increase compiler checking.
45 # On DEC OSF/1, -std1 -O
46 
47-OPTFLAGS = -O
48+#OPTFLAGS = -O
49 
50 # For making dependencies under BSD systems
51 DEPENDFLAG = -M
52@@ -163,13 +163,13 @@
53 #
54 # You can just say 'make SYSDEFS=-Dwhatever' on these systems.
55 
56-SYSDEFS =
57+SYSDEFS = -DBSDPOSIX
58 
59 # for SCO Xenix, set
60 #      MEMFLAGS = -Mle
61 #      CFLAGS = -LARGE -O -F 3000 -K -Mle  (say -Mle2 for an 80286)
62 
63-CFLAGS = $(OPTFLAGS) $(SYSDEFS)
64+CFLAGS += $(OPTFLAGS) $(SYSDEFS)
65 
66 # For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
67 # CC = /usr/bin/cc
68@@ -213,7 +213,7 @@
69 TROFF = troff -Tpost
70 TROFFPOST = | /usr/lib/lp/postscript/dpost - >troff.out.ps
71 
72-MANUALS = $(JOVEM) $(TEACHJOVEM) $(XJOVEM) $(JOVETOOLM)
73+MANUALS = $(JOVEM) $(TEACHJOVEM) # $(XJOVEM) $(JOVETOOLM)
74 
75 C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \
76        delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \
Note: See TracBrowser for help on using the repository browser.