summaryrefslogtreecommitdiffstats
path: root/devel/cobra/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cobra/INSTALL')
-rwxr-xr-xdevel/cobra/INSTALL16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/cobra/INSTALL b/devel/cobra/INSTALL
new file mode 100755
index 0000000000..0a75f685d3
--- /dev/null
+++ b/devel/cobra/INSTALL
@@ -0,0 +1,16 @@
+INSTDIR="$INSTALL_ROOT/usr/lib"
+DOCDIR="$INSTALL_ROOT/usr/share/doc/cobra-$VERSION"
+
+# FIXME: Do the installation manually, it's a mess
+mkdir -p "$DOCDIR" &&
+cd "$SOURCE_DIRECTORY/Source" &&
+echo "$INSTDIR" > install-directory.text &&
+bin/install-from-workspace &&
+cp -r ../*.text ../Developer "$DOCDIR" &&
+# Fix up the rest of the documentation
+for i in HowTo Reusables Samples Supplements; do
+ mv "$INSTDIR/Cobra-$VERSION/$i" "$DOCDIR"
+done &&
+# Move the wrapper
+mv "$INSTDIR/bin/cobra" "$INSTALL_ROOT/usr/bin" &&
+rmdir "$INSTDIR/bin"