mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
101 lines
2.5 KiB
Bash
101 lines
2.5 KiB
Bash
SUMMARY="The Persistence of Vision Raytracer"
|
|
DESCRIPTION="The Persistence of Vision Ray Tracer, or POV-Ray, is a ray \
|
|
tracing program which generates images from a text-based scene description, \
|
|
and is available for a variety of computer platforms. It was originally based \
|
|
on DKBTrace, written by David Kirk Buck and Aaron A. Collins for the Amiga \
|
|
computers."
|
|
HOMEPAGE="http://www.povray.org/"
|
|
COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="408bb2f16eaad316be7ff6b4c867be04d8d57eb6e2642e168e992a51b82bb487"
|
|
PATCHES="povray-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
povray$secondaryArchSuffix = $portVersion
|
|
cmd:povray = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libboost_thread$secondaryArchSuffix
|
|
lib:libiex_2_2$secondaryArchSuffix
|
|
lib:libiexmath_2_2$secondaryArchSuffix
|
|
lib:libHalf$secondaryArchSuffix
|
|
lib:libilmimf_2_2$secondaryArchSuffix
|
|
lib:libilmthread_2_2$secondaryArchSuffix
|
|
lib:libimath_2_2$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/povray/3.7/povray.conf keep-old
|
|
settings/povray/3.7/povray.ini keep-old
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libboost_thread$secondaryArchSuffix
|
|
devel:libiex_2_2$secondaryArchSuffix
|
|
devel:libiexmath_2_2$secondaryArchSuffix
|
|
devel:libHalf$secondaryArchSuffix
|
|
devel:libilmimf_2_2$secondaryArchSuffix
|
|
devel:libilmthread_2_2$secondaryArchSuffix
|
|
devel:libimath_2_2$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsdl$secondaryArchSuffix
|
|
devel:libtiff$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gettext
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd unix
|
|
./prebuild.sh
|
|
cd ..
|
|
|
|
export CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR -D_BSD_SOURCE"
|
|
export LDFLAGS="-lbsd -lnetwork"
|
|
|
|
runConfigure ./configure \
|
|
COMPILED_BY="HaikuPorts" \
|
|
--with-boost-libdir=`finddir B_SYSTEM_LIB_DIRECTORY`
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|