diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-09-12 05:57:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-09-12 05:57:40 +0800 |
commit | f90defc705b5e50614708f42ca97498faaa69314 (patch) | |
tree | 378bb23bc57371de6bc523f040e16c9b4e498965 /games/kobodeluxe | |
parent | 004ff8b00abf45c6a99b49329d6e8aa1ddf27c1a (diff) | |
download | freebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.tar.gz freebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.tar.zst freebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.zip |
- Add DESKTOP_ENTRY to bunch of ports
- Mark some ports MAKE_JOBS_SAFE
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 |