Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 19:35:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489370 - in head/graphics/mandelbulber: . files
Message-ID:  <201901051935.x05JZKBO065723@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jan  5 19:35:19 2019
New Revision: 489370
URL: https://svnweb.freebsd.org/changeset/ports/489370

Log:
  - Update to 2.16

Added:
  head/graphics/mandelbulber/pkg-plist   (contents, props changed)
Deleted:
  head/graphics/mandelbulber/files/
Modified:
  head/graphics/mandelbulber/Makefile
  head/graphics/mandelbulber/distinfo
  head/graphics/mandelbulber/pkg-descr

Modified: head/graphics/mandelbulber/Makefile
==============================================================================
--- head/graphics/mandelbulber/Makefile	Sat Jan  5 19:34:19 2019	(r489369)
+++ head/graphics/mandelbulber/Makefile	Sat Jan  5 19:35:19 2019	(r489370)
@@ -2,43 +2,52 @@
 # $FreeBSD$
 
 PORTNAME=	mandelbulber
-DISTVERSION=	1.13-1
-PORTREVISION=	1
+PORTVERSION=	2.16
 CATEGORIES=	graphics
-MASTER_SITES=	SF/${PORTNAME}
-DISTNAME=	${PORTNAME}${DISTVERSION}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	3D Mandelbrot fractal renderer
 
-LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to build
+LIB_DEPENDS=	libgsl.so:math/gsl \
+		libpng.so:graphics/png \
+		libtiff.so:graphics/tiff \
+		liblzo2.so:archivers/lzo2
 
-USES=		desktop-file-utils gmake pkgconfig
-USE_GNOME=	glib20 gtk20
-BUILD_WRKSRC=	${WRKSRC}/makefiles
-MAKEFILE=	makefile
-CXXFLAGS+=	-DSHARED_DIR=\\\"${DATADIR}\\\"
+USE_GITHUB=	yes
+GH_ACCOUNT=	buddhi1980
+GH_PROJECT=	${PORTNAME}2
 
-PLIST_FILES=	bin/${PORTNAME} share/applications/${PORTNAME}.desktop
+USES=		cmake gnome jpeg localbase:ldflags pkgconfig qt:5
+USE_QT=		core widgets network gui multimedia testlib \
+		qmake_build buildtools_build uitools_build
+INSTALLS_ICONS=	yes
 
-PORTDOCS=	README NEWS
+CMAKE_SOURCE_PATH=	${WRKSRC}/mandelbulber2/cmake
+
+PORTDOCS=	CONTRIBUTING.md README.md RESOURCES.md
 PORTDATA=	*
+DATADIR=	${PREFIX}/share/${PORTNAME}2
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	OPENCL OPENMP DOCS
+OPTIONS_EXCLUDE=	OPENMP  # not properly supported yet
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \
-		${WRKSRC}/${PORTNAME}.desktop
+OPENCL_BUILD_DEPENDS=	opencl>=0:devel/opencl
 
-do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
-	${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+OPENMP_LIB_DEPENDS=	libomp.so:devel/openmp
+
+post-patch-OPENMP-off:
+	@${REINPLACE_CMD} -e 's|-fopenmp||' \
+		${CMAKE_SOURCE_PATH}/CMakeLists.txt
+
+post-patch-OPENCL-off:
+	@${REINPLACE_CMD} -e '/find_package.*OpenCL/ d' \
+		${CMAKE_SOURCE_PATH}/CMakeLists.txt
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor

Modified: head/graphics/mandelbulber/distinfo
==============================================================================
--- head/graphics/mandelbulber/distinfo	Sat Jan  5 19:34:19 2019	(r489369)
+++ head/graphics/mandelbulber/distinfo	Sat Jan  5 19:35:19 2019	(r489370)
@@ -1,2 +1,3 @@
-SHA256 (mandelbulber1.13-1.tar.gz) = 97edc8b08fc229e68ea58fd835581274b783ff4211b4db87c81efbdef799bd92
-SIZE (mandelbulber1.13-1.tar.gz) = 1200010
+TIMESTAMP = 1545751082
+SHA256 (buddhi1980-mandelbulber2-2.16_GH0.tar.gz) = 1c7b78f4345a2c3527acbc54ac2cd17efd4b7d36cedcd1deb85603cb48c09d8b
+SIZE (buddhi1980-mandelbulber2-2.16_GH0.tar.gz) = 54566672

Modified: head/graphics/mandelbulber/pkg-descr
==============================================================================
--- head/graphics/mandelbulber/pkg-descr	Sat Jan  5 19:34:19 2019	(r489369)
+++ head/graphics/mandelbulber/pkg-descr	Sat Jan  5 19:35:19 2019	(r489370)
@@ -5,4 +5,4 @@ Menger Sponge, Quaternion, Trigonometric, Hypercomplex
 Function Systems (IFS). All of these can be combined into infinite
 variations with the ability to hybridize different formulas together.
 
-WWW: http://www.mandelbulber.com/
+WWW: https://mandelbulber.com/

Added: head/graphics/mandelbulber/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/mandelbulber/pkg-plist	Sat Jan  5 19:35:19 2019	(r489370)
@@ -0,0 +1,3 @@
+bin/mandelbulber2
+share/applications/mandelbulber2.desktop
+share/icons/hicolor/256x256/apps/mandelbulber2.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901051935.x05JZKBO065723>