summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/wings/wings-0.98.32a.ebuild')
-rw-r--r--media-gfx/wings/wings-0.98.32a.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-gfx/wings/wings-0.98.32a.ebuild b/media-gfx/wings/wings-0.98.32a.ebuild
new file mode 100644
index 000000000000..4b10b2dffeda
--- /dev/null
+++ b/media-gfx/wings/wings-0.98.32a.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/wings/wings-0.98.32a.ebuild,v 1.1 2005/12/05 06:09:45 vapier Exp $
+
+DESCRIPTION="excellent 3D polygon mesh modeler"
+HOMEPAGE="http://www.wings3d.com/"
+SRC_URI="mirror://sourceforge/wings/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/erlang-10.2.7
+ >=media-libs/esdl-0.95.0630"
+
+ERL_PATH=/usr/lib/erlang/lib/
+
+src_compile() {
+ make ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f1)" || die
+}
+
+src_install() {
+ WINGS_PATH=${ERL_PATH}/${P}
+ dodir ${WINGS_PATH}
+
+ find -name 'Makefile*' -exec rm -f '{}' \;
+ for subdir in e3d ebin icons plugins plugins_src src fonts ; do
+ cp -r ${subdir} ${D}/${WINGS_PATH}/ || die
+ done
+
+ dosym ${WINGS_PATH} ${ERL_PATH}/${PN}
+ newbin ${FILESDIR}/wings.sh wings
+ dodoc AUTHORS README
+}