ports/57626: Mupen 64 is a Nintendo 64 emulator for Linux

Oliver Lehmann oliver at FreeBSD.org
Wed Oct 8 13:00:25 UTC 2003


The following reply was made to PR ports/57626; it has been noted by GNATS.

From: Oliver Lehmann <oliver at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/57626: Mupen 64 is a Nintendo 64 emulator for Linux
Date: Wed, 8 Oct 2003 14:58:18 +0200

 Here is the shar archive (the originater wasn't able to send one, and
 he asked me to sen it)
 
 
 
 # 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:
 #
 #	linux-mupen64
 #	linux-mupen64/Makefile
 #	linux-mupen64/pkg-descr
 #	linux-mupen64/pkg-message
 #	linux-mupen64/pkg-plist
 #	linux-mupen64/distinfo
 #	linux-mupen64/files
 #	linux-mupen64/files/linux-mupen64
 #	linux-mupen64/files/linux-mupen64_install
 #
 echo c - linux-mupen64
 mkdir -p linux-mupen64 > /dev/null 2>&1
 echo x - linux-mupen64/Makefile
 sed 's/^X//' >linux-mupen64/Makefile << 'END-of-linux-mupen64/Makefile'
 X# New ports collection makefile for:	linux-mupen64
 X# Date created:			04 Oct 2003
 X# Whom:				Travis Poppe <tlp at liquidx.org>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	mupen64
 XPORTVERSION=	0.3
 XCATEGORIES=	emulators linux
 XMASTER_SITES=	http://mupen64.emulation64.com/files/
 XPKGNAMEPREFIX=	linux-
 X
 XMAINTAINER=	tlp at liquidx.org
 XCOMMENT=	A Nintendo 64 emulator (Linux version)
 X
 XRUN_DEPENDS=	${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base-8 \
 X		${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
 X		${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
 X
 XUSE_BZIP2=	yes
 X
 XONLY_FOR_ARCHS=	i386
 XINSTALLS_SHLIB=	yes
 XNO_BUILD=	yes
 X
 X# Linux binary should not be stripped by INSTALL_PROGRAM
 X# because as a side effect it brands the binary as FreeBSD.
 XSTRIP=
 X
 Xdo-install:
 X	${MKDIR} ${PREFIX}/lib/linux-mupen64
 X	${MKDIR} ${PREFIX}/lib/linux-mupen64/lang
 X	${MKDIR} ${PREFIX}/lib/linux-mupen64/save
 X	${MKDIR} ${PREFIX}/lib/linux-mupen64/plugins
 X	${MKDIR} ${PREFIX}/share/doc/linux-mupen64/
 X	${INSTALL_DATA} ${WRKSRC}/mupen64.ini ${PREFIX}/lib/linux-mupen64/mupen64.ini
 X	${INSTALL_DATA} ${WRKSRC}/whatsnew.txt ${PREFIX}/share/doc/linux-mupen64/whatsnew.txt
 X	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/linux-mupen64
 X	${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/lib/linux-mupen64/lang
 X	${INSTALL_DATA} ${WRKSRC}/save/* ${PREFIX}/lib/linux-mupen64/save
 X	${INSTALL_DATA} ${WRKSRC}/plugins/* ${PREFIX}/lib/linux-mupen64/plugins
 X	${INSTALL_PROGRAM} ${WRKSRC}/mupen64 ${PREFIX}/lib/linux-mupen64/mupen64
 X	${INSTALL_SCRIPT} ${FILESDIR}/linux-mupen64 ${PREFIX}/bin/linux-mupen64
 X	${INSTALL_SCRIPT} ${FILESDIR}/linux-mupen64_install ${PREFIX}/bin/linux-mupen64_install
 X
 Xpost-install:
 X	@${CAT} ${PKGMESSAGE}
 X
 X.include <bsd.port.mk>
 END-of-linux-mupen64/Makefile
 echo x - linux-mupen64/pkg-descr
 sed 's/^X//' >linux-mupen64/pkg-descr << 'END-of-linux-mupen64/pkg-descr'
 XMupen 64 is a Nintendo 64 emulator.
 X
 XThis is the Linux version.
 X
 XWWW: http://mupen64.emulation64.com/
 X
 X- Travis Poppe
 Xtlp at liquidx.org
 END-of-linux-mupen64/pkg-descr
 echo x - linux-mupen64/pkg-message
 sed 's/^X//' >linux-mupen64/pkg-message << 'END-of-linux-mupen64/pkg-message'
 X-------------------------------------------------------------------------------
 XYou must run 'linux-mupen64_install' as the user you intend to use mupen64 with
 Xbefore 'linux-mupen64' will work.
 X
 XNote:
 X
 XFor some of the graphics plugins to work, you must have a working libGLU.so.1
 Xand libGLcore.so.1 file located in /compat/linux/usr/lib/
 X
 XIf you're using the FreeBSD nVidia drivers, you can create a link to libGLU.so.1
 Xby issuing the following command as root:
 X
 Xln -s /compat/linux/usr/X11R6/lib/libGLU.so.1 /compat/linux/usr/lib/libGLU.so.1
 X
 XThe other file should already be there. If not, look for it, and create a link.
 X
 XEnjoy!
 X-------------------------------------------------------------------------------
 END-of-linux-mupen64/pkg-message
 echo x - linux-mupen64/pkg-plist
 sed 's/^X//' >linux-mupen64/pkg-plist << 'END-of-linux-mupen64/pkg-plist'
 Xbin/linux-mupen64
 Xbin/linux-mupen64_install
 Xlib/linux-mupen64/mupen64
 Xlib/linux-mupen64/mupen64.ini
 Xlib/linux-mupen64/lang/dutch.lng
 Xlib/linux-mupen64/lang/english.lng
 Xlib/linux-mupen64/lang/french.lng
 Xlib/linux-mupen64/lang/german.lng
 Xlib/linux-mupen64/lang/italian.lng
 Xlib/linux-mupen64/lang/spanish.lng
 Xlib/linux-mupen64/save/empty
 Xlib/linux-mupen64/plugins/RiceDaedalus5.1.0.ini
 Xlib/linux-mupen64/plugins/blight_input-0.0.8.so
 Xlib/linux-mupen64/plugins/glNintendo64-0.3.1.so
 Xlib/linux-mupen64/plugins/mupen64_audio.so
 Xlib/linux-mupen64/plugins/mupen64_gfx.so
 Xlib/linux-mupen64/plugins/mupen64_hle_rsp.so
 Xlib/linux-mupen64/plugins/mupen64_input.so
 Xlib/linux-mupen64/plugins/ricedaedalus.so
 Xlib/linux-mupen64/plugins/tr64gl.so
 X%%PORTDOCS%%share/doc/linux-mupen64/whatsnew.txt
 X%%PORTDOCS%%share/doc/linux-mupen64/readme.pdf
 X%%PORTDOCS%%@dirrm share/doc/linux-mupen64
 X at dirrm lib/linux-mupen64/plugins
 X at dirrm lib/linux-mupen64/save
 X at dirrm lib/linux-mupen64/lang
 X at dirrm lib/linux-mupen64
 END-of-linux-mupen64/pkg-plist
 echo x - linux-mupen64/distinfo
 sed 's/^X//' >linux-mupen64/distinfo << 'END-of-linux-mupen64/distinfo'
 XMD5 (mupen64-0.3.tar.bz2) = ba823b71a7ab1d4902480a4b2e2bc5f4
 END-of-linux-mupen64/distinfo
 echo c - linux-mupen64/files
 mkdir -p linux-mupen64/files > /dev/null 2>&1
 echo x - linux-mupen64/files/linux-mupen64
 sed 's/^X//' >linux-mupen64/files/linux-mupen64 << 'END-of-linux-mupen64/files/linux-mupen64'
 X#!/bin/sh
 X# linux-mupen64 - linux-Mupen64 wrapper
 X#
 X# 2003 Travis Poppe
 X
 XUSERDIR=$HOME/.linux-mupen64
 X
 Xif [ ! -x $USERDIR/mupen64 ]; then
 X    echo "$USERDIR/mupen64 not found or not executable."
 X    echo "You should run linux-mupen64_install"
 X    exit 1
 Xfi
 X
 Xcd $USERDIR && exec ./mupen64
 END-of-linux-mupen64/files/linux-mupen64
 echo x - linux-mupen64/files/linux-mupen64_install
 sed 's/^X//' >linux-mupen64/files/linux-mupen64_install << 'END-of-linux-mupen64/files/linux-mupen64_install'
 X#!/bin/sh
 X# linux-mupen64 - linux-Mupen64 user installation
 X#
 X# 2003 Travis Poppe
 X
 Xif [ -x ~/.linux-mupen64 ]; then
 X	echo "linux-Mupen64 user directory appears to already exist."
 X	echo "Removing first..."
 X	echo ""
 X	rm -rf ~/.linux-mupen64
 Xfi
 X
 Xmkdir ~/.linux-mupen64/
 Xmkdir ~/.linux-mupen64/lang
 Xmkdir ~/.linux-mupen64/save
 Xmkdir ~/.linux-mupen64/plugins
 Xcd ~/.linux-mupen64
 Xln -s /usr/local/lib/linux-mupen64/plugins/* plugins/
 Xln -s /usr/local/lib/linux-mupen64/lang/* lang/
 Xln -s /usr/local/lib/linux-mupen64/mupen64* .
 Xecho "User installation of linux-Mupen64 complete!"
 Xecho "Run 'linux-mupen64' to start."
 END-of-linux-mupen64/files/linux-mupen64_install
 exit
 



More information about the freebsd-ports-bugs mailing list