aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-26 20:52:15 +0800
committermiwi <miwi@FreeBSD.org>2008-03-26 20:52:15 +0800
commitfbd85f4c5f784b1a68e7fabc43fdffde60b4b654 (patch)
tree6edb46290f1f3ed6053a571d0cda908cb6979455
parent6681666f7b1f17d21e0eea2a48548011ceda1843 (diff)
downloadfreebsd-ports-gnome-fbd85f4c5f784b1a68e7fabc43fdffde60b4b654.tar.gz
freebsd-ports-gnome-fbd85f4c5f784b1a68e7fabc43fdffde60b4b654.tar.zst
freebsd-ports-gnome-fbd85f4c5f784b1a68e7fabc43fdffde60b4b654.zip
- Update to 1.1.4
PR: 121960 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
-rw-r--r--games/trackballs/Makefile14
-rw-r--r--games/trackballs/distinfo6
-rw-r--r--games/trackballs/pkg-plist52
3 files changed, 61 insertions, 11 deletions
diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile
index e18a0c9ccfab..03c4fe4cd854 100644
--- a/games/trackballs/Makefile
+++ b/games/trackballs/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= trackballs
-PORTVERSION= 1.1.2
-PORTREVISION= 4
+PORTVERSION= 1.1.4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,12 +17,13 @@ COMMENT= SDL-based Marble Madness clone
LIB_DEPENDS= guile.18:${PORTSDIR}/lang/guile
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-USE_X_PREFIX= yes
USE_GL= yes
USE_SDL= image mixer sdl ttf
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_GNOME= desktopfileutils
+INSTALLS_ICONS= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= mkinstalldirs="${MKDIR}"
@@ -34,12 +34,10 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl
post-patch:
- @${FIND} ${WRKSRC} -name '*.h' -o -name '*.cc' | ${XARGS} \
- ${REINPLACE_CMD} -e '/^#include/s|SDL/SDL|SDL|; \
- /stdint.h/d'
- @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
- ${WRKSRC}/share/icons/installIcons
@${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \
${WRKSRC}/share/Makefile.in
+post-install:
+ -@update-desktop-database
+
.include <bsd.port.mk>
diff --git a/games/trackballs/distinfo b/games/trackballs/distinfo
index 6f8c63e3c37d..a0e16772b9bc 100644
--- a/games/trackballs/distinfo
+++ b/games/trackballs/distinfo
@@ -1,3 +1,3 @@
-MD5 (trackballs-1.1.2.tar.gz) = 9ea9ca93d87bb0f9ad8abca1b34af594
-SHA256 (trackballs-1.1.2.tar.gz) = 38ab9273c80da80b1efce68ac1554d2eaf2191913d100a9cd4212d702c17b6ba
-SIZE (trackballs-1.1.2.tar.gz) = 7063832
+MD5 (trackballs-1.1.4.tar.gz) = 84e2e8bb68842a636da91673751279a0
+SHA256 (trackballs-1.1.4.tar.gz) = 459dbaec27354fb4afff3d1aa491bc21b4fc2c0769eae86a47aaeb545cb434a6
+SIZE (trackballs-1.1.4.tar.gz) = 7229541
diff --git a/games/trackballs/pkg-plist b/games/trackballs/pkg-plist
index eebd1b513bf2..273775d920cc 100644
--- a/games/trackballs/pkg-plist
+++ b/games/trackballs/pkg-plist
@@ -1,8 +1,18 @@
bin/trackballs
+man/man6/trackballs.6.gz
+share/applications/trackballs.desktop
+share/icons/hicolor/32x32/apps/trackballs.png
+share/icons/hicolor/48x48/apps/trackballs.png
+share/icons/hicolor/64x64/apps/trackballs.png
share/locale/de/LC_MESSAGES/trackballs.mo
share/locale/fr/LC_MESSAGES/trackballs.mo
+share/locale/hu/LC_MESSAGES/trackballs.mo
share/locale/it/LC_MESSAGES/trackballs.mo
+share/locale/sk/LC_MESSAGES/trackballs.mo
share/locale/sv/LC_MESSAGES/trackballs.mo
+%%DATADIR%%/api.html
+%%DATADIR%%/customizing.html
+%%DATADIR%%/examples.html
%%DATADIR%%/fonts/menuFont.ttf
%%DATADIR%%/highScores
%%DATADIR%%/images/acid.png
@@ -54,8 +64,15 @@ share/locale/sv/LC_MESSAGES/trackballs.mo
%%DATADIR%%/images/trackballs32x32.png
%%DATADIR%%/images/trackballs48x48.png
%%DATADIR%%/images/wings.png
+%%DATADIR%%/index.html
+%%DATADIR%%/levels/Shop1.map
+%%DATADIR%%/levels/Shop1.scm
+%%DATADIR%%/levels/Shop2.map
+%%DATADIR%%/levels/Shop2.scm
%%DATADIR%%/levels/bonus.map
%%DATADIR%%/levels/bonus.scm
+%%DATADIR%%/levels/bonusb.map
+%%DATADIR%%/levels/bonusb.scm
%%DATADIR%%/levels/boot.scm
%%DATADIR%%/levels/bx.jpg
%%DATADIR%%/levels/bx.set
@@ -130,6 +147,30 @@ share/locale/sv/LC_MESSAGES/trackballs.mo
%%DATADIR%%/levels/fourSeasons_3.scm
%%DATADIR%%/levels/fourSeasons_4.map
%%DATADIR%%/levels/fourSeasons_4.scm
+%%DATADIR%%/levels/frg.jpg
+%%DATADIR%%/levels/frg.set
+%%DATADIR%%/levels/frg1.map
+%%DATADIR%%/levels/frg1.scm
+%%DATADIR%%/levels/frg10.map
+%%DATADIR%%/levels/frg10.scm
+%%DATADIR%%/levels/frg2.map
+%%DATADIR%%/levels/frg2.scm
+%%DATADIR%%/levels/frg3.map
+%%DATADIR%%/levels/frg3.scm
+%%DATADIR%%/levels/frg4.map
+%%DATADIR%%/levels/frg4.scm
+%%DATADIR%%/levels/frg5.map
+%%DATADIR%%/levels/frg5.scm
+%%DATADIR%%/levels/frg6.map
+%%DATADIR%%/levels/frg6.scm
+%%DATADIR%%/levels/frg7.map
+%%DATADIR%%/levels/frg7.scm
+%%DATADIR%%/levels/frg8.map
+%%DATADIR%%/levels/frg8.scm
+%%DATADIR%%/levels/frg9.map
+%%DATADIR%%/levels/frg9.scm
+%%DATADIR%%/levels/frgb.map
+%%DATADIR%%/levels/frgb.scm
%%DATADIR%%/levels/hxtst.map
%%DATADIR%%/levels/hxtst.scm
%%DATADIR%%/levels/jump.jpg
@@ -191,6 +232,8 @@ share/locale/sv/LC_MESSAGES/trackballs.mo
%%DATADIR%%/levels/test1.map
%%DATADIR%%/levels/tmp.map
%%DATADIR%%/levels/tmp.scm
+%%DATADIR%%/mapeditor.html
+%%DATADIR%%/scriptingLanguage.html
%%DATADIR%%/sfx/badpill.wav
%%DATADIR%%/sfx/ball_sinks.wav
%%DATADIR%%/sfx/ball_sinks2.wav
@@ -222,3 +265,12 @@ share/locale/sv/LC_MESSAGES/trackballs.mo
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%
+@dirrmtry share/icons/hicolor/64x64/apps
+@dirrmtry share/icons/hicolor/64x64
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
+@dirrmtry share/applications