summaryrefslogtreecommitdiff
path: root/math/scilab/files
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-03-23 22:08:55 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-03-23 22:08:55 +0000
commit353a876869a33e70d4d425ddd18b228ddcc96464 (patch)
treeb7c9bd0b311bde02a57457a33f40d2a53953eef7 /math/scilab/files
parentc74e1e394d3fe4d0d393e46c317fd3c0ed3b9ad5 (diff)
downloadpkgsrc-353a876869a33e70d4d425ddd18b228ddcc96464.tar.gz
Update to scilab-4.1. The old version was very out of date and there
have been many many changes including many bug fixes, graphics improvements, editor improvements, new toolbox functions, etc.
Diffstat (limited to 'math/scilab/files')
-rwxr-xr-xmath/scilab/files/update_plist21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/scilab/files/update_plist b/math/scilab/files/update_plist
new file mode 100755
index 00000000000..6ad6218ff8a
--- /dev/null
+++ b/math/scilab/files/update_plist
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $NetBSD: update_plist,v 1.1 2007/03/23 22:08:56 dmcmahill Exp $
+#
+
+# The scilab install uses tar which preserves times and makes
+# 'make print-PLIST' not work. Be sure to watch out for the
+# ocaml stuff in PLIST.opt if you are on i386
+#
+
+grep "@comment" PLIST > plist.new
+grep "^bin" PLIST >> plist.new
+
+find /usr/pkg/lib/scilab-4.1 -type f -print | sort | sed 's;/usr/pkg/lib/scilab-4.1;lib/${PKGNAME};g' >> plist.new
+find /usr/pkg/share/doc/scilab-4.1 -type f -print | sort | sed 's;/usr/pkg/share/doc/scilab-4.1;share/doc/${PKGNAME};g' >> plist.new
+
+find /usr/pkg/lib/scilab-4.1 -type d -print | sort -r | sed 's;/usr/pkg/lib/scilab-4.1;@dirrm lib/${PKGNAME};g' >> plist.new
+echo '@dirrm lib/${PKGNAME}' >> plist.new
+
+find /usr/pkg/share/doc/scilab-4.1 -type d -print | sort -r | sed 's;/usr/pkg/share/doc/scilab-4.1;@dirrm share/doc/${PKGNAME};g' >> plist.new
+echo '@dirrm share/doc/${PKGNAME}' >> plist.new