Date: Tue, 3 Sep 2002 00:30:05 -0700 (PDT) From: Stijn Hoop <stijn@win.tue.nl> To: freebsd-ports@FreeBSD.org Subject: Re: ports/41082: New port: emulators/dosbox - emulator of a PC running DOS Message-ID: <200209030730.g837U5o7047967@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/41082; it has been noted by GNATS. From: Stijn Hoop <stijn@win.tue.nl> To: knyghtmare@knyghtmare.com, freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/41082: New port: emulators/dosbox - emulator of a PC running DOS Date: Tue, 3 Sep 2002 09:22:36 +0200 Hi, Here's an updated shar of the port that - updates dosbox to 0.55 - fixes the TAB/space whitespace problem - removes the patches in favor of REINPLACE_CMD - adds a patch for the newly needed dosbox.lang portlint -a does not complain on this port. Thanks for doing the port, it saved me some time :) --Stijn --------------------------- BEGIN SHAR ------------------------------------- # 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-src::misc::messages.cpp # 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.55 XCATEGORIES= emulators XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= 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 XUSE_REINPLACE= yes X Xpre-patch: X ${REINPLACE_CMD} -e 's#<SDL/#<SDL11/#' ${WRKSRC}/include/timer.h \ X ${WRKSRC}/src/gui/sdlmain.cpp ${WRKSRC}/src/hardware/mixer.cpp X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox X ${MKDIR} ${PREFIX}/share/dosbox X ${INSTALL_DATA} ${WRKSRC}/src/dosbox.lang ${PREFIX}/share/dosbox X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/dosbox X ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/dosbox X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox 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 ${PREFIX}/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.55.tar.gz) = b3daf143cb27f9d43b0683c39e26951a 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 Xshare/dosbox/dosbox.lang X@dirrm share/dosbox X%%PORTDOCS%%share/doc/dosbox/NEWS 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 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-src::misc::messages.cpp sed 's/^X//' >dosbox/files/patch-src::misc::messages.cpp << 'END-of-dosbox/files/patch-src::misc::messages.cpp' X--- src/misc/messages.cpp.orig Tue Jul 30 15:13:10 2002 X+++ src/misc/messages.cpp Tue Sep 3 09:09:20 2002 X@@ -102,6 +102,6 @@ X first_message=0; X char filein[CROSS_LEN]; X strcpy(filein,dosbox_basedir); X- strcat(filein,"dosbox.lang"); X+ strcat(filein,"../share/dosbox/dosbox.lang"); X LoadMessageFile(filein); X } END-of-dosbox/files/patch-src::misc::messages.cpp exit --------------------------- END SHAR ------------------------------------- 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?200209030730.g837U5o7047967>