Date: Sun, 10 Nov 2002 03:36:19 +0900 (JST) From: gibbon@cocoa.freemail.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45166: New port: emulator/fceu Message-ID: <200211091836.gA9IaJEW083961@breton.hiyama>
next in thread | raw e-mail | index | archive | help
>Number: 45166 >Category: ports >Synopsis: New port: emulator/fceu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 09 10:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: HIYAMA Takeshi >Release: FreeBSD 4.0-STABLE i386 >Organization: Hitachi Naka Electronics Co., Ld. >Environment: >Description: FCE Ultra is a portable NES/Famicom emulator based on Bero's original FCE source code. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fceu # fceu/files # fceu/files/patch-Makefile.base # fceu/files/patch-Makefile.unixsdl # fceu/pkg-descr # fceu/distinfo # fceu/pkg-plist # fceu/pkg-message # fceu/Makefile # fceu/pkg-comment # echo c - fceu mkdir -p fceu > /dev/null 2>&1 echo c - fceu/files mkdir -p fceu/files > /dev/null 2>&1 echo x - fceu/files/patch-Makefile.base sed 's/^X//' >fceu/files/patch-Makefile.base << 'END-of-fceu/files/patch-Makefile.base' X--- Makefile.base.orig Sun Nov 10 02:13:55 2002 X+++ Makefile.base Sun Nov 10 02:14:00 2002 X@@ -1,4 +1,4 @@ X-CFLAGS = -Wall -Winline ${TFLAGS} X+CFLAGS += -Wall -Winline ${TFLAGS} X OBJECTS = fce.o x6502.o video.o general.o endian.o svga.o sound.o nsf.o fds.o netplay.o ines.o state.o unif.o input.o file.o cart.o crc32.o memory.o cheat.o debug.o X X fceu: fceu2 END-of-fceu/files/patch-Makefile.base echo x - fceu/files/patch-Makefile.unixsdl sed 's/^X//' >fceu/files/patch-Makefile.unixsdl << 'END-of-fceu/files/patch-Makefile.unixsdl' X--- Makefile.unixsdl.orig Mon Aug 19 03:20:41 2002 X+++ Makefile.unixsdl Sun Nov 10 02:13:48 2002 X@@ -1,5 +1,5 @@ X CC = gcc X-TFLAGS = -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB X+TFLAGS = -DNETWORK -DFPS `sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB X X RM = rm -f X B = drivers/cli/ X@@ -9,7 +9,7 @@ X include zlib/Makefile X X OBJDRIVER = ${B}sdl.o ${B}main.o ${B}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 ${UNZIPOBJS} X-LDRIVER = -lm `sdl-config --libs` -lz X+LDRIVER = -lm `sdl11-config --libs` -lz X X include Makefile.base X END-of-fceu/files/patch-Makefile.unixsdl echo x - fceu/pkg-descr sed 's/^X//' >fceu/pkg-descr << 'END-of-fceu/pkg-descr' XFCE Ultra is an NTSC and PAL Famicom/NES emulator for various Xplatforms. It is based upon Bero's original FCE source code. Current Xfeatures include good PPU, CPU, pAPU, expansion chip, and joystick Xemulation. Also a feature unique to this emulator(at the current Xtime) is authentic Game Genie emulation. Save states and snapshot Xfeatures also have been implemented. The VS Unisystem is emulated Xas well. FCE Ultra supports iNES format ROM images, UNIF format ROM Ximages, headerless and FWNES style FDS disk images, and NSF files. X XFCE Ultra currently supports the following iNES mappers(many partially): X XWWW: http://fceultra.sourceforge.net/ END-of-fceu/pkg-descr echo x - fceu/distinfo sed 's/^X//' >fceu/distinfo << 'END-of-fceu/distinfo' XMD5 (fceu081src.tar.gz) = 1dcfc1199a2dad906ddb771f89f50ddf END-of-fceu/distinfo echo x - fceu/pkg-plist sed 's/^X//' >fceu/pkg-plist << 'END-of-fceu/pkg-plist' Xbin/fceu X%%PORTDOCS%%share/doc/fceu/AUTHORS X%%PORTDOCS%%share/doc/fceu/COPYING X%%PORTDOCS%%share/doc/fceu/ChangeLog X%%PORTDOCS%%share/doc/fceu/FAQ X%%PORTDOCS%%share/doc/fceu/README X%%PORTDOCS%%share/doc/fceu/RELEASE-NOTES X%%PORTDOCS%%share/doc/fceu/TODO X%%PORTDOCS%%share/doc/fceu/cheat.txt X%%PORTDOCS%%share/doc/fceu/fcs.txt X%%PORTDOCS%%share/doc/fceu/porting.txt X%%PORTDOCS%%share/doc/fceu/readme-linux.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.now X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.sound X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/UNIF_current.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/nsfspec.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/4017.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/6502_cpu.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/NESSOUND.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/dmc.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5-e.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5_bank_switch.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy1.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy2.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/timing.txt X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/ppu X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/exp X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/cpu X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech X%%PORTDOCS%%@dirrm share/doc/fceu END-of-fceu/pkg-plist echo x - fceu/pkg-message sed 's/^X//' >fceu/pkg-message << 'END-of-fceu/pkg-message' X To enable start/stop seti@home client, X please run "setiathome" as your login name. X If you installed "setiathome" by ports or package, X change the line 9 of %%LOCALBASE%%/etc/rc.d/setiathome.sh X seti_user=nobody X ^^^^^^ X to your login name before setting up working directory. X If you already done this as nobody, do X %%LOCALBASE%%/etc/rc.d/setiathome.sh stop X chown -R "YOUR LOGIN NAME" /var/db/setiathome END-of-fceu/pkg-message echo x - fceu/Makefile sed 's/^X//' >fceu/Makefile << 'END-of-fceu/Makefile' X# New ports collection makefile for: fceu X# Date Created: 10 Mov 2002 X# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp> X# X# $FreeBSD:$ X# X XPORTNAME= fceu XPORTVERSION= 0.81 XCATEGORIES= emulators XMASTER_SITES= http://fceultra.sourceforge.net/dev/ XDISTNAME= fceu${PORTVERSION:S/.//}src X#DISTFILES= ${DISTNAME}${PORTVERSION:S/.//}src${EXTRACT_SUFX} X XMAINTAINER= gibbon@cocoa.freemail.ne.jp X XLIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 X XWRKSRC= ${WRKDIR}/fceu XUSE_X_PREFIX= yes XUSE_GMAKE= yes XMAKEFILE= Makefile.unixsdl X XDOCS= AUTHORS COPYING ChangeLog FAQ README RELEASE-NOTES \ X TODO cheat.txt fcs.txt porting.txt rel/readme-linux.txt XTECHDOCS= README.now README.sound UNIF_current.txt nsfspec.txt XTECHCPUDOC= 4017.txt 6502_cpu.txt NESSOUND.txt dmc.txt XTECHEXPDOCS= mmc5-e.txt mmc5_bank_switch.txt XTECHPPUDOCS= loopy1.txt loopy2.txt timing.txt X Xpre-everything: X.if !defined(NOPORTDOCS) && !defined(TECH_DOC_INSTALL) X @${ECHO_MSG} "You can install technical documents" X @${ECHO_MSG} "by defining TECH_DOC_INSTALL" X.endif X X.if defined(TECH_DOC_INSTALL) XPLIST_SUB= TECHDOCS="" X.else XPLIST_SUB= TECHDOCS="@comment " X.endif X X.include <bsd.port.pre.mk> X X.if (${ARCH} == "alpha") Xpost-patch: X @${PERL} -pi -e 's|-DC80x86||g' ${WRKSRC}/Makefile.unixsdl X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for docs in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR} X.endfor X.if defined(TECH_DOC_INSTALL) X @${MKDIR} ${DOCSDIR}/tech X.for docs in ${TECHDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/${docs} ${DOCSDIR}/tech X.endfor X @${MKDIR} ${DOCSDIR}/tech/cpu X.for docs in ${TECHCPUDOC} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/cpu/${docs} \ X ${DOCSDIR}/tech/cpu X.endfor X @${MKDIR} ${DOCSDIR}/tech/exp X.for docs in ${TECHEXPDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/exp/${docs} \ X ${DOCSDIR}/tech/exp X.endfor X @${MKDIR} ${DOCSDIR}/tech/ppu X.for docs in ${TECHPPUDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs} \ X ${DOCSDIR}/tech/ppu X.endfor X.endif X.endif X X.include <bsd.port.post.mk> END-of-fceu/Makefile echo x - fceu/pkg-comment sed 's/^X//' >fceu/pkg-comment << 'END-of-fceu/pkg-comment' XA portable NES/Famicom emulator based on Bero's original FCE END-of-fceu/pkg-comment exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fceu # fceu/files # fceu/files/patch-Makefile.base # fceu/files/patch-Makefile.unixsdl # fceu/pkg-descr # fceu/distinfo # fceu/pkg-plist # fceu/pkg-message # fceu/Makefile # fceu/pkg-comment # echo c - fceu mkdir -p fceu > /dev/null 2>&1 echo c - fceu/files mkdir -p fceu/files > /dev/null 2>&1 echo x - fceu/files/patch-Makefile.base sed 's/^X//' >fceu/files/patch-Makefile.base << 'END-of-fceu/files/patch-Makefile.base' X--- Makefile.base.orig Sun Nov 10 02:13:55 2002 X+++ Makefile.base Sun Nov 10 02:14:00 2002 X@@ -1,4 +1,4 @@ X-CFLAGS = -Wall -Winline ${TFLAGS} X+CFLAGS += -Wall -Winline ${TFLAGS} X OBJECTS = fce.o x6502.o video.o general.o endian.o svga.o sound.o nsf.o fds.o netplay.o ines.o state.o unif.o input.o file.o cart.o crc32.o memory.o cheat.o debug.o X X fceu: fceu2 END-of-fceu/files/patch-Makefile.base echo x - fceu/files/patch-Makefile.unixsdl sed 's/^X//' >fceu/files/patch-Makefile.unixsdl << 'END-of-fceu/files/patch-Makefile.unixsdl' X--- Makefile.unixsdl.orig Mon Aug 19 03:20:41 2002 X+++ Makefile.unixsdl Sun Nov 10 02:13:48 2002 X@@ -1,5 +1,5 @@ X CC = gcc X-TFLAGS = -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB X+TFLAGS = -DNETWORK -DFPS `sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB X X RM = rm -f X B = drivers/cli/ X@@ -9,7 +9,7 @@ X include zlib/Makefile X X OBJDRIVER = ${B}sdl.o ${B}main.o ${B}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 ${UNZIPOBJS} X-LDRIVER = -lm `sdl-config --libs` -lz X+LDRIVER = -lm `sdl11-config --libs` -lz X X include Makefile.base X END-of-fceu/files/patch-Makefile.unixsdl echo x - fceu/pkg-descr sed 's/^X//' >fceu/pkg-descr << 'END-of-fceu/pkg-descr' XFCE Ultra is an NTSC and PAL Famicom/NES emulator for various Xplatforms. It is based upon Bero's original FCE source code. Current Xfeatures include good PPU, CPU, pAPU, expansion chip, and joystick Xemulation. Also a feature unique to this emulator(at the current Xtime) is authentic Game Genie emulation. Save states and snapshot Xfeatures also have been implemented. The VS Unisystem is emulated Xas well. FCE Ultra supports iNES format ROM images, UNIF format ROM Ximages, headerless and FWNES style FDS disk images, and NSF files. X XFCE Ultra currently supports the following iNES mappers(many partially): X XWWW: http://fceultra.sourceforge.net/ END-of-fceu/pkg-descr echo x - fceu/distinfo sed 's/^X//' >fceu/distinfo << 'END-of-fceu/distinfo' XMD5 (fceu081src.tar.gz) = 1dcfc1199a2dad906ddb771f89f50ddf END-of-fceu/distinfo echo x - fceu/pkg-plist sed 's/^X//' >fceu/pkg-plist << 'END-of-fceu/pkg-plist' Xbin/fceu X%%PORTDOCS%%share/doc/fceu/AUTHORS X%%PORTDOCS%%share/doc/fceu/COPYING X%%PORTDOCS%%share/doc/fceu/ChangeLog X%%PORTDOCS%%share/doc/fceu/FAQ X%%PORTDOCS%%share/doc/fceu/README X%%PORTDOCS%%share/doc/fceu/RELEASE-NOTES X%%PORTDOCS%%share/doc/fceu/TODO X%%PORTDOCS%%share/doc/fceu/cheat.txt X%%PORTDOCS%%share/doc/fceu/fcs.txt X%%PORTDOCS%%share/doc/fceu/porting.txt X%%PORTDOCS%%share/doc/fceu/readme-linux.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.now X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.sound X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/UNIF_current.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/nsfspec.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/4017.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/6502_cpu.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/NESSOUND.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/dmc.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5-e.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5_bank_switch.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy1.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy2.txt X%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/timing.txt X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/ppu X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/exp X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/cpu X%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech X%%PORTDOCS%%@dirrm share/doc/fceu END-of-fceu/pkg-plist echo x - fceu/pkg-message sed 's/^X//' >fceu/pkg-message << 'END-of-fceu/pkg-message' X To enable start/stop seti@home client, X please run "setiathome" as your login name. X If you installed "setiathome" by ports or package, X change the line 9 of %%LOCALBASE%%/etc/rc.d/setiathome.sh X seti_user=nobody X ^^^^^^ X to your login name before setting up working directory. X If you already done this as nobody, do X %%LOCALBASE%%/etc/rc.d/setiathome.sh stop X chown -R "YOUR LOGIN NAME" /var/db/setiathome END-of-fceu/pkg-message echo x - fceu/Makefile sed 's/^X//' >fceu/Makefile << 'END-of-fceu/Makefile' X# New ports collection makefile for: fceu X# Date Created: 10 Mov 2002 X# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp> X# X# $FreeBSD:$ X# X XPORTNAME= fceu XPORTVERSION= 0.81 XCATEGORIES= emulators XMASTER_SITES= http://fceultra.sourceforge.net/dev/ XDISTNAME= fceu${PORTVERSION:S/.//}src X#DISTFILES= ${DISTNAME}${PORTVERSION:S/.//}src${EXTRACT_SUFX} X XMAINTAINER= gibbon@cocoa.freemail.ne.jp X XLIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 X XWRKSRC= ${WRKDIR}/fceu XUSE_X_PREFIX= yes XUSE_GMAKE= yes XMAKEFILE= Makefile.unixsdl X XDOCS= AUTHORS COPYING ChangeLog FAQ README RELEASE-NOTES \ X TODO cheat.txt fcs.txt porting.txt rel/readme-linux.txt XTECHDOCS= README.now README.sound UNIF_current.txt nsfspec.txt XTECHCPUDOC= 4017.txt 6502_cpu.txt NESSOUND.txt dmc.txt XTECHEXPDOCS= mmc5-e.txt mmc5_bank_switch.txt XTECHPPUDOCS= loopy1.txt loopy2.txt timing.txt X Xpre-everything: X.if !defined(NOPORTDOCS) && !defined(TECH_DOC_INSTALL) X @${ECHO_MSG} "You can install technical documents" X @${ECHO_MSG} "by defining TECH_DOC_INSTALL" X.endif X X.if defined(TECH_DOC_INSTALL) XPLIST_SUB= TECHDOCS="" X.else XPLIST_SUB= TECHDOCS="@comment " X.endif X X.include <bsd.port.pre.mk> X X.if (${ARCH} == "alpha") Xpost-patch: X @${PERL} -pi -e 's|-DC80x86||g' ${WRKSRC}/Makefile.unixsdl X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for docs in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR} X.endfor X.if defined(TECH_DOC_INSTALL) X @${MKDIR} ${DOCSDIR}/tech X.for docs in ${TECHDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/${docs} ${DOCSDIR}/tech X.endfor X @${MKDIR} ${DOCSDIR}/tech/cpu X.for docs in ${TECHCPUDOC} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/cpu/${docs} \ X ${DOCSDIR}/tech/cpu X.endfor X @${MKDIR} ${DOCSDIR}/tech/exp X.for docs in ${TECHEXPDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/exp/${docs} \ X ${DOCSDIR}/tech/exp X.endfor X @${MKDIR} ${DOCSDIR}/tech/ppu X.for docs in ${TECHPPUDOCS} X ${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs} \ X ${DOCSDIR}/tech/ppu X.endfor X.endif X.endif X X.include <bsd.port.post.mk> END-of-fceu/Makefile echo x - fceu/pkg-comment sed 's/^X//' >fceu/pkg-comment << 'END-of-fceu/pkg-comment' XA portable NES/Famicom emulator based on Bero's original FCE END-of-fceu/pkg-comment exit >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?200211091836.gA9IaJEW083961>