1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/math/scilab/files/patch-ba
Rong-En Fan 1f795d8889 - Update to 4.1.1
- Remove PLIST_SUB
  DOCSDIR substitution is handled by bsd.port.mk
  PORTVERSION is no longer used in pkg-plist

PR:	      	 ports/113706
Submitted by:	 Jean-Sebastien Roy <js at jeannot.org> (maintainer)
2007-06-16 19:45:45 +00:00

25 lines
1003 B
Plaintext

--- Makefile.in.orig Tue Feb 14 13:14:22 2006
+++ Makefile.in Sat May 27 20:34:22 2006
@@ -108,7 +108,7 @@
conftest conftest.c so_locations
# SCIBASE for scilab binaries generation
-SCIBASE = scilab-4.1.1
+SCIBASE = scilab
PVMBINDISTFILES = \
$(SCIBASE)/pvm3/Readme \
@@ -263,9 +263,9 @@
( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \
(cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \
fi
- install -d $(PREFIX)/share/doc/$(DOCNAME)/
- install ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl \
- licence.txt license.txt $(PREFIX)/share/doc/$(DOCNAME)
+%%PORTDOCS%% install -d $(PREFIX)/share/doc/$(DOCNAME)/
+%%PORTDOCS%% install ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl \
+%%PORTDOCS%% licence.txt license.txt $(PREFIX)/share/doc/$(DOCNAME)
install -d $(PREFIX)/bin
$(RM) $(PREFIX)/bin/scilab
ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/scilab $(PREFIX)/bin/scilab