FreeBSD Bugzilla – Attachment 96883 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.17 KB, created by
Emmanuel Vadot
on 2009-06-16 20:17:49 UTC
(
hide
)
Description:
bsnes.shar
Filename:
MIME Type:
Creator:
Emmanuel Vadot
Created:
2009-06-16 20:17:49 UTC
Size:
6.17 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/pkg-plist ># ./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 << 'b5bd11cbf74a1a1ebd45fb01fa00f645' >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/ >b5bd11cbf74a1a1ebd45fb01fa00f645 >echo x - ./bsnes/Makefile >sed 's/^X//' >./bsnes/Makefile << '93ded366a7498cd051310e0aedf404e8' >X# New ports collection makefile for: bsnes >X# Date created: 2009-06-13 >X# Whom: elbarto >X >XPORTNAME= bsnes >XPORTVERSION= 0.47 >XCATEGORIES= emulators >XMASTER_SITES= http://byuusan.kuro-hitsuji.net/ >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 >XUSE_QT_VER= 4 >XQT_COMPONENTS= qmake_build uic_build moc_build rcc_build gui >X >XONLY_FOR_ARCH= i386 amd64 >XWRKSRC= ${WRKDIR}/src/ >XMAKE_ENV+= enable_gzip=true >X >XOPTIONS= V_GLX "Build GLX Video Driver" on\ >X V_XV "Build Xv Video Driver" off\ >X V_SDL "Build SDL Video Driver" on\ >X V_QT "Build QtImage Video Driver" off\ >X S_OPENAL "Build OpenAL Sound Driver" off\ >X S_OSS "Build OSS Sound Driver" on\ >X S_PULSE "Build Pulseaudio Sound Driver" off\ >X S_AO "Build AO Sound Driver" off\ >X I_X "Build X Input Driver" on\ >X I_SDL "Build SDL Input Driver" on >X >X.include <bsd.port.pre.mk> >X >X.if defined(WITH_V_GLX) >XUSE_GL= gl >XVIDEO_DRIVER+= video.glx >X.endif >X >X.if defined(WITH_V_XV) >XVIDEO_DRIVER+= video.xv >X.endif >X >X.if defined(WITH_V_SDL) >XUSE_SDL= sdl >XVIDEO_DRIVER+= video.sdl >X.endif >X >X.if defined(WITH_V_QT) >XVIDEO_DRIVER+= video.qtimage >X.endif >X >X.if defined(WITH_S_OPENAL) >XLIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal >XAUDIO_DRIVER+= audio.openal >X.endif >X >X.if defined(WITH_S_OSS) >XAUDIO_DRIVER+= audio.oss >X.endif >X >X.if defined(WITH_S_PULSE) >XLIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio >XAUDIO_DRIVER+= audio.pulseaudio >X.endif >X >X.if defined(WITH_S_AO) >XLIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao >XAUDIO_DRIVER+= audio.ao >X.endif >X >X.if defined(WITH_I_X) >XINPUT_DRIVER+= input.x >X.endif >X >X.if defined(WITH_I_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 >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> >93ded366a7498cd051310e0aedf404e8 >echo x - ./bsnes/pkg-plist >sed 's/^X//' >./bsnes/pkg-plist << 'de73ad9bdb1667eec6534ba327458f3f' >Xbin/bsnes >de73ad9bdb1667eec6534ba327458f3f >echo x - ./bsnes/distinfo >sed 's/^X//' >./bsnes/distinfo << '5f6381884237c04819439c9711d1dbbb' >XMD5 (bsnes_v047.tar.bz2) = c660eada88b0bfbd1f0fe72d4f57526f >XSHA256 (bsnes_v047.tar.bz2) = d24f2f18bd68578a9d77a1a870c8570f3a38a281af55153b7be08b74819e0e68 >XSIZE (bsnes_v047.tar.bz2) = 547683 >5f6381884237c04819439c9711d1dbbb >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 << '85b3a72cc455def28a7eef74bba7e4a4' >X--- lib/nall/Makefile.orig 2009-06-15 00:09:27.000000000 +0200 >X+++ lib/nall/Makefile 2009-06-15 00:10:08.000000000 +0200 >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 >85b3a72cc455def28a7eef74bba7e4a4 >echo x - ./bsnes/files/patch-Makefile >sed 's/^X//' >./bsnes/files/patch-Makefile << '3797d8a88733d9ca5dc54adbb7648547' >X--- Makefile.orig 2009-06-15 00:13:46.000000000 +0200 >X+++ Makefile 2009-06-15 00:15:22.000000000 +0200 >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/usr/local/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 >3797d8a88733d9ca5dc54adbb7648547 >echo x - ./bsnes/files/patch-Makefile-qt-libnall >sed 's/^X//' >./bsnes/files/patch-Makefile-qt-libnall << '2e439c60b63ac4f99e01f7d366f7f271' >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 >2e439c60b63ac4f99e01f7d366f7f271 >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