Date: Fri, 14 Dec 2012 14:30:29 +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: r308905 - in head/graphics: . mandelbulber mandelbulber/files Message-ID: <201212141430.qBEEUTms077909@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Dec 14 14:30:28 2012 New Revision: 308905 URL: http://svnweb.freebsd.org/changeset/ports/308905 Log: Mandelbulber is an experimental application that helps to make rendering 3D Mandelbrot fractals much more accessible. A few of the supported 3D fractals: Mandelbulb, Mandelbox, BulbBox, JuliaBulb, Menger Sponge, Quaternion, Trigonometric, Hypercomplex, and Iterated 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/ Added: head/graphics/mandelbulber/ head/graphics/mandelbulber/Makefile (contents, props changed) head/graphics/mandelbulber/distinfo (contents, props changed) head/graphics/mandelbulber/files/ head/graphics/mandelbulber/files/patch-makefiles-makefile (contents, props changed) head/graphics/mandelbulber/files/patch-makefiles-src-subdir.mk (contents, props changed) head/graphics/mandelbulber/files/patch-src-netrender.cpp (contents, props changed) head/graphics/mandelbulber/files/patch-src-netrender.hpp (contents, props changed) head/graphics/mandelbulber/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Fri Dec 14 14:18:50 2012 (r308904) +++ head/graphics/Makefile Fri Dec 14 14:30:28 2012 (r308905) @@ -550,6 +550,7 @@ SUBDIR += luxrender SUBDIR += mahotas SUBDIR += makehuman + SUBDIR += mandelbulber SUBDIR += mapnik SUBDIR += mapserver SUBDIR += mapyrus Added: head/graphics/mandelbulber/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/Makefile Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,50 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= mandelbulber +DISTVERSION= 1.13-1 +CATEGORIES= graphics +MASTER_SITES= SF/${PORTNAME} +DISTNAME= ${PORTNAME}${DISTVERSION} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= 3D Mandelbrot fractal renderer + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GMAKE= yes +USE_GNOME= glib20 gtk20 +BUILD_WRKSRC= ${WRKSRC}/makefiles +MAKEFILE= makefile +CXXFLAGS+= -DSHARED_DIR=\\\"${DATADIR}\\\" +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop +PLIST_DIRSTRY= share/applications + +PORTDOCS= README NEWS +PORTDATA= * + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \ + ${WRKSRC}/${PORTNAME}.desktop + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications +.if !defined(NOPORTDATA) + ${MKDIR} ${DATADIR} + cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} '*' ${DATADIR}/ +.endif +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.endif + +.include <bsd.port.mk> Added: head/graphics/mandelbulber/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/distinfo Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,2 @@ +SHA256 (mandelbulber1.13-1.tar.gz) = 97edc8b08fc229e68ea58fd835581274b783ff4211b4db87c81efbdef799bd92 +SIZE (mandelbulber1.13-1.tar.gz) = 1200010 Added: head/graphics/mandelbulber/files/patch-makefiles-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/files/patch-makefiles-makefile Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,11 @@ +--- makefiles/makefile.orig 2012-12-02 20:22:54.000000000 +0400 ++++ makefiles/makefile 2012-12-13 01:08:10.313933225 +0400 +@@ -44,7 +44,7 @@ + mandelbulber: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: GCC C++ Linker' +- g++ -o"mandelbulber" -L/usr/lib/x86_64-linux-gnu/ $(OBJS) $(USER_OBJS) $(LIBS) ++ $(CXX) -o"mandelbulber" -L$(LOCALBASE)/lib $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + Added: head/graphics/mandelbulber/files/patch-makefiles-src-subdir.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/files/patch-makefiles-src-subdir.mk Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,11 @@ +--- makefiles/src/subdir.mk.orig 2012-12-02 20:22:54.000000000 +0400 ++++ makefiles/src/subdir.mk 2012-12-13 01:07:24.472933242 +0400 +@@ -71,7 +71,7 @@ + src/%.o: ../src/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: GCC C++ Compiler' +- g++ -O2 -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" ++ $(CXX) $(CXXFLAGS) -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + Added: head/graphics/mandelbulber/files/patch-src-netrender.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/files/patch-src-netrender.cpp Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,10 @@ +--- src/netrender.cpp.orig 2012-12-02 20:22:54.000000000 +0400 ++++ src/netrender.cpp 2012-12-13 01:06:24.748933214 +0400 +@@ -7,6 +7,7 @@ + + #include "netrender.hpp" + #include <stdio.h> ++#include <netinet/in.h> + #ifndef WIN32 + #include <arpa/inet.h> + #endif Added: head/graphics/mandelbulber/files/patch-src-netrender.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/files/patch-src-netrender.hpp Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,10 @@ +--- src/netrender.hpp.orig 2012-12-02 20:22:54.000000000 +0400 ++++ src/netrender.hpp 2012-12-13 01:05:50.537932343 +0400 +@@ -19,6 +19,7 @@ + #include <winsock2.h> + #define INET6_ADDRSTRLEN 46 + #else ++ #include <arpa/inet.h> + #include <sys/socket.h> + #include <netdb.h> + #endif Added: head/graphics/mandelbulber/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mandelbulber/pkg-descr Fri Dec 14 14:30:28 2012 (r308905) @@ -0,0 +1,8 @@ +Mandelbulber is an experimental application that helps to make +rendering 3D Mandelbrot fractals much more accessible. A few of the +supported 3D fractals: Mandelbulb, Mandelbox, BulbBox, JuliaBulb, +Menger Sponge, Quaternion, Trigonometric, Hypercomplex, and Iterated +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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212141430.qBEEUTms077909>