summaryrefslogtreecommitdiff
path: root/emulators/dosbox
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-26 00:03:00 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-26 00:03:00 +0000
commit900ee8b130392d860ef7739efa36ad999a134010 (patch)
treed857b248d5d3eeb0d38217783481a18786a28a89 /emulators/dosbox
parentfix build on CURRENT (diff)
a) Update from 0.55 to 0.58
b) small clean-up PR: 52127 Submitted by: Tom Carrick <knyghtmare@knyghtmare.com> (maintainer)
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/Makefile11
-rw-r--r--emulators/dosbox/distinfo2
-rw-r--r--emulators/dosbox/files/patch-src::misc::messages.cpp12
-rw-r--r--emulators/dosbox/pkg-plist2
4 files changed, 6 insertions, 21 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 68defc88f6b9..c61fe17b9fec 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dosbox
-PORTVERSION= 0.55
-PORTREVISON= 1
+PORTVERSION= 0.58
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,15 +24,15 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
USE_REINPLACE= yes
post-patch:
- ${REINPLACE_CMD} -e 's#<SDL/#<SDL11/#' ${WRKSRC}/include/timer.h \
+ @${REINPLACE_CMD} -e 's#"SDL.h"#<SDL11/SDL.h>#' \
${WRKSRC}/src/gui/sdlmain.cpp ${WRKSRC}/src/hardware/mixer.cpp
- ${REINPLACE_CMD} -e "s#@@PREFIX@@#${PREFIX}#" \
- ${WRKSRC}/src/misc/messages.cpp
+ @${REINPLACE_CMD} -e 's#<SDL.h>#<SDL11/SDL.h>#' ${WRKSRC}/include/timer.h
+ @${REINPLACE_CMD} -e 's#"SDL_thread.h"#<SDL11/SDL_thread.h>#' \
+ ${WRKSRC}/src/gui/sdlmain.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
${MKDIR} ${PREFIX}/share/dosbox
- ${INSTALL_DATA} ${WRKSRC}/src/dosbox.lang ${PREFIX}/share/dosbox
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/dosbox
${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/dosbox
diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo
index 820364bf53aa..cc670c3b26cc 100644
--- a/emulators/dosbox/distinfo
+++ b/emulators/dosbox/distinfo
@@ -1 +1 @@
-MD5 (dosbox-0.55.tar.gz) = b3daf143cb27f9d43b0683c39e26951a
+MD5 (dosbox-0.58.tar.gz) = 91c49a597134f35f899d32a8b253205b
diff --git a/emulators/dosbox/files/patch-src::misc::messages.cpp b/emulators/dosbox/files/patch-src::misc::messages.cpp
deleted file mode 100644
index e319c6e27ff5..000000000000
--- a/emulators/dosbox/files/patch-src::misc::messages.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/misc/messages.cpp.orig Tue Jul 30 15:13:10 2002
-+++ src/misc/messages.cpp Tue Sep 3 09:29:12 2002
-@@ -101,7 +101,7 @@
- /* Load the messages from "dosbox.lang file" */
- first_message=0;
- char filein[CROSS_LEN];
-- strcpy(filein,dosbox_basedir);
-- strcat(filein,"dosbox.lang");
-+ strcpy(filein,"@@PREFIX@@/share/dosbox/dosbox.lang");
-+/* strcat(filein,"dosbox.lang"); */
- LoadMessageFile(filein);
- }
diff --git a/emulators/dosbox/pkg-plist b/emulators/dosbox/pkg-plist
index 5e8f980652db..c181725bafaf 100644
--- a/emulators/dosbox/pkg-plist
+++ b/emulators/dosbox/pkg-plist
@@ -1,6 +1,4 @@
bin/dosbox
-share/dosbox/dosbox.lang
-@dirrm share/dosbox
%%PORTDOCS%%share/doc/dosbox/NEWS
%%PORTDOCS%%share/doc/dosbox/README
%%PORTDOCS%%@dirrm share/doc/dosbox