FreeBSD Bugzilla – Attachment 96885 Details for
Bug 135592
New Port: emulators/bsnes Snes Emulator BSnes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
bsnes.shar
bsnes.shar (text/plain), 6.53 KB, created by
Emmanuel Vadot
on 2009-07-23 02:14:38 UTC
(
hide
)
Description:
bsnes.shar
Filename:
MIME Type:
Creator:
Emmanuel Vadot
Created:
2009-07-23 02:14:38 UTC
Size:
6.53 KB
patch
obsolete
># 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: ># ># bsnes ># bsnes/pkg-descr ># bsnes/Makefile ># bsnes/distinfo ># bsnes/files ># bsnes/files/patch-Makefile-libnall ># bsnes/files/patch-Makefile ># bsnes/files/patch-Makefile-qt-libnall ># >echo c - bsnes >mkdir -p bsnes > /dev/null 2>&1 >echo x - bsnes/pkg-descr >sed 's/^X//' >bsnes/pkg-descr << 'ac98cce0430ff978505990efc3a0d5f3' >Xbsnes is an emulator that began development on 2004-10-14. >XThe purpose of this emulator is a bit different from others: >Xit focuses on accuracy, debugging functionality, and clean code. >X >XThe emulator does not focus on things that would hinder accuracy. >XThis includes speed and game-specific hacks for compatibility. >XAs a result, the minimum system requirements for bsnes are very high. >X >XThe emulator itself was not derived from any existing emulator source code, >Xsuch as SNES9x. It was written from scratch by myself. >XAny similarities to other emulators are merely coincidental. >X >XWWW: http://byuu.org/bsnes/ >ac98cce0430ff978505990efc3a0d5f3 >echo x - bsnes/Makefile >sed 's/^X//' >bsnes/Makefile << '110a45e7bffc748cc2f540323c30f231' >X# New ports collection makefile for: bsnes >X# Date created: 2009-06-13 >X# Whom: elbarto >X# >X# $FreeBSD$ >X >XPORTNAME= bsnes >XPORTVERSION= 0.48 >XCATEGORIES= emulators >XMASTER_SITES= http://byuusan.kuro-hitsuji.net/ \ >X ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/ >XDISTNAME= ${PORTNAME}_v${PORTVERSION:S/.//} >X >XMAINTAINER= elbarto@ArcadeBSD.org >XCOMMENT= Super Nintendo/Super Famicom emulator >X >XUSE_BZIP2= yes >XUSE_GMAKE= yes >XUSE_XORG= videoproto xv x11 >XUSE_QT_VER= 4 >XQT_COMPONENTS= qmake_build uic_build moc_build rcc_build gui >X >XONLY_FOR_ARCHS= i386 amd64 >XWRKSRC= ${WRKDIR}/src/ >XMAKE_ENV+= enable_gzip=true >X >XOPTIONS= VIDEO_GLX "Build GLX Video Driver" on\ >X VIDEO_XV "Build Xv Video Driver" off\ >X VIDEO_SDL "Build SDL Video Driver" on\ >X VIDEO_QT "Build QtImage Video Driver" off\ >X SOUND_OPENAL "Build OpenAL Sound Driver" off\ >X SOUND_OSS "Build OSS Sound Driver" on\ >X SOUND_PULSE "Build Pulseaudio Sound Driver" off\ >X SOUND_AO "Build AO Sound Driver" off\ >X INPUT_X "Build X Input Driver" on\ >X INPUT_SDL "Build SDL Input Driver" on >X >X.include <bsd.port.pre.mk> >X >X.if defined(WITH_VIDEO_GLX) >XUSE_GL= gl >XVIDEO_DRIVER+= video.glx >X.endif >X >X.if defined(WITH_VIDEO_XV) >XVIDEO_DRIVER+= video.xv >X.endif >X >X.if defined(WITH_VIDEO_SDL) >XUSE_SDL= sdl >XVIDEO_DRIVER+= video.sdl >X.endif >X >X.if defined(WITH_VIDEO_QT) >XVIDEO_DRIVER+= video.qtimage >X.endif >X >X.if defined(WITH_SOUND_OPENAL) >XLIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal >XAUDIO_DRIVER+= audio.openal >X.endif >X >X.if defined(WITH_SOUND_OSS) >XAUDIO_DRIVER+= audio.oss >X.endif >X >X.if defined(WITH_SOUND_PULSE) >XLIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio >XAUDIO_DRIVER+= audio.pulseaudio >X.endif >X >X.if defined(WITH_SOUND_AO) >XLIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao >XAUDIO_DRIVER+= audio.ao >X.endif >X >X.if defined(WITH_INPUT_X) >XINPUT_DRIVER+= input.x >X.endif >X >X.if defined(WITH_INPUT_SDL) >XUSE_SDL= sdl >XINPUT_DRIVER+= input.sdl >X.endif >X >X.if !defined(VIDEO_DRIVER) >XIGNORE= you have to choose at least a video driver first >X.endif >X >X.if !defined(AUDIO_DRIVER) >XIGNORE= you have to choose at least a audio driver first >X.endif >X >X.if !defined(INPUT_DRIVER) >XIGNORE= you have to choose at least an input driver first >X.endif >X >XPLIST_FILES= bin/bsnes >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's|VIDEO|${VIDEO_DRIVER}|' ${WRKSRC}/Makefile >X ${REINPLACE_CMD} -e 's|AUDIO|${AUDIO_DRIVER}|' ${WRKSRC}/Makefile >X ${REINPLACE_CMD} -e 's|INPUT|${INPUT_DRIVER}|' ${WRKSRC}/Makefile >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin/ >X >X.include <bsd.port.post.mk> >110a45e7bffc748cc2f540323c30f231 >echo x - bsnes/distinfo >sed 's/^X//' >bsnes/distinfo << 'c2fee1068b8e5440b4d7a47104bf03c5' >XMD5 (bsnes_v048.tar.bz2) = a2951fef4ad999c32e8d5f21d86399e5 >XSHA256 (bsnes_v048.tar.bz2) = 3d017d5fd678cae2afca3889c673bdfba05e40aaefea5ea5030893e5a74903c1 >XSIZE (bsnes_v048.tar.bz2) = 545699 >c2fee1068b8e5440b4d7a47104bf03c5 >echo c - bsnes/files >mkdir -p bsnes/files > /dev/null 2>&1 >echo x - bsnes/files/patch-Makefile-libnall >sed 's/^X//' >bsnes/files/patch-Makefile-libnall << 'f6acc16e1964bc5697f529de45813324' >X--- lib/nall/Makefile.orig 2009-06-05 08:23:39.000000000 +0000 >X+++ lib/nall/Makefile 2009-07-03 10:19:25.113813347 +0000 >X@@ -22,6 +22,9 @@ >X else ifneq ($(findstring Darwin,$(uname)),) >X platform := osx >X delete = rm -f $1 >X+ else ifneq ($(findstring FreeBSD,$(uname)),) >X+ platform := bsd >X+ delete = rm -f $1 >X else >X platform := x >X delete = rm -f $1 >X@@ -29,11 +32,11 @@ >X endif >X >X ifeq ($(compiler),) >X- compiler := gcc >X+ compiler := ${CC} >X endif >X >X ifeq ($(prefix),) >X- prefix := /usr/local >X+ prefix := ${LOCALBASE} >X endif >X >X ##### >f6acc16e1964bc5697f529de45813324 >echo x - bsnes/files/patch-Makefile >sed 's/^X//' >bsnes/files/patch-Makefile << '7ed1896747b7f759c2755e39ab63d873' >X--- Makefile.orig 2009-06-07 01:56:29.000000000 +0000 >X+++ Makefile 2009-07-03 10:10:19.032836854 +0000 >X@@ -6,8 +6,8 @@ >X ### compiler ### >X ################ >X >X-c := $(compiler) >X-cpp := $(subst cc,++,$(compiler)) >X+c := ${CC} >X+cpp := ${CXX} >X flags := -O3 -fomit-frame-pointer -Ilib >X link := >X >X@@ -36,6 +36,15 @@ >X ruby += input.carbon >X >X link += $(if $(findstring audio.openal,$(ruby)),-framework OpenAL) >X+else ifeq ($(platform),bsd) >X+ link += -s >X+ flags += -I${LOCALBASE}/include >X+ >X+ ruby := VIDEO >X+ ruby += AUDIO >X+ ruby += INPUT >X+ >X+ link += $(if $(findstring audio.openal,$(ruby)),-lopenal) >X else ifeq ($(platform),win) >X link += -mwindows >X # link += -mconsole >7ed1896747b7f759c2755e39ab63d873 >echo x - bsnes/files/patch-Makefile-qt-libnall >sed 's/^X//' >bsnes/files/patch-Makefile-qt-libnall << 'bf209caa29c5843b4269c74f545b48e5' >X--- lib/nall/Makefile-qt.orig 2009-06-15 00:10:35.000000000 +0200 >X+++ lib/nall/Makefile-qt 2009-06-15 00:12:05.000000000 +0200 >X@@ -30,6 +30,10 @@ >X qtlib += -framework Cocoa >X qtlib += -framework AppKit >X qtlib += -framework ApplicationServices >X+else ifeq ($(platform),bsd) >X+ qtinc := `pkg-config --cflags QtCore QtGui` >X+ qtlib := `pkg-config --libs QtCore QtGui` >X+ moc := moc-qt4 >X else ifeq ($(platform),win) >X ifeq ($(qtpath),) >X # find Qt install directory from PATH environment variable >bf209caa29c5843b4269c74f545b48e5 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 135592
:
96882
|
96883
|
96884
| 96885