ports/141418: New port: emulators/snes9x-gtk
okeeblow
root at cooltrainer.org
Sun Dec 13 04:20:05 UTC 2009
>Number: 141418
>Category: ports
>Synopsis: New port: emulators/snes9x-gtk
>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: Sun Dec 13 04:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: okeeblow
>Release:
>Organization:
>Environment:
>Description:
Super Nintendo Entertainment System(SNES) Emulator with GTK GUI
WWW: http://code.google.com/p/snes9x-gtk/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# snes9x-gtk
# snes9x-gtk/Makefile
# snes9x-gtk/pkg-descr
# snes9x-gtk/distinfo
# snes9x-gtk/pkg-plist
#
echo c - snes9x-gtk
mkdir -p snes9x-gtk > /dev/null 2>&1
echo x - snes9x-gtk/Makefile
sed 's/^X//' >snes9x-gtk/Makefile << 'ab30a7d99359c2d71f3b01209e46b304'
X# New ports collection makefile for: snes9x-gtk
X# Date created: 2009-12-12
X# Whom: okeeblow <root at cooltrainer.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= snes9x
XPORTVERSION= 1.51r78
XCATEGORIES= emulators
XMASTER_SITES= http://snes9x-gtk.googlecode.com/files/
XPKGNAMESUFFIX= -gtk
XDISTNAME= snes9x-1.51-src-gtk-78
X
XMAINTAINER= root at cooltrainer.org
XCOMMENT= Super Nintendo Entertainment System(SNES) Emulator
X
XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
X
XUSE_BZIP2= yes
XUSE_XORG= x11 sm ice xext
XUSE_GMAKE= yes
XUSE_GNOME= gtk20 desktopfileutils
XGNU_CONFIGURE= yes
XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
XWRKSRC= ${WRKDIR}/snes9x-1.51-src/gtk
X
XOPTIONS= DEBUG "Enable debug information" off \
X OPENGL "Enable OpenGL support" off \
X SCREENSHOT "Enable screenshot support" on \
X X86_ASM "Use i386 optimization (only for i386)" on \
X MMX "Enable MMX (only for i386)" off \
X JMA "Enable JMA archive decompression support" on \
X NETPLAY "Enable network support" on \
X XV "Enable XVideo output on GTK" on \
X XRANDR "Enable XRandR support on GTK" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= controls.txt control-inputs.txt changes.txt hardware.txt \
X porting.html faqs.txt snapshots.txt snes9x.conf.default \
X readme.txt
X.endif
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+= --with-debug
X.else
XCONFIGURE_ARGS+= --without-debug
X.endif
X
X.if ${ARCH} == "i386"
X.if !defined(WITHOUT_X86_ASM)
XBUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
XCONFIGURE_ARGS+= --with-assembler
X.else
XCONFIGURE_ARGS+= --without-assembler
X.endif
X
X.if defined(WITH_MMX) && !defined(PACKAGE_BUILDING)
XCONFIGURE_ARGS+= --with-mmx
X.else
XCONFIGURE_ARGS+= --without-mmx
X.endif
X.endif
X
X.if !defined(WITHOUT_OPENGL)
XCONFIGURE_ARGS+= --with-opengl
XUSE_GL= glu
X.else
XCONFIGURE_ARGS+= --without-opengl
X.endif
X
X.if !defined(WITHOUT_SCREENSHOT)
XLIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
XCONFIGURE_ARGS+= --with-screenshot
X.else
XCONFIGURE_ARGS+= --without-screenshot
X.endif
X
X.if !defined(WITHOUT_JMA)
XCONFIGURE_ARGS+= --with-jma-decomp
X.else
XCONFIGURE_ARGS+= --without-jma-decomp
X.endif
X
X.if !defined(WITHOUT_NETPLAY)
XCONFIGURE_ARGS+= --with-netplay
X.else
XCONFIGURE_ARGS+= --without-netplay
X.endif
X
X.if !defined(WITHOUT_XV)
XCONFIGURE_ARGS+= --with-xv
X.else
XCONFIGURE_ARGS+= --without-xv
X.endif
X
X.if !defined(WITHOUT_XRANDR)
XCONFIGURE_ARGS+= --with-xrandr
X.else
XCONFIGURE_ARGS+= --without-xrandr
X.endif
X
X.if exists(/usr/lib/libusbhid.a)
XCONFIGURE_ARGS+= --with-joystick
X.else
XCONFIGURE_ARGS+= --without-joystick
X.endif
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X.for FILE in control* changes.txt hardware.txt porting.html faqs.txt \
X snapshots.txt readme.txt snes9x.conf.default
X ${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
X.endfor
X.endif
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
X ${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg ${PREFIX}/share/pixmaps
X ${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop ${PREFIX}/share/applications
X
Xpost-install:
X - at update-desktop-database
X
X.include <bsd.port.post.mk>
ab30a7d99359c2d71f3b01209e46b304
echo x - snes9x-gtk/pkg-descr
sed 's/^X//' >snes9x-gtk/pkg-descr << '1d6c59cfd56d73089022d5c3501a25c1'
XSuper Nintendo Entertainment System(SNES) Emulator with GTK GUI
X
XWWW: http://code.google.com/p/snes9x-gtk/
1d6c59cfd56d73089022d5c3501a25c1
echo x - snes9x-gtk/distinfo
sed 's/^X//' >snes9x-gtk/distinfo << 'f9360e1c1ad6c26e353469330a75e760'
XMD5 (snes9x-1.51-src-gtk-78.tar.bz2) = 900abc119e874b59f364fc9f5187c724
XSHA256 (snes9x-1.51-src-gtk-78.tar.bz2) = 543001d7a84b05e9bd4159b10bc42f87e36b555ef715e2db1ebaaf1586143c88
XSIZE (snes9x-1.51-src-gtk-78.tar.bz2) = 894388
f9360e1c1ad6c26e353469330a75e760
echo x - snes9x-gtk/pkg-plist
sed 's/^X//' >snes9x-gtk/pkg-plist << '2d231c41cff13398442f5ed6ce42650e'
Xbin/snes9x-gtk
Xshare/pixmaps/snes9x.svg
X%%PORTDOCS%%%%DOCSDIR%%/changes.txt
X%%PORTDOCS%%%%DOCSDIR%%/control-inputs.txt
X%%PORTDOCS%%%%DOCSDIR%%/controls.txt
X%%PORTDOCS%%%%DOCSDIR%%/faqs.txt
X%%PORTDOCS%%%%DOCSDIR%%/hardware.txt
X%%PORTDOCS%%%%DOCSDIR%%/porting.html
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%%%DOCSDIR%%/snapshots.txt
X%%PORTDOCS%%%%DOCSDIR%%/snes9x.conf.default
X at dirrmtry %%PORTDOCS%%%%DOCSDIR%%
X at dirrmtry share/doc
X at dirrmtry share/applications
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
2d231c41cff13398442f5ed6ce42650e
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list