diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 10:38:15 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 10:38:15 +0800 |
commit | 6636f045b01fbb866c04a6a1ff44f4c637c7d08e (patch) | |
tree | 63ae836bca88ed1d5cc3eda2b9a3a7863d0f7437 /graphics | |
parent | 743f252bb697f3abc22dd8296b9ba565715c28d9 (diff) | |
download | freebsd-ports-gnome-6636f045b01fbb866c04a6a1ff44f4c637c7d08e.tar.gz freebsd-ports-gnome-6636f045b01fbb866c04a6a1ff44f4c637c7d08e.tar.zst freebsd-ports-gnome-6636f045b01fbb866c04a6a1ff44f4c637c7d08e.zip |
- Support staging
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mandelbulber/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile index 6137f36a680d..5d28428ea314 100644 --- a/graphics/mandelbulber/Makefile +++ b/graphics/mandelbulber/Makefile @@ -11,7 +11,6 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D Mandelbrot fractal renderer LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake pkgconfig USE_GNOME= glib20 gtk20 @@ -25,26 +24,19 @@ PLIST_DIRSTRY= share/applications PORTDOCS= README NEWS PORTDATA= * -NO_STAGE= yes -.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} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif .include <bsd.port.mk> |