- Bump PORTREVISION

- Add files/bs.desktop

Reported by:	makc
Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-12-03 15:44:07 +00:00
parent 44930e125b
commit 8d3e0f2924
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335576
2 changed files with 15 additions and 5 deletions

View file

@ -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/

10
games/bs/files/bs.desktop Normal file
View file

@ -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