ports/89577: Update port: games/gno3dtet to 1.96.1

KATO Tsuguru tkato432 at yahoo.com
Sat Nov 26 14:10:15 UTC 2005


>Number:         89577
>Category:       ports
>Synopsis:       Update port: games/gno3dtet to 1.96.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 26 14:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.96.1

New file:
files/patch-src__main.cc

Remove file:
files/patch-gno3dtet:main.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/gno3dtet/Makefile games/gno3dtet/Makefile
--- /usr/ports/games/gno3dtet/Makefile	Wed Nov 16 03:34:28 2005
+++ games/gno3dtet/Makefile	Sat Nov 26 01:53:16 2005
@@ -6,29 +6,43 @@
 #
 
 PORTNAME=	gno3dtet
-PORTVERSION=	1.6.4
-PORTREVISION=	1
+PORTVERSION=	1.96.1
 CATEGORIES=	games gnome
-MASTER_SITES=	ftp://12.206.131.3/pub/gno3dtet/ \
-		http://www.eseb.net/ftp/gno3dtet/
+MASTER_SITES=	http://eseb.net/ftp/gno3dtet/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	GNOME version of the classic 3D-ified T*tris
 
-USE_REINPLACE=	yes
+EXTRACT_DEPENDS=intltoolize:${PORTSDIR}/textproc/intltool
+
 USE_X_PREFIX=	yes
