SUMMARY="A 3D polygon modeler"
DESCRIPTION="Wings 3D is an advanced subdivision modeler that is both powerful \
and easy to use.

Originally inspired by Nendo and Mirai from Izware, Wings 3D has been \
developed since 2001, when Björn Gustavsson (bjorng) and Dan Gudmundsson \
(dgud) first started the project. Richard Jones (optigon) maintained Wings and \
coded many new features between 2006 and 2011. Wings 3D is currently \
maintained by Dan and Richard with the help of the great community.

Wings 3D offers a wide range of modeling tools, a customizable interface, \
support for lights and materials, and a built-in AutoUV mapping facility.

There is no support in Wings for animation."
HOMEPAGE="http://www.wings3d.com/"
COPYRIGHT="Bjorn Gustavsson, and other parties"
LICENSE="wings"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/wings/files/wings/$portVersion/wings-$portVersion.tar.bz2"
CHECKSUM_SHA256="c08060016f83679ce08947942d31af0e3b5d105525d0df5e993ec6f1a81fdd8e"

ARCHITECTURES="?x86_gcc2"

PROVIDES="
	wings = $portVersion
	app:wings
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:erlc
	cmd:make
	"

BUILD()
{
	export HOME=erlang_needs_this
	make $jobArgs
}

INSTALL()
{
	make install
}
