diff options
Diffstat (limited to 'math/scilab/files/update_plist')
-rwxr-xr-x | math/scilab/files/update_plist | 21 |
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 |