aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-langpack/files
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-09-03 14:16:30 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-09-03 14:16:30 +0000
commitce8458436b38f28e95cf7a34e651ccf7c3592414 (patch)
tree46bb3acc76fd4197ab4ccd73cbaef06b2f254236 /java/eclipse-langpack/files
parent1570ba744047133f1dfd6cc53c2c01a6ccd80bae (diff)
downloadports-ce8458436b38f28e95cf7a34e651ccf7c3592414.tar.gz
ports-ce8458436b38f28e95cf7a34e651ccf7c3592414.zip
Notes
Diffstat (limited to 'java/eclipse-langpack/files')
-rw-r--r--java/eclipse-langpack/files/install.sh13
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