summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-07 14:54:11 +0000
committerkrion <krion@FreeBSD.org>2003-10-07 14:54:11 +0000
commit634ccbaa527749c552b1c326ca040e2ffdaf22fc (patch)
tree84463277131e0bb2d79389a7543701527c5947ad /emulators
parenteac38f9b3e765b75327328c229a0e67347d7a7bf (diff)
downloadFreeBSD-ports-634ccbaa527749c552b1c326ca040e2ffdaf22fc.zip
FreeBSD-ports-634ccbaa527749c552b1c326ca040e2ffdaf22fc.tar.gz
- Update to version 1.3.1
PR: 57702 Submitted by: Ports Fury
Diffstat (limited to 'emulators')
-rw-r--r--emulators/atari800/Makefile73
-rw-r--r--emulators/atari800/distinfo2
-rw-r--r--emulators/atari800/files/atari800.cfg12
3 files changed, 77 insertions, 10 deletions
diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile
index 4437d49..858788e8 100644
--- a/emulators/atari800/Makefile
+++ b/emulators/atari800/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= atari800
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,19 +23,77 @@ RESTRICTED= "xf25 contains copyright ROMs and cannot be distributed."
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_XLIB= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --target=x11
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= atari800.1
ATARI_XF= ataribas.rom atariosb.rom atarixl.rom demos1.xfd \
demos2.xfd dos25.xfd mydos45d.atr
-post-extract:
- @unzip -q -L -o ${DISTDIR}/${DIST_SUBDIR}/xf25.zip ${ATARI_XF} -d ${WRKSRC}
+.if defined(WITH_SDL)
+PKGNAMESUFFIX= -sdl
+USE_SDL= yes
+CONFIGURE_ARGS+= --target=sdl
+.else
+USE_XLIB= yes
+.if defined(WITHOUT_SHM)
+CONFIGURE_ARGS+= --target=x11
+.else
+CONFIGURE_ARGS+= --target=shm
+.endif
+.endif
+
+.if defined(WITH_SERIOSOUND)
+CONFIGURE_ARGS+= --enable-seriosound
+.endif
+
+.if defined(WITH_CLIPSOUND)
+CONFIGURE_ARGS+= --enable-cripsound
+.endif
+
+.if defined(WITH_SNAILMETER)
+CONFIGURE_ARGS+= --enable-snailmeter
+.endif
+
+.if defined(WITH_PAGEDATTRIB)
+CONFIGURE_ARGS+= --enable-pagedattrib
+.endif
+
+.if defined(WITH_BUFFERDLOG)
+CONFIGURE_ARGS+= --enable-bufferdlog
+.endif
+
+.if defined(WITH_DISKLED)
+CONFIGURE_ARGS+= --enable-diskled
+.endif
+
+.if defined(WITH_VERYSLOW)
+CONFIGURE_ARGS+= --enable-veryslow
+.endif
+
+.if defined(WITH_CURSORBLOCK)
+CONFIGURE_ARGS+= --enable-cursorblock
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Atari800 has the following tunable option(s):"
+ @${ECHO_MSG} " WITHOUT_SHM=yes Use X11 frontend without shared memory extensions"
+ @${ECHO_MSG} " WITH_SDL=yes Use SDL frontend"
+ @${ECHO_MSG} " WITH_SERIOSOUND=yes Use serial in/out sound"
+ @${ECHO_MSG} " WITH_CLIPSOUND=yes Use bufferd debug output"
+ @${ECHO_MSG} " WITH_SNAILMETER=yes Show how much the emulator is slower than the original"
+ @${ECHO_MSG} " WITH_PAGEDATTRIB=yes Use page-based attribute array"
+ @${ECHO_MSG} " WITH_BUFFERDLOG=yes Use buffered debug output"
+ @${ECHO_MSG} " (until the graphics mode switches back to text mode)"
+ @${ECHO_MSG} " WITH_DISKLED=yes Show disk LED emulation on screen display"
+ @${ECHO_MSG} " WITH_VERYSLOW=yes Use very slow computer support"
+ @${ECHO_MSG} " (disables generating screen completely)"
+ @${ECHO_MSG} " WITH_CURSORBLOCK=yes Using cursor/ctrl keys for keyboard joystick"
+ @${ECHO_MSG} ""
post-patch:
@${CP} ${FILESDIR}/atari800.cfg ${WRKSRC}
@@ -43,6 +101,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/rt-config.c
@${REINPLACE_CMD} -e 's|tmpnam|mkstemp|g' ${WRKSRC}/devices.c \
${WRKSRC}/compfile.c
+ @${REINPLACE_CMD} -e 's|sdl-config|$$SDL_CONFIG|g' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
+pre-configure:
+ @unzip -q -L -o ${DISTDIR}/${DIST_SUBDIR}/xf25.zip ${ATARI_XF} -d ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/atari800 ${PREFIX}/bin/atari800
diff --git a/emulators/atari800/distinfo b/emulators/atari800/distinfo
index 51950ae..2fef3e9 100644
--- a/emulators/atari800/distinfo
+++ b/emulators/atari800/distinfo
@@ -1,2 +1,2 @@
-MD5 (atari800/atari800-1.3.0.tar.gz) = 2998586f3c69f8a7e50439722e30ffc6
+MD5 (atari800/atari800-1.3.1.tar.gz) = 02c824a4648732a3646d377ee02efd7d
MD5 (atari800/xf25.zip) = 4dc3b6b4313e9596c4d474785a37b94d
diff --git a/emulators/atari800/files/atari800.cfg b/emulators/atari800/files/atari800.cfg
index 446241c..e39c253 100644
--- a/emulators/atari800/files/atari800.cfg
+++ b/emulators/atari800/files/atari800.cfg
@@ -10,11 +10,15 @@ H1_DIR=
H2_DIR=
H3_DIR=
H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
PRINT_COMMAND=lpr %s
SCREEN_REFRESH_RATIO=1
-DEFAULT_SYSTEM=Atari XL
+MACHINE_TYPE=Atari XL/XE
+RAM_SIZE=64
DEFAULT_TV_MODE=PAL
-HOLD_OPTION=0
-ENABLE_C000_RAM=0
-ENABLE_ROM_PATCH=1
+DISABLE_BASIC=1
ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
OpenPOWER on IntegriCloud