1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 0.72.

- Remove 4.X cruft.

PR:		ports/115859
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
Approved by:	stas (mentor), Tom Carrick <knyght@gmail.com> (maintainer)
This commit is contained in:
Marcelo Araujo 2007-09-19 18:21:38 +00:00
parent 3e3196c44d
commit 233640b6af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199776
7 changed files with 7 additions and 49 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dosbox
PORTVERSION= 0.71
PORTVERSION= 0.72
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -16,7 +16,6 @@ COMMENT= An emulator of a PC with DOS
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_AUTOTOOLS= autoconf:259 aclocal:19
GNU_CONFIGURE= yes
USE_SDL= sdl net
@ -28,24 +27,18 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-core-inline
USE_GCC= 3.2+
post-patch:
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
${WRKSRC}/docs/dosbox.1
@${SED} 's#%%DOCSDIR%%#${DOCSDIR}#' ${PKGDIR}/pkg-message > \
${WRKDIR}/pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${MAN1PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
.endif
post-install:
@${CAT} ${WRKDIR}/pkg-message
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (dosbox-0.71.tar.gz) = 52ee21b69f7baaf88190d7935ea58359
SHA256 (dosbox-0.71.tar.gz) = df492a9e05f7633ea188cc8ba4959acd362c7e857d23b9eef1513043a166c4c4
SIZE (dosbox-0.71.tar.gz) = 989672
MD5 (dosbox-0.72.tar.gz) = 262939cc28966c1f9b07c2bc472b699f
SHA256 (dosbox-0.72.tar.gz) = 1747d7d9f1e5c0635b5d2d3e6648e8dc36316b1bc88b3755bf96b7fde499ac79
SIZE (dosbox-0.72.tar.gz) = 1046475

View File

@ -1,10 +0,0 @@
--- configure.in.orig
+++ configure.in
@@ -407,7 +407,6 @@
LIBS="$LIBS -framework AudioUnit"
;;
*-*-freebsd* | *-*-linux* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
- AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux or *BSD])
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
;;
*-*-os2-emx*)

View File

@ -1,11 +0,0 @@
--- src/cpu/core_dyn_x86.cpp.orig Thu Feb 9 12:32:52 2006
+++ src/cpu/core_dyn_x86.cpp Thu May 25 22:58:53 2006
@@ -22,6 +22,8 @@
#define CHECKED_MEMORY_ACCESS
+#include <sys/types.h>
+
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>

View File

@ -1,11 +0,0 @@
--- src/dos/cdrom_image.cpp.orig Tue Oct 5 21:55:03 2004
+++ src/dos/cdrom_image.cpp Tue Nov 23 21:11:08 2004
@@ -23,7 +23,7 @@
#include <cstdio>
#include <fstream>
#include <iostream>
-#include <limits.h>
+/* #include <limits.h> */
#include <sstream>
#include <vector>
#include <sys/stat.h>

View File

@ -1,4 +0,0 @@
=================================================
Be sure to read the README for usage instructions
located in %%DOCSDIR%% by default
=================================================

View File

@ -1,4 +1,5 @@
bin/dosbox
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%@dirrm %%DOCSDIR%%