Bug 46241 - New port: emulators/peops-gpu-soft
Summary: New port: emulators/peops-gpu-soft
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 18:40 UTC by Jean-Yves Lefort
Modified: 2003-01-12 00:17 UTC (History)
0 users

See Also:


Attachments
file.shar (3.57 KB, text/plain)
2002-12-13 18:40 UTC, Jean-Yves Lefort
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Lefort 2002-12-13 18:40:02 UTC
	This is peops-gpu-soft, a soft GPU plugin using the PSEmu Pro
	plugin format (Linux binary).

	This port can be related to the submitted emulators/ePSXe.
Comment 1 Jean-Yves Lefort 2002-12-14 15:44:30 UTC
Here's an improved version of the initial submission; since the port
hasn't been committed yet, I choose to send this as a shell archive
rather than a diff.

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:
#
#	peops-gpu-soft
#	peops-gpu-soft/Makefile
#	peops-gpu-soft/distinfo
#	peops-gpu-soft/pkg-comment
#	peops-gpu-soft/pkg-descr
#	peops-gpu-soft/pkg-message
#	peops-gpu-soft/pkg-plist
#	peops-gpu-soft/files
#	peops-gpu-soft/files/peops-gpu-soft_install.in
#
echo c - peops-gpu-soft
mkdir -p peops-gpu-soft > /dev/null 2>&1
echo x - peops-gpu-soft/Makefile
sed 's/^X//' >peops-gpu-soft/Makefile << 'END-of-peops-gpu-soft/Makefile'
X# New ports collection makefile for:	peops-gpu-soft
X# Date created:			13 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	peops-gpu-soft
XPORTVERSION=	1.11
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XDISTNAME=	gpupeopssoftx111
X
XMAINTAINER=	jylefort@brutele.be
X
XUSE_LINUX=	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 <bsd.port.pre.mk>
X
XLIBDIR=		${PREFIX}/lib/peops-gpu-soft
X
Xdo-build:
X	${MKDIR} ${WRKSRC}/FreeBSD
X	${SED} -e "s,@LIBDIR@,${LIBDIR},g" \
X		${FILESDIR}/peops-gpu-soft_install.in \
X		>${WRKSRC}/FreeBSD/peops-gpu-soft_install
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/peops-gpu-soft_install ${PREFIX}/bin
X
X	${MKDIR} ${LIBDIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsSoft ${LIBDIR}
X	${INSTALL_DATA} ${WRKSRC}/gpuPeopsSoftX.cfg ${LIBDIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeopsSoftX.so.1.0.11 ${LIBDIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_11.txt \
X		${WRKSRC}/version_1_11.txt \
X		${DOCSDIR}
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-peops-gpu-soft/Makefile
echo x - peops-gpu-soft/distinfo
sed 's/^X//' >peops-gpu-soft/distinfo << 'END-of-peops-gpu-soft/distinfo'
XMD5 (gpupeopssoftx111.tar.gz) = 9972c679456b7062dc9aac46ee6158e4
END-of-peops-gpu-soft/distinfo
echo x - peops-gpu-soft/pkg-comment
sed 's/^X//' >peops-gpu-soft/pkg-comment << 'END-of-peops-gpu-soft/pkg-comment'
XA PSEmu Pro soft GPU plugin using a X renderer
END-of-peops-gpu-soft/pkg-comment
echo x - peops-gpu-soft/pkg-descr
sed 's/^X//' >peops-gpu-soft/pkg-descr << 'END-of-peops-gpu-soft/pkg-descr'
XP.E.Op.S. Soft GPU is a PSEmu Pro GPU plugin using a X renderer.
X
XThis is the binary Linux version, tested with ePSXe (emulators/ePSXe).
X
XWWW: http://sourceforge.net/projects/peops/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-peops-gpu-soft/pkg-descr
echo x - peops-gpu-soft/pkg-message
sed 's/^X//' >peops-gpu-soft/pkg-message << 'END-of-peops-gpu-soft/pkg-message'
X-------------------------------------------------------------------------------
XIf you have ePSXe installed, you'll want to log into your normal user
Xaccount and type
X
X	peops-gpu-soft_install
X
Xin order to install the plugin in the emulator.
X-------------------------------------------------------------------------------
END-of-peops-gpu-soft/pkg-message
echo x - peops-gpu-soft/pkg-plist
sed 's/^X//' >peops-gpu-soft/pkg-plist << 'END-of-peops-gpu-soft/pkg-plist'
Xlib/peops-gpu-soft/cfgPeopsSoft
Xlib/peops-gpu-soft/gpuPeopsSoftX.cfg
Xlib/peops-gpu-soft/libgpuPeopsSoftX.so.1.0.11
X%%PORTDOCS%%share/doc/peops-gpu-soft/readme_1_11.txt
X%%PORTDOCS%%share/doc/peops-gpu-soft/version_1_11.txt
X@dirrm lib/peops-gpu-soft
X%%PORTDOCS%%@dirrm share/doc/peops-gpu-soft
END-of-peops-gpu-soft/pkg-plist
echo c - peops-gpu-soft/files
mkdir -p peops-gpu-soft/files > /dev/null 2>&1
echo x - peops-gpu-soft/files/peops-gpu-soft_install.in
sed 's/^X//' >peops-gpu-soft/files/peops-gpu-soft_install.in << 'END-of-peops-gpu-soft/files/peops-gpu-soft_install.in'
X#!/bin/sh
X# peops-gpu-soft_install - P.E.Op.S. Soft GPU user installation
X#
X# (c) 2002 Jean-Yves Lefort.
X# All rights reserved.
X
XLIBDIR=@LIBDIR@
XUSERDIR=$HOME/.ePSXe
X
Xcond_mkdir () {
X    if [ -d $1 ]; then
X	echo "Directory $1 already exists, not created"
X    else
X	echo "Creating directory $1"
X	mkdir -p $1
X    fi
X}
X
Xcond_install () {
X    if [ -e $2 ]; then
X	echo "File $2 already exists, not replaced"
X    else
X	echo "Installing $1 to $2"
X	install -m $3 $1 $2
X    fi
X}
X
Xcond_ln () {
X    if [ -e $2 ]; then
X	echo "File $2 already exists, not replaced"
X    else
X	echo "Symlinking $1 to $2"
X	ln -sf $1 $2
X    fi
X}
X
Xecho "Installing P.E.Op.S. Soft GPU plugin in ePSXe"
Xecho
X
Xfor d in		\
X    $USERDIR		\
X    $USERDIR/cfg	\
X    $USERDIR/plugins; do
X    cond_mkdir $d
Xdone
X
Xcond_install $LIBDIR/gpuPeopsSoftX.cfg $USERDIR/cfg/gpuPeopsSoftX.cfg 0644
X
Xcond_ln $LIBDIR/cfgPeopsSoft $USERDIR/cfg/cfgPeopsSoft
Xcond_ln $LIBDIR/libgpuPeopsSoftX.so.1.0.11 $USERDIR/plugins/libgpu.so
X
Xecho
Xecho "Installation finished"
END-of-peops-gpu-soft/files/peops-gpu-soft_install.in
exit
Comment 2 Jean-Yves Lefort 2002-12-22 19:55:15 UTC
Upgraded: the port has been renamed to signify more obviously that
it's a Linux plugin, 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-peops-softgpu
#	linux-peops-softgpu/Makefile
#	linux-peops-softgpu/pkg-comment
#	linux-peops-softgpu/pkg-descr
#	linux-peops-softgpu/pkg-plist
#	linux-peops-softgpu/distinfo
#
echo c - linux-peops-softgpu
mkdir -p linux-peops-softgpu > /dev/null 2>&1
echo x - linux-peops-softgpu/Makefile
sed 's/^X//' >linux-peops-softgpu/Makefile << 'END-of-linux-peops-softgpu/Makefile'
X# New ports collection makefile for:	linux-peops-softgpu
X# Date created:			21 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	softgpu
XPORTVERSION=	1.11
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XPKGNAMEPREFIX=	linux-peops-
XDISTNAME=	gpupeopssoftx111
X
XMAINTAINER=	jylefort@brutele.be
X
XRUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
X
XNO_WRKSUBDIR=	yes
XNO_BUILD=	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 <bsd.port.pre.mk>
X
XDOCSDIR=	${PREFIX}/share/doc/${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-install:
X	${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeopsSoftX.so.1.0.11 ${PSEMUPRO_PLUGINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsSoft ${PSEMUPRO_CFGBINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
X	${INSTALL_DATA} ${WRKSRC}/gpuPeopsSoftX.cfg ${PSEMUPRO_CFGFILES_DIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_11.txt \
X		${WRKSRC}/version_1_11.txt \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-linux-peops-softgpu/Makefile
echo x - linux-peops-softgpu/pkg-comment
sed 's/^X//' >linux-peops-softgpu/pkg-comment << 'END-of-linux-peops-softgpu/pkg-comment'
XA PSEmu Pro GPU plugin using a software X11 renderer (Linux version)
END-of-linux-peops-softgpu/pkg-comment
echo x - linux-peops-softgpu/pkg-descr
sed 's/^X//' >linux-peops-softgpu/pkg-descr << 'END-of-linux-peops-softgpu/pkg-descr'
XP.E.Op.S. Soft GPU is a PSEmu Pro GPU plugin using a software X11 renderer.
X
XThis is the Linux version, tested with emulators/linux-ePSXe.
X
XWWW: http://sourceforge.net/projects/peops/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-linux-peops-softgpu/pkg-descr
echo x - linux-peops-softgpu/pkg-plist
sed 's/^X//' >linux-peops-softgpu/pkg-plist << 'END-of-linux-peops-softgpu/pkg-plist'
Xlib/linux-psemupro/plugins/libgpuPeopsSoftX.so.1.0.11
Xlibexec/linux-psemupro/cfg/cfgPeopsSoft
Xshare/linux-psemupro/cfg/gpuPeopsSoftX.cfg
X%%PORTDOCS%%share/doc/linux-peops-softgpu/readme_1_11.txt
X%%PORTDOCS%%share/doc/linux-peops-softgpu/version_1_11.txt
X%%PORTDOCS%%@dirrm share/doc/linux-peops-softgpu
END-of-linux-peops-softgpu/pkg-plist
echo x - linux-peops-softgpu/distinfo
sed 's/^X//' >linux-peops-softgpu/distinfo << 'END-of-linux-peops-softgpu/distinfo'
XMD5 (gpupeopssoftx111.tar.gz) = 9972c679456b7062dc9aac46ee6158e4
END-of-linux-peops-softgpu/distinfo
exit
Comment 3 Jean-Yves Lefort 2003-01-10 18:08:37 UTC
Upgraded to version 1.12.

Greetings,
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-peops-softgpu
#	linux-peops-softgpu/Makefile
#	linux-peops-softgpu/pkg-comment
#	linux-peops-softgpu/pkg-descr
#	linux-peops-softgpu/distinfo
#	linux-peops-softgpu/pkg-plist
#
echo c - linux-peops-softgpu
mkdir -p linux-peops-softgpu > /dev/null 2>&1
echo x - linux-peops-softgpu/Makefile
sed 's/^X//' >linux-peops-softgpu/Makefile << 'END-of-linux-peops-softgpu/Makefile'
X# New ports collection makefile for:	linux-peops-softgpu
X# Date created:			21 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	softgpu
XPORTVERSION=	1.12
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XPKGNAMEPREFIX=	linux-peops-
XDISTNAME=	gpupeopssoftx112
X
XMAINTAINER=	jylefort@brutele.be
X
XRUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
X
XNO_WRKSUBDIR=	yes
XNO_BUILD=	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 <bsd.port.pre.mk>
X
XDOCSDIR=	${PREFIX}/share/doc/${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-install:
X	${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeopsSoftX.so.1.0.12 ${PSEMUPRO_PLUGINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsSoft ${PSEMUPRO_CFGBINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
X	${INSTALL_DATA} ${WRKSRC}/gpuPeopsSoftX.cfg ${PSEMUPRO_CFGFILES_DIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_12.txt \
X		${WRKSRC}/version_1_12.txt \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-linux-peops-softgpu/Makefile
echo x - linux-peops-softgpu/pkg-comment
sed 's/^X//' >linux-peops-softgpu/pkg-comment << 'END-of-linux-peops-softgpu/pkg-comment'
XA PSEmu Pro GPU plugin using a software X11 renderer (Linux version)
END-of-linux-peops-softgpu/pkg-comment
echo x - linux-peops-softgpu/pkg-descr
sed 's/^X//' >linux-peops-softgpu/pkg-descr << 'END-of-linux-peops-softgpu/pkg-descr'
XP.E.Op.S. Soft GPU is a PSEmu Pro GPU plugin using a software X11 renderer.
X
XThis is the Linux version, tested with emulators/linux-ePSXe.
X
XWWW: http://sourceforge.net/projects/peops/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-linux-peops-softgpu/pkg-descr
echo x - linux-peops-softgpu/distinfo
sed 's/^X//' >linux-peops-softgpu/distinfo << 'END-of-linux-peops-softgpu/distinfo'
XMD5 (gpupeopssoftx112.tar.gz) = e474bfcd09fc55582f76d96fec29d33f
END-of-linux-peops-softgpu/distinfo
echo x - linux-peops-softgpu/pkg-plist
sed 's/^X//' >linux-peops-softgpu/pkg-plist << 'END-of-linux-peops-softgpu/pkg-plist'
Xlib/linux-psemupro/plugins/libgpuPeopsSoftX.so.1.0.12
Xlibexec/linux-psemupro/cfg/cfgPeopsSoft
Xshare/linux-psemupro/cfg/gpuPeopsSoftX.cfg
X%%PORTDOCS%%share/doc/linux-peops-softgpu/readme_1_12.txt
X%%PORTDOCS%%share/doc/linux-peops-softgpu/version_1_12.txt
X%%PORTDOCS%%@dirrm share/doc/linux-peops-softgpu
END-of-linux-peops-softgpu/pkg-plist
exit
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2003-01-12 00:17:31 UTC
State Changed
From-To: open->closed

Commited, thanks!