diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-09-11 21:57:40 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-09-11 21:57:40 +0000 |
commit | 41f778ba31397ede79e70f0645c853afd439b4fb (patch) | |
tree | c8bf4ed4f92ac6e22e4da669b18ec0e12d62b125 /games/kobodeluxe | |
parent | 767960debff163320425110d5d4b5f6c89da4888 (diff) | |
download | ports-41f778ba31397ede79e70f0645c853afd439b4fb.tar.gz ports-41f778ba31397ede79e70f0645c853afd439b4fb.zip |
Notes
Diffstat (limited to 'games/kobodeluxe')
-rw-r--r-- | games/kobodeluxe/Makefile | 17 | ||||
-rw-r--r-- | games/kobodeluxe/pkg-plist | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile index 14da329abedf..d12bda3965ca 100644 --- a/games/kobodeluxe/Makefile +++ b/games/kobodeluxe/Makefile @@ -29,7 +29,14 @@ PLIST_SUB= SCOREDIR="${SCOREDIR}" DATADIR= ${PREFIX}/share/kobo-deluxe -OPTIONS= OPENGL "OpenGL rendering layer" on +DESKTOP_ENTRIES="Kobo Deluxe" \ + "An SDL port of the scrolling game XKobo" \ + "${DATADIR}/" \ + "kobodeluxe" \ + "Game;ArcadeGame;" \ + false + +OPTIONS= OPENGL "OpenGL rendering layer" on .include <bsd.port.pre.mk> @@ -40,6 +47,9 @@ CONFIGURE_ARGS+= --enable-opengl CONFIGURE_ARGS+= --disable-opengl .endif +post-extract: + @cd ${WRKSRC} && ${TAR} -xzf icons.tar.gz + post-patch: @${REINPLACE_CMD} -e 's|$$(datadir)/games/kobo-deluxe|${DATADIR}|; \ s|$$(prefix)/games/kobo-deluxe/scores|${SCOREDIR}|; \ @@ -51,5 +61,10 @@ post-install: ${CHGRP} games ${PREFIX}/bin/kobodl ${CHMOD} g+s ${PREFIX}/bin/kobodl ${INSTALL} -d -o root -g games -m 775 ${SCOREDIR} + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobodeluxe.desktop \ + ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobo-icon.xpm \ + ${PREFIX}/share/pixmaps/ .include <bsd.port.post.mk> diff --git a/games/kobodeluxe/pkg-plist b/games/kobodeluxe/pkg-plist index a2bfe525a8de..0e10c347ac9b 100644 --- a/games/kobodeluxe/pkg-plist +++ b/games/kobodeluxe/pkg-plist @@ -1,4 +1,5 @@ bin/kobodl +share/applications/kobodeluxe.desktop %%DATADIR%%/gfx/bigfont3.png %%DATADIR%%/gfx/bigship.png %%DATADIR%%/gfx/bmr-green.png @@ -107,8 +108,10 @@ bin/kobodl %%DATADIR%%/sfx/trance1.mid %%DATADIR%%/sfx/trance1_c.agw %%DATADIR%%/sfx/zapp1.agw +share/pixmaps/kobo-icon.xpm @dirrm %%DATADIR%%/sfx @dirrm %%DATADIR%%/gfx @dirrm %%DATADIR%% @exec install -d -o root -g games -m 775 %%SCOREDIR%% @dirrmtry %%SCOREDIR%% +@dirrmtry share/applications |