ports/57004: Update port: emulators/stella to 1.3

KATO Tsuguru tkato at prontomail.com
Fri Sep 19 14:50:30 UTC 2003


>Number:         57004
>Category:       ports
>Synopsis:       Update port: emulators/stella to 1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 07:50:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.3

New file:
files/patch-src::emucore::Props.cxx
files/patch-src::emucore::Props.hxx
files/patch-src::emucore::PropsSet.cxx
files/patch-src::emucore::PropsSet.hxx
files/patch-src::emucore::TIASound.c
files/patch-src::emucore::m6502::src::M6502.cxx
files/patch-src::emucore::m6502::src::M6502.hxx
files/patch-src::ui::common::Settiongs.cxx
files/patch-src::ui::common::Settiongs.hxx
files/patch-src::ui::sound::SoundOSS.cxx

Remove file:
files/patch-OSS.c
files/patch-ad
files/patch-src::ui::sound::makefile

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/emulators/stella/Makefile emulators/stella/Makefile
--- /usr/ports/emulators/stella/Makefile	Sat Apr 12 22:45:43 2003
+++ emulators/stella/Makefile	Wed Sep 17 00:33:12 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	stella
-PORTVERSION=	1.2
-PORTREVISION=	1
+PORTVERSION=	1.3
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,44 +15,33 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A multi-platform Atari 2600 VCS emulator
 
+LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 BUILD_WRKSRC=	${WRKSRC}/src/build
 
 USE_XLIB=	yes
 USE_GMAKE=	yes
-MAKE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}"
 MAKEFILE=	makefile
-ALL_TARGET=	freebsd-x
+PLIST_SUB=	STELLA_BIN="${STELLA_BIN}"
 
-DOCS=		docs/stella.html
-GFX=		docs/graphics/chucky_cheese.png \
-		docs/graphics/circuit.png \
-		docs/graphics/console.png \
-		docs/graphics/jr_pacman.png \
-		docs/graphics/pacman.png \
-		docs/graphics/secret_quest.png \
-		docs/graphics/space_invaders.png
-
-post-build:
-	@(cd ${WRKSRC}/src/ui/sound && \
-		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
-		${MAKE_ARGS} oss)
+.if defined(WITHOUT_SDL)
+ALL_TARGET=	freebsd-x
+STELLA_BIN=	stella.x11
+.else
+USE_SDL=	yes
+ALL_TARGET=	freebsd-sdl
+STELLA_BIN=	stella.sdl
+.endif
 
 do-install:
