Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 15:19:11 +0100 (CET)
From:      stijn@win.tue.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31589: [MAINTAINER UPDATE]: emulators/zsnes
Message-ID:  <200110291419.f9TEJB752967@pcwin002.win.tue.nl>

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

>Number:         31589
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: emulators/zsnes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 06:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stijn Hoop
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:

System: FreeBSD 4.4-STABLE #0: Mon Oct 15 04:32:30 CEST 2001

>Description:

- Update to version 1.337

>How-To-Repeat:

N/A

>Fix:

- Apply the following patch
- Files removed: files/patch-src::makefile.linux
- Files added: files/patch-src::Makefile.in

diff -urN --exclude=CVS /usr/ports/emulators/zsnes/Makefile zsnes/Makefile
--- /usr/ports/emulators/zsnes/Makefile	Wed Sep 12 10:46:09 2001
+++ zsnes/Makefile	Mon Oct 29 15:07:19 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zsnes
-PORTVERSION=	1.31b
+PORTVERSION=	1.337
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -30,15 +30,14 @@
 ONLY_FOR_ARCHS=	i386
 
 SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
-MAKE_ENV+=	SDL_CONFIG=${SDL_CONFIG} PREFIX=${PREFIX}
+CONFIGURE_ENV+=	SDL_CONFIG=${SDL_CONFIG}
 
-WRKSRC=		${WRKDIR}/zsnes
-BUILD_WRKSRC=	${WRKSRC}/src
-MAKEFILE=	makefile.linux
-ALL_TARGET=	ALL
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/zsnes ${PREFIX}/bin/zsnes
-	${INSTALL_MAN}	${WRKSRC}/src/linux/zsnes.man ${PREFIX}/man/man1/zsnes.1
+WRKSRC=		${WRKDIR}/zsnes/src
+
+GNU_CONFIGURE=	yes
+ALL_TARGET=	
+
+pre-configure:
+		cd ${WRKSRC} && chmod +x configure
 
 .include <bsd.port.mk>
diff -urN --exclude=CVS /usr/ports/emulators/zsnes/distinfo zsnes/distinfo
--- /usr/ports/emulators/zsnes/distinfo	Sun Jul  8 05:34:17 2001
+++ zsnes/distinfo	Mon Oct 29 14:42:50 2001
@@ -1 +1 @@
-MD5 (zsnes131bsrc.zip) = 259734f3ccf2fa4cde18cebaa924b320
+MD5 (zsnes1337src.zip) = 0d52bb1015d8cea39effd83951423139
diff -urN --exclude=CVS /usr/ports/emulators/zsnes/files/patch-src::Makefile.in zsnes/files/patch-src::Makefile.in
--- /usr/ports/emulators/zsnes/files/patch-src::Makefile.in	Thu Jan  1 01:00:00 1970
+++ zsnes/files/patch-src::Makefile.in	Mon Oct 29 15:12:50 2001
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Mon Oct 29 15:11:59 2001
++++ Makefile.in	Mon Oct 29 15:12:11 2001
+@@ -170,7 +170,7 @@
+ 
+ install:
+ 	@INSTALL@ -m 0755 @ZSNESEXE@ @prefix@/bin
+-	@INSTALL@ -m 0644 linux/zsnes.man @prefix@/man
++	@INSTALL@ -m 0644 linux/zsnes.man @prefix@/man/man1/zsnes.1
+ 
+ clean:
+ 	rm -f ${CHIPDIR}/*.o  ${CPUDIR}/*.o  ${VIDEODIR}/*.o  ${GUIDIR}/*.o  ${DOSDIR}/*.o  ${WINDIR}/*.o  ${ZIPDIR}/*.o  *.o  @ZSNESEXE@
diff -urN --exclude=CVS /usr/ports/emulators/zsnes/files/patch-src::makefile.linux zsnes/files/patch-src::makefile.linux
--- /usr/ports/emulators/zsnes/files/patch-src::makefile.linux	Tue Jul  3 10:40:34 2001
+++ zsnes/files/patch-src::makefile.linux	Thu Jan  1 01:00:00 1970
@@ -1,27 +0,0 @@
---- src/makefile.linux.orig	Fri Jun 29 23:12:52 2001
-+++ src/makefile.linux	Fri Jun 29 23:13:27 2001
-@@ -23,7 +23,7 @@
- WINDIR=linux
- OBJDIR=obj
- ZIPDIR=zip
--MANDIR=/usr/man/man1
-+MANDIR=$(PREFIX)/man/man1
- 
- CHIPSOBJ=${CHIPDIR}/sfxproc.o ${CHIPDIR}/fxemu2.o ${CHIPDIR}/dsp1proc.o\
- 	 ${CHIPDIR}/fxemu2b.o ${CHIPDIR}/fxemu2c.o ${CHIPDIR}/fxtable.o\
-@@ -59,12 +59,12 @@
- MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o
- 
- OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${WINDOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ}
--SDLLIBS := $(shell sdl-config --libs)
--SDLCFLAGS := $(shell sdl-config --cflags)
-+SDLLIBS := $(shell $(SDL_CONFIG) --libs)
-+SDLCFLAGS := $(shell $(SDL_CONFIG) --cflags)
- #LIBS=-static -pg ${SDLLIBS} -lz
- LIBS=${SDLLIBS} -lz -lpng
- #CFLAGS=-pg -g -Wall -D__LINUX__ ${SDLCFLAGS}
--CFLAGS=-g -Wall -O2 -mcpu=pentium -finline-functions -funroll-loops -D__LINUX__ ${SDLCFLAGS}
-+CFLAGS:=-g -Wall -O2 -finline-functions -funroll-loops -D__LINUX__ ${CFLAGS} ${SDLCFLAGS}
- ASM=nasm
- ASMFLAGS=-f elf -D__LINUX__ -g -w-orphan-labels 
- CC=gcc
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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