From 88b5bba01110ee2ce6a9dbc99c83c5244cdf2a39 Mon Sep 17 00:00:00 2001 From: nemysis Date: Tue, 3 Dec 2013 15:44:07 +0000 Subject: - Bump PORTREVISION - Add files/bs.desktop Reported by: makc Approved by: pawel / wg (mentors, implicit) --- games/bs/Makefile | 10 +++++----- games/bs/files/bs.desktop | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 games/bs/files/bs.desktop diff --git a/games/bs/Makefile b/games/bs/Makefile index 9582a15b6b48..9521b763a3c1 100644 --- a/games/bs/Makefile +++ b/games/bs/Makefile @@ -3,6 +3,7 @@ PORTNAME= bs PORTVERSION= 2.9 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.catb.org/~esr/bs/ @@ -15,19 +16,18 @@ USES= gmake MAKE_ARGS= CC="${CC}" ALL_TARGET= # empty -PLIST_FILES= bin/bs \ - man/man6/bs.6.gz \ +PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz \ + share/applications/${PORTNAME}.desktop \ share/pixmaps/battleship.png PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS -DESKTOP_ENTRIES="Battleships" "${COMMENT}" "battleship" \ - "xterm -e ${PORTNAME}" "Game;ArcadeGame;" false - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/battleship.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ diff --git a/games/bs/files/bs.desktop b/games/bs/files/bs.desktop new file mode 100644 index 000000000000..9c44c29f9a62 --- /dev/null +++ b/games/bs/files/bs.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Battleships +GenericName=BattleShip game +Comment=Battleships solitaire game with a color interface +Icon=battleship +Exec=bs +Categories=Game;ArcadeGame; +Terminal=true -- cgit