aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-01-14 09:53:58 +0800
committernemysis <nemysis@FreeBSD.org>2014-01-14 09:53:58 +0800
commitaea6ff1956aa0a57a6989d9c8fa40371edaa9115 (patch)
treea4a31d7de4cba879d2fcfb39f390775cd1d72328 /games
parentf78a9104b9d3d6712bcf27f1ea7159c1f7878898 (diff)
downloadfreebsd-ports-gnome-aea6ff1956aa0a57a6989d9c8fa40371edaa9115.tar.gz
freebsd-ports-gnome-aea6ff1956aa0a57a6989d9c8fa40371edaa9115.tar.zst
freebsd-ports-gnome-aea6ff1956aa0a57a6989d9c8fa40371edaa9115.zip
- Change Desktop entry file
- Support STAGEDIR
Diffstat (limited to 'games')
-rw-r--r--games/arkanoidsb/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/games/arkanoidsb/Makefile b/games/arkanoidsb/Makefile
index 32b6344757e8..a30b579bf861 100644
--- a/games/arkanoidsb/Makefile
+++ b/games/arkanoidsb/Makefile
@@ -23,21 +23,18 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
-DESKTOP_ENTRIES="Arkanoid: Space Ball" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" false
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="Arkanoid: Space Ball" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} res ${DATADIR})
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} res ${STAGEDIR}${DATADIR})
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>