diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile index ecc80370cb0e..77a0d7287fc1 100644 --- a/emulators/fceux/Makefile +++ b/emulators/fceux/Makefile @@ -1,45 +1,44 @@ # New ports collection makefile for: fceu # Date Created: 10 Mov 2002 # Whom: HIYAMA Takeshi # # $FreeBSD$ # PORTNAME= fceux -PORTVERSION= 2.1.1 -PORTREVISION= 2 +PORTVERSION= 2.1.3 CATEGORIES= emulators MASTER_SITES= SF/fceultra/Source%20Code/${PORTVERSION}%20src/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= chris@officialunix.com COMMENT= A portable NES/Famicom emulator based on Bero's original FCE USE_BZIP2= yes USE_SCONS= yes USE_SDL= sdl USE_DOS2UNIX= yes USE_LUA= yes WRKSRC= ${WRKDIR}/fceu BUILD_DEPENDS+= zenity:${PORTSDIR}/x11/zenity MAN6= fceux.6 .include post-extract: ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ ${WRKSRC}/src/drivers/common/vidblit.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/fceux ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/documentation/fceux.6 ${PREFIX}/man/man6 ${RM} ${WRKSRC}/documentation/fceux.6 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}/ .endif .include diff --git a/emulators/fceux/distinfo b/emulators/fceux/distinfo index 3563dd79d5f8..554271b248e7 100644 --- a/emulators/fceux/distinfo +++ b/emulators/fceux/distinfo @@ -1,3 +1,3 @@ -MD5 (fceux-2.1.1.src.tar.bz2) = d669309a3fb15c002fffb24a801c2a9b -SHA256 (fceux-2.1.1.src.tar.bz2) = 5f668de5870e28e4b52fcf8816c17831c0f9597307bd643c226a616a1766bdab -SIZE (fceux-2.1.1.src.tar.bz2) = 3263945 +MD5 (fceux-2.1.3.src.tar.bz2) = 2943e3be634b4c1c1f5114e03c681af4 +SHA256 (fceux-2.1.3.src.tar.bz2) = 19731bb145ca2a2300657671b1a720892a343f9a55ef42282b6a1c152e6f7514 +SIZE (fceux-2.1.3.src.tar.bz2) = 4809647 diff --git a/emulators/fceux/files/patch-SConstruct b/emulators/fceux/files/patch-SConstruct index ce2f68157ba2..fdaa48df29b9 100644 --- a/emulators/fceux/files/patch-SConstruct +++ b/emulators/fceux/files/patch-SConstruct @@ -1,33 +1,33 @@ ---- SConstruct.bak 2009-10-22 02:59:15.000000000 -0500 -+++ SConstruct 2009-10-22 03:01:00.000000000 -0500 -@@ -14,7 +14,7 @@ - BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', '1') +--- SConstruct 2010-03-30 21:41:39.000000000 -0600 ++++ SConstruct.bak 2010-04-28 20:52:16.000000000 -0500 +@@ -16,7 +16,7 @@ + BoolVariable('GTK_LITE', 'Enable GTK2 for dialogs only', 0) ) -env = Environment(options = opts) +env = Environment(ENV = os.environ, options = opts) # LSB_FIRST must be off for PPC to compile if platform.system == "ppc": -@@ -35,6 +35,8 @@ +@@ -37,6 +37,8 @@ env.Append(CCFLAGS = os.environ['CFLAGS'].split()) if os.environ.has_key('LDFLAGS'): env.Append(LINKFLAGS = os.environ['LDFLAGS'].split()) + env['CPPPATH'] = Split(env['CPPPATH']) + env['LIBPATH'] = Split(env['LIBPATH']) print "platform: ", env['PLATFORM'] -@@ -51,9 +53,9 @@ +@@ -53,9 +55,9 @@ env.Append(LIBS = ["rpcrt4", "comctl32", "vfw32", "winmm", "ws2_32", "comdlg32", "ole32", "gdi32", "htmlhelp"]) else: conf = Configure(env) - if not conf.CheckLib('SDL'): - print 'Did not find libSDL or SDL.lib, exiting!' - Exit(1) -+### if not conf.CheckLib('SDL'): -+### print 'Did not find libSDL or SDL.lib, exiting!' -+### Exit(1) - if not conf.CheckLib('z', autoadd=1): - print 'Did not find libz or z.lib, exiting!' - Exit(1) ++ ###if not conf.CheckLib('SDL'): ++ ### print 'Did not find libSDL or SDL.lib, exiting!' ++ ### Exit(1) + if env['GTK'] or env['GTK_LITE']: + # Add compiler and linker flags from pkg-config + env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')