aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-12-03 23:44:07 +0800
committernemysis <nemysis@FreeBSD.org>2013-12-03 23:44:07 +0800
commit88b5bba01110ee2ce6a9dbc99c83c5244cdf2a39 (patch)
tree58fc34c3d82228f21995597b4901d0423247824f
parentc04d8b3e34391103600c57cfb297ed222d58a711 (diff)
downloadfreebsd-ports-gnome-88b5bba01110ee2ce6a9dbc99c83c5244cdf2a39.tar.gz
freebsd-ports-gnome-88b5bba01110ee2ce6a9dbc99c83c5244cdf2a39.tar.zst
freebsd-ports-gnome-88b5bba01110ee2ce6a9dbc99c83c5244cdf2a39.zip
- Bump PORTREVISION
- Add files/bs.desktop Reported by: makc Approved by: pawel / wg (mentors, implicit)
-rw-r--r--games/bs/Makefile10
-rw-r--r--games/bs/files/bs.desktop10
2 files changed, 15 insertions, 5 deletions
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