From owner-freebsd-ports Sun Dec 22 12: 0:26 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5347E37B401 for ; Sun, 22 Dec 2002 12:00:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936B343EEA for ; Sun, 22 Dec 2002 12:00:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBMK0GNS009307 for ; Sun, 22 Dec 2002 12:00:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBMK0Gfp009306; Sun, 22 Dec 2002 12:00:16 -0800 (PST) Date: Sun, 22 Dec 2002 12:00:16 -0800 (PST) Message-Id: <200212222000.gBMK0Gfp009306@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Jean-Yves Lefort Subject: Re: ports/46240: New port: emulators/ePSXe Reply-To: Jean-Yves Lefort Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/46240; it has been noted by GNATS. From: Jean-Yves Lefort To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/46240: New port: emulators/ePSXe Date: Sun, 22 Dec 2002 20:52:30 +0100 Upgraded: the port has been renamed to signify more obviously that it's a Linux program, and to leave space for a hypothetic native FreeBSD version. Regards, Jean-Yves Lefort # 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-ePSXe # linux-ePSXe/Makefile # linux-ePSXe/distinfo # linux-ePSXe/pkg-comment # linux-ePSXe/pkg-descr # linux-ePSXe/pkg-message # linux-ePSXe/pkg-plist # linux-ePSXe/files # linux-ePSXe/files/linux-epsxe # linux-ePSXe/files/linux-epsxe_install.in # echo c - linux-ePSXe mkdir -p linux-ePSXe > /dev/null 2>&1 echo x - linux-ePSXe/Makefile sed 's/^X//' >linux-ePSXe/Makefile << 'END-of-linux-ePSXe/Makefile' X# New ports collection makefile for: linux-ePSXe X# Date created: 21 Dec 2002 X# Whom: Jean-Yves Lefort X# X# $FreeBSD$ X# X XPORTNAME= ePSXe XPORTVERSION= 1.5.2 XCATEGORIES= emulators linux XMASTER_SITES= http://download.epsxe.com/files/ XPKGNAMEPREFIX= linux- 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 XONLY_FOR_ARCHS= i386 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 X XEPSXE= ${PREFIX}/libexec/linux-epsxe X XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} XSHAREDIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} X XPSEMUPRO_PLUGINS_DIR= ${LOCALBASE}/lib/linux-psemupro/plugins XPSEMUPRO_CFGBINS_DIR= ${LOCALBASE}/libexec/linux-psemupro/cfg XPSEMUPRO_CFGFILES_DIR= ${LOCALBASE}/share/linux-psemupro/cfg X Xdo-build: X ${MKDIR} ${WRKSRC}/FreeBSD X ${SED} \ X -e "s,@EPSXE@,${EPSXE},g" \ X -e "s,@SHAREDIR@,${SHAREDIR},g" \ X -e "s,@PSEMUPRO_PLUGINS_DIR@,${PSEMUPRO_PLUGINS_DIR},g" \ X -e "s,@PSEMUPRO_CFGBINS_DIR@,${PSEMUPRO_CFGBINS_DIR},g" \ X -e "s,@PSEMUPRO_CFGFILES_DIR@,${PSEMUPRO_CFGFILES_DIR},g" \ X ${FILESDIR}/linux-epsxe_install.in \ X >${WRKSRC}/FreeBSD/linux-epsxe_install X Xdo-install: X ${MKDIR} ${PREFIX}/bin X ${INSTALL_SCRIPT} \ X ${FILESDIR}/linux-epsxe \ X ${WRKSRC}/FreeBSD/linux-epsxe_install \ X ${PREFIX}/bin X X ${MKDIR} ${PREFIX}/libexec X ${INSTALL_PROGRAM} ${WRKSRC}/epsxe ${EPSXE} X X ${MKDIR} ${SHAREDIR} X ${INSTALL_DATA} ${WRKSRC}/keycodes.lst ${SHAREDIR} X X ${MKDIR} ${SHAREDIR}/cheats X ${INSTALL_DATA} \ X ${WRKSRC}/cheats/breath_of_fire_4_usa.cht \ X ${WRKSRC}/cheats/chrono_cross_ntsc.cht \ X ${WRKSRC}/cheats/tarzan_pal.cht \ X ${SHAREDIR}/cheats X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} \ X ${WRKSRC}/docs/epsxe_en.txt \ X ${WRKSRC}/docs/epsxe_linux_en.txt \ X ${WRKSRC}/docs/epsxe_linux_sp.txt \ X ${WRKSRC}/docs/epsxe_sp.txt \ X ${DOCSDIR} X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-linux-ePSXe/Makefile echo x - linux-ePSXe/distinfo sed 's/^X//' >linux-ePSXe/distinfo << 'END-of-linux-ePSXe/distinfo' XMD5 (epsxe152lin.zip) = 5834f34cb904b08d95abda057eff3981 END-of-linux-ePSXe/distinfo echo x - linux-ePSXe/pkg-comment sed 's/^X//' >linux-ePSXe/pkg-comment << 'END-of-linux-ePSXe/pkg-comment' XA Sony Playstation emulator (Linux version) END-of-linux-ePSXe/pkg-comment echo x - linux-ePSXe/pkg-descr sed 's/^X//' >linux-ePSXe/pkg-descr << 'END-of-linux-ePSXe/pkg-descr' XePSXe is a Sony Playstation emulator. It takes advantage of the Xpopular PSEmu Pro plugin system. X XThis is the Linux version. X XWWW: http://www.epsxe.com/ X X- Jean-Yves Lefort Xjylefort@brutele.be END-of-linux-ePSXe/pkg-descr echo x - linux-ePSXe/pkg-message sed 's/^X//' >linux-ePSXe/pkg-message << 'END-of-linux-ePSXe/pkg-message' X------------------------------------------------------------------------------- XYou should now log into your normal user account and issue a X X linux-epsxe_install X Xin order to create and populate ~/.ePSXe, needed 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 XWhen you install a PSEmu Pro plugin from a FreeBSD port or package, Xyou should re-run X X linux-epsxe_install X Xin order to make the plugin available to ePSXe. X------------------------------------------------------------------------------- END-of-linux-ePSXe/pkg-message echo x - linux-ePSXe/pkg-plist sed 's/^X//' >linux-ePSXe/pkg-plist << 'END-of-linux-ePSXe/pkg-plist' Xbin/linux-epsxe Xbin/linux-epsxe_install Xlibexec/linux-epsxe Xshare/linux-ePSXe/keycodes.lst Xshare/linux-ePSXe/cheats/breath_of_fire_4_usa.cht Xshare/linux-ePSXe/cheats/chrono_cross_ntsc.cht Xshare/linux-ePSXe/cheats/tarzan_pal.cht X%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_en.txt X%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_linux_en.txt X%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_linux_sp.txt X%%PORTDOCS%%share/doc/linux-ePSXe/epsxe_sp.txt X@dirrm share/linux-ePSXe/cheats X@dirrm share/linux-ePSXe X%%PORTDOCS%%@dirrm share/doc/linux-ePSXe END-of-linux-ePSXe/pkg-plist echo c - linux-ePSXe/files mkdir -p linux-ePSXe/files > /dev/null 2>&1 echo x - linux-ePSXe/files/linux-epsxe sed 's/^X//' >linux-ePSXe/files/linux-epsxe << 'END-of-linux-ePSXe/files/linux-epsxe' X#!/bin/sh X# linux-epsxe - linux-ePSXe wrapper X# X# (c) 2002 Jean-Yves Lefort. X# All rights reserved. X XUSERDIR=$HOME/.linux-ePSXe X Xif [ ! -x $USERDIR/epsxe ]; then X echo "$USERDIR/epsxe not found or not executable." X echo "You should run linux-epsxe_install." X exit 1 Xfi X Xcd $USERDIR && exec ./epsxe "$@" END-of-linux-ePSXe/files/linux-epsxe echo x - linux-ePSXe/files/linux-epsxe_install.in sed 's/^X//' >linux-ePSXe/files/linux-epsxe_install.in << 'END-of-linux-ePSXe/files/linux-epsxe_install.in' X#!/bin/sh X# linux-epsxe_install - linux-ePSXe user installation X# X# (c) 2002 Jean-Yves Lefort. X# All rights reserved. X XEPSXE=@EPSXE@ XSHAREDIR=@SHAREDIR@ XPSEMUPRO_PLUGINS_DIR=@PSEMUPRO_PLUGINS_DIR@ XPSEMUPRO_CFGBINS_DIR=@PSEMUPRO_CFGBINS_DIR@ XPSEMUPRO_CFGFILES_DIR=@PSEMUPRO_CFGFILES_DIR@ X XUSERDIR=$HOME/.linux-ePSXe X X_mkdir () { X if [ ! -e $1 ]; then X echo "Creating directory $1" X mkdir -p $1 X fi X} X X_ln () { X if [ ! -e $2 ]; then X echo "Creating symlink $2" X ln -sf $1 $2 X fi X} X X_install () { X if [ ! -e $2 ]; then X echo "Copying $1 to $2" X install -m $3 $1 $2 X fi X} X Xfor d in \ X $USERDIR \ X $USERDIR/bios \ X $USERDIR/cfg \ X $USERDIR/cheats \ X $USERDIR/memcards \ X $USERDIR/patches \ X $USERDIR/plugins \ X $USERDIR/snap \ X $USERDIR/sstates; do X _mkdir $d || exit $? Xdone X X_ln $EPSXE $USERDIR/epsxe || exit $? X Xfor f in \ X keycodes.lst \ X cheats/breath_of_fire_4_usa.cht \ X cheats/chrono_cross_ntsc.cht \ X cheats/tarzan_pal.cht; do X _ln $SHAREDIR/$f $USERDIR/$f || exit $? Xdone X Xfor p in $PSEMUPRO_PLUGINS_DIR/*; do X [ -e $p ] || break X _ln $p $USERDIR/plugins/`basename $p` || exit $? Xdone X Xfor c in $PSEMUPRO_CFGBINS_DIR/*; do X [ -e $c ] || break X _ln $c $USERDIR/cfg/`basename $c` || exit $? Xdone X Xfor c in $PSEMUPRO_CFGFILES_DIR/*; do X [ -e $c ] || break X _install $c $USERDIR/cfg/`basename $c` 0644 || exit $? Xdone END-of-linux-ePSXe/files/linux-epsxe_install.in exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message