-.for exe in src/build/stella.x11 src/ui/sound/stella-sound
-	${INSTALL_PROGRAM} ${WRKSRC}/${exe} ${PREFIX}/bin/
-.endfor
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${DATADIR}/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/build/${STELLA_BIN} ${PREFIX}/bin
+	@${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${DATADIR}
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for doc in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
-.endfor
-	${MKDIR} ${DOCSDIR}/graphics
-.for gfx in ${GFX}
-	${INSTALL_DATA} ${WRKSRC}/${gfx} ${DOCSDIR}/graphics/
-.endfor
+	@${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC}/docs && ${FIND} . | \
+		cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/emulators/stella/distinfo emulators/stella/distinfo
--- /usr/ports/emulators/stella/distinfo	Mon Jan  6 15:58:16 2003
+++ emulators/stella/distinfo	Tue Sep 16 19:57:31 2003
@@ -1 +1 @@
-MD5 (stella-1.2-src.tar.gz) = 2c24c0fa2655a597b9e04742485e5ed8
+MD5 (stella-1.3-src.tar.gz) = b9318f82a180ff0a404fca78511b2772
diff -urN /usr/ports/emulators/stella/files/patch-OSS.c emulators/stella/files/patch-OSS.c
--- /usr/ports/emulators/stella/files/patch-OSS.c	Tue Jan 14 18:47:54 2003
+++ emulators/stella/files/patch-OSS.c	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
---- src/ui/sound/OSS.c.orig	Tue Jan  8 17:11:32 2002
-+++ src/ui/sound/OSS.c	Mon Dec 30 04:08:03 2002
-@@ -32,12 +32,7 @@
- #include <sys/types.h>
- #include <unistd.h>
- #include <string.h>
--
--#ifdef __FreeBSD__
--  #include <machine/soundcard.h>
--#else
--  #include <sys/soundcard.h>
--#endif
-+#include <sys/soundcard.h>
- 
- #include "TIASound.h"
diff -urN /usr/ports/emulators/stella/files/patch-ac emulators/stella/files/patch-ac
--- /usr/ports/emulators/stella/files/patch-ac	Tue Jan 14 18:47:54 2003
+++ emulators/stella/files/patch-ac	Tue Sep 16 22:00:01 2003
@@ -1,6 +1,24 @@
---- src/build/makefile.orig	Mon Apr 22 09:53:19 2002
-+++ src/build/makefile	Tue Jan  7 09:08:53 2003
-@@ -66,8 +66,8 @@
+--- src/build/makefile.orig	Tue Feb 18 10:19:44 2003
++++ src/build/makefile	Tue Sep 16 21:48:28 2003
+@@ -23,7 +23,7 @@
+ ## Comment a line out to disable that option, remove comment to enable it.
+ ##============================================================================
+ 
+-OPTIMIZATIONS    = -O2 -Wall -Wno-unused
++# OPTIMIZATIONS    = -O2 -Wall -Wno-unused
+ ### to get full optimization under gcc/x Intel based OS's..
+ # OPTIMIZATIONS    = -O3 -mcpu=pentiumpro -march=pentiumpro -Wall -Wno-unused \
+ #	-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math \
+@@ -61,7 +61,7 @@
+ ### to include support for saving snapshots in png format
+ ### (requires PNG library)
+ ### Only X11 and SDL ports supported for now
+-# SNAPSHOT_SUPPORT = 1
++SNAPSHOT_SUPPORT = 1
+ 
+ ### comment this out if your system doesn't
+ ### have the gettimeofday function
+@@ -79,8 +79,8 @@
  ## No configurable options below this line ...
  ##============================================================================
  
@@ -11,7 +29,18 @@
  
  LDFLAGS = 
  LDLIBS	= 
-@@ -90,7 +90,7 @@
+@@ -92,8 +92,8 @@
+ 
+ OBJS.SDL   =
+ OPTS.SDL   =
+-LIBS.SDL   = `sdl-config --libs`
+-CFLAGS.SDL = `sdl-config --cflags`
++LIBS.SDL   = `${SDL_CONFIG} --libs`
++CFLAGS.SDL = `${SDL_CONFIG} --cflags`
+ 
+ OPTS.DOS   =
+ 
+@@ -103,7 +103,7 @@
  
  INCLUDES = -I. -I$(CORE) -I$(CORE)/m6502/src -I$(CORE)/m6502/src/bspf/src -I$(UI)/common
  
@@ -20,19 +49,36 @@
  
  ## set the user-defined options
  ifdef BSPF_BOOL
-@@ -216,6 +216,15 @@
-           LDFLAGS+="$(CFLAGS.X11)" \
-           LDLIBS="-lX11 -lXext" \
+@@ -265,6 +265,32 @@
            LDLIBS+="$(LIBS.X11)" \
-+          OBJS="mainX11.o SndUnix.o"
+           OBJS="mainX11.o"
+           OBJS+="$(OBJS.X11)"
 +
 +freebsd-x:
 +	$(MAKE) stella.x11 \
 +          INCLUDES="$(INCLUDES) -I$(UI)/x11 -I$(UI)/sound" \
-+          SYS_INCLUDES="-I$(X11BASE)/include" \
-+          OPTIONS="-DBSPF_UNIX -DSHOW_TIMING" \
-+          LDFLAGS="-L$(X11BASE)/lib" \
++          SYS_INCLUDES="-I$(X11BASE)/include -I$(LOCALBASE)/include/libpng" \
++          OPTIONS="-DBSPF_UNIX=1" \
++          OPTIONS+="$(OPTS.X11)" \
++          LDFLAGS="-L$(X11BASE)/lib -L$(LOCALBASE)/lib" \
++          LDFLAGS+="$(CFLAGS.X11)" \
++          LDLIBS="-lX11 -lXext" \
++          LDLIBS+="$(LIBS.X11)" \
++          OBJS="mainX11.o" \
++          OBJS+="$(OBJS.X11)"
++
++freebsd-sdl:
++	$(MAKE) stella.sdl \
++          INCLUDES="$(INCLUDES) -I$(UI)/sdl -I$(UI)/sound" \
++          SYS_INCLUDES="-I$(X11BASE)/include -I$(LOCALBASE)/include/libpng" \
++          OPTIONS="-DBSPF_UNIX=1" \
++          OPTIONS+="$(OPTS.SDL)" \
++          LDFLAGS="-L$(X11BASE)/lib -L$(LOCALBASE)/lib" \
++          LDFLAGS+="$(CFLAGS.SDL)" \
 +          LDLIBS="-lX11 -lXext" \
-           OBJS="mainX11.o SndUnix.o"
++          LDLIBS+="$(LIBS.SDL)" \
++          OBJS="mainSDL.o RectList.o" \
++          OBJS+="$(OBJS.SDL)"
  
  ###############################################################################
+ ## List of "core" object files
diff -urN /usr/ports/emulators/stella/files/patch-ad emulators/stella/files/patch-ad
--- /usr/ports/emulators/stella/files/patch-ad	Tue Jan 14 18:47:54 2003
+++ emulators/stella/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,16 +0,0 @@
---- src/ui/sound/TIASound.c.orig	Sun Jan 21 11:26:38 2001
-+++ src/ui/sound/TIASound.c	Mon Jan 22 06:37:37 2001
-@@ -168,10 +168,12 @@
-    uint8 chan;
-    int16 n;
- 
-+   srandom(time(NULL));
-+
-    /* fill the 9bit polynomial with random bits */
-    for (n=0; n<POLY9_SIZE; n++)
-    {
--      Bit9[n] = rand() & 0x01;       /* fill poly9 with random bits */
-+      Bit9[n] = random() & 0x01;       /* fill poly9 with random bits */
-    }
- 
-    /* calculate the sample 'divide by N' value based on the playback freq. */
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::Props.cxx emulators/stella/files/patch-src::emucore::Props.cxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::Props.cxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::Props.cxx	Wed Sep 17 00:42:46 2003
@@ -0,0 +1,38 @@
+--- src/emucore/Props.cxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/Props.cxx	Wed Sep 17 00:42:05 2003
+@@ -103,7 +103,7 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-void Properties::load(istream& in)
++void Properties::load(std::istream& in)
+ {
+   // Empty my property array
+   mySize = 0;
+@@ -146,7 +146,7 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-void Properties::save(ostream& out)
++void Properties::save(std::ostream& out)
+ {
+   // Write out each of the key and value pairs
+   for(uInt32 i = 0; i < mySize; ++i)
+@@ -164,7 +164,7 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-string Properties::readQuotedString(istream& in)
++string Properties::readQuotedString(std::istream& in)
+ {
+   char c;
+ 
+@@ -205,7 +205,7 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-void Properties::writeQuotedString(ostream& out, const string& s)
++void Properties::writeQuotedString(std::ostream& out, const string& s)
+ {
+   out.put('"');
+   for(uInt32 i = 0; i < s.length(); ++i)
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::Props.hxx emulators/stella/files/patch-src::emucore::Props.hxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::Props.hxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::Props.hxx	Wed Sep 17 00:42:58 2003
@@ -0,0 +1,37 @@
+--- src/emucore/Props.hxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/Props.hxx	Wed Sep 17 00:42:29 2003
+@@ -79,14 +79,14 @@
+ 
+       @param in The input stream to use
+     */
+-    void load(istream& in);
++    void load(std::istream& in);
+  
+     /**
+       Save properties to the specified output stream
+ 
+       @param out The output stream to use
+     */
+-    void save(ostream& out);
++    void save(std::ostream& out);
+ 
+     /**
+       Merge the given properties into this properties object
+@@ -103,7 +103,7 @@
+       @param in The input stream to use
+       @return The string inside the quotes
+     */ 
+-    static string readQuotedString(istream& in);
++    static string readQuotedString(std::istream& in);
+      
+     /**
+       Write the specified string to the given output stream as a 
+@@ -112,7 +112,7 @@
+       @param out The output stream to use
+       @param s The string to output
+     */ 
+-    static void writeQuotedString(ostream& out, const string& s);
++    static void writeQuotedString(std::ostream& out, const string& s);
+ 
+   public:
+     /**
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::PropsSet.cxx emulators/stella/files/patch-src::emucore::PropsSet.cxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::PropsSet.cxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::PropsSet.cxx	Wed Sep 17 00:47:56 2003
@@ -0,0 +1,19 @@
+--- src/emucore/PropsSet.cxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/PropsSet.cxx	Wed Sep 17 00:47:25 2003
+@@ -203,14 +203,14 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-void PropertiesSet::save(ostream& out)
++void PropertiesSet::save(std::ostream& out)
+ {
+   saveNode(out, myRoot);
+ }
+ 
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-void PropertiesSet::saveNode(ostream& out, TreeNode *node)
++void PropertiesSet::saveNode(std::ostream& out, TreeNode *node)
+ {
+   if(node)
+   {
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::PropsSet.hxx emulators/stella/files/patch-src::emucore::PropsSet.hxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::PropsSet.hxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::PropsSet.hxx	Wed Sep 17 00:47:47 2003
@@ -0,0 +1,20 @@
+--- src/emucore/PropsSet.hxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/PropsSet.hxx	Wed Sep 17 00:47:27 2003
+@@ -75,7 +75,7 @@
+ 
+       @param out The output stream to use
+     */
+-    void save(ostream& out);
++    void save(std::ostream& out);
+ 
+     /**
+       Get the number of properties in the collection.
+@@ -134,7 +134,7 @@
+       @param out The output stream to use
+       @param node The current subroot of the tree
+     */
+-    void saveNode(ostream& out, TreeNode *node);
++    void saveNode(std::ostream& out, TreeNode *node);
+ 
+     // The root of the BST
+     TreeNode* myRoot;
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::TIASound.c emulators/stella/files/patch-src::emucore::TIASound.c
--- /usr/ports/emulators/stella/files/patch-src::emucore::TIASound.c	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::TIASound.c	Tue Sep 16 20:12:20 2003
@@ -0,0 +1,16 @@
+--- src/emucore/TIASound.c.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/TIASound.c	Tue Sep 16 20:12:00 2003
+@@ -172,10 +172,12 @@
+    uint8 chan;
+    int16 n;
+ 
++   srandom(time(NULL));
++
+    /* fill the 9bit polynomial with random bits */
+    for (n=0; n<POLY9_SIZE; n++)
+    {
+-      Bit9[n] = rand() & 0x01;       /* fill poly9 with random bits */
++      Bit9[n] = random() & 0x01;       /* fill poly9 with random bits */
+    }
+ 
+    /* calculate the sample 'divide by N' value based on the playback freq. */
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::m6502::src::M6502.cxx emulators/stella/files/patch-src::emucore::m6502::src::M6502.cxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::m6502::src::M6502.cxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::m6502::src::M6502.cxx	Wed Sep 17 00:55:45 2003
@@ -0,0 +1,11 @@
+--- src/emucore/m6502/src/M6502.cxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/m6502/src/M6502.cxx	Wed Sep 17 00:45:41 2003
+@@ -128,7 +128,7 @@
+ }
+ 
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+-ostream& operator<<(ostream& out, const M6502::AddressingMode& mode)
++std::ostream& operator<<(std::ostream& out, const M6502::AddressingMode& mode)
+ {
+   switch(mode)
+   {
diff -urN /usr/ports/emulators/stella/files/patch-src::emucore::m6502::src::M6502.hxx emulators/stella/files/patch-src::emucore::m6502::src::M6502.hxx
--- /usr/ports/emulators/stella/files/patch-src::emucore::m6502::src::M6502.hxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::emucore::m6502::src::M6502.hxx	Wed Sep 17 00:55:24 2003
@@ -0,0 +1,11 @@
+--- src/emucore/m6502/src/M6502.hxx.orig	Tue Feb 18 10:19:44 2003
++++ src/emucore/m6502/src/M6502.hxx	Wed Sep 17 00:45:41 2003
+@@ -164,7 +164,7 @@
+       @param out The stream to output the addressing mode to
+       @param mode The addressing mode to output
+     */
+-    friend ostream& operator<<(ostream& out, const AddressingMode& mode);
++    friend std::ostream& operator<<(std::ostream& out, const AddressingMode& mode);
+ 
+   protected:
+     /**
diff -urN /usr/ports/emulators/stella/files/patch-src::ui::common::Settiongs.cxx emulators/stella/files/patch-src::ui::common::Settiongs.cxx
--- /usr/ports/emulators/stella/files/patch-src::ui::common::Settiongs.cxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::ui::common::Settiongs.cxx	Wed Sep 17 00:41:37 2003
@@ -0,0 +1,11 @@
+--- src/ui/common/Settings.cxx.orig	Tue Feb 18 10:19:45 2003
++++ src/ui/common/Settings.cxx	Wed Sep 17 00:40:23 2003
+@@ -247,7 +247,7 @@
+   return true;
+ }
+ 
+-void Settings::handleRCFile(istream& in)
++void Settings::handleRCFile(std::istream& in)
+ {
+   string line, key, value;
+   uInt32 equalPos;
diff -urN /usr/ports/emulators/stella/files/patch-src::ui::common::Settiongs.hxx emulators/stella/files/patch-src::ui::common::Settiongs.hxx
--- /usr/ports/emulators/stella/files/patch-src::ui::common::Settiongs.hxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::ui::common::Settiongs.hxx	Wed Sep 17 00:41:48 2003
@@ -0,0 +1,11 @@
+--- src/ui/common/Settings.hxx.orig	Tue Feb 18 10:19:45 2003
++++ src/ui/common/Settings.hxx	Wed Sep 17 00:40:23 2003
+@@ -32,7 +32,7 @@
+     ~Settings();
+ 
+     bool handleCommandLineArgs(int ac, char* av[]);
+-    void handleRCFile(istream& in);
++    void handleRCFile(std::istream& in);
+ 
+   public:
+     // Indicates whether to use fullscreen
diff -urN /usr/ports/emulators/stella/files/patch-src::ui::sound::SoundOSS.cxx emulators/stella/files/patch-src::ui::sound::SoundOSS.cxx
--- /usr/ports/emulators/stella/files/patch-src::ui::sound::SoundOSS.cxx	Thu Jan  1 09:00:00 1970
+++ emulators/stella/files/patch-src::ui::sound::SoundOSS.cxx	Tue Sep 16 20:10:29 2003
@@ -0,0 +1,15 @@
+--- src/ui/sound/SoundOSS.cxx.orig	Tue Feb 18 10:19:44 2003
++++ src/ui/sound/SoundOSS.cxx	Tue Sep 16 20:10:20 2003
+@@ -22,11 +22,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ 
+-#ifdef __FreeBSD__
+-  #include <machine/soundcard.h>
+-#else
+-  #include <sys/soundcard.h>
+-#endif
++#include <sys/soundcard.h>
+ 
+ #define DSP_DEVICE "/dev/dsp"
+ #define MIXER_DEVICE "/dev/mixer"
diff -urN /usr/ports/emulators/stella/files/patch-src::ui::sound::makefile emulators/stella/files/patch-src::ui::sound::makefile
--- /usr/ports/emulators/stella/files/patch-src::ui::sound::makefile	Mon Jan 13 23:29:56 2003
+++ emulators/stella/files/patch-src::ui::sound::makefile	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- src/ui/sound/makefile.orig	Fri Dec 28 04:54:36 2001
-+++ src/ui/sound/makefile	Tue Jan  7 09:10:08 2003
-@@ -1,9 +1,9 @@
- ###############################################################################
- ## C compiler to use
- ###############################################################################
--CC = gcc
-+CC ?= gcc
- 
--CFLAGS = -DWIN32 -O -ansi -Wall
-+CFLAGS += -DWIN32
- 
- OBJS = TIASound.o
- 
diff -urN /usr/ports/emulators/stella/pkg-plist emulators/stella/pkg-plist
--- /usr/ports/emulators/stella/pkg-plist	Mon Jan  6 15:58:16 2003
+++ emulators/stella/pkg-plist	Tue Sep 16 22:11:49 2003
@@ -1,14 +1,13 @@
-bin/stella.x11
-bin/stella-sound
-share/stella/stella.pro
- at dirrm share/stella
-share/doc/stella/graphics/chucky_cheese.png
-share/doc/stella/graphics/circuit.png
-share/doc/stella/graphics/console.png
-share/doc/stella/graphics/jr_pacman.png
-share/doc/stella/graphics/pacman.png
-share/doc/stella/graphics/secret_quest.png
-share/doc/stella/graphics/space_invaders.png
- at dirrm share/doc/stella/graphics
-share/doc/stella/stella.html
- at dirrm share/doc/stella
+bin/%%STELLA_BIN%%
+%%PORTDOCS%%%%DOCSDIR%%/graphics/chucky_cheese.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/circuit.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/console.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/jr_pacman.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/pacman.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/secret_quest.png
+%%PORTDOCS%%%%DOCSDIR%%/graphics/space_invaders.png
+%%PORTDOCS%%%%DOCSDIR%%/stella.html
+%%DATADIR%%/stella.pro
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/graphics
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list