summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2007-12-10 16:02:07 +0000
committerMarkus Meier <maekke@gentoo.org>2007-12-10 16:02:07 +0000
commitc318c15287eb49795840749ae4df73b134b02272 (patch)
treee83ec232e4b8b7fcfa3352e4dd195359f26fd084 /media-gfx/aoi/aoi-2.5.ebuild
parentStable on x86 wrt bug #201693 (diff)
downloadhistorical-c318c15287eb49795840749ae4df73b134b02272.tar.gz
historical-c318c15287eb49795840749ae4df73b134b02272.tar.bz2
historical-c318c15287eb49795840749ae4df73b134b02272.zip
version bump, bug #189416
Package-Manager: portage-2.1.4_rc9
Diffstat (limited to 'media-gfx/aoi/aoi-2.5.ebuild')
-rw-r--r--media-gfx/aoi/aoi-2.5.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/aoi/aoi-2.5.ebuild b/media-gfx/aoi/aoi-2.5.ebuild
new file mode 100644
index 000000000000..4a82a80e2c8b
--- /dev/null
+++ b/media-gfx/aoi/aoi-2.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/aoi/aoi-2.5.ebuild,v 1.1 2007/12/10 16:02:04 maekke Exp $
+
+inherit java-pkg eutils
+
+MY_P="aoi25"
+MY_MANUAL_V="2.3"
+S="${WORKDIR}/ArtOfIllusion25"
+DESCRIPTION="A free, open-source 3D modelling and rendering studio."
+SRC_URI="mirror://sourceforge/aoi/${MY_P}.zip
+ doc? ( mirror://sourceforge/aoi/manual${MY_MANUAL_V}.zip )"
+HOMEPAGE="http://aoi.sourceforge.net/index"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jdk-1.2"
+IUSE="doc"
+
+src_install() {
+ # wrapper script
+ dobin "${FILESDIR}"/aoi
+
+ # documentation
+ dodoc HISTORY README
+ if use doc ; then
+ mv "${WORKDIR}"/AoI\ Manual/ "${WORKDIR}"/aoi_manual
+ dohtml -r "${WORKDIR}"/aoi_manual/
+ fi
+
+ # main app
+ java-pkg_dojar ArtOfIllusion.jar
+
+ # plugins
+ mv Plugins "${D}"/usr/share/${PN}/lib
+
+ # scripts
+ mv Scripts "${D}"/usr/share/${PN}/lib
+
+ # icon
+ mv Icons/64x64.png Icons/aoi.png
+ doicon Icons/aoi.png
+
+ # desktop entry
+ make_desktop_entry aoi "Art of Illusion" /usr/share/pixmaps/aoi.png "Graphics"
+}