aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2012-02-07 15:00:43 +0100
committerMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2012-02-07 15:00:43 +0100
commitf187f9d3b00a6837e8a279b268e19694b3dfc714 (patch)
tree9c6673d06f9b6c7fe8fe0d571ca02162f7096895 /sci-biology
parentsci-biology/tablet-bin-1.11.11.01: make use of the TMPDIR variable (diff)
downloadsci-f187f9d3b00a6837e8a279b268e19694b3dfc714.tar.gz
sci-f187f9d3b00a6837e8a279b268e19694b3dfc714.tar.bz2
sci-f187f9d3b00a6837e8a279b268e19694b3dfc714.zip
adjust PATH to point to the installation place, few comment lines changes
(Portage version: 2.1.10.45/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/OBO-Edit/ChangeLog4
-rw-r--r--sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild11
2 files changed, 12 insertions, 3 deletions
diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/ChangeLog
index abf523e4c..0632e052b 100644
--- a/sci-biology/OBO-Edit/ChangeLog
+++ b/sci-biology/OBO-Edit/ChangeLog
@@ -4,6 +4,10 @@
07 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
OBO-Edit-2.1.1.6.ebuild:
+ adjust PATH to point to the installation place, few comment lines changes
+
+ 07 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+ OBO-Edit-2.1.1.6.ebuild:
added the addpredict() trick from tablet-bin*.ebuild to make the ACCESS DENIED
messages quiet, bugs #402507 (learned from bug #387227)
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
index 19c5de056..ec0e64f35 100644
--- a/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
+++ b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
@@ -53,15 +53,20 @@ src_prepare(){
sed -e "s@/bin/java\" -Dinstall4j.jvmDir=\"\$app_java_home\"@/bin/java\" -Duser.home="${TMPDIR}" -Dinstall4j.jvmDir="${TMPDIR}" -Dsys.symlinkDir="${D}"usr/bin -Djava.util.prefs.systemRoot="${TMPDIR}"@" -i "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh || die "failed to set userHome and jvmDir where JAVA .systemPrefs can be found"
chmod u+rx "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh
- grep Duser "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh
}
src_install(){
- cat "${TMPDIR}"/.install4j/response.varfile
- chmod a-w "${TMPDIR}"/.install4j/response.varfile
+ # it looks install4j removes the target installation direcotry before writing into it :((
+ #
+ # cat "${TMPDIR}"/.install4j/response.varfile
+ # chmod a-w "${TMPDIR}"/.install4j/response.varfile
+
INSTALL4J_KEEP_TEMP="yes" HOME="${TMPDIR}" "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh -q --varfile="${TMPDIR}"/.install4j/response.varfile --destination="${D}"/opt/OBO-Edit2 -dir "${D}"/opt/OBO-Edit2 || die "Failed to run the self-extracting "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh file"
find . -name firstrun -delete
find . -name .svn -exec rm -rf '{}' \;
dodoc "${DISTDIR}"/"${PN}"_ReleaseNotes-"${PV}".txt
+
+ echo "PATH=/opt/OBO-Edit2" > 99OBO-Edit
+ doenvd 99OBO-Edit || die
}