freebsd-ports/graphics/mandelbulber/Makefile
Dmitry Marakasov 193957a077 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/
2012-12-14 14:30:28 +00:00

50 lines
1.2 KiB
Makefile

# 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>