Date: Tue, 14 Jan 2014 02:31:29 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339656 - head/games/rescue Message-ID: <201401140231.s0E2VT7Q020079@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Tue Jan 14 02:31:29 2014 New Revision: 339656 URL: http://svnweb.freebsd.org/changeset/ports/339656 Log: - Change Desktop entry file - Support STAGEDIR - Break lines around 80 characters Modified: head/games/rescue/Makefile Modified: head/games/rescue/Makefile ============================================================================== --- head/games/rescue/Makefile Tue Jan 14 02:13:28 2014 (r339655) +++ head/games/rescue/Makefile Tue Jan 14 02:31:29 2014 (r339656) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401140231.s0E2VT7Q020079>