diff options
Diffstat (limited to 'java/shujit/pkg-install')
-rw-r--r-- | java/shujit/pkg-install | 32 |
1 files changed, 0 insertions, 32 deletions
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 |