svn commit: r335576 - in head/games/bs: . files
Rusmir Dusko
nemysis at FreeBSD.org
Tue Dec 3 15:44:08 UTC 2013
Author: nemysis
Date: Tue Dec 3 15:44:07 2013
New Revision: 335576
URL: http://svnweb.freebsd.org/changeset/ports/335576
Log:
- Bump PORTREVISION
- Add files/bs.desktop
Reported by: makc
Approved by: pawel / wg (mentors, implicit)
Added:
head/games/bs/files/
head/games/bs/files/bs.desktop (contents, props changed)
Modified:
head/games/bs/Makefile
Modified: head/games/bs/Makefile
==============================================================================
--- head/games/bs/Makefile Tue Dec 3 15:34:59 2013 (r335575)
+++ head/games/bs/Makefile Tue Dec 3 15:44:07 2013 (r335576)
@@ -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/
Added: head/games/bs/files/bs.desktop
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/bs/files/bs.desktop Tue Dec 3 15:44:07 2013 (r335576)
@@ -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
More information about the svn-ports-all
mailing list