aboutsummaryrefslogtreecommitdiff
path: root/java/shujit
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-02-25 13:26:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-02-25 13:26:06 +0000
commit8f7c8cea6f68c2c5661b56d7db1d09df10dc0321 (patch)
treeea6e5ec82246f86f7cd246fd432f7a418b3cac20 /java/shujit
parent61d74cdd813b5547ba75eb6313a32e759d8ede1c (diff)
downloadports-8f7c8cea6f68c2c5661b56d7db1d09df10dc0321.tar.gz
ports-8f7c8cea6f68c2c5661b56d7db1d09df10dc0321.zip
Notes
Diffstat (limited to 'java/shujit')
-rw-r--r--java/shujit/pkg-deinstall14
-rw-r--r--java/shujit/pkg-install32
2 files changed, 0 insertions, 46 deletions
diff --git a/java/shujit/pkg-deinstall b/java/shujit/pkg-deinstall
index 38e915864de0..26cb855fe0c6 100644
--- a/java/shujit/pkg-deinstall
+++ b/java/shujit/pkg-deinstall
@@ -12,17 +12,3 @@ then
done
rm -f "${linkfile}"
fi
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-linkfile="${PKG_PREFIX}/etc/shujit-links"
-if [ -f "${linkfile}" ]
-then
- cat "${linkfile}" | while read link
- do
- rm -f "${link}"
- done
- rm -f "${linkfile}"
-fi
diff --git a/java/shujit/pkg-install b/java/shujit/pkg-install
index 98c2ef2063e3..0d02b1362459 100644
--- a/java/shujit/pkg-install
+++ b/java/shujit/pkg-install
@@ -30,35 +30,3 @@ do
;;
esac
done
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-[ "$2" = "POST-INSTALL" ] || exit 0
-
-linkfile="${PKG_PREFIX}/etc/shujit-links"
-:>"${linkfile}"
-
-sed 's/[[:space:]]*#.*//' ${PKG_PREFIX}/etc/javavms | while read vm
-do
- case "$vm" in
- *linux*)
- # Linux JDKs are not supported
- ;;
- *)
- java_home="${vm%%/bin/*}"
- case "$java_home" in
- *jdk1.1.8*)
- libdir="${java_home}/lib/i386/green_threads"
- ;;
- *)
- libdir="${java_home}/jre/lib/i386"
- ;;
- esac
- echo "Installing link in ${libdir}"
- ln -fs "${PKG_PREFIX}/lib/libshujit.so" "${libdir}/libshujit.so"
- echo "${libdir}/libshujit.so" >>"${linkfile}"
- ;;
- esac
-done