summaryrefslogtreecommitdiff
path: root/emulators/dosbox
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-06-03 14:35:23 +0000
committerwiz <wiz@pkgsrc.org>2003-06-03 14:35:23 +0000
commit955be09b26a9ff8a64663ceec837230e9c02f628 (patch)
tree14a99bda4f3e5f8054f40f533c046d4ee6fb71e7 /emulators/dosbox
parent47b006c8e78925f1def6c7c32a3235e9953137c7 (diff)
downloadpkgsrc-955be09b26a9ff8a64663ceec837230e9c02f628.tar.gz
Initial import of dosbox, provided by Quentin Garnier via pkgsrc-wip.
DOSBox is a DOS-emulator using SDL for easy portability to different platforms, DOSBox has already been ported to several different platforms, such as Windows, BeOS, Linux, Mac OS X... DOSBox emulates a 286/386 realmode CPU, Directory FileSystem/XMS/EMS, a SoundBlaster card for excellent sound compatibility with older games... You can "re-live" the good old days with the help of DOSBox, it can run plenty of the old classics that don't run on your new computer !
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/DESCR12
-rw-r--r--emulators/dosbox/Makefile24
-rw-r--r--emulators/dosbox/PLIST5
-rw-r--r--emulators/dosbox/distinfo5
-rw-r--r--emulators/dosbox/patches/patch-aa13
5 files changed, 59 insertions, 0 deletions
diff --git a/emulators/dosbox/DESCR b/emulators/dosbox/DESCR
new file mode 100644
index 00000000000..169fe578292
--- /dev/null
+++ b/emulators/dosbox/DESCR
@@ -0,0 +1,12 @@
+DOSBox is a DOS-emulator using SDL for easy portability to
+different platforms, DOSBox has already been ported to
+several different platforms, such as Windows, BeOS, Linux,
+Mac OS X...
+
+DOSBox emulates a 286/386 realmode CPU, Directory
+FileSystem/XMS/EMS, a SoundBlaster card for excellent sound
+compatibility with older games...
+
+You can "re-live" the good old days with the help of
+DOSBox, it can run plenty of the old classics that don't
+run on your new computer !
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
new file mode 100644
index 00000000000..a48728a5207
--- /dev/null
+++ b/emulators/dosbox/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/03 14:35:23 wiz Exp $
+#
+
+DISTNAME= dosbox-0.58
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/}
+
+MAINTAINER= cube@cubidou.net
+HOMEPAGE= http://dosbox.sourceforge.net/
+COMMENT= multi-platform DOS emulator using SDL
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+
+post-patch:
+ ${SED} -e s,/usr/share,${PREFIX}, ${WRKSRC}/docs/dosbox.1 > ${WRKSRC}/docs/dosbox.1.sed
+ ${MV} ${WRKSRC}/docs/dosbox.1.sed ${WRKSRC}/docs/dosbox.1
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dosbox
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
+
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/dosbox/PLIST b/emulators/dosbox/PLIST
new file mode 100644
index 00000000000..2dba94046a8
--- /dev/null
+++ b/emulators/dosbox/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/03 14:35:23 wiz Exp $
+bin/dosbox
+man/man1/dosbox.1
+share/doc/dosbox/README
+@dirrm share/doc/dosbox
diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo
new file mode 100644
index 00000000000..424e6c415c6
--- /dev/null
+++ b/emulators/dosbox/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/03 14:35:23 wiz Exp $
+
+SHA1 (dosbox-0.58.tar.gz) = 42174dee95fbdce7b0f9d74cf94faaf0fbd50440
+Size (dosbox-0.58.tar.gz) = 421487 bytes
+SHA1 (patch-aa) = 474dc4e3c7f12b64279caa20ba97b51e19e9d2e5
diff --git a/emulators/dosbox/patches/patch-aa b/emulators/dosbox/patches/patch-aa
new file mode 100644
index 00000000000..b80072860fb
--- /dev/null
+++ b/emulators/dosbox/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/03 14:35:23 wiz Exp $
+
+--- src/gui/sdlmain.cpp.orig 2003-03-31 12:10:13.000000000 +0200
++++ src/gui/sdlmain.cpp
+@@ -39,7 +39,7 @@
+ //#define DISABLE_JOYSTICK
+ #define C_GFXTHREADED 1 //Enabled by default
+
+-#if defined(MACOSX)
++#if defined(MACOSX) || defined(__NetBSD__)
+ extern char** environ;
+ #endif
+