aboutsummaryrefslogtreecommitdiff
path: root/games/quantumminigolf/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-29 21:54:42 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-29 21:54:42 +0000
commitb0dc7fdede70825e5880a2732a9ab116338fe042 (patch)
treeb21c3376bfcd865419e0203767ac8898108df334 /games/quantumminigolf/Makefile
parent15e00f1f4eccb697421d9b1885aef0c06b92ddc0 (diff)
downloadports-b0dc7fdede70825e5880a2732a9ab116338fe042.tar.gz
ports-b0dc7fdede70825e5880a2732a9ab116338fe042.zip
Notes
Diffstat (limited to 'games/quantumminigolf/Makefile')
-rw-r--r--games/quantumminigolf/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/games/quantumminigolf/Makefile b/games/quantumminigolf/Makefile
index 085a46643b63..a8cd65b6444f 100644
--- a/games/quantumminigolf/Makefile
+++ b/games/quantumminigolf/Makefile
@@ -11,13 +11,15 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A computer game visualizing quantum mechanics
-LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float \
- fftw3:${PORTSDIR}/math/fftw3
+LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \
+ libfftw3.so:${PORTSDIR}/math/fftw3
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl ttf
+PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README THANKS
+PORTDATA= *
DESKTOP_ENTRIES="Quantum Minigolf" \
"A game of minigolf where the ball obeys the laws of quantum mechanics" \
@@ -29,7 +31,6 @@ DESKTOP_ENTRIES="Quantum Minigolf" \
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
@@ -46,17 +47,18 @@ post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/QuantumSimulator.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/quantumminigolf ${PREFIX}/bin
- ${MKDIR} ${DATADIR}/gfx ${DATADIR}/fonts ${DATADIR}/tracks
- ${INSTALL_DATA} ${WRKSRC}/gfx/*.bmp ${DATADIR}/gfx
- ${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${DATADIR}/fonts
+ ${INSTALL_PROGRAM} ${WRKSRC}/quantumminigolf ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}/gfx ${STAGEDIR}${DATADIR}/fonts \
+ ${STAGEDIR}${DATADIR}/tracks
+ ${INSTALL_DATA} ${WRKSRC}/gfx/*.bmp ${STAGEDIR}${DATADIR}/gfx
+ ${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${STAGEDIR}${DATADIR}/fonts
${INSTALL_DATA} ${WRKSRC}/tracks/*.bmp ${WRKSRC}/tracks/*.cfg \
- ${DATADIR}/tracks
+ ${STAGEDIR}${DATADIR}/tracks
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif