ports/66033: Update port: emulators/fceu 0.97.5 -> 0.98.8

Greg J. xcas at cox.net
Tue Apr 27 19:50:10 UTC 2004


>Number:         66033
>Category:       ports
>Synopsis:       Update port: emulators/fceu 0.97.5 -> 0.98.8
>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:   Tue Apr 27 12:50:10 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Greg J.
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Tue Apr 20 12:15:48 MST 2004
    cas at localhost.bsd-unix.org:/usr/obj/usr/src/sys/CASX32



>Description:


Update port: emulators/fceu 0.97.5 -> 0.98.8


>How-To-Repeat:


Apply the following patch..


>Fix:


--- fceu.diff begins here ---
diff -u emulators/fceu-orig/Makefile emulators/fceu/Makefile
--- emulators/fceu-orig/Makefile	Mon Mar 15 21:23:35 2004
+++ emulators/fceu/Makefile	Tue Apr 27 12:25:10 2004
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	fceu
-PORTVERSION=	0.97.5
-PORTREVISION=	2
+PORTVERSION=	0.98.8
 CATEGORIES=	emulators
-MASTER_SITES=	http://xodnizel.net/fceultra/downloads/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	fceultra
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
 
 MAINTAINER=	gibbon at cocoa.freemail.ne.jp
@@ -20,20 +20,21 @@
 WRKSRC=		${WRKDIR}/fceu
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
-MAKEFILE=	Makefile.unixsdl
-USE_REINPLACE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 
-DOCS=		AUTHORS COPYING ChangeLog FAQ README TODO \
-		cheat.html fceultra.html fcs.txt porting.txt protocol.txt
+DOCS=		cheat.html faq.html fceultra.html fcm.txt fcs.txt protocol.txt
 TECHDOCS=	README.now README.sound UNIF_current.txt nsfspec.txt
 TECHCPUDOC=	4017.txt 6502_cpu.txt NESSOUND-4th.txt NESSOUND.txt dmc.txt
-TECHEXPDOCS=	SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt tengen.txt \
-		vrcvi.txt vrcvii.txt
+TECHEXPDOCS=	SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt namco.txt taito.txt \
+		tengen.txt vrcvi.txt vrcvii.txt
 TECHPPUDOCS=	"2C02_technical_operation.TXT" loopy1.txt loopy2.txt
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_OPTIMIZED_FLAGS)
 CFLAGS+=	-O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
-.if (${MACHINE_ARCH} == "i386")
+.if (${ARCH} == "i386")
 CFLAGS+=	-ffast-math -mfancy-math-387
 .endif # i386
 .endif
@@ -53,22 +54,11 @@
 PLIST_SUB=	TECHDOCS="@comment "
 .endif
 
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if (${MACHINE_ARCH} != "i386")
-# do I have to do this for ia64 and amd64 too?
-	@${REINPLACE_CMD} -e 's|-DC80x86||g;' ${WRKSRC}/Makefile.unixsdl
-.if (${MACHINE_ARCH} == "sparc64")
-	@${REINPLACE_CMD} -e 's|-DLSB_FIRST||g;' ${WRKSRC}/Makefile.unixsdl
-.endif
-.endif
-
 pre-build:
 	@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
diff -u emulators/fceu-orig/distinfo emulators/fceu/distinfo
--- emulators/fceu-orig/distinfo	Tue Mar 30 20:07:41 2004
+++ emulators/fceu/distinfo	Tue Apr 27 08:48:21 2004
@@ -1,2 +1,2 @@
-MD5 (fceu-0.97.5.src.tar.gz) = a3a3732d58ddb66ae9a78b2bac1d6a1f
-SIZE (fceu-0.97.5.src.tar.gz) = 551337
+MD5 (fceu-0.98.8.src.tar.gz) = cffb95097a256da18748865e52a828d8
+SIZE (fceu-0.98.8.src.tar.gz) = 666950
Only in emulators/fceu-orig/: files
diff -u emulators/fceu-orig/pkg-plist emulators/fceu/pkg-plist
--- emulators/fceu-orig/pkg-plist	Sat Dec 27 16:56:01 2003
+++ emulators/fceu/pkg-plist	Tue Apr 27 10:45:46 2004
@@ -1,14 +1,9 @@
 bin/fceu
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%%%DOCSDIR%%/cheat.html
+%%PORTDOCS%%%%DOCSDIR%%/faq.html
 %%PORTDOCS%%%%DOCSDIR%%/fceultra.html
+%%PORTDOCS%%%%DOCSDIR%%/fcm.txt
 %%PORTDOCS%%%%DOCSDIR%%/fcs.txt
-%%PORTDOCS%%%%DOCSDIR%%/porting.txt
 %%PORTDOCS%%%%DOCSDIR%%/protocol.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
@@ -22,12 +17,14 @@
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/SMB2j.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5-e.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5_bank_switch.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/namco.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/taito.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/tengen.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02_technical_operation.TXT
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy1.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy2.txt
-%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02_technical_operation.TXT
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/ppu
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/exp
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/cpu
--- fceu.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list