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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
$NetBSD: patch-av,v 1.2 1999/03/05 11:22:35 frueauf Exp $
--- Makefile.in.orig Fri Sep 11 07:12:14 1998
+++ Makefile.in Sun Jan 17 12:51:05 1999
@@ -60,5 +60,7 @@
$(RM) bin/scilex
-SUBDIRS = scripts maple macros imp intersci @MANVIEWER@ @XMETANET@ \
+# don't install @MANVIEWER@ (xless) because NetBSD already has it
+#SUBDIRS = scripts maple macros imp intersci @MANVIEWER@ @XMETANET@ \
+SUBDIRS = scripts maple macros imp intersci @XMETANET@ \
tests demos @COMM@ examples
@@ -78,6 +80,6 @@
$(MAKE) $(MFLAGS) world;
-scilex-lib-world::
- @cd pvm3; echo "making all in pvm3..."; $(MAKE) $(MFLAGS);
+#scilex-lib-world::
+# @cd pvm3; echo "making all in pvm3..."; $(MAKE) $(MFLAGS);
all::
@@ -106,8 +108,8 @@
done
-distclean::
- @cd pvm3; echo "making distclean in pvm3..."; \
- $(MAKE) $(MFLAGS) clean;
- $(RM) -r pvm3/lib/@PVMARCH@ pvm3/bin/@PVMARCH@
+#distclean::
+# @cd pvm3; echo "making distclean in pvm3..."; \
+# $(MAKE) $(MFLAGS) clean;
+# $(RM) -r pvm3/lib/@PVMARCH@ pvm3/bin/@PVMARCH@
clean::
@@ -119,7 +121,7 @@
done
-clean::
- @cd pvm3; echo "making clean in pvm3..."; \
- $(MAKE) $(MFLAGS) clean;
+#clean::
+# @cd pvm3; echo "making clean in pvm3..."; \
+# $(MAKE) $(MFLAGS) clean;
tests:
@@ -150,8 +152,4 @@
$(SCIBASE)/routines/graphics/Graphics.h \
$(SCIBASE)/routines/sun/link.h $(SCIBASE)/routines/intersci/sparse.h \
- $(SCIBASE)/pvm3/lib/pvm $(SCIBASE)/pvm3/lib/pvmd \
- $(SCIBASE)/pvm3/lib/pvmtmparch \
- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmd3 \
- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmgs \
$(SCIBASE)/tcl \
$(SCIBASE)/.binary
@@ -162,2 +160,14 @@
cd .. ; tar cvf $(SCIDIR)/$(SCIBASE)-bin.tar $(BINDISTFILES)
$(RM) .binary
+
+install:
+ touch .binary
+ strip $(SCIDIR)/bin/scilex
+ cd .. ; tar cvf - $(BINDISTFILES) | (cd ${PREFIX}/share; tar xf -)
+ cd ${PREFIX}/share/scilab-2.4.1; make
+ rm -f ${PREFIX}/bin/scilab
+ ln -fs ${PREFIX}/share/scilab-2.4.1/bin/scilab ${PREFIX}/bin/scilab
+ ln -fs ${PREFIX}/bin/xless ${PREFIX}/share/scilab-2.4.1/bin/xless
+ ${BSD_INSTALL_DATA} ${PREFIX}/share/scilab-2.4.1/X11_defaults/Xscilab ${X11BASE}/lib/X11/app-defaults
+ ${BSD_INSTALL_DATA} ${PREFIX}/share/scilab-2.4.1/X11_defaults/Metanet-color ${X11BASE}/lib/X11/app-defaults
+
|