mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to version 0.97.5
PR: 60629 Submitted by: maintainer
This commit is contained in:
parent
87f43fa80f
commit
93bb3e964a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96712
@ -6,17 +6,15 @@
|
||||
#
|
||||
|
||||
PORTNAME= fceu
|
||||
PORTVERSION= 0.96
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.97.5
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://fceultra.sourceforge.net/files/
|
||||
DISTNAME= fceu${PORTVERSION:S/.//}src
|
||||
MASTER_SITES= http://xodnizel.net/fceultra/downloads/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
||||
MAINTAINER= gibbon@cocoa.freemail.ne.jp
|
||||
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
|
||||
|
||||
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12
|
||||
|
||||
USE_SDL= yes
|
||||
MAN6= fceu.6
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
USE_X_PREFIX= yes
|
||||
@ -25,16 +23,17 @@ MAKEFILE= Makefile.unixsdl
|
||||
USE_REINPLACE= yes
|
||||
|
||||
DOCS= AUTHORS COPYING ChangeLog FAQ README TODO \
|
||||
cheat.txt fcs.txt porting.txt rel/readme-linux.txt
|
||||
cheat.html fceultra.html fcs.txt porting.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= mmc5-e.txt mmc5_bank_switch.txt
|
||||
TECHPPUDOCS= "2C02\technical\operation.TXT" loopy1.txt loopy2.txt
|
||||
TECHEXPDOCS= SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt tengen.txt \
|
||||
vrcvi.txt vrcvii.txt
|
||||
TECHPPUDOCS= "2C02_technical_operation.TXT" loopy1.txt loopy2.txt
|
||||
|
||||
.if defined(WITH_OPTIMIZED_FLAGS)
|
||||
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
CFLAGS+= -mfancy-math-387
|
||||
CFLAGS+= -ffast-math -mfancy-math-387
|
||||
.endif # i386
|
||||
.endif
|
||||
|
||||
@ -56,7 +55,6 @@ PLIST_SUB= TECHDOCS="@comment "
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/Makefile.unixsdl
|
||||
.if (${MACHINE_ARCH} != "i386")
|
||||
# do I have to do this for ia64 and amd64 too?
|
||||
@${REINPLACE_CMD} -e 's|-DC80x86||g;' ${WRKSRC}/Makefile.unixsdl
|
||||
@ -70,6 +68,7 @@ pre-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -77,6 +76,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
|
||||
.if defined(TECH_DOC_INSTALL)
|
||||
@ -96,8 +96,8 @@ do-install:
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/ppu
|
||||
.for docs in ${TECHPPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S/\\/ /g} \
|
||||
${DOCSDIR}/tech/ppu
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S|_| |g} \
|
||||
${DOCSDIR}/tech/ppu/${docs}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
|
@ -1 +1 @@
|
||||
MD5 (fceu096src.tar.gz) = 26934713c1f64f20a3f4f8a2dba0f9fb
|
||||
MD5 (fceu-0.97.5.src.tar.gz) = a3a3732d58ddb66ae9a78b2bac1d6a1f
|
||||
|
@ -1,18 +1,18 @@
|
||||
--- Makefile.unixsdl.orig Fri Jun 20 12:50:03 2003
|
||||
+++ Makefile.unixsdl Mon Jul 21 07:53:48 2003
|
||||
--- Makefile.unixsdl.orig Mon Nov 10 12:33:14 2003
|
||||
+++ Makefile.unixsdl Tue Dec 9 01:13:35 2003
|
||||
@@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
-TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
|
||||
+TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `%%LOCALBASE%%/bin/sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
|
||||
-TFLAGS = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
|
||||
+TFLAGS = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `${SDL_CONFIG} --cflags` -I/usr/X11R6/include -Izlib -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
|
||||
|
||||
RM = rm -f
|
||||
B = drivers/cli/
|
||||
@@ -9,7 +9,7 @@
|
||||
include zlib/Makefile
|
||||
|
||||
OBJDRIVER = ${B}sdl.o ${B}interface.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o ${UNZIPOBJS}
|
||||
-LDRIVER = -lm `sdl-config --libs` -lz
|
||||
+LDRIVER = -lm `%%LOCALBASE%%/bin/sdl11-config --libs` -lz
|
||||
OBJDRIVER = ${B}sdl.o ${B}sdl-opengl.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o drivers/common/sfifo.o ${UNZIPOBJS}
|
||||
-LDRIVER = -lm `sdl-config --libs` -lz -lGL
|
||||
+LDRIVER = -lm `${SDL_CONFIG} --libs` -lz -lGL -L/usr/X11R6/lib
|
||||
|
||||
include Makefile.base
|
||||
|
||||
|
@ -5,10 +5,11 @@ bin/fceu
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fceultra.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcs.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/porting.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme-linux.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt
|
||||
@ -18,11 +19,15 @@ bin/fceu
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt
|
||||
%%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/tengen.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.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%%%%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
|
||||
|
@ -6,17 +6,15 @@
|
||||
#
|
||||
|
||||
PORTNAME= fceu
|
||||
PORTVERSION= 0.96
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.97.5
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://fceultra.sourceforge.net/files/
|
||||
DISTNAME= fceu${PORTVERSION:S/.//}src
|
||||
MASTER_SITES= http://xodnizel.net/fceultra/downloads/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
||||
MAINTAINER= gibbon@cocoa.freemail.ne.jp
|
||||
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
|
||||
|
||||
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12
|
||||
|
||||
USE_SDL= yes
|
||||
MAN6= fceu.6
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
USE_X_PREFIX= yes
|
||||
@ -25,16 +23,17 @@ MAKEFILE= Makefile.unixsdl
|
||||
USE_REINPLACE= yes
|
||||
|
||||
DOCS= AUTHORS COPYING ChangeLog FAQ README TODO \
|
||||
cheat.txt fcs.txt porting.txt rel/readme-linux.txt
|
||||
cheat.html fceultra.html fcs.txt porting.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= mmc5-e.txt mmc5_bank_switch.txt
|
||||
TECHPPUDOCS= "2C02\technical\operation.TXT" loopy1.txt loopy2.txt
|
||||
TECHEXPDOCS= SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt tengen.txt \
|
||||
vrcvi.txt vrcvii.txt
|
||||
TECHPPUDOCS= "2C02_technical_operation.TXT" loopy1.txt loopy2.txt
|
||||
|
||||
.if defined(WITH_OPTIMIZED_FLAGS)
|
||||
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
CFLAGS+= -mfancy-math-387
|
||||
CFLAGS+= -ffast-math -mfancy-math-387
|
||||
.endif # i386
|
||||
.endif
|
||||
|
||||
@ -56,7 +55,6 @@ PLIST_SUB= TECHDOCS="@comment "
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/Makefile.unixsdl
|
||||
.if (${MACHINE_ARCH} != "i386")
|
||||
# do I have to do this for ia64 and amd64 too?
|
||||
@${REINPLACE_CMD} -e 's|-DC80x86||g;' ${WRKSRC}/Makefile.unixsdl
|
||||
@ -70,6 +68,7 @@ pre-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -77,6 +76,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
|
||||
.if defined(TECH_DOC_INSTALL)
|
||||
@ -96,8 +96,8 @@ do-install:
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/ppu
|
||||
.for docs in ${TECHPPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S/\\/ /g} \
|
||||
${DOCSDIR}/tech/ppu
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S|_| |g} \
|
||||
${DOCSDIR}/tech/ppu/${docs}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
|
@ -1 +1 @@
|
||||
MD5 (fceu096src.tar.gz) = 26934713c1f64f20a3f4f8a2dba0f9fb
|
||||
MD5 (fceu-0.97.5.src.tar.gz) = a3a3732d58ddb66ae9a78b2bac1d6a1f
|
||||
|
@ -1,18 +1,18 @@
|
||||
--- Makefile.unixsdl.orig Fri Jun 20 12:50:03 2003
|
||||
+++ Makefile.unixsdl Mon Jul 21 07:53:48 2003
|
||||
--- Makefile.unixsdl.orig Mon Nov 10 12:33:14 2003
|
||||
+++ Makefile.unixsdl Tue Dec 9 01:13:35 2003
|
||||
@@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
-TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
|
||||
+TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `%%LOCALBASE%%/bin/sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
|
||||
-TFLAGS = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
|
||||
+TFLAGS = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `${SDL_CONFIG} --cflags` -I/usr/X11R6/include -Izlib -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
|
||||
|
||||
RM = rm -f
|
||||
B = drivers/cli/
|
||||
@@ -9,7 +9,7 @@
|
||||
include zlib/Makefile
|
||||
|
||||
OBJDRIVER = ${B}sdl.o ${B}interface.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o ${UNZIPOBJS}
|
||||
-LDRIVER = -lm `sdl-config --libs` -lz
|
||||
+LDRIVER = -lm `%%LOCALBASE%%/bin/sdl11-config --libs` -lz
|
||||
OBJDRIVER = ${B}sdl.o ${B}sdl-opengl.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o drivers/common/sfifo.o ${UNZIPOBJS}
|
||||
-LDRIVER = -lm `sdl-config --libs` -lz -lGL
|
||||
+LDRIVER = -lm `${SDL_CONFIG} --libs` -lz -lGL -L/usr/X11R6/lib
|
||||
|
||||
include Makefile.base
|
||||
|
||||
|
@ -5,10 +5,11 @@ bin/fceu
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fceultra.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcs.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/porting.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme-linux.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt
|
||||
@ -18,11 +19,15 @@ bin/fceu
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt
|
||||
%%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/tengen.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.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%%%%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
|
||||
|
Loading…
Reference in New Issue
Block a user