From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 2 01:10:03 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4188316A420 for ; Thu, 2 Mar 2006 01:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B16843D45 for ; Thu, 2 Mar 2006 01:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k221A2n4001903 for ; Thu, 2 Mar 2006 01:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k221A2Ic001902; Thu, 2 Mar 2006 01:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 2 Mar 2006 01:10:02 GMT Resent-Message-Id: <200603020110.k221A2Ic001902@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jose Alonso Cardenas Marquez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C1116A420 for ; Thu, 2 Mar 2006 01:06:26 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C864843D58 for ; Thu, 2 Mar 2006 01:06:19 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2216JV3044322 for ; Thu, 2 Mar 2006 01:06:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2216Jwr044321; Thu, 2 Mar 2006 01:06:19 GMT (envelope-from nobody) Message-Id: <200603020106.k2216Jwr044321@www.freebsd.org> Date: Thu, 2 Mar 2006 01:06:19 GMT From: Jose Alonso Cardenas Marquez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/94006: [NEW PORT] emulators/mednafen: Portable multi-system emulator X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 01:10:03 -0000 >Number: 94006 >Category: ports >Synopsis: [NEW PORT] emulators/mednafen: Portable multi-system emulator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 02 01:10:01 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: BSDPeru (http://www.bsd.org.pe) >Environment: FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Feb 15 20:23:11 PET 2006 >Description: Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator with many advanced features. The Atari Lynx, GameBoy, GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx are emulated. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. Screen snapshots may be taken at the press of a button, and are saved in the popular PNG file format. Mednafen is distributed under the terms of the GNU GPL. Due to the threaded model of emulation used in Mednafen, and limitations of SDL, a joystick is preferred over a keyboard to play games, as the joystick will have slightly less latency, although the latency differences may not be perceptible to most people. WWW: http://mednafen.com/ >How-To-Repeat: >Fix: --- mednafen-0.5.2.shar begins here --- # 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: # # mednafen # mednafen/pkg-descr # mednafen/Makefile # mednafen/pkg-plist # mednafen/distinfo # mednafen/files # mednafen/files/pkg-message.in # echo c - mednafen mkdir -p mednafen > /dev/null 2>&1 echo x - mednafen/pkg-descr sed 's/^X//' >mednafen/pkg-descr << 'END-of-mednafen/pkg-descr' XMednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator with Xmany advanced features. The Atari Lynx, GameBoy, GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), Xand SuperGrafx are emulated. Mednafen has the ability to remap hotkey functions and virtual system inputs to Xa keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. XScreen snapshots may be taken at the press of a button, and are saved in the popular PNG file format. X XMednafen is distributed under the terms of the GNU GPL. X XDue to the threaded model of emulation used in Mednafen, and limitations of SDL, a joystick is preferred over Xa keyboard to play games, as the joystick will have slightly less latency, although the latency differences Xmay not be perceptible to most people. X XWWW: http://mednafen.com/ END-of-mednafen/pkg-descr echo x - mednafen/Makefile sed 's/^X//' >mednafen/Makefile << 'END-of-mednafen/Makefile' X# New ports collection makefile for: mednafen X# Date created: 2006-02-28 X# Whom: Charlie & X# X# $FreeBSD$ X# X XPORTNAME= mednafen XPORTVERSION= 0.5.2 XCATEGORIES= emulators games XMASTER_SITES= http://mednafen.com/releases/files/ X XMAINTAINER= acardenas@bsd.org.pe XCOMMENT= Portable multi-system emulator X XLIB_DEPENDS= cdio.6:${PORTSDIR}/sysutils/libcdio \ X sndfile.1:${PORTSDIR}/audio/libsndfile \ X vorbis.3:${PORTSDIR}/audio/libvorbis X XUSE_BZIP2= yes XUSE_X_PREFIX= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_SDL= sdl net XCPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include XLDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD} XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" XWRKSRC= ${WRKDIR}/${PORTNAME} XSUB_FILES= pkg-message X XOPTIONS= NLS "Native Language Support" on X X.include X X.if defined(WITHOUT_NLS) XCONFIGURE_ARGS+= --disable-nls XPLIST_SUB+= NLS="@comment " X.else XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" XFLAG_NLS= true X.endif X Xpre-configure: X @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g' ${WRKSRC}/configure X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/Documentation/mednafen.html ${DOCSDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-mednafen/Makefile echo x - mednafen/pkg-plist sed 's/^X//' >mednafen/pkg-plist << 'END-of-mednafen/pkg-plist' Xbin/mednafen X%%NLS%%share/locale/es/LC_MESSAGES/mednafen.mo X%%NLS%%share/locale/ru/LC_MESSAGES/mednafen.mo X%%PORTDOCS%%%%DOCSDIR%%/mednafen.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-mednafen/pkg-plist echo x - mednafen/distinfo sed 's/^X//' >mednafen/distinfo << 'END-of-mednafen/distinfo' XMD5 (mednafen-0.5.2.tar.bz2) = 6a49b7278551a37dec995b3616f81d85 XSHA256 (mednafen-0.5.2.tar.bz2) = 0be59745a484926fb04b56b5828b167fcd590fa482bb9753224a17d0dce8c865 XSIZE (mednafen-0.5.2.tar.bz2) = 1205446 END-of-mednafen/distinfo echo c - mednafen/files mkdir -p mednafen/files > /dev/null 2>&1 echo x - mednafen/files/pkg-message.in sed 's/^X//' >mednafen/files/pkg-message.in << 'END-of-mednafen/files/pkg-message.in' X############################################################################### X X1) Create directory ~/.mednafen X2) Create empty config file ~/.mednafen/mednafen.cfg X3) Run mednafen [OPTION] [FILE] X4) See complete documentation on %%DOCSDIR%%/mednafen.html X5) Enjoy it ;) X X############################################################################### END-of-mednafen/files/pkg-message.in exit --- mednafen-0.5.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: