Skip site navigation (1)Skip section navigation (2)
Date:      23 Sep 2000 19:56:46 -0000
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        will@physics.purdue.edu
Subject:   ports/21507: New port emulators/sope (Playstation(tm) emulator)
Message-ID:  <20000923195646.7570.qmail@Fedaykin.here>

next in thread | raw e-mail | index | archive | help

>Number:         21507
>Category:       ports
>Synopsis:       New port emulators/sope (Playstation(tm) emulator)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 23 13:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Fedaykin.here 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Sep 10 18:08:03 BRT 2000     root@Fedaykin.here:/usr/obj/usr/src/sys/LIOUX  i386

>Description:

A Playstation(tm) PSX(tm) emulator

Currently, it only plays demos and just few of them.

It should be safe to add this since it holds no bios
files or any other copyrighted stuff. This is not a
disclaimer of any sort, just a rephrasal of what is
stated at the sope www-site.

>How-To-Repeat:

n/a

>Fix:

# 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:
#
#	sope
#	sope/files
#	sope/files/md5
#	sope/files/patch-alpha
#	sope/pkg
#	sope/pkg/COMMENT
#	sope/pkg/DESCR
#	sope/pkg/PLIST
#	sope/pkg/MESSAGE
#	sope/Makefile
#
echo c - sope
mkdir -p sope > /dev/null 2>&1
echo c - sope/files
mkdir -p sope/files > /dev/null 2>&1
echo x - sope/files/md5
sed 's/^X//' >sope/files/md5 << 'END-of-sope/files/md5'
XMD5 (sope-0.03.1.tar.gz) = f814c0c38a09c9490450f57903ee81a1
END-of-sope/files/md5
echo x - sope/files/patch-alpha
sed 's/^X//' >sope/files/patch-alpha << 'END-of-sope/files/patch-alpha'
X--- Makefile.config.ORIG	Sun May 21 21:24:16 2000
X+++ Makefile.config	Sun May 21 21:24:45 2000
X@@ -168,7 +168,7 @@
X #CFLAGS := $(CFLAGS) -malign-loops=3
X 
X # for alpha
X-#CFLAGS := $(CFLAGS) -mcpu=ev4
X+CFLAGS := $(CFLAGS) -mcpu=ev4
X #CFLAGS := $(CFLAGS) -mcpu=ev5
X #CFLAGS := $(CFLAGS) -mcpu=ev6
X #CFLAGS := $(CFLAGS) -mcpu=ev7
X@@ -203,9 +203,9 @@
X #ASM := $(ASM) CPU
X #ASM := $(ASM) MEMORY
X 
X-#CPU = alpha
X+CPU = alpha
X #CPU = arm
X-CPU = i386
X+#CPU = i386
X #CPU = m68k
X #CPU = mips
X #CPU = ppc
END-of-sope/files/patch-alpha
echo c - sope/pkg
mkdir -p sope/pkg > /dev/null 2>&1
echo x - sope/pkg/COMMENT
sed 's/^X//' >sope/pkg/COMMENT << 'END-of-sope/pkg/COMMENT'
XPlaystation(tm) PSX(tm) emulator
END-of-sope/pkg/COMMENT
echo x - sope/pkg/DESCR
sed 's/^X//' >sope/pkg/DESCR << 'END-of-sope/pkg/DESCR'
XSope is a Playstation(tm) emulator developed by SaD.
X
XRight now, it only plays some demos but it is improving.  It is
Xbest intended as a demo developing tool.
X
XIt requires a Playstation(tm) bios file to run. Check with an
Xattorney to see if you can legally obtain one.
X
XFrom Sope FAQ:
X
X1) What does "Sope" mean ?
X- Sope is supposed to mean "SaD's OpenGL Playstation(tm) Emulator"
X(SaD being my name...). This name is not totally accurate for the
Xmoment, cos' Sope uses Mesa-specific features that are not OpenGL
Xcompliant.
X
X2) Why is Sope so slow?
XSope uses Mesa as an off-screen software renderer, which makes the
Xdrawing of polygons really slow.
X
XPlaystation(tm), PSX(tm) and Sony(tm) are Sony Corp. trademarks
X
XWWW: http://sope.sourceforge.net/
END-of-sope/pkg/DESCR
echo x - sope/pkg/PLIST
sed 's/^X//' >sope/pkg/PLIST << 'END-of-sope/pkg/PLIST'
Xbin/sope
X%%PORTDOCS:%%share/doc/sope/changes.txt
X%%PORTDOCS:%%share/doc/sope/faq.txt
X%%PORTDOCS:%%share/doc/sope/readme.txt
X%%PORTDOCS:%%share/doc/sope/todo.txt
X%%PORTDOCS:%%@dirrm share/doc/sope
END-of-sope/pkg/PLIST
echo x - sope/pkg/MESSAGE
sed 's/^X//' >sope/pkg/MESSAGE << 'END-of-sope/pkg/MESSAGE'
X	ATTENTIONATTENTION:
X
XSope is a Playstation(tm) emulator for Unix Systems.
X
XIt requires a Playstation(tm) bios file to run.
X
XIf you do not legally own a Playstation(tm), then you can be pretty
Xmuch sure it is not legal to own a Playstation(tm) bios file.
X
XIf you do legally own a Playstation(tm), you should contact an
Xattorney to see if you can legally obtain a file copy of your
XPlaystation(tm)'s bios.
X
XIf you are sure you can, see the files in /usr/local/share/doc/sope
Xfor more information on running Sope.
X
XPlaystation(tm), PSX(tm) and Sony(tm) are Sony Corp. trademarks
END-of-sope/pkg/MESSAGE
echo x - sope/Makefile
sed 's/^X//' >sope/Makefile << 'END-of-sope/Makefile'
X# New ports collection makefile for:	sope
X# Date Created:		22 Sep 2000
X# Whom:			Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sope
XPORTVERSION=	0.03.1
XCATEGORIES=	emulators devel
XMASTER_SITES=	http://sope.sourceforge.net/download/
X
XMAINTAINER=	lioux@linf.unb.br
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S,.1,,}/src
X
XUSE_GMAKE=	yes
XUSE_XLIB=	yes
XALL_TARGET=	${PORTNAME}
X
X# only needed to enable the GTK+ debugger
X.if defined(WITH_GTK)
XLIB_DEPENDS+=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
XGTK_CONFIG=	${X11BASE}/bin/gtk12-config
XGTK_CFLAGS!=	${GTK_CONFIG} --cflags
X.endif
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=	PORTDOCS:="@comment "
X.else
XPLIST_SUB+=	PORTDOCS:=
XDOCFILES=	changes.txt faq.txt readme.txt todo.txt
XDOCDIR=		${PREFIX}/share/doc/sope
X.endif # !defined(NOPORTDOCS)
X
Xpost-patch:
X	@${PERL} -pi -e 's|/usr/X11/|${X11BASE}/|g' ${WRKSRC}/Makefile
X
X.include <bsd.port.pre.mk>
X
Xpost-configure:
X	@${PERL} -pi -e \
X		's|^(OPTFLAGS\s*=).*|\1 ${CFLAGS}|' \
X			${WRKSRC}/Makefile
X.if ${ARCH} == "alpha"
X	@${PERL} -pi -e \
X		's|^#\s(USE_ALPHA=1.*)|\1|' \
X			${WRKSRC}/Makefile
X.elif ${ARCH} == "i386"
X	@${PERL} -pi -e \
X		's|^#\s(USE_INTEL=1.*)|\1|' \
X			${WRKSRC}/Makefile
X.endif
X.if defined(WITH_GTK)
X	@${PERL} -pi \
X		-e 's|^#(USE_GTK=1.*)|\1|;' \
X		-e 's|^(CFLAGS.*)|\1 ${GTK_CFLAGS}|;' \
X		-e 's|-lgtk\s+-lgdk|-lgtk12 -lgdk12|' \
X			${WRKSRC}/Makefile
X.endif
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DOCDIR}
X.for i in ${DOCFILES}
X	${INSTALL_DATA} ${WRKSRC:S,/src,,}/doc/${i} ${DOCDIR}
X.endfor
X.endif
X	${INSTALL_PROGRAM} ${WRKSRC:S,/src,,}/${PORTNAME} ${PREFIX}/bin
X	@${SED} s!/usr/local!${PREFIX}!g ${PKGDIR}/MESSAGE | /usr/bin/fmt
X
X.include <bsd.port.post.mk>
END-of-sope/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


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?20000923195646.7570.qmail>