Date: Thu, 19 Nov 2015 20:56:37 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401971 - head/games/openastromenace Message-ID: <201511192056.tAJKubq8085456@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Nov 19 20:56:37 2015 New Revision: 401971 URL: https://svnweb.freebsd.org/changeset/ports/401971 Log: - Add desktop file Submitted by: lightside@gmx.com Modified: head/games/openastromenace/Makefile Modified: head/games/openastromenace/Makefile ============================================================================== --- head/games/openastromenace/Makefile Thu Nov 19 20:49:31 2015 (r401970) +++ head/games/openastromenace/Makefile Thu Nov 19 20:56:37 2015 (r401971) @@ -3,7 +3,7 @@ PORTNAME= openastromenace PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ DISTNAME= astromenace-src-${PORTVERSION} @@ -19,17 +19,22 @@ LIB_DEPENDS= libogg.so:${PORTSDIR}/audio libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -USES= tar:bzip2 cmake openal:al,alut +USES= cmake openal:al,alut tar:bzip2 USE_XORG= x11 xinerama USE_GL= gl glu USE_SDL= sdl WRKSRC= ${WRKDIR}/AstroMenace CMAKE_ARGS= -DDATADIR="${DATADIR}" -PLIST_FILES= bin/AstroMenace +PLIST_FILES= bin/AstroMenace \ + share/pixmaps/${PORTNAME}.png PORTDATA= * PORTDOCS= * +DESKTOP_ENTRIES="AstroMenace" "" \ + "${PORTNAME}" "AstroMenace" \ + "Game;ArcadeGame;" false + OPTIONS_DEFINE= DOCS post-build: @@ -37,9 +42,13 @@ post-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/AstroMenace ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/gamedata.vfs ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/astromenace_128.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511192056.tAJKubq8085456>