summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-11-04 01:21:49 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-11-04 01:21:49 +0000
commit7a322e0e0ccfd25bc547a5707be657a884711a76 (patch)
tree0aa3f0f8de7dc99fc2510b3f00d6c4c513c16931 /media-gfx/freewrl/freewrl-1.22.13-r1.ebuild
parentKeyword for ~x86 (diff)
downloadhistorical-7a322e0e0ccfd25bc547a5707be657a884711a76.tar.gz
historical-7a322e0e0ccfd25bc547a5707be657a884711a76.tar.bz2
historical-7a322e0e0ccfd25bc547a5707be657a884711a76.zip
reduce elog spam, add EAPI=5 ebuild with slot-operator dep on spidermonkey
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B6559ED
Diffstat (limited to 'media-gfx/freewrl/freewrl-1.22.13-r1.ebuild')
-rw-r--r--media-gfx/freewrl/freewrl-1.22.13-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild b/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild
index 158cdf7796f7..d167efcef0e7 100644
--- a/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild
+++ b/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild,v 1.2 2012/10/24 19:12:13 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.22.13-r1.ebuild,v 1.3 2012/11/04 01:21:28 axs Exp $
EAPI=4
@@ -117,10 +117,12 @@ src_install() {
# install vrml.jar as a JRE extension
dodir /usr/java/packages/lib/ext
dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar
+ if ! has_version "media-gfx/freewrl[java]" ; then
elog "Because vrml.jar requires access to sockets, you will need to incorporate the"
elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default"
elog "java policy:"
elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy"
+ fi
fi
# remove unneeded .la files (as per Flameeyes' rant)
@@ -129,8 +131,10 @@ src_install() {
}
pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "By default, FreeWRL expects to find the 'firefox' binary in your include"
elog "path. If you do not have firefox installed or you wish to use a different"
elog "web browser to open links that are within VRML / X3D files, please be sure to"
elog "specify the command via your BROWSER environment variable."
+ fi
}