aboutsummaryrefslogtreecommitdiff
path: root/games/gigalomania
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-09-27 22:56:06 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-09-27 22:56:06 +0000
commitccb339f7ccfc34a9edf354625ccdf60ef9c9013f (patch)
treec2959dbd1d3eb98791a5a1705b653f5cacf6ad5f /games/gigalomania
parenta7c872d7e5e3cbfa95ad0779f422decdf421bf96 (diff)
downloadports-ccb339f7ccfc34a9edf354625ccdf60ef9c9013f.tar.gz
ports-ccb339f7ccfc34a9edf354625ccdf60ef9c9013f.zip
Notes
Diffstat (limited to 'games/gigalomania')
-rw-r--r--games/gigalomania/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/games/gigalomania/Makefile b/games/gigalomania/Makefile
index 9e21e25f08ce..b70b5689775a 100644
--- a/games/gigalomania/Makefile
+++ b/games/gigalomania/Makefile
@@ -17,9 +17,6 @@ PORTDOCS= readme.html
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|CC=g++|CC=${CXX}|' \
-e '/^CCFLAGS/ s|-O2|${CXXFLAGS}|' \
@@ -36,19 +33,19 @@ post-patch:
${WRKSRC}/gamestate.cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for dir in gfx islands sound
- cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}
.endfor
- ${MKDIR} ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
+ ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_fullscreen.desktop \
- ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}64.png ${PREFIX}/share/pixmaps
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.html ${DOCSDIR}
-.endif
+ ${STAGEDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}64.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>