aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/bochs
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-09-26 20:33:18 +0800
committerrafan <rafan@FreeBSD.org>2006-09-26 20:33:18 +0800
commit85d5b62f3f9206b90ccc3e9220ae66f1e1087fb9 (patch)
treecd7d1b2e99032c4a4e7d74b8fc964346acbced12 /emulators/bochs
parent5f04067437e2828b8a7e9fea05b471e34e957613 (diff)
downloadfreebsd-ports-gnome-85d5b62f3f9206b90ccc3e9220ae66f1e1087fb9.tar.gz
freebsd-ports-gnome-85d5b62f3f9206b90ccc3e9220ae66f1e1087fb9.tar.zst
freebsd-ports-gnome-85d5b62f3f9206b90ccc3e9220ae66f1e1087fb9.zip
- Update to 2.3
PR: ports/103635 Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Diffstat (limited to 'emulators/bochs')
-rw-r--r--emulators/bochs/Makefile7
-rw-r--r--emulators/bochs/distinfo6
-rw-r--r--emulators/bochs/files/patch-ae12
-rw-r--r--emulators/bochs/files/patch-iodev-eth_vde.cc27
-rw-r--r--emulators/bochs/pkg-plist14
5 files changed, 16 insertions, 50 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 8c39507b1f1a..779c3d60e01c 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= bochs
-PORTVERSION= 2.2.6
+PORTVERSION= 2.3
PORTEPOCH= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -129,6 +129,7 @@ post-patch:
s|bios/VGABIOS|${DATADIR}/VGABIOS|; \
' ${WRKSRC}/.bochsrc
@${REINPLACE_CMD} -E ' \
+ s|install_share install_doc|install_share|; \
s|(^sharedir.+=).+|\1 ${DATADIR}|; \
s|(^docdir.+=).+|\1 ${DOCSDIR}|; \
' ${WRKSRC}/Makefile.in
@@ -141,6 +142,10 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/CHANGES
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+ @${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO
+ @${INSTALL_DATA} ${WRKSRC}/.bochsrc ${DOCSDIR}/bochsrc-sample.txt
@${INSTALL_DATA} ${WRKSRC}/docs-html/*.txt ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
@${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${DOCSDIR}/html
diff --git a/emulators/bochs/distinfo b/emulators/bochs/distinfo
index 06c7197a89a8..0901d658296a 100644
--- a/emulators/bochs/distinfo
+++ b/emulators/bochs/distinfo
@@ -1,3 +1,3 @@
-MD5 (bochs-2.2.6.tar.gz) = 961482eb78b55fe3e0e0639e34b4c2c1
-SHA256 (bochs-2.2.6.tar.gz) = 25447ca196794bb2e00d314038f75ad8aeead87dcf34e9501598b900dea639ee
-SIZE (bochs-2.2.6.tar.gz) = 3765867
+MD5 (bochs-2.3.tar.gz) = 100c02fbcd402c2b4862d0251be539fd
+SHA256 (bochs-2.3.tar.gz) = fd926f3915d0619ddde8dedd02dac661f3233d77f3fc2ec7f94e1e028398497a
+SIZE (bochs-2.3.tar.gz) = 3812273
diff --git a/emulators/bochs/files/patch-ae b/emulators/bochs/files/patch-ae
deleted file mode 100644
index 22535f97d782..000000000000
--- a/emulators/bochs/files/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$FreeBSD$
---- bx_debug/lexer.l.orig Tue Apr 10 03:57:02 2001
-+++ bx_debug/lexer.l Sun May 20 13:25:29 2001
-@@ -105,7 +105,7 @@
- \/[0-9]+ { bxlval.sval = strdup(bxtext); return(BX_TOKEN_XFORMAT); }
- 0x[0-9a-fA-F]+ { bxlval.uval = strtoul(bxtext+2, NULL, 16); return(BX_TOKEN_NUMERIC); }
- 0[0-7]+ { bxlval.uval = strtoul(bxtext+1, NULL, 8); return(BX_TOKEN_NUMERIC); }
--[0-9]+L { bxlval.ulval = strtoull(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
-+[0-9]+L { bxlval.ulval = strtouq(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
- [0-9]+ { bxlval.uval = strtoul(bxtext, NULL, 10); return(BX_TOKEN_NUMERIC); }
- $[a-zA-Z_][a-zA-Z0-9_]* { bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYMBOLNAME); }
- \n { return('\n'); }
diff --git a/emulators/bochs/files/patch-iodev-eth_vde.cc b/emulators/bochs/files/patch-iodev-eth_vde.cc
deleted file mode 100644
index 1512659d52b7..000000000000
--- a/emulators/bochs/files/patch-iodev-eth_vde.cc
+++ /dev/null
@@ -1,27 +0,0 @@
---- iodev/eth_vde.cc.orig Sat Dec 10 16:37:35 2005
-+++ iodev/eth_vde.cc Sat Mar 18 00:25:18 2006
-@@ -41,18 +41,22 @@
- #include <sys/poll.h>
- #include <sys/time.h>
- #include <sys/resource.h>
--#include <asm/types.h>
- #include <sys/socket.h>
- #include <sys/uio.h>
- #include <sys/wait.h>
- #include <sys/un.h>
-+#if defined(__linux__)
-+#include <asm/types.h>
- #include <linux/netlink.h>
- #include <linux/if.h>
-+#elif BX_HAVE_NET_IF_H
-+#include <net/if.h>
-+#endif
- #include <assert.h>
- #include <fcntl.h>
- #include <errno.h>
- #include <unistd.h>
--#include <stdint.h>
-+#include <inttypes.h>
-
- #define SWITCH_MAGIC 0xfeedface
-
diff --git a/emulators/bochs/pkg-plist b/emulators/bochs/pkg-plist
index a6309e226e33..b38f76248f03 100644
--- a/emulators/bochs/pkg-plist
+++ b/emulators/bochs/pkg-plist
@@ -7,9 +7,9 @@ bin/bximage
%%DATADIR%%/VGABIOS-elpin-LICENSE
%%DATADIR%%/VGABIOS-lgpl-README
%%DATADIR%%/VGABIOS-lgpl-latest
-%%DATADIR%%/VGABIOS-lgpl-latest-debug
%%DATADIR%%/VGABIOS-lgpl-latest-cirrus
%%DATADIR%%/VGABIOS-lgpl-latest-cirrus-debug
+%%DATADIR%%/VGABIOS-lgpl-latest-debug
%%DATADIR%%/keymaps/sdl-pc-de.map
%%DATADIR%%/keymaps/sdl-pc-us.map
%%DATADIR%%/keymaps/x11-pc-be.map
@@ -23,19 +23,19 @@ bin/bximage
%%DATADIR%%/keymaps/x11-pc-si.map
%%DATADIR%%/keymaps/x11-pc-uk.map
%%DATADIR%%/keymaps/x11-pc-us.map
-%%DOCSDIR%%/CHANGES
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/README
-%%DOCSDIR%%/TODO
-%%DOCSDIR%%/bochsrc-sample.txt
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/biossums.txt
+%%PORTDOCS%%%%DOCSDIR%%/bochsrc-sample.txt
%%PORTDOCS%%%%DOCSDIR%%/cvs-structure.txt
%%PORTDOCS%%%%DOCSDIR%%/html/Linux.html
%%PORTDOCS%%%%DOCSDIR%%/html/cosimulation.html
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/iodebug.html
+%%PORTDOCS%%%%DOCSDIR%%/memory.txt
%%PORTDOCS%%%%DOCSDIR%%/random.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/keymaps
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%