+USE_GNOME=	gnomehack gnomeprefix gnometarget intlhack libgnomeui librsvg2
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix gnomehack gnomelibs
-USE_AUTOTOOLS=	libtool:15
+USE_AUTOTOOLS=	autoheader:259 automake:19 aclocal:19 autoconf:259
+ACLOCAL_ARGS=	-I m4 -I ${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS=	-a -c -f
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_OMF=	yes
+
+run-autotools:: run-autotools-aclocal run-autotools-autoheader \
+		run-autotools-automake run-autotools-autoconf
+
+post-extract:
+	@cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -c -f
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
-		s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
-		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/LIBTOOL/d ; \
+		 s|gnome-games|gno3dtet|g' ${WRKSRC}/configure.in
+	@${REINPLACE_CMD} -e 's|/gnome/help/|/help/|g' \
+		${WRKSRC}/xmldocs.make
+	@${REINPLACE_CMD} -e 's|/gnome/help/|/help/|g ; \
+		 s|datadir)/locale|prefix)/share/locale|g' ${WRKSRC}/src/Makefile.am
+
+pre-configure:
+	@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/mkinstalldirs ${WRKSRC}
 
 post-install:
 	${CHOWN} root:games ${PREFIX}/bin/gno3dtet
diff -urN /usr/ports/games/gno3dtet/distinfo games/gno3dtet/distinfo
--- /usr/ports/games/gno3dtet/distinfo	Fri Nov 25 13:34:59 2005
+++ games/gno3dtet/distinfo	Fri Nov 25 22:56:22 2005
@@ -1,3 +1,3 @@
-MD5 (gno3dtet-1.6.4.tgz) = 62c01388996b648c07fc2fe46fb6bca6
-SHA256 (gno3dtet-1.6.4.tgz) = 3bfc727884d0fb1fd82bef09d161c035017776c577b2e6a27a0da88daf63c200
-SIZE (gno3dtet-1.6.4.tgz) = 313454
+MD5 (gno3dtet-1.96.1.tgz) = f298fe3306d5938ef843302a31a19713
+SHA256 (gno3dtet-1.96.1.tgz) = 81988eee8d824962d5d348ae72c5c66bf4e15dc406eac2bce8a76b098709f37b
+SIZE (gno3dtet-1.96.1.tgz) = 202401
diff -urN /usr/ports/games/gno3dtet/files/patch-gno3dtet:main.cc games/gno3dtet/files/patch-gno3dtet:main.cc
--- /usr/ports/games/gno3dtet/files/patch-gno3dtet:main.cc	Sun Oct  7 00:15:18 2001
+++ games/gno3dtet/files/patch-gno3dtet:main.cc	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- gno3dtet/main.cc.orig	Thu May  3 12:30:56 2001
-+++ gno3dtet/main.cc	Sat Oct  6 02:07:05 2001
-@@ -374,6 +374,7 @@
- 	textdomain (PACKAGE);
- 
- 	// init
-+	setregid(getegid(), -1);
- 	gnome_init_with_popt_table (GNO3DTET_EXENAME, GNO3DTET_VERSION,
- 		argc, argv, options, 0, NULL);
- 
diff -urN /usr/ports/games/gno3dtet/files/patch-src__main.cc games/gno3dtet/files/patch-src__main.cc
--- /usr/ports/games/gno3dtet/files/patch-src__main.cc	Thu Jan  1 09:00:00 1970
+++ games/gno3dtet/files/patch-src__main.cc	Sat Nov 26 01:54:27 2005
@@ -0,0 +1,10 @@
+--- src/main.cc.orig	Wed Mar  9 11:07:47 2005
++++ src/main.cc	Fri Nov 25 23:00:18 2005
+@@ -375,6 +375,7 @@
+ 	textdomain (PACKAGE);
+ 
+ 	// init
++	setregid(getegid(), -1);
+ //	gnome_init_with_popt_table (GNO3DTET_EXENAME, GNO3DTET_VERSION, argc, argv, options, 0, NULL);// gnome-1
+     gnome_program_init (GNO3DTET_EXENAME, GNO3DTET_VERSION,
+                 LIBGNOMEUI_MODULE,
diff -urN /usr/ports/games/gno3dtet/pkg-descr games/gno3dtet/pkg-descr
--- /usr/ports/games/gno3dtet/pkg-descr	Sun Oct  7 00:15:18 2001
+++ games/gno3dtet/pkg-descr	Sat Nov 26 01:52:11 2005
@@ -1,9 +1,8 @@
-Gno3DTet is a funky 3D-ified version of T*tris
-that reminds me of games I used to play 10 years
-ago. It'll make for hours of fun if you learn
+Gno3DTet is a funky 3D-ified version of T*tris that reminds me of games
+I used to play 10 years ago. It'll make for hours of fun if you learn
 how to move the pieces around right.
 
-WWW: http://gno3dtet.eseb.net/
-Author: Sebastien Nicoud <snicoud at rmi.net>
+WWW: http://eseb.net/3dtetris.php
+Author: Sebastien Nicoud <seb at eseb.net>
 
 --Will <andrews at technologist.com>
diff -urN /usr/ports/games/gno3dtet/pkg-plist games/gno3dtet/pkg-plist
--- /usr/ports/games/gno3dtet/pkg-plist	Thu Oct  5 16:10:37 2000
+++ games/gno3dtet/pkg-plist	Sat Nov 26 01:24:21 2005
@@ -1,9 +1,9 @@
 bin/gno3dtet
-share/gnome/apps/Games/gno3dtet.desktop
+share/gnome/applications/gno3dtet.desktop
 share/gnome/games/gno3dtet.hof
-share/gnome/help/gno3dtet/C/copying.html
-share/gnome/help/gno3dtet/C/gno3dtet.html
-share/gnome/help/gno3dtet/C/topic.dat
+share/gnome/help/gno3dtet/C/gno3dtet.xml
+share/gnome/help/gno3dtet/C/legal.xml
+share/gnome/omf/gno3dtet/gno3dtet-C.omf
 share/gnome/pixmaps/gno3dtet.png
 share/gnome/sounds/gno3dtet/danger.wav
 share/gnome/sounds/gno3dtet/fall.wav
@@ -11,11 +11,12 @@
 share/gnome/sounds/gno3dtet/land.wav
 share/gnome/sounds/gno3dtet/layer.wav
 share/gnome/sounds/gno3dtet/level.wav
-share/gnome/sounds/gno3dtet/move.wav
 share/gnome/sounds/gno3dtet/new.wav
 share/gnome/sounds/gno3dtet/pause.wav
 share/gnome/sounds/gno3dtet/score.wav
 share/gnome/sounds/gno3dtet/screwd.wav
+share/locale/fr/LC_MESSAGES/gno3dtet.mo
 @dirrm share/gnome/sounds/gno3dtet
+ at dirrm share/gnome/omf/gno3dtet
 @dirrm share/gnome/help/gno3dtet/C
 @dirrm share/gnome/help/gno3dtet
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list