Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 11:55:10 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121960: [port update] games/trackballs v1.1.2 -> v1.1.4
Message-ID:  <200803221155.m2MBtAtp080095@www.freebsd.org>
Resent-Message-ID: <200803221200.m2MC040D005079@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121960
>Category:       ports
>Synopsis:       [port update] games/trackballs v1.1.2 -> v1.1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 22 12:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #10: Wed Mar 12 14:04:40 CET 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This patch updates games/trackballs to version 1.1.4
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -auNr trackballs.orig/Makefile trackballs/Makefile
--- trackballs.orig/Makefile	2008-03-22 10:24:24.291371477 +0100
+++ trackballs/Makefile	2008-03-22 12:32:40.588092970 +0100
@@ -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}
@@ -24,6 +23,8 @@
 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 +35,10 @@
 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 -auNr trackballs.orig/distinfo trackballs/distinfo
--- trackballs.orig/distinfo	2008-03-22 10:24:24.292371604 +0100
+++ trackballs/distinfo	2008-03-22 10:28:52.304676799 +0100
@@ -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 -auNr trackballs.orig/pkg-plist trackballs/pkg-plist
--- trackballs.orig/pkg-plist	2008-03-22 10:24:24.292371604 +0100
+++ trackballs/pkg-plist	2008-03-22 12:47:50.493732374 +0100
@@ -1,7 +1,13 @@
 bin/trackballs
+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%%/fonts/menuFont.ttf
 %%DATADIR%%/highScores
@@ -54,8 +60,14 @@
 %%DATADIR%%/images/trackballs32x32.png
 %%DATADIR%%/images/trackballs48x48.png
 %%DATADIR%%/images/wings.png
+%%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 +142,30 @@
 %%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
@@ -216,9 +252,17 @@
 %%DATADIR%%/sfx/switch.wav
 %%DATADIR%%/sfx/time_warning.wav
 %%DATADIR%%/sfx/timeout.wav
+%%DATADIR%%/api.html
+%%DATADIR%%/customizing.html
+%%DATADIR%%/examples.html
+%%DATADIR%%/index.html
+%%DATADIR%%/mapeditor.html
+%%DATADIR%%/scriptingLanguage.html
+@dirrmtry %%DATADIR%%/music
 @dirrm %%DATADIR%%/sfx
-@dirrm %%DATADIR%%/music
 @dirrm %%DATADIR%%/levels
 @dirrm %%DATADIR%%/images
 @dirrm %%DATADIR%%/fonts
 @dirrm %%DATADIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803221155.m2MBtAtp080095>