1 # Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
2 # $FreeBSD: graphics/mandelbulber/Makefile 324744 2013-08-14 22:35:50Z ak $
7 MASTER_SITES= SF/${PORTNAME}
8 DISTNAME= ${PORTNAME}${DISTVERSION}
10 MAINTAINER= amdmi3@FreeBSD.org
11 COMMENT= 3D Mandelbrot fractal renderer
14 LICENSE_FILE= ${WRKSRC}/COPYING
17 USE_GNOME= glib20 gtk20
18 BUILD_WRKSRC= ${WRKSRC}/makefiles
20 CXXFLAGS+= -DSHARED_DIR=\\\"${DATADIR}\\\"
22 PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop
23 PLIST_DIRSTRY= share/applications
28 .include <bsd.port.options.mk>
31 @${REINPLACE_CMD} -e 's|/usr/share/mandelbulber|${DATADIR}|' \
32 ${WRKSRC}/${PORTNAME}.desktop
35 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin
36 ${MKDIR} ${PREFIX}/share/applications
37 ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
38 .if !defined(NOPORTDATA)
40 cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} '*' ${DATADIR}/
42 .if ${PORT_OPTIONS:MDOCS}
45 ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
49 .include <bsd.port.mk>