1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/scilab/files/patch-aa

27 lines
962 B
Plaintext
Raw Normal View History

--- Makefile.in.orig Mon May 12 17:30:43 1997
+++ Makefile.in Wed Jun 18 13:44:05 1997
@@ -54,7 +54,8 @@
distclean::
$(RM) bin/scilex
-SUBDIRS = scripts macros imp intersci @MANVIEWER@ @XMETANET@ tests demos @COMM@
+# FreeBSD Has xless so we dont need it here
+SUBDIRS = scripts macros imp intersci @XMETANET@ tests demos @COMM@
SUBDIRS-DOC = man doc
@@ -135,3 +136,13 @@
touch .binary
cd .. ; tar cvf $(SCIDIR)/$(SCIBASE)-bin.tar $(BINDISTFILES)
$(RM) .binary
+
+install:
+ touch .binary
+ cd .. ; tar cvf - $(BINDISTFILES) | (cd ${PREFIX}/lib/X11; tar xf -)
+ cd ${PREFIX}/lib/X11/scilab-2.3; make
+ rm -f ${PREFIX}/bin/scilab
+ ln -fs ${PREFIX}/lib/X11/scilab-2.3/bin/scilab ${PREFIX}/bin/scilab
+ ln -fs ${PREFIX}/bin/xless ${PREFIX}/lib/X11/scilab-2.3/bin/xless
+ cp ${PREFIX}/lib/X11/scilab-2.3/X11_defaults/Xscilab ${PREFIX}/lib/X11/app-defaults
+ cp ${PREFIX}/lib/X11/scilab-2.3/X11_defaults/Metanet-color ${PREFIX}/lib/X11/app-defaults