summaryrefslogtreecommitdiff
path: root/math/tela/patches/patch-ad
blob: 68ec813358fdb41bb1943f848803bfff235c5b1d (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $

--- Makefile.orig	Tue Dec  5 07:43:56 2000
+++ Makefile
@@ -27,7 +27,7 @@
 
 GNUZIP = gzip -9
 
-READLINEINCLUDE = -I/usr/local/include
+#READLINEINCLUDE = -I/usr/local/include
 SGML2PS = sgml2latex
 BASH = bash
 #HDFLIBS = /usr/local/lib/libdf.a
@@ -114,7 +114,7 @@
 OBJECTDEPS = objarithm.H object.H def.H deftyp.h Tcomplex.H error.H ctinfo.H common.H $(srcdir)/templ/tLL.H
 EXECUTABLES = testobject testil testerror testtree tela ctpp
 
-all : tela docs
+all : tela
 
 what help :
 	@echo 'make                - same as make tela';\
@@ -541,20 +541,20 @@
 	if [ ! -d ct ]; then mkdir ct; chmod 755 ct; fi;\
 	if [ ! -d include ]; then mkdir include; chmod 755 include; fi;\
 	if [ ! -d include/templ ]; then mkdir include/templ; chmod 755 include/templ; fi
-	$(INSTALL_PROGRAM) ctpp $(INSTALL_BINDIR)
-	$(INSTALL_PROGRAM) tela $(INSTALL_BINDIR)
+	$(INSTALL_PROGRAM) ctpp ${PREFIX}/bin
+	$(INSTALL_PROGRAM) tela ${PREFIX}/bin
 	sed -e 's@^BINDIR=.*$$@BINDIR=$(INSTALL_BINDIR)@' \
 		-e 's@^INCLUDEDIR=.*$$@INCLUDEDIR=$(INSTALL_LIBDIR)/include@' \
 		<telakka >telakka.1;\
 	chmod +x telakka.1
-	$(INSTALL_PROGRAM) telakka.1 $(INSTALL_BINDIR)/telakka;\
+	$(BSD_INSTALL_SCRIPT) telakka.1 ${PREFIX}/bin/telakka;\
 	rm telakka.1
 	cd $(srcdir); for i in *.ct local/*.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done
 	cd $(srcdir)/opt; for i in *.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done
 	cd $(srcdir)/t; for i in *.t *.hdf; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/t; done
 	cd $(srcdir); for i in *.H *.h; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/include; done
 	cd $(srcdir)/templ; for i in *.H; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/include/templ; done
-	cd $(srcdir); $(INSTALL_PROGRAM) telahelp.sh $(INSTALL_LIBDIR)/t
+	cd $(srcdir); $(BSD_INSTALL_SCRIPT) telahelp.sh $(INSTALL_LIBDIR)/t
 	for i in libtela.a $(CTELA_MODULES) $(NEEDED_BY_CTELA_MODULES) \
 		$(LOCAL_CTELA_MODULES) $(NEEDED_BY_LOCAL_CTELA_MODULES); \
 		do $(INSTALL_DATA) $$i $(INSTALL_BINDIR); done