Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 19:29:57 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46240: New port: emulators/ePSXe
Message-ID:  <20021213182957.001DF23005@jsite.lefort.net>

next in thread | raw e-mail | index | archive | help

>Number:         46240
>Category:       ports
>Synopsis:       New port: emulators/ePSXe
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 13 10:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Sat Nov 16 11:18:01 CET 2002 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386


	
>Description:
	This is ePSXe, a Sony Playstation emulator (Linux binary).
>How-To-Repeat:
	
>Fix:
# 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:
#
#	ePSXe
#	ePSXe/Makefile
#	ePSXe/distinfo
#	ePSXe/pkg-comment
#	ePSXe/pkg-descr
#	ePSXe/pkg-message
#	ePSXe/pkg-plist
#	ePSXe/scripts
#	ePSXe/scripts/epsxe
#
echo c - ePSXe
mkdir -p ePSXe > /dev/null 2>&1
echo x - ePSXe/Makefile
sed 's/^X//' >ePSXe/Makefile << 'END-of-ePSXe/Makefile'
X# New ports collection makefile for:	ePSXe
X# Date created:			13 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ePSXe
XPORTVERSION=	1.5.2
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://download.epsxe.com/files/
XDISTNAME=	epsxe152lin
X
XMAINTAINER=	jylefort@brutele.be
X
XRUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
X
XUSE_ZIP=	yes
XNO_WRKSUBDIR=	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
X.include <bsd.port.pre.mk>
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
XLIBDIR=		${PREFIX}/lib/ePSXe
XUSERDIR=	${HOME}/.ePSXe
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${MKDIR} ${LIBDIR}
X	${MKDIR} ${LIBDIR}/cheats
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_SCRIPT} ${SCRIPTDIR}/epsxe ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKDIR}/epsxe ${LIBDIR}
X	${INSTALL_DATA} ${WRKDIR}/keycodes.lst ${LIBDIR}
X	${INSTALL_DATA} \
X		${WRKDIR}/cheats/breath_of_fire_4_usa.cht \
X		${WRKDIR}/cheats/chrono_cross_ntsc.cht \
X		${WRKDIR}/cheats/tarzan_pal.cht \
X		${LIBDIR}/cheats
X	${INSTALL_DATA} \
X		${WRKDIR}/docs/epsxe_en.txt \
X		${WRKDIR}/docs/epsxe_linux_en.txt \
X		${WRKDIR}/docs/epsxe_linux_sp.txt \
X		${WRKDIR}/docs/epsxe_sp.txt \
X		${DOCSDIR}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
Xinstall-user:
X	${MKDIR} ${USERDIR}
X	${MKDIR} ${USERDIR}/cfg
X	${MKDIR} ${USERDIR}/cheats
X	${MKDIR} ${USERDIR}/memcards
X	${MKDIR} ${USERDIR}/patches
X	${MKDIR} ${USERDIR}/plugins
X	${MKDIR} ${USERDIR}/snap
X	${MKDIR} ${USERDIR}/sstates
X	${LN} -sf ${LIBDIR}/epsxe ${USERDIR}/epsxe
X	${LN} -sf ${LIBDIR}/keycodes.lst ${USERDIR}/keycodes.lst
X	${LN} -sf ${LIBDIR}/cheats/breath_of_fire_4_usa.cht \
X		${USERDIR}/cheats/breath_of_fire_4_usa.cht
X	${LN} -sf ${LIBDIR}/cheats/chrono_cross_ntsc.cht \
X		${USERDIR}/cheats/chrono_cross_ntsc.cht
X	${LN} -sf ${LIBDIR}/cheats/tarzan_pal.cht \
X		${USERDIR}/cheats/tarzan_pal.cht
X
X.include <bsd.port.post.mk>
END-of-ePSXe/Makefile
echo x - ePSXe/distinfo
sed 's/^X//' >ePSXe/distinfo << 'END-of-ePSXe/distinfo'
XMD5 (epsxe152lin.zip) = 5834f34cb904b08d95abda057eff3981
END-of-ePSXe/distinfo
echo x - ePSXe/pkg-comment
sed 's/^X//' >ePSXe/pkg-comment << 'END-of-ePSXe/pkg-comment'
XA Sony Playstation emulator
END-of-ePSXe/pkg-comment
echo x - ePSXe/pkg-descr
sed 's/^X//' >ePSXe/pkg-descr << 'END-of-ePSXe/pkg-descr'
XePSXe is a Sony Playstation emulator. It takes advantage of the
Xpopular PSEmu Pro plugin system.
X
XThis is the binary Linux version.
X
XWWW: http://www.epsxe.com/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-ePSXe/pkg-descr
echo x - ePSXe/pkg-message
sed 's/^X//' >ePSXe/pkg-message << 'END-of-ePSXe/pkg-message'
X-------------------------------------------------------------------------------
XYou should now log into your normal user account and issue a
X
X	make install-user
X
Xfrom the port directory in order to create and populate ~/.ePSXe,
Xneeded to run the program.
X
XTo do anything useful with the emulator, you'll need a GPU and a SPU
Xplugin (the Ports Collection contains a number of those), and a
XPlaystation BIOS image. From the port's documentation:
X
X	"During testing we found out that the scph1001.bin and
X	 scph7502.bin BIOS are compatible, but the scph1000.bin
X	 won't work."
X
XNote that you may only be in possession of the copyrighted BIOS if
Xyou're legally entitled to do so.
X-------------------------------------------------------------------------------
END-of-ePSXe/pkg-message
echo x - ePSXe/pkg-plist
sed 's/^X//' >ePSXe/pkg-plist << 'END-of-ePSXe/pkg-plist'
Xbin/epsxe
Xlib/ePSXe/epsxe
Xlib/ePSXe/keycodes.lst
Xlib/ePSXe/cheats/breath_of_fire_4_usa.cht
Xlib/ePSXe/cheats/chrono_cross_ntsc.cht
Xlib/ePSXe/cheats/tarzan_pal.cht
Xshare/doc/ePSXe/epsxe_en.txt
Xshare/doc/ePSXe/epsxe_linux_en.txt
Xshare/doc/ePSXe/epsxe_linux_sp.txt
Xshare/doc/ePSXe/epsxe_sp.txt
X@dirrm lib/ePSXe/cheats
X@dirrm lib/ePSXe
X@dirrm share/doc/ePSXe
END-of-ePSXe/pkg-plist
echo c - ePSXe/scripts
mkdir -p ePSXe/scripts > /dev/null 2>&1
echo x - ePSXe/scripts/epsxe
sed 's/^X//' >ePSXe/scripts/epsxe << 'END-of-ePSXe/scripts/epsxe'
X#!/bin/sh
X# epsxe - ePSXe wrapper for FreeBSD
X# (c) 2002 Jean-Yves Lefort
X
XUSERDIR=$HOME/.ePSXe
X
Xif [ ! -x $USERDIR/epsxe ]; then
X    echo "$USERDIR/epsxe not found or not executable."
X    echo "You should issue a \"make install-user\" from the port directory."
X    exit 1
Xfi
X
Xcd ${USERDIR} && exec ./epsxe "$@"
END-of-ePSXe/scripts/epsxe
exit


	

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021213182957.001DF23005>