Date: Mon, 11 Jun 2001 09:08:24 -0700 (PDT) From: tkato@prontomail.com To: freebsd-gnats-submit@FreeBSD.org Subject: ports/28043: Update port: emulators/atari800 to 1.0.7 Message-ID: <200106111608.f5BG8Ov80292@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 28043 >Category: ports >Synopsis: Update port: emulators/atari800 to 1.0.7 >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: Mon Jun 11 09:10:08 PDT 2001 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.3-RELEASE i386 >Organization: >Environment: >Description: Update port: emulators/atari800 to 1.0.7 - Update to version 1.0.7 Remove file: files/patch-ab files/patch-ac files/patch-ad files/patch-ae >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/atari800/Makefile emulators/atari800/Makefile --- /usr/ports/emulators/atari800/Makefile Wed Feb 14 14:42:58 2001 +++ emulators/atari800/Makefile Fri Jun 8 23:27:36 2001 @@ -6,72 +6,58 @@ # PORTNAME= atari800 -PORTVERSION= 0.8.6 -PORTREVISION= 1 +PORTVERSION= 1.0.7 CATEGORIES= emulators -MASTER_SITES= http://www.signus.demon.co.uk/Software/Portable/Atari800e/ \ - http://cas3.zlin.vutbr.cz/~stehlik/a800/ -DISTNAME= Atari800-${PORTVERSION} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_FILES} +MASTER_SITES= ftp://ftp.sophics.cz/pub/Atari800/src/ \ + http://joy.sophics.cz/www/ +DISTFILES= a800s${PORTVERSION:S/.//g}.zip xf25.zip +EXTRACT_ONLY= a800s${PORTVERSION:S/.//g}.zip +DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip - -DIST_SUBDIR= atari -EXTRA_FILES= xf25.zip -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -ALL_TARGET= freebsd-x11 - RESTRICTED= "xf25 contains copyright ROMs and cannot be distributed." NO_PACKAGE= ${RESTRICTED} -ATARI_DOC= ${PREFIX}/share/doc/atari -ATARI_XF= ataribas.rom atariosb.rom atarixl.rom demos1.xfd \ - demos2.xfd dos25.xfd mydos45d.atr -ATARI_LIB= ${PREFIX}/share/atari -SED_CONFIG= ${ATARI_LIB:S/\//\\\//g} -DOC_FILES= BUGS CHANGES CREDITS INSTALL README TODO USAGE +WRKSRC= ${WRKDIR}/Atari800-${PORTVERSION}/src +USE_ZIP= yes +USE_XLIB= yes +USE_GMAKE= yes + +.if defined(WITH_SHM) +ALL_TARGET= x11-shm +.else +ALL_TARGET= x11 +.endif MAN1= atari800.1 -post-extract: - @${ECHO_MSG} "===> Unzipping ROM files" - unzip -q -L -o ${_DISTDIR}/${EXTRA_FILES} ${ATARI_XF} -d ${WRKSRC} - @${ECHO_MSG} "===> Processing configuration file" - ${SED} "s/GUMBY/${SED_CONFIG}/g" < ${FILESDIR}/atari800.cfg \ - > ${WRKSRC}/atari800.cfg - - @${ECHO_MSG} "===> Copying config.h to work directory" - ${CP} ${FILESDIR}/config.h ${WRKSRC} +ATARI_LIB= ${PREFIX}/share/${PKGBASE} +ATARI_XF= ataribas.rom atariosb.rom atarixl.rom demos1.xfd \ + demos2.xfd dos25.xfd mydos45d.atr +ATARI_DOC= ${PREFIX}/share/doc/${PKGBASE} +DOC_FILES= BUGS CHANGES CREDITS FAQ INSTALL README TODO USAGE - @${ECHO_MSG} "===> Copying UNIX makefile" - ${CP} ${WRKSRC}/Makefile.unix ${WRKSRC}/Makefile +post-extract: + @unzip -q -L -o ${_DISTDIR}/xf25.zip ${ATARI_XF} -d ${WRKSRC} post-patch: - @${ECHO_MSG} "===> Processing another configuration file" - ${CP} ${WRKSRC}/rt-config.c ${WRKSRC}/rt-config.c.temp - ${SED} "s/GUMBY/${SED_CONFIG}/g" <${WRKSRC}/rt-config.c.temp \ - > ${WRKSRC}/rt-config.c + @${LN} -sf Makefile.unix ${WRKSRC}/Makefile + @${CP} ${FILESDIR}/config.h ${WRKSRC} + @${TOUCH} ${WRKSRC}/.atari800 + @${SED} -e 's:GUMBY:${ATARI_LIB}:g' \ + ${FILESDIR}/atari800.cfg > ${WRKSRC}/atari800.cfg -# Install roms, extra docs and config file. -# post-install: - @${ECHO_MSG} "===> Installing files from xf25.zip" - -${MKDIR} ${ATARI_LIB} + @${MKDIR} ${ATARI_LIB} + ${INSTALL_DATA} -m 664 ${WRKSRC}/atari800.cfg ${ATARI_LIB} .for file in ${ATARI_XF} ${INSTALL_DATA} ${WRKSRC}/${file} ${ATARI_LIB} .endfor - - @${ECHO_MSG} "===> Installing configuration file" - ${INSTALL_DATA} -m 664 ${WRKSRC}/atari800.cfg ${ATARI_LIB} - .if !defined(NOPORTDOCS) - @${ECHO_MSG} "===> Installing distribution document files" - -${MKDIR} ${ATARI_DOC} + @${MKDIR} ${ATARI_DOC} .for file in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${ATARI_DOC} + ${INSTALL_DATA} ${WRKSRC}/../DOC/${file} ${ATARI_DOC} .endfor ${INSTALL_DATA} ${DESCR} ${ATARI_DOC}/README.FreeBSD .endif diff -urN /usr/ports/emulators/atari800/distinfo emulators/atari800/distinfo --- /usr/ports/emulators/atari800/distinfo Wed Mar 31 01:32:35 1999 +++ emulators/atari800/distinfo Wed May 23 21:58:07 2001 @@ -1,2 +1,2 @@ -MD5 (atari/Atari800-0.8.6.tar.gz) = 1e84ececd9b68684ebebf236647d6d68 -MD5 (atari/xf25.zip) = 4dc3b6b4313e9596c4d474785a37b94d +MD5 (atari800/a800s107.zip) = 83dd41e8f2e90737627ac0c9484bd621 +MD5 (atari800/xf25.zip) = 4dc3b6b4313e9596c4d474785a37b94d diff -urN /usr/ports/emulators/atari800/files/atari800.cfg emulators/atari800/files/atari800.cfg --- /usr/ports/emulators/atari800/files/atari800.cfg Wed Oct 29 18:07:08 1997 +++ emulators/atari800/files/atari800.cfg Thu May 24 01:31:46 2001 @@ -1,4 +1,4 @@ -Atari 800 Emulator, Version 0.8.0 +Atari 800 Emulator OS/A_ROM= OS/B_ROM=GUMBY/atariosb.rom XL/XE_ROM=GUMBY/atarixl.rom @@ -16,5 +16,5 @@ DEFAULT_TV_MODE=PAL HOLD_OPTION=0 ENABLE_C000_RAM=0 +ENABLE_ROM_PATCH=1 ENABLE_SIO_PATCH=1 -ENABLE_XCOLPF1=0 diff -urN /usr/ports/emulators/atari800/files/patch-aa emulators/atari800/files/patch-aa --- /usr/ports/emulators/atari800/files/patch-aa Sat Nov 11 15:08:41 2000 +++ emulators/atari800/files/patch-aa Thu May 24 00:20:42 2001 @@ -1,60 +1,44 @@ ---- Makefile.unix Sat Feb 21 10:39:13 1998 -+++ Makefile Wed Nov 8 01:54:54 2000 -@@ -4,14 +4,14 @@ - # if they cause a problem on your system. - # - --CC = gcc -+CC ?= gcc - CPPFLAGS = $(OTHER) --CFLAGS = -c -O6 -DGNU_C --LD = gcc -+CFLAGS += -c -DGNU_C -+LD = $(CC) - LDFLAGS = - LDLIBS = -lm +--- Makefile.unix.orig Wed Apr 4 07:35:36 2001 ++++ Makefile.unix Wed May 23 23:29:50 2001 +@@ -1,11 +1,11 @@ + # $Id: Makefile.unix,v 1.5 2001/04/04 05:35:36 knik Exp $ + +-CC = gcc ++CC ?= gcc + EXE= +-CFLAGS = -O2 -Wall +-DEFS = ++CFLAGS ?= -O2 -Wall ++DEFS = -DDEFAULT_CFG_PATH=\\"\"${PREFIX}/share/atari800/atari800.cfg\\"\" -PREFIX = /usr/local -+PREFIX?= /usr/local ++PREFIX ?= /usr/local BIN_PATH = ${PREFIX}/bin LIB_PATH = ${PREFIX}/lib MAN_PATH = ${PREFIX}/man -@@ -195,16 +195,16 @@ - OBJ="atari_curses.o" +@@ -72,13 +72,13 @@ - freebsd-x11 : -- make atari800 \ -- CPPFLAGS="-I/usr/X11R6/include" \ -- LDFLAGS="-L/usr/X11R6/lib" \ -+ $(MAKE) atari800 \ -+ CPPFLAGS="-I${X11BASE}/include" \ -+ LDFLAGS="-L${X11BASE}/lib" \ - LDLIBS="-lX11 -lm" \ - OBJ="atari_x11.o" - - freebsd-x11-shm : -- make atari800 \ -- CPPFLAGS="-I/usr/X11R6/include -DSHM" \ -- LDFLAGS="-L/usr/X11R6/lib" \ -+ $(MAKE) atari800 \ -+ CPPFLAGS="-I${X11BASE}/include -DSHM" \ -+ LDFLAGS="-L${X11BASE}/lib" \ - LDLIBS="-lX11 -lXext -lm" \ - OBJ="atari_x11.o" - -@@ -246,7 +246,6 @@ - platform.h - - config config.h : configure -- ./configure - - configure : configure.o prompts.o - $(LD) $(LDFLAGS) configure.o prompts.o $(LDLIBS) -o configure -@@ -348,5 +347,5 @@ - chmod 4755 ${BIN_PATH}/atari800 + x11: + $(MAKE) $(TARGET) DEFS="$(DEFS) -DX11" OBJ="$(OBJ) $(XOBJ)" \ +- INCLUDE="$(INCLUDE) -I/usr/X11R6/include" \ +- LIBS="-L/usr/X11/lib -L/usr/X11R6/lib $(LIBS) -lX11" ++ INCLUDE="$(INCLUDE) -I${X11BASE}/include" \ ++ LIBS="-L${X11BASE}/lib $(LIBS) -lX11" + + x11-shm: + $(MAKE) $(TARGET) DEFS="$(DEFS) -DX11 -DSHM" OBJ="$(OBJ) $(XOBJ)" \ +- INCLUDE="$(INCLUDE) -I/usr/X11R6/include" \ +- LIBS="-L/usr/X11/lib -L/usr/X11R6/lib $(LIBS) -lX11 -lXext" ++ INCLUDE="$(INCLUDE) -I${X11BASE}/include" \ ++ LIBS="-L${X11BASE}/lib $(LIBS) -lX11 -lXext" + + hp9000-ansic-x11: + $(MAKE) $(TARGET) \ +@@ -113,5 +113,5 @@ + chmod 4755 ${BIN_PATH}/$(TARGET) install : -- cp atari800 ${BIN_PATH}/atari800 +- cp atari800 ${BIN_PATH}/$(TARGET) - cp atari800.man ${MAN_PATH}/man1/atari800.1 -+ ${BSD_INSTALL_PROGRAM} atari800 ${BIN_PATH}/atari800 ++ ${BSD_INSTALL_PROGRAM} atari800 ${BIN_PATH}/$(TARGET) + ${BSD_INSTALL_MAN} atari800.man ${MAN_PATH}/man1/atari800.1 diff -urN /usr/ports/emulators/atari800/files/patch-ab emulators/atari800/files/patch-ab --- /usr/ports/emulators/atari800/files/patch-ab Wed Mar 31 01:32:35 1999 +++ emulators/atari800/files/patch-ab Thu Jan 1 09:00:00 1970 @@ -1,29 +0,0 @@ ---- prompts.c.orig Thu Jun 18 20:20:15 1998 -+++ prompts.c Thu Jun 18 20:22:22 1998 -@@ -10,7 +10,7 @@ - char gash[128]; - - printf(message, string); -- gets(gash); -+ fgets(gash,128,stdin); - if (strlen(gash) > 0) - strcpy(string, gash); - } -@@ -20,7 +20,7 @@ - char gash[128]; - - printf(message, *num); -- gets(gash); -+ fgets(gash,128,stdin); - if (strlen(gash) > 0) - sscanf(gash, "\n%d", num); - } -@@ -32,7 +32,7 @@ - - do { - printf(message, *yn); -- gets(gash); -+ fgets(gash,128,stdin); - - if (strlen(gash) > 0) - t_yn = gash[0]; diff -urN /usr/ports/emulators/atari800/files/patch-ac emulators/atari800/files/patch-ac --- /usr/ports/emulators/atari800/files/patch-ac Wed Mar 31 01:32:35 1999 +++ emulators/atari800/files/patch-ac Thu Jan 1 09:00:00 1970 @@ -1,26 +0,0 @@ ---- monitor.c.orig Sun Feb 22 02:19:59 1998 -+++ monitor.c Thu Jun 18 21:05:50 1998 -@@ -94,10 +94,13 @@ - - printf("> "); - fflush(stdout); -- if (gets(s) == NULL) { -+ if (fgets(s,256,stdin) == NULL) { - printf("\n> CONT\n"); - strcpy(s, "CONT"); - } -+ -+ s[strlen(s)-1]='\0'; /* fgets provision */ -+ - t = get_token(s); - if (t == NULL) { - continue; -@@ -179,7 +182,7 @@ - char gash[4]; - - printf("Press return to continue: "); -- gets(gash); -+ fgets(gash,4,stdin); - nlines = 0; - } - } diff -urN /usr/ports/emulators/atari800/files/patch-ad emulators/atari800/files/patch-ad --- /usr/ports/emulators/atari800/files/patch-ad Wed Mar 31 01:32:35 1999 +++ emulators/atari800/files/patch-ad Thu Jan 1 09:00:00 1970 @@ -1,19 +0,0 @@ -*** sound.c.orig Thu Jun 18 21:57:09 1998 ---- sound.c Thu Jun 18 21:57:30 1998 -*************** -*** 5,11 **** - #ifdef VOXWARE - #include <fcntl.h> - #include <sys/ioctl.h> -! #include <sys/soundcard.h> - - #include "pokey11.h" - ---- 5,11 ---- - #ifdef VOXWARE - #include <fcntl.h> - #include <sys/ioctl.h> -! #include <machine/soundcard.h> - - #include "pokey11.h" - diff -urN /usr/ports/emulators/atari800/files/patch-ae emulators/atari800/files/patch-ae --- /usr/ports/emulators/atari800/files/patch-ae Wed Mar 31 01:32:35 1999 +++ emulators/atari800/files/patch-ae Thu Jan 1 09:00:00 1970 @@ -1,19 +0,0 @@ -*** rt-config.c.orig Wed Jul 1 19:55:57 1998 ---- rt-config.c Wed Jul 1 19:56:17 1998 -*************** -*** 32,38 **** - int enable_xcolpf1; - - static char *rtconfig_filename1 = "atari800.cfg"; -! static char *rtconfig_filename2 = "/etc/atari800.cfg"; - - int RtConfigLoad(char *rtconfig_filename) - { ---- 32,38 ---- - int enable_xcolpf1; - - static char *rtconfig_filename1 = "atari800.cfg"; -! static char *rtconfig_filename2 = "GUMBY/atari800.cfg"; - - int RtConfigLoad(char *rtconfig_filename) - { diff -urN /usr/ports/emulators/atari800/pkg-descr emulators/atari800/pkg-descr --- /usr/ports/emulators/atari800/pkg-descr Mon Feb 7 06:46:28 2000 +++ emulators/atari800/pkg-descr Thu May 24 01:39:52 2001 @@ -1,22 +1,17 @@ You've found David Firth's Atari 800 emulator which can emulate the 8-bit Atari 800 and XL series of home computers. -Please refer to /usr/local/share/doc/atari (or equivalent on your +Please refer to /usr/local/share/doc/atari800 (or equivalent on your system) for the distribution documents. A man page has also been installed. The system wide configuration file can be found at -/usr/local/lib/atari/atari800.cfg (or similar) which you will probably +/usr/local/share/atari800/atari800.cfg (or similar) which you will probably want to copy to your home directory, at some stage, to personalise the settings. -If you're at all serious about your emulator then you SHOULD check out -these URL's in the order they're written: - - http://cas3.zlin.vutbr.cz/~stehlik/a800.htm - http://www.signus.demon.co.uk/index.html - comp.sys.atari.8bit - The ROM's for the Atari computers are, unfortunately, copyright. This port will attempt to down-load another freeware Atari emulator for DOS called PC Xformer 2.5 which contains copies of these ROM files. If you would like to take a further look at XF2.5 you should find it in your distfiles directory (if it successfully down-loaded :->). + +WWW: http://joy.sophics.cz/a800/ diff -urN /usr/ports/emulators/atari800/pkg-plist emulators/atari800/pkg-plist --- /usr/ports/emulators/atari800/pkg-plist Sat Nov 11 15:08:38 2000 +++ emulators/atari800/pkg-plist Thu May 24 00:48:51 2001 @@ -1,19 +1,20 @@ bin/atari800 -share/atari/atari800.cfg -share/atari/ataribas.rom -share/atari/atariosb.rom -share/atari/atarixl.rom -share/atari/demos1.xfd -share/atari/demos2.xfd -share/atari/dos25.xfd -share/atari/mydos45d.atr -share/doc/atari/BUGS -share/doc/atari/CHANGES -share/doc/atari/CREDITS -share/doc/atari/INSTALL -share/doc/atari/README -share/doc/atari/README.FreeBSD -share/doc/atari/TODO -share/doc/atari/USAGE -@dirrm share/doc/atari -@dirrm share/atari +share/atari800/atari800.cfg +share/atari800/ataribas.rom +share/atari800/atariosb.rom +share/atari800/atarixl.rom +share/atari800/demos1.xfd +share/atari800/demos2.xfd +share/atari800/dos25.xfd +share/atari800/mydos45d.atr +%%PORTDOCS%%share/doc/atari800/BUGS +%%PORTDOCS%%share/doc/atari800/CHANGES +%%PORTDOCS%%share/doc/atari800/CREDITS +%%PORTDOCS%%share/doc/atari800/FAQ +%%PORTDOCS%%share/doc/atari800/INSTALL +%%PORTDOCS%%share/doc/atari800/README +%%PORTDOCS%%share/doc/atari800/README.FreeBSD +%%PORTDOCS%%share/doc/atari800/TODO +%%PORTDOCS%%share/doc/atari800/USAGE +%%PORTDOCS%%@dirrm share/doc/atari800 +@dirrm share/atari800 >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?200106111608.f5BG8Ov80292>