Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 07:50:07 -0800 (PST)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/46241: New port: emulators/peops-gpu-soft
Message-ID:  <200212141550.gBEFo7TX000872@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/46241; it has been noted by GNATS.

From: Jean-Yves Lefort <jylefort@brutele.be>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/46241: New port: emulators/peops-gpu-soft
Date: Sat, 14 Dec 2002 16:44:30 +0100

 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
 

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?200212141550.gBEFo7TX000872>