mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
This is ePSXe, a Sony Playstation emulator (Linux binary).
PR: ports/46240 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
This commit is contained in:
parent
0ef20d3b09
commit
58c6069b03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72950
@ -30,6 +30,7 @@
|
||||
SUBDIR += ia64sim
|
||||
SUBDIR += ines
|
||||
SUBDIR += libvm68k
|
||||
SUBDIR += linux-ePSXe
|
||||
SUBDIR += linux-peops-softgpu
|
||||
SUBDIR += linux-peops-spu
|
||||
SUBDIR += linux-vmware-toolbox
|
||||
|
83
emulators/linux-ePSXe/Makefile
Normal file
83
emulators/linux-ePSXe/Makefile
Normal file
@ -0,0 +1,83 @@
|
||||
# New ports collection makefile for: linux-ePSXe
|
||||
# Date created: 21 Dec 2002
|
||||
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ePSXe
|
||||
PORTVERSION= 1.5.2
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= http://download.epsxe.com/files/
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= epsxe152lin
|
||||
|
||||
MAINTAINER= jylefort@brutele.be
|
||||
|
||||
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
# Linux binary should not be stripped by INSTALL_PROGRAM
|
||||
# because as a side effect it brands the binary as FreeBSD.
|
||||
STRIP=
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
EPSXE= ${PREFIX}/libexec/linux-epsxe
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
SHAREDIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
PSEMUPRO_PLUGINS_DIR= ${LOCALBASE}/lib/linux-psemupro/plugins
|
||||
PSEMUPRO_CFGBINS_DIR= ${LOCALBASE}/libexec/linux-psemupro/cfg
|
||||
PSEMUPRO_CFGFILES_DIR= ${LOCALBASE}/share/linux-psemupro/cfg
|
||||
|
||||
do-build:
|
||||
${MKDIR} ${WRKSRC}/FreeBSD
|
||||
${SED} \
|
||||
-e "s,@EPSXE@,${EPSXE},g" \
|
||||
-e "s,@SHAREDIR@,${SHAREDIR},g" \
|
||||
-e "s,@PSEMUPRO_PLUGINS_DIR@,${PSEMUPRO_PLUGINS_DIR},g" \
|
||||
-e "s,@PSEMUPRO_CFGBINS_DIR@,${PSEMUPRO_CFGBINS_DIR},g" \
|
||||
-e "s,@PSEMUPRO_CFGFILES_DIR@,${PSEMUPRO_CFGFILES_DIR},g" \
|
||||
${FILESDIR}/linux-epsxe_install.in \
|
||||
>${WRKSRC}/FreeBSD/linux-epsxe_install
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} \
|
||||
${FILESDIR}/linux-epsxe \
|
||||
${WRKSRC}/FreeBSD/linux-epsxe_install \
|
||||
${PREFIX}/bin
|
||||
|
||||
${MKDIR} ${PREFIX}/libexec
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/epsxe ${EPSXE}
|
||||
|
||||
${MKDIR} ${SHAREDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/keycodes.lst ${SHAREDIR}
|
||||
|
||||
${MKDIR} ${SHAREDIR}/cheats
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/cheats/breath_of_fire_4_usa.cht \
|
||||
${WRKSRC}/cheats/chrono_cross_ntsc.cht \
|
||||
${WRKSRC}/cheats/tarzan_pal.cht \
|
||||
${SHAREDIR}/cheats
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/docs/epsxe_en.txt \
|
||||
${WRKSRC}/docs/epsxe_linux_en.txt \
|
||||
${WRKSRC}/docs/epsxe_linux_sp.txt \
|
||||
${WRKSRC}/docs/epsxe_sp.txt \
|
||||
${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-ePSXe/distinfo
Normal file
1
emulators/linux-ePSXe/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (epsxe152lin.zip) = 5834f34cb904b08d95abda057eff3981
|
15
emulators/linux-ePSXe/files/linux-epsxe
Normal file
15
emulators/linux-ePSXe/files/linux-epsxe
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# linux-epsxe - linux-ePSXe wrapper
|
||||
#
|
||||
# (c) 2002 Jean-Yves Lefort.
|
||||
# All rights reserved.
|
||||
|
||||
USERDIR=$HOME/.linux-ePSXe
|
||||
|
||||
if [ ! -x $USERDIR/epsxe ]; then
|
||||
echo "$USERDIR/epsxe not found or not executable."
|
||||
echo "You should run linux-epsxe_install."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd $USERDIR && exec ./epsxe "$@"
|
72
emulators/linux-ePSXe/files/linux-epsxe_install.in
Normal file
72
emulators/linux-ePSXe/files/linux-epsxe_install.in
Normal file
@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
# linux-epsxe_install - linux-ePSXe user installation
|
||||
#
|
||||
# (c) 2002 Jean-Yves Lefort.
|
||||
# All rights reserved.
|
||||
|
||||
EPSXE=@EPSXE@
|
||||
SHAREDIR=@SHAREDIR@
|
||||
PSEMUPRO_PLUGINS_DIR=@PSEMUPRO_PLUGINS_DIR@
|
||||
PSEMUPRO_CFGBINS_DIR=@PSEMUPRO_CFGBINS_DIR@
|
||||
PSEMUPRO_CFGFILES_DIR=@PSEMUPRO_CFGFILES_DIR@
|
||||
|
||||
USERDIR=$HOME/.linux-ePSXe
|
||||
|
||||
_mkdir () {
|
||||
if [ ! -e $1 ]; then
|
||||
echo "Creating directory $1"
|
||||
mkdir -p $1
|
||||
fi
|
||||
}
|
||||
|
||||
_ln () {
|
||||
if [ ! -e $2 ]; then
|
||||
echo "Creating symlink $2"
|
||||
ln -sf $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
_install () {
|
||||
if [ ! -e $2 ]; then
|
||||
echo "Copying $1 to $2"
|
||||
install -m $3 $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
for d in \
|
||||
$USERDIR \
|
||||
$USERDIR/bios \
|
||||
$USERDIR/cfg \
|
||||
$USERDIR/cheats \
|
||||
$USERDIR/memcards \
|
||||
$USERDIR/patches \
|
||||
$USERDIR/plugins \
|
||||
$USERDIR/snap \
|
||||
$USERDIR/sstates; do
|
||||
_mkdir $d || exit $?
|
||||
done
|
||||
|
||||
_ln $EPSXE $USERDIR/epsxe || exit $?
|
||||
|
||||
for f in \
|
||||
keycodes.lst \
|
||||
cheats/breath_of_fire_4_usa.cht \
|
||||
cheats/chrono_cross_ntsc.cht \
|
||||
cheats/tarzan_pal.cht; do
|
||||
_ln $SHAREDIR/$f $USERDIR/$f || exit $?
|
||||
done
|
||||
|
||||
for p in $PSEMUPRO_PLUGINS_DIR/*; do
|
||||
[ -e $p ] || break
|
||||
_ln $p $USERDIR/plugins/`basename $p` || exit $?
|
||||
done
|
||||
|
||||
for c in $PSEMUPRO_CFGBINS_DIR/*; do
|
||||
[ -e $c ] || break
|
||||
_ln $c $USERDIR/cfg/`basename $c` || exit $?
|
||||
done
|
||||
|
||||
for c in $PSEMUPRO_CFGFILES_DIR/*; do
|
||||
[ -e $c ] || break
|
||||
_install $c $USERDIR/cfg/`basename $c` 0644 || exit $?
|
||||
done
|
1
emulators/linux-ePSXe/pkg-comment
Normal file
1
emulators/linux-ePSXe/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Sony Playstation emulator (Linux version)
|
9
emulators/linux-ePSXe/pkg-descr
Normal file
9
emulators/linux-ePSXe/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
ePSXe is a Sony Playstation emulator. It takes advantage of the
|
||||
popular PSEmu Pro plugin system.
|
||||
|
||||
This is the Linux version.
|
||||
|
||||
WWW: http://www.epsxe.com/
|
||||
|
||||
- Jean-Yves Lefort
|
||||
jylefort@brutele.be
|
25
emulators/linux-ePSXe/pkg-message
Normal file
25
emulators/linux-ePSXe/pkg-message
Normal file
@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------------------
|
||||
You should now log into your normal user account and issue a
|
||||
|
||||
linux-epsxe_install
|
||||
|
||||
in order to create and populate ~/.ePSXe, needed to run the program.
|
||||
|
||||
To do anything useful with the emulator, you'll need a GPU and a SPU
|
||||
plugin (the Ports Collection contains a number of those), and a
|
||||
Playstation BIOS image. From the port's documentation:
|
||||
|
||||
"During testing we found out that the scph1001.bin and
|
||||
scph7502.bin BIOS are compatible, but the scph1000.bin
|
||||
won't work."
|
||||
|
||||
Note that you may only be in possession of the copyrighted BIOS if
|
||||
you're legally entitled to do so.
|
||||
|
||||
When you install a PSEmu Pro plugin from a FreeBSD port or package,
|
||||
you should re-run
|
||||
|
||||
linux-epsxe_install
|
||||
|
||||
in order to make the plugin available to ePSXe.
|
||||
-------------------------------------------------------------------------------
|
14
emulators/linux-ePSXe/pkg-plist
Normal file
14
emulators/linux-ePSXe/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
bin/linux-epsxe
|
||||
bin/linux-epsxe_install
|
||||
libexec/linux-epsxe
|
||||
share/linux-ePSXe/keycodes.lst
|
||||
share/linux-ePSXe/cheats/breath_of_fire_4_usa.cht
|
||||
share/linux-ePSXe/cheats/chrono_cross_ntsc.cht
|
||||
share/linux-ePSXe/cheats/tarzan_pal.cht
|
||||
%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_en.txt
|
||||
%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_linux_en.txt
|
||||
%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_linux_sp.txt
|
||||
%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_sp.txt
|
||||
@dirrm share/linux-ePSXe/cheats
|
||||
@dirrm share/linux-ePSXe
|
||||
%%PORTDOCS%%@dirrm share/doc/linux-ePSXe
|
Loading…
Reference in New Issue
Block a user