diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index 2d6486de51d2..f75eeed70c12 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -1,114 +1,114 @@ PORTNAME= povray DISTVERSIONPREFIX= v -DISTVERSION= 3.7.0.9 +DISTVERSION= 3.7.0.10 CATEGORIES= graphics PKGNAMESUFFIX= 37 MAINTAINER= ports@FreeBSD.org COMMENT= Persistence of Vision Ray Tracer LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= autoreconf:build compiler:c11 gmake USE_GITHUB= yes GH_ACCOUNT= POV-Ray GNU_CONFIGURE= yes CONFIGURE_ARGS= COMPILED_BY=${MAINTAINER} \ --program-transform-name='s/povray/${PKGBASE}/' \ --disable-optimiz VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION_BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR STATIC IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes DOCS_DESC= Install HTML documentation EXAMPLES_DESC= Install example scenes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions STATIC_CONFIGURE_ON= --enable-static X11_USES= sdl xorg X11_USE= XORG=xpm,sm,ice,x11 SDL=sdl X11_CONFIGURE_OFF= --without-x .include .if ${PORT_OPTIONS:MPNG} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= png>=1.4:graphics/png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .else CONFIGURE_ARGS+=--without-libpng .endif .if ${PORT_OPTIONS:MJPEG} .if ${PORT_OPTIONS:MSTATIC} USES+= jpeg:build .else USES+= jpeg .endif .else CONFIGURE_ARGS+=--without-libjpeg .endif .if ${PORT_OPTIONS:MTIFF} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= tiff>=4:graphics/tiff .else LIB_DEPENDS+= libtiff.so:graphics/tiff .endif .else CONFIGURE_ARGS+=--without-libtiff .endif .if ${PORT_OPTIONS:MOPENEXR} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= openexr>=1.6:graphics/openexr .else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr libImath.so:math/Imath CPPFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath -DInt64=uint64_t .endif .else CONFIGURE_ARGS+=--without-openexr .endif .if !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+=NON_REDISTRIBUTABLE_BUILD=yes .endif PORTDOCS= * PORTEXAMPLES= * post-patch: ${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \ -e 's|@@ETCDIR@@|${ETCDIR}|' \ ${WRKSRC}/unix/povray.conf pre-configure: cd ${WRKSRC}/unix && ./prebuild.sh pre-build: .if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MTIFF} # graphics/tiff adds dependencies on libjpeg, libjbig and liblzma @${REINPLACE_CMD} -e 's,^\(LIBS = .*\)-ltiff\(.*\),\1-ltiff -ljpeg -ljbig -llzma\2,' ${WRKSRC}/unix/Makefile .endif post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for i in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .include diff --git a/graphics/povray37/distinfo b/graphics/povray37/distinfo index 689a234ebe49..4b457a3736db 100644 --- a/graphics/povray37/distinfo +++ b/graphics/povray37/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1625348677 -SHA256 (POV-Ray-povray-v3.7.0.9_GH0.tar.gz) = c273f75864ac98f86b442f58597d842aa8b76e788ea5e9133724296d93fb3e6b -SIZE (POV-Ray-povray-v3.7.0.9_GH0.tar.gz) = 52885184 +TIMESTAMP = 1626198126 +SHA256 (POV-Ray-povray-v3.7.0.10_GH0.tar.gz) = 7bee83d9296b98b7956eb94210cf30aa5c1bbeada8ef6b93bb52228bbc83abff +SIZE (POV-Ray-povray-v3.7.0.10_GH0.tar.gz) = 52888495 diff --git a/graphics/povray37/files/patch-source_backend_povray.cpp b/graphics/povray37/files/patch-source_backend_povray.cpp deleted file mode 100644 index 61bbaf34ab68..000000000000 --- a/graphics/povray37/files/patch-source_backend_povray.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- source/backend/povray.cpp.orig 2018-05-27 09:54:06 UTC -+++ source/backend/povray.cpp -@@ -68,7 +68,7 @@ - extern "C" const char* TIFFGetVersion(void); - #endif - #ifndef OPENEXR_MISSING -- #include -+ #include - #include - // NOTE: - // Versions of OpenEXR and IlmImf prior to 1.7.1 do not seem to have a way to get the version number, diff --git a/graphics/povray37/files/patch-unix_config_ax__check__openexr.m4 b/graphics/povray37/files/patch-unix_config_ax__check__openexr.m4 deleted file mode 100644 index 5bdd9b4deabf..000000000000 --- a/graphics/povray37/files/patch-unix_config_ax__check__openexr.m4 +++ /dev/null @@ -1,11 +0,0 @@ ---- unix/config/ax_check_openexr.m4.orig 2018-05-27 09:54:06 UTC -+++ unix/config/ax_check_openexr.m4 -@@ -56,7 +56,7 @@ AC_DEFUN([AX_CHECK_OPENEXR], - # check include file - AC_CHECK_HEADER( - [OpenEXR/ImfCRgbaFile.h], -- [AC_CHECK_LIB([IlmImf], [ImfInputReadPixels], [], [ax_check_openexr="not found"])], -+ [AC_CHECK_LIB([OpenEXR], [ImfInputReadPixels], [], [ax_check_openexr="not found"])], - [ax_check_openexr="no headers"] - ) - fi