Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 00:00:28 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59124: Update port: emulators/gsnes9x to 3.12
Message-ID:  <20031111000028.0915cc1d.tkato@prontomail.com>
Resent-Message-ID: <200311101510.hAAFAJ31020097@freefall.freebsd.org>

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

>Number:         59124
>Category:       ports
>Synopsis:       Update port: emulators/gsnes9x to 3.12
>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:   Mon Nov 10 07:10:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.12

Remove file:
files/PLIST.docs
files/PLIST.nodocs
files/patch-ac
files/patch-ad

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/emulators/gsnes9x/Makefile emulators/gsnes9x/Makefile
--- /usr/ports/emulators/gsnes9x/Makefile	Sun Nov  2 19:32:33 2003
+++ emulators/gsnes9x/Makefile	Mon Nov 10 00:41:22 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gsnes9x
-PORTVERSION=	3.10
+PORTVERSION=	3.12
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,32 +17,19 @@
 
 RUN_DEPENDS=	snes9x:${PORTSDIR}/emulators/snes9x
 
-GNU_CONFIGURE=	yes
-USE_GNOME=	gnomelibs
-USE_GMAKE=	yes
 USE_X_PREFIX=	yes
-
-CONFIGURE_ARGS=	--without-included-gettext \
-		--with-esd
-
-.if defined(NOPORTDOCS)
-
-PLIST=	${FILESDIR}/PLIST.nodocs
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/GSnes9x ${PREFIX}/bin
-	@${MKDIR} ${PREFIX}/share/gnome \
-		  ${PREFIX}/share/gnome/apps \
-		  ${PREFIX}/share/gnome/apps/Games \
-		  ${PREFIX}/share/gnome/pixmaps
-	${INSTALL_DATA} ${WRKSRC}/gsnes9x.desktop \
-			${PREFIX}/share/gnome/apps/Games/gsnes9x.desktop
-	${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnesdefault.png \
-			${PREFIX}/share/gnome/pixmaps
-	${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnes9x-icon.png \
-			${PREFIX}/share/gnome/pixmaps
-.else
-PLIST=	${FILESDIR}/PLIST.docs
-.endif
+USE_GNOME=	gnomehack gnomeprefix gnomelibs
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+		AUTOHEADER="${TRUE}"
+
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|^SUBDIRS = intl|SUBDIRS =|g ; \
+		 s|@INTLLIBS@|-lintl|g ; \
+		 s|@INTLDEPS@||g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/emulators/gsnes9x/distinfo emulators/gsnes9x/distinfo
--- /usr/ports/emulators/gsnes9x/distinfo	Mon Apr 16 09:13:35 2001
+++ emulators/gsnes9x/distinfo	Mon Nov 10 00:32:06 2003
@@ -1 +1 @@
-MD5 (GSnes9x-3.10.tar.gz) = f51fe79c480b439e6a381bb1729daccd
+MD5 (GSnes9x-3.12.tar.gz) = c8f4631b9ddbf7f513c2af322d12bcc5
diff -urN /usr/ports/emulators/gsnes9x/files/PLIST.docs emulators/gsnes9x/files/PLIST.docs
--- /usr/ports/emulators/gsnes9x/files/PLIST.docs	Wed Aug 20 08:28:16 2003
+++ emulators/gsnes9x/files/PLIST.docs	Thu Jan  1 09:00:00 1970
@@ -1,33 +0,0 @@
-bin/GSnes9x
-share/gnome/help/GSnes9x/C/index.html
-share/gnome/help/GSnes9x/C/topic.dat
-share/gnome/help/GSnes9x/C/addrom.png
-share/gnome/help/GSnes9x/C/cheat.png
-share/gnome/help/GSnes9x/C/codes.png
-share/gnome/help/GSnes9x/C/format.png
-share/gnome/help/GSnes9x/C/info.png
-share/gnome/help/GSnes9x/C/joystick.png
-share/gnome/help/GSnes9x/C/main.png
-share/gnome/help/GSnes9x/C/pop.png
-share/gnome/help/GSnes9x/C/system.png
-share/gnome/help/GSnes9x/C/tooltips.png
-share/gnome/help/GSnes9x/es/index.html
-share/gnome/help/GSnes9x/es/topic.dat
-share/gnome/help/GSnes9x/es/addrom.png
-share/gnome/help/GSnes9x/es/cheat.png
-share/gnome/help/GSnes9x/es/codes.png
-share/gnome/help/GSnes9x/es/format.png
-share/gnome/help/GSnes9x/es/info.png
-share/gnome/help/GSnes9x/es/joystick.png
-share/gnome/help/GSnes9x/es/main.png
-share/gnome/help/GSnes9x/es/pop.png
-share/gnome/help/GSnes9x/es/system.png
-share/gnome/help/GSnes9x/es/tooltips.png
-share/gnome/apps/Games/gsnes9x.desktop
-share/gnome/pixmaps/gsnesdefault.png
-share/gnome/pixmaps/gsnes9x-icon.png
-share/locale/es/LC_MESSAGES/GSnes9x.mo
-share/locale/no/LC_MESSAGES/GSnes9x.mo
-@dirrm share/gnome/help/GSnes9x/C
-@dirrm share/gnome/help/GSnes9x/es
-@dirrm share/gnome/help/GSnes9x
diff -urN /usr/ports/emulators/gsnes9x/files/PLIST.nodocs emulators/gsnes9x/files/PLIST.nodocs
--- /usr/ports/emulators/gsnes9x/files/PLIST.nodocs	Wed Aug 20 08:28:16 2003
+++ emulators/gsnes9x/files/PLIST.nodocs	Thu Jan  1 09:00:00 1970
@@ -1,6 +0,0 @@
-bin/GSnes9x
-share/gnome/apps/Games/gsnes9x.desktop
-share/gnome/pixmaps/gsnesdefault.png
-share/gnome/pixmaps/gsnes9x-icon.png
-share/locale/es/LC_MESSAGES/GSnes9x.mo
-share/locale/no/LC_MESSAGES/GSnes9x.mo
diff -urN /usr/ports/emulators/gsnes9x/files/patch-ac emulators/gsnes9x/files/patch-ac
--- /usr/ports/emulators/gsnes9x/files/patch-ac	Mon Jul 17 00:32:27 2000
+++ emulators/gsnes9x/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- pixmaps/Makefile.in.orig	Sun Jun 18 18:54:02 2000
-+++ pixmaps/Makefile.in	Sun Jun 18 18:54:55 2000
-@@ -99,7 +99,7 @@
- ZVT_LIBS = @ZVT_LIBS@
- l = @l@
- 
--pixmapdir = $(datadir)/pixmaps
-+pixmapdir = $(datadir)/gnome/pixmaps
- 
- pixmap_DATA =  	gsnesdefault.png 	gsnes9x-icon.png
- 
diff -urN /usr/ports/emulators/gsnes9x/files/patch-ad emulators/gsnes9x/files/patch-ad
--- /usr/ports/emulators/gsnes9x/files/patch-ad	Mon Jul 17 00:59:05 2000
+++ emulators/gsnes9x/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Sun Jun 18 19:43:21 2000
-+++ src/Makefile.in	Sun Jun 18 19:43:35 2000
-@@ -101,7 +101,7 @@
- 
- bin_PROGRAMS = GSnes9x
- 
--INCLUDES = $(GNOME_INCLUDEDIR) -DG_LOG_DOMAIN=\"GSnes9x\" -I$(top_srcdir)/intl 	-DLOCALEDIR=\"$(datadir)/locale\" -DPIXMAPDIR=\"$(datadir)/pixmaps\"
-+INCLUDES = $(GNOME_INCLUDEDIR) -DG_LOG_DOMAIN=\"GSnes9x\" -I$(top_srcdir)/intl 	-DLOCALEDIR=\"$(datadir)/locale\" -DPIXMAPDIR=\"$(datadir)/gnome/pixmaps\"
- 
- 
- CFLAGS =  -Wall @CFLAGS@
diff -urN /usr/ports/emulators/gsnes9x/pkg-plist emulators/gsnes9x/pkg-plist
--- /usr/ports/emulators/gsnes9x/pkg-plist	Mon Jul 17 00:59:05 2000
+++ emulators/gsnes9x/pkg-plist	Mon Nov 10 00:47:56 2003
@@ -0,0 +1,35 @@
+bin/GSnes9x
+share/gnome/apps/Games/gsnes9x.desktop
+share/gnome/help/GSnes9x/C/addrom.png
+share/gnome/help/GSnes9x/C/cheat.png
+share/gnome/help/GSnes9x/C/codes.png
+share/gnome/help/GSnes9x/C/format.png
+share/gnome/help/GSnes9x/C/help-2.html
+share/gnome/help/GSnes9x/C/index.html
+share/gnome/help/GSnes9x/C/info.png
+share/gnome/help/GSnes9x/C/joystick.png
+share/gnome/help/GSnes9x/C/main.png
+share/gnome/help/GSnes9x/C/pop.png
+share/gnome/help/GSnes9x/C/readme-snes9x.html
+share/gnome/help/GSnes9x/C/system.png
+share/gnome/help/GSnes9x/C/tooltips.png
+share/gnome/help/GSnes9x/C/topic.dat
+share/gnome/help/GSnes9x/es/addrom.png
+share/gnome/help/GSnes9x/es/cheat.png
+share/gnome/help/GSnes9x/es/codes.png
+share/gnome/help/GSnes9x/es/format.png
+share/gnome/help/GSnes9x/es/index.html
+share/gnome/help/GSnes9x/es/info.png
+share/gnome/help/GSnes9x/es/joystick.png
+share/gnome/help/GSnes9x/es/main.png
+share/gnome/help/GSnes9x/es/pop.png
+share/gnome/help/GSnes9x/es/system.png
+share/gnome/help/GSnes9x/es/tooltips.png
+share/gnome/help/GSnes9x/es/topic.dat
+share/gnome/pixmaps/gsnes9x-icon.png
+share/gnome/pixmaps/gsnesdefault.png
+share/locale/es/LC_MESSAGES/GSnes9x.mo
+share/locale/no/LC_MESSAGES/GSnes9x.mo
+@dirrm share/gnome/help/GSnes9x/es
+@dirrm share/gnome/help/GSnes9x/C
+@dirrm share/gnome/help/GSnes9x
>Release-Note:
>Audit-Trail:
>Unformatted:



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