diff options
author | ryoon <ryoon> | 2012-12-16 16:10:56 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-12-16 16:10:56 +0000 |
commit | 9cab3802e5cd5cfc2105085ad06ad345ecbd79c8 (patch) | |
tree | b3de0a943ee8ff210f0aee3abaec3794e0dab27a /graphics/mandelbulber/Makefile | |
parent | 431c127d726858c7a12de4cf1211a79c36e5f345 (diff) | |
download | pkgsrc-9cab3802e5cd5cfc2105085ad06ad345ecbd79c8.tar.gz |
Import mandelbulber-1.13.1 as graphics/mandelbulber.
The Mandelbulb is a three-dimensional analogue of the Mandelbrot
set. In reality there are many natural fractal shapes such as
clouds, trees, broccoli, and such.
Diffstat (limited to 'graphics/mandelbulber/Makefile')
-rw-r--r-- | graphics/mandelbulber/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile new file mode 100644 index 00000000000..1d7aea893b7 --- /dev/null +++ b/graphics/mandelbulber/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1 2012/12/16 16:10:56 ryoon Exp $ +# + +DISTNAME= mandelbulber1.13-1 +PKGNAME= ${DISTNAME:S/-/./:S/mandelbulber/mandelbulber-/} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mandelbulber/} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://www.mandelbulber.com/ +COMMENT= 3D fractal explorer +LICENSE= gnu-gpl-v3 + +USE_TOOLS+= gmake pax pkg-config +USE_LANGUAGES= c++ + +BUILD_DIRS= makefiles +MAKE_FILE= makefile + +SUBST_CLASSES+= lib +SUBST_STAGE.lib= pre-configure +SUBST_MESSAGE.lib= Fix library path, CXXFLAGS, and CXX. +SUBST_FILES.lib+= makefiles/makefile +SUBST_FILES.lib+= makefiles/src/subdir.mk +SUBST_SED.lib+= -e 's;g++;${CXX:Q} ${CXXFLAGSQ} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk2}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.freetype2}/lib;' +SUBST_SED.lib+= -e 's,/usr/lib/x86_64-linux-gnu/,${PREFIX}/lib,' + +CXXFLAGS+= -DSHARED_DIR=\\"${PREFIX}/share/mandelbulber\\" + +INSTALLATION_DIRS= bin share/mandelbulber + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/makefiles/mandelbulber \ + ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC}/usr/share && pax -rw -pmp * \ + ${DESTDIR}${PREFIX}/share/mandelbulber + +.include "../../mk/jpeg.buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |