aboutsummaryrefslogtreecommitdiffstats
path: root/games/rescue/Makefile
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-01-14 10:31:29 +0800
committernemysis <nemysis@FreeBSD.org>2014-01-14 10:31:29 +0800
commitb1867b2cfc508b855e856713368d27fb4948a71e (patch)
treec816579fccbd67de196ecf6afc632e1efbc46d08 /games/rescue/Makefile
parenta548564bd29c3308be77eebeacd3a2677ed9e316 (diff)
downloadfreebsd-ports-gnome-b1867b2cfc508b855e856713368d27fb4948a71e.tar.gz
freebsd-ports-gnome-b1867b2cfc508b855e856713368d27fb4948a71e.tar.zst
freebsd-ports-gnome-b1867b2cfc508b855e856713368d27fb4948a71e.zip
- Change Desktop entry file
- Support STAGEDIR - Break lines around 80 characters
Diffstat (limited to 'games/rescue/Makefile')
-rw-r--r--games/rescue/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/games/rescue/Makefile b/games/rescue/Makefile
index 72c8c20421fa..ca027abadc13 100644
--- a/games/rescue/Makefile
+++ b/games/rescue/Makefile
@@ -25,23 +25,21 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}
-DESKTOP_ENTRIES="Rescue! Max" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;StrategyGame;" false
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="Rescue! Max" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;StrategyGame;" ""
post-extract:
@(cd ${WRKSRC} && ${UNZIP_CMD} -j Rescue.jar rescue/gui/logo.png)
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} "help lib missions *.jar" ${DATADIR})
- ${INSTALL_DATA} ${WRKSRC}/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+.for d in help lib missions *.jar
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/logo.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>