mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Nuke ja-wine --> ports/japanese/wine, its features is now merged to mainstream
tree (ports/emulators/wine). PR: 24402 Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
This commit is contained in:
parent
cb42de4d89
commit
f716aa638f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37276
@ -341,7 +341,6 @@
|
||||
SUBDIR += wdic-fpw
|
||||
SUBDIR += web1913-fpw
|
||||
SUBDIR += weblint97
|
||||
SUBDIR += wine
|
||||
SUBDIR += word
|
||||
SUBDIR += wordnet-fpw
|
||||
SUBDIR += wwasw-fpw
|
||||
|
@ -1,51 +0,0 @@
|
||||
# New ports collection makefile for: ja-wine
|
||||
# Date created: 14 Jan 1998
|
||||
# Whom: Takashi Uozu <j1594016@ed.kagu.sut.ac.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wine
|
||||
PORTVERSION= 99.01.31
|
||||
CATEGORIES= japanese emulators
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
||||
http://www1.mahoroba.ne.jp/~jkuchi/wine-jp/src/
|
||||
MASTER_SITE_SUBDIR= ALPHA/wine/development
|
||||
DISTNAME= ja-Wine-${PORTVERSION:S/.//g}
|
||||
DISTFILES= Wine-${PORTVERSION:S/.//g}.tar.gz \
|
||||
Wine${PORTVERSION:S/.//g}-ja.tar.gz
|
||||
|
||||
USE_XPM= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
|
||||
PATCH_STRIP= -p1
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-japanese --with-kinput
|
||||
|
||||
MAN1= wine.1
|
||||
|
||||
pre-patch:
|
||||
@(cd ${WRKDIR}; \
|
||||
${PATCH} ${PATCH_ARGS} < ${WRKDIR}/Wine${PORTVERSION:S/.//g}-jp.Patch)
|
||||
|
||||
pre-configure:
|
||||
@${ECHO} "WINE_INI_GLOBAL \"${PREFIX}/etc/wine.conf\"" \
|
||||
>> ${WRKSRC}/autoconf.h
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} && make depend
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wine ${PREFIX}/bin
|
||||
-@${MKDIR} ${PREFIX}/etc 2>/dev/null
|
||||
[ -f ${PREFIX}/etc/wine.conf ] \
|
||||
|| ${INSTALL_DATA} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf
|
||||
${INSTALL_DATA} ${WRKSRC}/wine.sym ${PREFIX}/etc
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/documentation/wine.man ${PREFIX}/man/man1/wine.1
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/share/doc/ja/wine
|
||||
${INSTALL_MAN} ${WRKDIR}/README.jis ${PREFIX}/share/doc/ja/wine
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
MD5 (Wine-990131.tar.gz) = 8a3ba3b5e9f1eaf5e6863536795447fb
|
||||
MD5 (Wine990131-ja.tar.gz) = 339b666dabcf105c3f9fe3311283ac1e
|
@ -1,122 +0,0 @@
|
||||
diff -urN wine-990131/configure fbsd-wine-990131/configure
|
||||
--- wine-990131/configure Fri Feb 12 23:40:37 1999
|
||||
+++ fbsd-wine-990131/configure Fri Feb 12 23:42:18 1999
|
||||
@@ -3021,7 +3021,7 @@
|
||||
if (ac_test) return 1
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
+if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) </dev/null 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_extern_prefix="yes"
|
||||
else
|
||||
@@ -3062,7 +3062,7 @@
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
+if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) </dev/null 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_asm_string="yes"
|
||||
else
|
||||
diff -urN wine-990131/debugger/stabs.c fbsd-wine-990131/debugger/stabs.c
|
||||
--- wine-990131/debugger/stabs.c Wed Jan 20 23:18:55 1999
|
||||
+++ fbsd-wine-990131/debugger/stabs.c Fri Feb 12 23:11:42 1999
|
||||
@@ -4,6 +4,7 @@
|
||||
* Copyright (C) 1996, Eric Youngdale.
|
||||
*/
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
diff -urN wine-990131/include/ldt.h fbsd-wine-990131/include/ldt.h
|
||||
--- wine-990131/include/ldt.h Mon Dec 7 19:48:09 1998
|
||||
+++ fbsd-wine-990131/include/ldt.h Fri Feb 12 23:11:42 1999
|
||||
@@ -85,6 +85,14 @@
|
||||
|
||||
#define FIRST_LDT_ENTRY_TO_ALLOC 17
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <osreldate.h>
|
||||
+#if __FreeBSD_version < 220000
|
||||
+#undef FIRST_LDT_ENTRY_TO_ALLOC
|
||||
+#define FIRST_LDT_ENTRY_TO_ALLOC 6
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
/* Determine if sel is a system selector (i.e. not managed by Wine) */
|
||||
#define IS_SELECTOR_SYSTEM(sel) \
|
||||
(!((sel) & 4) || (SELECTOR_TO_ENTRY(sel) < FIRST_LDT_ENTRY_TO_ALLOC))
|
||||
diff -urN wine-990131/memory/virtual.c fbsd-wine-990131/memory/virtual.c
|
||||
--- wine-990131/memory/virtual.c Fri Jan 29 02:35:36 1999
|
||||
+++ fbsd-wine-990131/memory/virtual.c Fri Feb 12 23:11:42 1999
|
||||
@@ -1097,6 +1097,9 @@
|
||||
}
|
||||
K32OBJ_DecCount( obj );
|
||||
return handle;
|
||||
+#ifndef MS_SYNC
|
||||
+#define MS_SYNC 0
|
||||
+#endif MS_SYNC
|
||||
}
|
||||
|
||||
/* Check parameters */
|
||||
diff -urN wine-990131/ole/variant.c fbsd-wine-990131/ole/variant.c
|
||||
--- wine-990131/ole/variant.c Mon Jan 18 01:34:32 1999
|
||||
+++ fbsd-wine-990131/ole/variant.c Fri Feb 12 23:11:42 1999
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <float.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
diff -urN wine-990131/windows/dialog.c fbsd-wine-990131/windows/dialog.c
|
||||
--- wine-990131/windows/dialog.c Fri Feb 12 23:30:15 1999
|
||||
+++ fbsd-wine-990131/windows/dialog.c Fri Feb 12 23:11:42 1999
|
||||
@@ -9,6 +9,9 @@
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/errno.h>
|
||||
+#endif
|
||||
#include "windows.h"
|
||||
#include "dialog.h"
|
||||
#include "drive.h"
|
||||
diff -urN wine-990131/wine.ini fbsd-wine-990131/wine.ini
|
||||
--- wine-990131/wine.ini Thu Oct 22 01:03:16 1998
|
||||
+++ fbsd-wine-990131/wine.ini Fri Feb 12 23:11:41 1999
|
||||
@@ -44,7 +44,7 @@
|
||||
System=c:\windows\system
|
||||
Temp=e:\
|
||||
Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
|
||||
-SymbolTableFile=./wine.sym
|
||||
+SymbolTableFile=/usr/local/etc/wine.sym
|
||||
|
||||
[options]
|
||||
AllocSystemColors=100
|
||||
@@ -55,13 +55,13 @@
|
||||
Default = -adobe-times-
|
||||
|
||||
[serialports]
|
||||
-Com1=/dev/cua0
|
||||
-Com2=/dev/cua1
|
||||
+Com1=/dev/ttyd0
|
||||
+Com2=/dev/ttyd1
|
||||
Com3=/dev/modem,38400
|
||||
Com4=/dev/modem
|
||||
|
||||
[parallelports]
|
||||
-Lpt1=/dev/lp0
|
||||
+Lpt1=/dev/lpt0
|
||||
|
||||
[spooler]
|
||||
LPT1:=|lpr
|
||||
@@ -81,4 +81,4 @@
|
||||
|
||||
[programs]
|
||||
Default=
|
||||
-Startup=
|
||||
+Startup=
|
@ -1 +0,0 @@
|
||||
MS-Windows 3.1/95/NT emulator for Unix (Alpha release)
|
@ -1,15 +0,0 @@
|
||||
Wine is a Windows emulator running under Unix on i386 (and higher) CPUs.
|
||||
It is still Alpha quality, i.e. don't expect it to run your typical large
|
||||
MS-Windows application package, but it is definitely on its way ...
|
||||
|
||||
To use Wine, your kernel must be rebuilt with the following line added
|
||||
to your kernel config file (/sys/i386/conf/<YourMachine>):
|
||||
|
||||
options USER_LDT
|
||||
|
||||
Wine relies on the configuration file /usr/local/etc/wine.conf to
|
||||
contain valid assignments of Unix directories to DOS drive letters,
|
||||
and for certain other options (see "man wine" for details).
|
||||
You will most probably have to to edit it, after the install ...
|
||||
|
||||
See /usr/local/share/doc/ja/wine/README.jis for more info.
|
@ -1,5 +0,0 @@
|
||||
bin/wine
|
||||
etc/wine.conf
|
||||
etc/wine.sym
|
||||
share/doc/ja/wine/README.jis
|
||||
@dirrm share/doc/ja/wine
|
Loading…
Reference in New Issue
Block a user