aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1999-03-05 07:24:29 +0800
committernectar <nectar@FreeBSD.org>1999-03-05 07:24:29 +0800
commitb43df116ed6b9df6f2df5d42bdab3ff697b59d51 (patch)
treefa75e5154f04c1bebc024a297386a924affbdfe3 /emulators
parent1affd62fd34d81eb7e2a3fd5a0b1dc7ba16ef5aa (diff)
downloadfreebsd-ports-gnome-b43df116ed6b9df6f2df5d42bdab3ff697b59d51.tar.gz
freebsd-ports-gnome-b43df116ed6b9df6f2df5d42bdab3ff697b59d51.tar.zst
freebsd-ports-gnome-b43df116ed6b9df6f2df5d42bdab3ff697b59d51.zip
stella 0.6 is no longer available.
This is stella 1.1, an Atari 2600 VCS emulator.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/stella/Makefile87
-rw-r--r--emulators/stella/distinfo2
-rw-r--r--emulators/stella/files/patch-ac18
-rw-r--r--emulators/stella/pkg-comment2
-rw-r--r--emulators/stella/pkg-descr49
-rw-r--r--emulators/stella/pkg-plist96
6 files changed, 78 insertions, 176 deletions
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
index d654beb66f1b..29e457829fd4 100644
--- a/emulators/stella/Makefile
+++ b/emulators/stella/Makefile
@@ -1,67 +1,50 @@
-# New ports collection makefile for: stella-0.6
-# Version required: 0.6
-# Date created: 1st May, 1997
-# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
+# New ports collection makefile for: stella-1.1
+# Version required: 1.1
+# Date created: March 4, 1999
+# Whom: Jacques Vidrine <nectar@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.3 1998/04/29 09:56:44 asami Exp $
+# $Id: Makefile,v 1.4 1998/12/01 09:36:33 obrien Exp $
#
-DISTNAME= stella-0.6-src
-PKGNAME= stella-0.6
+DISTNAME= stella-1.1-src
+PKGNAME= stella-1.1
CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.ucpel.tche.br/pub/msdos/emulator/atari/
+MASTER_SITES= ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/ \
+ http://www.nectar.com/distfiles/
-MAINTAINER= sutton@aardvark.apana.org.au
+MAINTAINER= nectar@FreeBSD.ORG
-BROKEN="fetch"
-
-MANUAL_PACKAGE_BUILD= installs bin/elk
-
-DIST_SUBDIR= atari
-WRKSRC= ${WRKDIR}/${PKGNAME}/src
+PORTTOP= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${PORTTOP}/src/build
MAKEFILE= makefile
-ALL_TARGET= freebsd-oss
+ALL_TARGET= freebsd-x
-# Directories and extra files
-#
-STELLA_DOC= ${PREFIX}/share/doc/stella
-STELLA_LIB= ${PREFIX}/lib/stella
-STELLA_ROM= ELK.BIN OKIEDOKE.BIN TEST.BIN
-STELLA_SH= elk okiedoke
-SED_CONFIG= ${STELLA_LIB:S/\//\\\//g}
-DOC_FILES= Announce.txt Stella.txt Todo.txt doc/elk.doc doc/okiedoke.doc
+ROMSDIR= ${PREFIX}/share/stella/roms
+ROMS= ELK.BIN OKIEDOKE.BIN OYSTR29.BIN TEST.BIN TPS.BIN
+DOCSDIR= ${PREFIX}/share/doc/stella
+DOCS= docs/Stella.pdf games/docs/elk.doc games/docs/okiedoke.doc \
+ games/docs/oystron.doc games/docs/tps.doc
-post-configure:
- @${ECHO_MSG} "===> Processing shell scripts"
- for file in ${STELLA_SH} ; do \
- ${SED} "s/GUMBY/${SED_CONFIG}/g" < ${FILESDIR}/$$file.sh \
- > ${WRKSRC}/$$file ;\
- done
+post-build:
+ @(cd ${PORTTOP}/src/ui/sound && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
+ ${MAKE_ARGS} oss)
do-install:
- @${ECHO_MSG} "===> Installing binaries"
- ${INSTALL_PROGRAM} ${WRKSRC}/xstella ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/sound/stella-sound ${PREFIX}/bin
- @${ECHO_MSG} "===> Installing ROM files"
- -${MKDIR} ${STELLA_LIB}
- for file in ${STELLA_ROM} ; do \
- ${INSTALL_DATA} ${WRKSRC}/../ROMS/$$file ${STELLA_LIB}/ ;\
- done
- @${ECHO_MSG} "===> Installing vcs files"
- for file in ${WRKSRC}/../vcs/* ; do \
- ${INSTALL_DATA} $$file ${STELLA_LIB}/ ;\
- done
- @${ECHO_MSG} "===> Installing scripts"
- for file in ${STELLA_SH} ; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$file ${PREFIX}/bin ;\
- done
+.for exe in src/build/xstella src/ui/sound/stella-sound
+ ${INSTALL_PROGRAM} ${PORTTOP}/${exe} ${PREFIX}/bin/
+.endfor
+ ${MKDIR} ${ROMSDIR}
+.for rom in ${ROMS}
+ ${INSTALL_DATA} ${PORTTOP}/games/ROMS/${rom} ${ROMSDIR}/
+.endfor
+ ${INSTALL_DATA} ${PORTTOP}/src/emucore/stella.pro \
+ ${PREFIX}/share/stella/
.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "===> Installing distribution document files"
- -${MKDIR} ${STELLA_DOC}
- for file in ${DOC_FILES} ; do \
- ${INSTALL_DATA} ${WRKSRC}/../$$file ${STELLA_DOC}/ ;\
- done
- ${INSTALL_DATA} ${PKGDIR}/DESCR ${STELLA_DOC}/README.FreeBSD
+ ${MKDIR} ${DOCSDIR}
+.for doc in ${DOCS}
+ ${INSTALL_DATA} ${PORTTOP}/${doc} ${DOCSDIR}/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/emulators/stella/distinfo b/emulators/stella/distinfo
index 1af65c44ee2a..1da6dd24d1b5 100644
--- a/emulators/stella/distinfo
+++ b/emulators/stella/distinfo
@@ -1 +1 @@
-MD5 (atari/stella-0.6-src.tar.gz) = 1342ffb85d4ee0aea593d4b43fba39fc
+MD5 (stella-1.1-src.tar.gz) = 6e2e5336f2789654ddd822d82a4c7b8e
diff --git a/emulators/stella/files/patch-ac b/emulators/stella/files/patch-ac
new file mode 100644
index 000000000000..3374a5ca23e3
--- /dev/null
+++ b/emulators/stella/files/patch-ac
@@ -0,0 +1,18 @@
+--- makefile.orig Thu Mar 4 16:52:03 1999
++++ makefile Thu Mar 4 16:53:33 1999
+@@ -129,6 +129,15 @@
+ LDLIBS=`gtk-config --libs` \
+ OBJS="gtk.o editor.o SndUnix.o"
+
++freebsd-x:
++ make xstella \
++ INCLUDES="$(INCLUDES) -I$(UI)/x11 -I$(UI)/sound" \
++ SYS_INCLUDES="-I${X11BASE}/include" \
++ OPTIONS="-DBSPF_UNIX -DSHOW_TIMING" \
++ LDFLAGS="-L${X11BASE}/lib" \
++ LDLIBS="-lX11 -lXext" \
++ OBJS="mainX11.o SndUnix.o"
++
+ ###############################################################################
+ ## List of "core" object files
+ ###############################################################################
diff --git a/emulators/stella/pkg-comment b/emulators/stella/pkg-comment
index 4a2205b71e1f..441f4a2eaef1 100644
--- a/emulators/stella/pkg-comment
+++ b/emulators/stella/pkg-comment
@@ -1 +1 @@
-Atari 2600 VCS emulator
+A multi-platform Atari 2600 VCS emulator.
diff --git a/emulators/stella/pkg-descr b/emulators/stella/pkg-descr
index 0b6b5baa34a8..f009e4a58819 100644
--- a/emulators/stella/pkg-descr
+++ b/emulators/stella/pkg-descr
@@ -1,37 +1,12 @@
-Stella is a usable, and highly addictive, emulator of the Atari 2600
-VCS system with sound support.
-
-Please refer to /usr/local/share/doc/stella (or equivalent on your
-system) for the distribution documents and instructions. This package
-contains no man page so this will be your only reference.
-
-If you're at all serious about your emulator then you SHOULD check out
-these URL's in the order they're written:
-
- http://www4.ncsu.edu/~bwmott/www/2600/
- http://www.general.uwa.edu.au/u/darrins/2600/roms.html
- ftp://ftp.hackerz.com/hackerz/atari/web/index.html
-
-This should get you started and provide you with numerous links to
-other web sites.
-
-Most ROM's for the Atari 2600 VCS are, unfortunately,
-copyright. Fortunately two ROM's have been included in this package
-which are in the public domain. Two shell scripts, elk and okiedoke,
-are included which start up the emulator with these ROM's
-loaded. Numerous ROM's are also available on the net (see URL's
-above).
-
-If you have any general Atari VCS questions then you might get a more
-fruitful response by posting them to the stella mailing list (see
-stella.txt), as the emulation and questions mailing list won't be
-up-to-date with all things Atari. However the FreeBSD emulation
-mailing list is dedicated to discussing the emulation of other systems
-so don't be shy. Please check Section 25 of the handbook for
-information on the FreeBSD mailing lists.
-
-Share and enjoy,
-
-Joel...
-:->
-sutton@aardvark.apana.org.au
+From the documentation:
+ Stella is a freely distributed multi-platform Atari 2600 VCS emulator;
+ originally developed for Linux by Bradford W. Mott. Stella allows you
+ to enjoy all of your favorite 2600 games once again by emulating the
+ 2600's hardware with software. Stella is written in C++, which allows
+ it to be ported to other operating systems and architectures. Since
+ its original release Stella has been ported to AcronOS, AmigaOS, DOS,
+ FreeBSD, IRIX, Linux, MacOS, OpenStep, OS/2, Unix, and Windows.
+
+See also: http://www4.ncsu.edu/~bwmott/www/2600/
+
+Jacques Vidrine <nectar@FreeBSD.ORG>
diff --git a/emulators/stella/pkg-plist b/emulators/stella/pkg-plist
index eba138419cdd..8e9100151c12 100644
--- a/emulators/stella/pkg-plist
+++ b/emulators/stella/pkg-plist
@@ -1,90 +1,16 @@
bin/xstella
bin/stella-sound
-bin/elk
-bin/okiedoke
-share/doc/stella/Announce.txt
-share/doc/stella/Stella.txt
-share/doc/stella/Todo.txt
+share/stella/roms/ELK.BIN
+share/stella/roms/OKIEDOKE.BIN
+share/stella/roms/OYSTR29.BIN
+share/stella/roms/TEST.BIN
+share/stella/roms/TPS.BIN
+@dirrm share/stella/roms
+share/stella/stella.pro
+@dirrm share/stella
+share/doc/stella/Stella.pdf
share/doc/stella/elk.doc
share/doc/stella/okiedoke.doc
-share/doc/stella/README.FreeBSD
-lib/stella/ELK.BIN
-lib/stella/OKIEDOKE.BIN
-lib/stella/TEST.BIN
-lib/stella/advnture.vcs
-lib/stella/airseabt.vcs
-lib/stella/asteroid.vcs
-lib/stella/atlantis.vcs
-lib/stella/barnstrm.vcs
-lib/stella/batlzone.vcs
-lib/stella/berzerk.vcs
-lib/stella/bnj.vcs
-lib/stella/burgtime.vcs
-lib/stella/califgms.vcs
-lib/stella/centiped.vcs
-lib/stella/choprcmd.vcs
-lib/stella/circatri.vcs
-lib/stella/combat.vcs
-lib/stella/commando.vcs
-lib/stella/cryscast.vcs
-lib/stella/darkcham.vcs
-lib/stella/dbldragn.vcs
-lib/stella/defendr2.vcs
-lib/stella/demonatk.vcs
-lib/stella/dethstar.vcs
-lib/stella/drgnfire.vcs
-lib/stella/elk.vcs
-lib/stella/enduro.vcs
-lib/stella/fastedie.vcs
-lib/stella/fatalrun.vcs
-lib/stella/freeway.vcs
-lib/stella/frogger.vcs
-lib/stella/frogger2.vcs
-lib/stella/grandprx.vcs
-lib/stella/hero.vcs
-lib/stella/hnthouse.vcs
-lib/stella/homerun.vcs
-lib/stella/jnglhunt.vcs
-lib/stella/joust.vcs
-lib/stella/jrpacman.vcs
-lib/stella/kaboom.vcs
-lib/stella/kung_fu.vcs
-lib/stella/m_a_d.vcs
-lib/stella/megafrce.vcs
-lib/stella/megaman.vcs
-lib/stella/midnight.vcs
-lib/stella/milliped.vcs
-lib/stella/mntking.vcs
-lib/stella/mspacman.vcs
-lib/stella/nexar.vcs
-lib/stella/noescape.vcs
-lib/stella/oink.vcs
-lib/stella/okiedoke.vcs
-lib/stella/pacman.vcs
-lib/stella/pengo.vcs
-lib/stella/phoenix.vcs
-lib/stella/pitfall.vcs
-lib/stella/polepos.vcs
-lib/stella/qbert_pb.vcs
-lib/stella/raiders.vcs
-lib/stella/riveraid.vcs
-lib/stella/rsvolley.vcs
-lib/stella/secretq.vcs
-lib/stella/solrstrm.vcs
-lib/stella/spaceinv.vcs
-lib/stella/spidrftr.vcs
-lib/stella/spidrman.vcs
-lib/stella/sprfootb.vcs
-lib/stella/sprnmast.vcs
-lib/stella/spyhuntr.vcs
-lib/stella/starempr.vcs
-lib/stella/summerga.vcs
-lib/stella/superbrk.vcs
-lib/stella/tennis.vcs
-lib/stella/test.vcs
-lib/stella/tunlrunr.vcs
-lib/stella/turmoil.vcs
-lib/stella/vanguard.vcs
-lib/stella/vidolymp.vcs
+share/doc/stella/oystron.doc
+share/doc/stella/tps.doc
@dirrm share/doc/stella
-@dirrm lib/stella