diff --git a/media-gfx/povray/povray-3.7.0.8.recipe b/media-gfx/povray/povray-3.7.0.8.recipe index 2b842e1f4..4c64fd5ec 100644 --- a/media-gfx/povray/povray-3.7.0.8.recipe +++ b/media-gfx/povray/povray-3.7.0.8.recipe @@ -8,7 +8,7 @@ Commodore Amiga computers." HOMEPAGE="http://www.povray.org/" COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd." LICENSE="GNU GPL v3" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4" PATCHES="povray-$portVersion.patchset" @@ -27,11 +27,12 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix - boost165$secondaryArchSuffix - lib:libHalf$secondaryArchSuffix - lib:libiex_2_2$secondaryArchSuffix - lib:libiexmath_2_2$secondaryArchSuffix - lib:libilmthread_2_2$secondaryArchSuffix + lib:libboost_date_time$secondaryArchSuffix + lib:libboost_thread$secondaryArchSuffix + lib:libHalf_2_4$secondaryArchSuffix + lib:libiex_2_4$secondaryArchSuffix + lib:libiexmath_2_4$secondaryArchSuffix + lib:libilmthread_2_4$secondaryArchSuffix lib:libimath_2_2$secondaryArchSuffix lib:libjpeg$secondaryArchSuffix lib:libpng16$secondaryArchSuffix @@ -41,18 +42,19 @@ REQUIRES=" " if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then REQUIRES+=" - lib:libilmimf_2_2$secondaryArchSuffix + lib:libilmimf_2_4$secondaryArchSuffix " fi BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - boost165${secondaryArchSuffix}_devel - devel:libHalf$secondaryArchSuffix - devel:libiex_2_2$secondaryArchSuffix - devel:libiexmath_2_2$secondaryArchSuffix - devel:libilmthread_2_2$secondaryArchSuffix - devel:libimath_2_2$secondaryArchSuffix + devel:libboost_date_time$secondaryArchSuffix >= 1.69 + devel:libboost_thread$secondaryArchSuffix >= 1.69 + devel:libHalf_2_4$secondaryArchSuffix + devel:libiex_2_4$secondaryArchSuffix + devel:libiexmath_2_4$secondaryArchSuffix + devel:libilmthread_2_4$secondaryArchSuffix + devel:libimath_2_4$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix devel:libpng16$secondaryArchSuffix devel:libsdl$secondaryArchSuffix @@ -61,7 +63,7 @@ BUILD_REQUIRES=" " if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then BUILD_REQUIRES+=" - devel:libilmimf_2_2$secondaryArchSuffix + devel:libilmimf_2_4$secondaryArchSuffix " fi BUILD_PREREQUIRES=" @@ -90,7 +92,7 @@ BUILD() KeepEXR="--without-openexr" fi - LDFLAGS="-lbsd -lnetwork -lboost_date_time" \ + LIBS="-lbsd -lnetwork -lboost_date_time" \ CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR -D_BSD_SOURCE" \ runConfigure ./configure \ COMPILED_BY="HaikuPorts" \ @@ -103,7 +105,13 @@ BUILD() INSTALL() { - make install + mkdir -p $docDir $binDir $dataDir/povray-3.7 + cp -R icons include ini scenes scripts $dataDir/povray-3.7 + cp -R doc $docDir/ + install -Dm755 unix/povray "$binDir" + install -Dm644 povray.conf $settingsDir/povray/3.7/povray.conf + install -Dm644 povray.ini $settingsDir/povray/3.7/povray.ini + install -Dm644 povray.1 "$manDir/man1/povray.1" } TEST()