Bug 46242 - New port: emulators/peops-spu-oss
Summary: New port: emulators/peops-spu-oss
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:30 UTC (History)
0 users

See Also:


Attachments
file.shar (3.50 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-spu-oss, a SPU 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:45: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-spu-oss
#	peops-spu-oss/Makefile
#	peops-spu-oss/distinfo
#	peops-spu-oss/pkg-comment
#	peops-spu-oss/pkg-descr
#	peops-spu-oss/pkg-message
#	peops-spu-oss/pkg-plist
#	peops-spu-oss/files
#	peops-spu-oss/files/peops-spu-oss_install.in
#
echo c - peops-spu-oss
mkdir -p peops-spu-oss > /dev/null 2>&1
echo x - peops-spu-oss/Makefile
sed 's/^X//' >peops-spu-oss/Makefile << 'END-of-peops-spu-oss/Makefile'
X# New ports collection makefile for:	peops-spu-oss
X# Date created:			13 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	peops-spu-oss
XPORTVERSION=	1.2
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XDISTNAME=	spupeopsoss102
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-spu-oss
X
Xdo-build:
X	${MKDIR} ${WRKSRC}/FreeBSD
X	${SED} -e "s,@LIBDIR@,${LIBDIR},g" \
X		${FILESDIR}/peops-spu-oss_install.in \
X		>${WRKSRC}/FreeBSD/peops-spu-oss_install
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/peops-spu-oss_install ${PREFIX}/bin
X
X	${MKDIR} ${LIBDIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsOSS ${LIBDIR}
X	${INSTALL_DATA} ${WRKSRC}/spuPeopsOSS.cfg ${LIBDIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/libspuPeopsOSS.so.1.0.2 ${LIBDIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_2.txt \
X		${WRKSRC}/version_1_2.txt \
X		${DOCSDIR}
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-peops-spu-oss/Makefile
echo x - peops-spu-oss/distinfo
sed 's/^X//' >peops-spu-oss/distinfo << 'END-of-peops-spu-oss/distinfo'
XMD5 (spupeopsoss102.tar.gz) = bcce34552fda5db4bfa2bbe84f2b2c5f
END-of-peops-spu-oss/distinfo
echo x - peops-spu-oss/pkg-comment
sed 's/^X//' >peops-spu-oss/pkg-comment << 'END-of-peops-spu-oss/pkg-comment'
XA PSEmu Pro SPU plugin using the OSS interface
END-of-peops-spu-oss/pkg-comment
echo x - peops-spu-oss/pkg-descr
sed 's/^X//' >peops-spu-oss/pkg-descr << 'END-of-peops-spu-oss/pkg-descr'
XP.E.Op.S. OSS SPU is a PSEmu Pro SPU plugin using the OSS interface.
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-spu-oss/pkg-descr
echo x - peops-spu-oss/pkg-message
sed 's/^X//' >peops-spu-oss/pkg-message << 'END-of-peops-spu-oss/pkg-message'
X-------------------------------------------------------------------------------
XIf you have ePSXe installed, you'll want to log into your normal user
Xaccount and type
X
X	peops-spu-oss_install
X
Xin order to install the plugin in the emulator.
X-------------------------------------------------------------------------------
END-of-peops-spu-oss/pkg-message
echo x - peops-spu-oss/pkg-plist
sed 's/^X//' >peops-spu-oss/pkg-plist << 'END-of-peops-spu-oss/pkg-plist'
Xlib/peops-spu-oss/cfgPeopsOSS
Xlib/peops-spu-oss/spuPeopsOSS.cfg
Xlib/peops-spu-oss/libspuPeopsOSS.so.1.0.2
X%%PORTDOCS%%share/doc/peops-spu-oss/readme_1_2.txt
X%%PORTDOCS%%share/doc/peops-spu-oss/version_1_2.txt
X@dirrm lib/peops-spu-oss
X%%PORTDOCS%%@dirrm share/doc/peops-spu-oss
END-of-peops-spu-oss/pkg-plist
echo c - peops-spu-oss/files
mkdir -p peops-spu-oss/files > /dev/null 2>&1
echo x - peops-spu-oss/files/peops-spu-oss_install.in
sed 's/^X//' >peops-spu-oss/files/peops-spu-oss_install.in << 'END-of-peops-spu-oss/files/peops-spu-oss_install.in'
X#!/bin/sh
X# peops-spu-oss_install - P.E.Op.S. OSS SPU 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. OSS SPU 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/spuPeopsOSS.cfg $USERDIR/cfg/spuPeopsOSS.cfg 0644
X
Xcond_ln $LIBDIR/cfgPeopsOSS $USERDIR/cfg/cfgPeopsOSS
Xcond_ln $LIBDIR/libspuPeopsOSS.so.1.0.2 $USERDIR/plugins/libspu.so
X
Xecho
Xecho "Installation finished"
END-of-peops-spu-oss/files/peops-spu-oss_install.in
exit
Comment 2 Jean-Yves Lefort 2002-12-22 19:56:12 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-spu
#	linux-peops-spu/Makefile
#	linux-peops-spu/distinfo
#	linux-peops-spu/pkg-comment
#	linux-peops-spu/pkg-descr
#	linux-peops-spu/pkg-plist
#
echo c - linux-peops-spu
mkdir -p linux-peops-spu > /dev/null 2>&1
echo x - linux-peops-spu/Makefile
sed 's/^X//' >linux-peops-spu/Makefile << 'END-of-linux-peops-spu/Makefile'
X# New ports collection makefile for:	linux-peops-spu
X# Date created:			21 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spu
XPORTVERSION=	1.2
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XPKGNAMEPREFIX=	linux-peops-
XDISTNAME=	spupeopsoss102
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}/libspuPeopsOSS.so.1.0.2 ${PSEMUPRO_PLUGINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsOSS ${PSEMUPRO_CFGBINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
X	${INSTALL_DATA} ${WRKSRC}/spuPeopsOSS.cfg ${PSEMUPRO_CFGFILES_DIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_2.txt \
X		${WRKSRC}/version_1_2.txt \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-linux-peops-spu/Makefile
echo x - linux-peops-spu/distinfo
sed 's/^X//' >linux-peops-spu/distinfo << 'END-of-linux-peops-spu/distinfo'
XMD5 (spupeopsoss102.tar.gz) = bcce34552fda5db4bfa2bbe84f2b2c5f
END-of-linux-peops-spu/distinfo
echo x - linux-peops-spu/pkg-comment
sed 's/^X//' >linux-peops-spu/pkg-comment << 'END-of-linux-peops-spu/pkg-comment'
XA PSEmu Pro SPU plugin using the OSS interface (Linux version)
END-of-linux-peops-spu/pkg-comment
echo x - linux-peops-spu/pkg-descr
sed 's/^X//' >linux-peops-spu/pkg-descr << 'END-of-linux-peops-spu/pkg-descr'
XP.E.Op.S. OSS SPU is a PSEmu Pro SPU plugin using the OSS interface.
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-spu/pkg-descr
echo x - linux-peops-spu/pkg-plist
sed 's/^X//' >linux-peops-spu/pkg-plist << 'END-of-linux-peops-spu/pkg-plist'
Xlib/linux-psemupro/plugins/libspuPeopsOSS.so.1.0.2
Xlibexec/linux-psemupro/cfg/cfgPeopsOSS
Xshare/linux-psemupro/cfg/spuPeopsOSS.cfg
X%%PORTDOCS%%share/doc/linux-peops-spu/readme_1_2.txt
X%%PORTDOCS%%share/doc/linux-peops-spu/version_1_2.txt
X%%PORTDOCS%%@dirrm share/doc/linux-peops-spu
END-of-linux-peops-spu/pkg-plist
exit
Comment 3 Jean-Yves Lefort 2003-01-10 18:09:19 UTC
Upgraded to version 1.3.

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-spu
#	linux-peops-spu/Makefile
#	linux-peops-spu/distinfo
#	linux-peops-spu/pkg-comment
#	linux-peops-spu/pkg-descr
#	linux-peops-spu/pkg-plist
#
echo c - linux-peops-spu
mkdir -p linux-peops-spu > /dev/null 2>&1
echo x - linux-peops-spu/Makefile
sed 's/^X//' >linux-peops-spu/Makefile << 'END-of-linux-peops-spu/Makefile'
X# New ports collection makefile for:	linux-peops-spu
X# Date created:			21 Dec 2002
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spu
XPORTVERSION=	1.3
XCATEGORIES=	emulators linux
XMASTER_SITES=	http://home.t-online.de/home/PeteBernert/
XPKGNAMEPREFIX=	linux-peops-
XDISTNAME=	spupeopsoss103
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}/libspuPeopsOSS.so.1.0.3 ${PSEMUPRO_PLUGINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsOSS ${PSEMUPRO_CFGBINS_DIR}
X
X	${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
X	${INSTALL_DATA} ${WRKSRC}/spuPeopsOSS.cfg ${PSEMUPRO_CFGFILES_DIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/readme_1_3.txt \
X		${WRKSRC}/version_1_3.txt \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-linux-peops-spu/Makefile
echo x - linux-peops-spu/distinfo
sed 's/^X//' >linux-peops-spu/distinfo << 'END-of-linux-peops-spu/distinfo'
XMD5 (spupeopsoss103.tar.gz) = 2e3e628d5a58bd9a0c63feb795ba9c22
END-of-linux-peops-spu/distinfo
echo x - linux-peops-spu/pkg-comment
sed 's/^X//' >linux-peops-spu/pkg-comment << 'END-of-linux-peops-spu/pkg-comment'
XA PSEmu Pro SPU plugin using the OSS interface (Linux version)
END-of-linux-peops-spu/pkg-comment
echo x - linux-peops-spu/pkg-descr
sed 's/^X//' >linux-peops-spu/pkg-descr << 'END-of-linux-peops-spu/pkg-descr'
XP.E.Op.S. OSS SPU is a PSEmu Pro SPU plugin using the OSS interface.
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-spu/pkg-descr
echo x - linux-peops-spu/pkg-plist
sed 's/^X//' >linux-peops-spu/pkg-plist << 'END-of-linux-peops-spu/pkg-plist'
Xlib/linux-psemupro/plugins/libspuPeopsOSS.so.1.0.3
Xlibexec/linux-psemupro/cfg/cfgPeopsOSS
Xshare/linux-psemupro/cfg/spuPeopsOSS.cfg
X%%PORTDOCS%%share/doc/linux-peops-spu/readme_1_3.txt
X%%PORTDOCS%%share/doc/linux-peops-spu/version_1_3.txt
X%%PORTDOCS%%@dirrm share/doc/linux-peops-spu
END-of-linux-peops-spu/pkg-plist
exit
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2003-01-12 00:29:21 UTC
State Changed
From-To: open->closed

Commited, thanks! 
(next time please add @dirrm to the pkg-plist)