aboutsummaryrefslogtreecommitdiffstats
path: root/java/shujit
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-25 21:26:06 +0800
committersobomax <sobomax@FreeBSD.org>2003-02-25 21:26:06 +0800
commit2604f1e69921dfa04ff34f18298e2ba9af82967e (patch)
tree05fae1555a58af4fc8dd521ab0f7bd060e93fba2 /java/shujit
parent4315302041f48bfb5157530691324bdd705a74ec (diff)
downloadfreebsd-ports-gnome-2604f1e69921dfa04ff34f18298e2ba9af82967e.tar.gz
freebsd-ports-gnome-2604f1e69921dfa04ff34f18298e2ba9af82967e.tar.zst
freebsd-ports-gnome-2604f1e69921dfa04ff34f18298e2ba9af82967e.zip
Remove duplicate lines that were created due to applying the same patch
two times. Submitted by: des
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