diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-09-03 14:16:30 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-09-03 14:16:30 +0000 |
commit | ce8458436b38f28e95cf7a34e651ccf7c3592414 (patch) | |
tree | 46bb3acc76fd4197ab4ccd73cbaef06b2f254236 /java/eclipse-langpack/files | |
parent | 1570ba744047133f1dfd6cc53c2c01a6ccd80bae (diff) | |
download | ports-ce8458436b38f28e95cf7a34e651ccf7c3592414.tar.gz ports-ce8458436b38f28e95cf7a34e651ccf7c3592414.zip |
Notes
Diffstat (limited to 'java/eclipse-langpack/files')
-rw-r--r-- | java/eclipse-langpack/files/install.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/eclipse-langpack/files/install.sh b/java/eclipse-langpack/files/install.sh new file mode 100644 index 000000000000..bd762ff7a2a2 --- /dev/null +++ b/java/eclipse-langpack/files/install.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +wrksrc=$1; prefix=$2 +owner=$3; group=$4; dperm=$5; fperm=$6 +plist=$7 + +for dir in `sed -n "s|^@dirrm ||p" $plist | sort`; do + install -d -o ${owner} -g ${group} -m ${dperm} ${prefix}/$dir +done + +for file in `sed "/^@dirrm /d; s|^eclipse/||" $plist`; do + install -c -o ${owner} -g ${group} -m ${fperm} ${wrksrc}/${file} ${prefix}/eclipse/${file} +done |