Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 02:18:53 -0700 (PDT)
From:      Knyghtmare <knyghtmare@knyghtmare.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41082: New port: emulators/dosbox - emulator of a PC running DOS
Message-ID:  <200207280918.g6S9IrQY096260@www.freebsd.org>

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

>Number:         41082
>Category:       ports
>Synopsis:       New port: emulators/dosbox - emulator of a PC running DOS
>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:   Sun Jul 28 02:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Knyghtmare
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:
System: FreeBSD knyghtmare.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jul 16 21:23:51 BST 2002 knyghtmare@knyghtmare.com:/usr/obj/usr/src/sys/KNYGHTMARE.COM i386
>Description:
     DOSBox is an emulator of a PC with dos.
The main focus of this project is emulating old dos games using the 
local file system for files.
>How-To-Repeat:

>Fix:
--- dosbox.shar begins here ---
# 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:
#
#       dosbox
#       dosbox/Makefile
#       dosbox/distinfo
#       dosbox/pkg-comment
#       dosbox/pkg-plist
#       dosbox/pkg-descr
#       dosbox/files
#       dosbox/files/patch-ab
#       dosbox/files/patch-ac
#       dosbox/files/patch-aa
#
echo c - dosbox
mkdir -p dosbox > /dev/null 2>&1
echo x - dosbox/Makefile
sed 's/^X//' >dosbox/Makefile << 'END-of-dosbox/Makefile'
X# New ports collection makefile for:   dosbox
X# Date created:        28 July 2002
X# Whom:                Tom Carrick <knyghtmare@knyghtmare.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      dosbox
XPORTVERSION=   0.50
XCATEGORIES=    emulators
XMASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=    ${PORTNAME}
X
XMAINTAINER=    Tom Carrick <knyghtmare@knyghtmare.com>
X
XLIB_DEPENDS=    SDL-1.1.4:${PORTSDIR}/devel/sdl12
X
XSDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}"
X
Xdo-install:
X       ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORT
NAME}
X
X.if !defined(NOPORTDOCS)
X       ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X       ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
X.endif
X
Xpost-install:
X       @${ECHO_CMD} "================================================="
X       @${ECHO_CMD} "Be sure to read the README for usage instructions"
X       @${ECHO_CMD} "located in /usr/local/share/doc/dosbox by default"
X       @${ECHO_CMD} "================================================="
X
X.include <bsd.port.mk>
END-of-dosbox/Makefile
echo x - dosbox/distinfo
sed 's/^X//' >dosbox/distinfo << 'END-of-dosbox/distinfo'
XMD5 (dosbox-0.50.tar.gz) = 83b2b706f306410c258867a48f610181
END-of-dosbox/distinfo
echo x - dosbox/pkg-comment
sed 's/^X//' >dosbox/pkg-comment << 'END-of-dosbox/pkg-comment'
XAn emulator of a PC with DOS
END-of-dosbox/pkg-comment
echo x - dosbox/pkg-plist
sed 's/^X//' >dosbox/pkg-plist << 'END-of-dosbox/pkg-plist'
Xbin/dosbox
X%%PORTDOCS%%share/doc/dosbox/README
X%%PORTDOCS%%@dirrm share/doc/dosbox
END-of-dosbox/pkg-plist
echo x - dosbox/pkg-descr
sed 's/^X//' >dosbox/pkg-descr << 'END-of-dosbox/pkg-descr'
XDOSBox is an emulator of a PC with dos.
XThe main focus of this project is emulating old dos games using the 
Xlocal file system for files.
X
XCurrently emulated is:
X
Xo CPU:286/386 realmode
Xo GFX:VGA/EGS/CGA
Xo SND:PC-Speaker/Tandy 3-Voice/Adlib/SoundBlaster
Xo MSC:Keyboard/Mouse
Xo DOS:Director FileSystem/XMS/EMS
X
X
XWWW: http://dosbox.zophar.net/
END-of-dosbox/pkg-descr
echo c - dosbox/files
mkdir -p dosbox/files > /dev/null 2>&1
echo x - dosbox/files/patch-ab
sed 's/^X//' >dosbox/files/patch-ab << 'END-of-dosbox/files/patch-ab'
X--- src/gui/sdlmain.cpp.orig   Sun Jul 28 08:27:31 2002
X+++ src/gui/sdlmain.cpp        Sun Jul 28 08:28:30 2002
X@@ -18,8 +18,8 @@
X 
X #include <string.h>
X #include <stdio.h>
X-#include <SDL/SDL.h>
X-#include <SDL/SDL_thread.h>
X+#include <SDL11/SDL.h>
X+#include <SDL11/SDL_thread.h>
X #include "dosbox.h"
X #include "video.h"
X #include "keyboard.h"
X@@ -510,4 +510,4 @@
X       
X 
X       return 0;
X-};
X+};
END-of-dosbox/files/patch-ab
echo x - dosbox/files/patch-ac
sed 's/^X//' >dosbox/files/patch-ac << 'END-of-dosbox/files/patch-ac'
X--- src/hardware/mixer.cpp.orig        Sun Jul 28 08:27:26 2002
X+++ src/hardware/mixer.cpp     Sun Jul 28 08:28:50 2002
X@@ -22,7 +22,7 @@
X */
X 
X #include <string.h>
X-#include <SDL/SDL.h>
X+#include <SDL11/SDL.h>
X #include "dosbox.h"
X #include "mixer.h"
X #include "timer.h"
END-of-dosbox/files/patch-ac
echo x - dosbox/files/patch-aa
sed 's/^X//' >dosbox/files/patch-aa << 'END-of-dosbox/files/patch-aa'
X--- include/timer.h.orig       Sun Jul 28 08:27:36 2002
X+++ include/timer.h    Sun Jul 28 08:28:11 2002
X@@ -19,7 +19,7 @@
X #ifndef _TIMER_H_
X #define _TIMER_H_
X /* underlying clock rate in HZ */
X-#include <SDL/SDL.h>
X+#include <SDL11/SDL.h>
X 
X extern Bit32u LastTicks;
X #define GetTicks() SDL_GetTicks()
END-of-dosbox/files/patch-aa
exit
--- dosbox.shar ends here ---
>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?200207280918.g6S9IrQY096260>