aboutsummaryrefslogtreecommitdiff
path: root/games/bloboats
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-13 13:57:14 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-13 13:57:14 +0000
commit876e9cd57dfb059db5494b313794b34b2c950f94 (patch)
tree0d9d5a2148f5e99a3f3b067b5e8ccc3a41673114 /games/bloboats
parent41fee37b08c362e2244c873e4c55ee205e4b87f8 (diff)
downloadports-876e9cd57dfb059db5494b313794b34b2c950f94.tar.gz
ports-876e9cd57dfb059db5494b313794b34b2c950f94.zip
Notes
Diffstat (limited to 'games/bloboats')
-rw-r--r--games/bloboats/Makefile7
-rw-r--r--games/bloboats/files/bloboats.desktop10
-rw-r--r--games/bloboats/pkg-plist2
3 files changed, 18 insertions, 1 deletions
diff --git a/games/bloboats/Makefile b/games/bloboats/Makefile
index 81de34598a0e..056ce0877851 100644
--- a/games/bloboats/Makefile
+++ b/games/bloboats/Makefile
@@ -4,7 +4,7 @@
PORTNAME= bloboats
PORTVERSION= 1.0.2
DISTVERSIONSUFFIX= -source
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://bloboats.dy.fi/mirror/ \
LOCAL/ehaupt
@@ -25,4 +25,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOS2UNIX_FILES= src/*.cpp
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/images/icon.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
.include <bsd.port.mk>
diff --git a/games/bloboats/files/bloboats.desktop b/games/bloboats/files/bloboats.desktop
new file mode 100644
index 000000000000..32006b176976
--- /dev/null
+++ b/games/bloboats/files/bloboats.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Bloboats
+GenericName=Boat racing game in the spirit of Elasto Mania or X-Moto
+Comment=Boat racing game in the spirit of Elasto Mania or X-Moto
+Icon=bloboats
+Exec=bloboats
+Categories=Game;
+StartupNotify=false
diff --git a/games/bloboats/pkg-plist b/games/bloboats/pkg-plist
index dece185280c1..91a5c85ccccb 100644
--- a/games/bloboats/pkg-plist
+++ b/games/bloboats/pkg-plist
@@ -113,3 +113,5 @@ etc/bloboats.dirs
%%DATADIR%%/defaults/private/ghost/ghost.txt
%%DATADIR%%/defaults/private/records/records.txt
%%DATADIR%%/defaults/private/levels.dat
+share/applications/bloboats.desktop
+share/pixmaps/bloboats.png