summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 09:12:34 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 09:12:34 +0000
commit0ae84877da3dd4cf691110e7da237202f013ea4c (patch)
tree9f85aa61c82ac0a886a2dfcbfaa27b7a5cddb18f
parentAdding gperf version 2.7 (diff)
Adding twin version 19990616.
Willows toolkit for migrating and developing Windows applications. PR: 12503 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Notes
Notes: svn path=/head/; revision=24252
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/twin/Makefile39
-rw-r--r--emulators/twin/distinfo1
-rw-r--r--emulators/twin/files/patch-ad11
-rw-r--r--emulators/twin/files/patch-ae11
-rw-r--r--emulators/twin/files/patch-af11
-rw-r--r--emulators/twin/pkg-comment1
-rw-r--r--emulators/twin/pkg-descr10
-rw-r--r--emulators/twin/pkg-plist45
9 files changed, 130 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index e76dcc4691ae..95368f7b6620 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -31,6 +31,7 @@
SUBDIR += stonx
SUBDIR += tkhfs
SUBDIR += truereality
+ SUBDIR += twin
SUBDIR += vgb
SUBDIR += vice
SUBDIR += vMac
diff --git a/emulators/twin/Makefile b/emulators/twin/Makefile
new file mode 100644
index 000000000000..92423e2aa684
--- /dev/null
+++ b/emulators/twin/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Willows
+# Version required: 1999.06.16
+# Date created: 5 June 1999
+# Whom: Pedro F. Giffuni
+#
+# $FreeBSD$
+#
+
+DISTNAME= twin-19990616
+PKGNAME= twin-1999.06.16
+CATEGORIES= emulators devel
+MASTER_SITES= ftp://ftp.willows.com/pub/development/
+
+MAINTAINER= giffunip@asme.org
+
+WRKSRC= $(WRKDIR)/twin
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+ALL_TARGET= depend world
+CONFIGURE_ARGS=
+
+# This hack is in order to avoid a build error with optimizations on,
+# a real bugfix will surely come soon.
+pre-patch:
+ ${CP} $(WRKSRC)/windows/if32.s $(WRKSRC)/windows/if32.S
+
+pre-configure:
+ ${ECHO} "configure_args = ${CONFIGURE_ARGS}"
+ ${ECHO} "configure_env = ${CONFIGURE_ENV}"
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/twin
+ ${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin
+ ${GZIP_CMD} ${PREFIX}/share/doc/twin/*
+.endif
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/emulators/twin/distinfo b/emulators/twin/distinfo
new file mode 100644
index 000000000000..5b985f111430
--- /dev/null
+++ b/emulators/twin/distinfo
@@ -0,0 +1 @@
+MD5 (twin-19990616.tar.gz) = 3b7a78c2a39e46cf58e5d54dce53491a
diff --git a/emulators/twin/files/patch-ad b/emulators/twin/files/patch-ad
new file mode 100644
index 000000000000..2d6671cd347f
--- /dev/null
+++ b/emulators/twin/files/patch-ad
@@ -0,0 +1,11 @@
+--- windows/Makefile.in.orig Sun Jun 13 06:20:02 1999
++++ windows/Makefile.in Tue Dec 28 18:13:18 1999
+@@ -69,7 +69,7 @@
+ BIN32_C_SRCS_1 = Strings32.c Profile32.c vsprintf32.c lib32.c
+ BIN32_C_SRCS = $(BIN32_C_SRCS_$(TWIN_BIN32))
+ BIN32_s_SRCS_0 =
+-BIN32_s_SRCS_1 = if32.s
++BIN32_s_SRCS_1 = if32.S
+ BIN32_s_SRCS = $(BIN32_s_SRCS_$(TWIN_BIN32))
+
+ #
diff --git a/emulators/twin/files/patch-ae b/emulators/twin/files/patch-ae
new file mode 100644
index 000000000000..01f4b412cbfd
--- /dev/null
+++ b/emulators/twin/files/patch-ae
@@ -0,0 +1,11 @@
+--- configure.orig Tue Dec 28 18:11:31 1999
++++ configure Tue Dec 28 18:11:55 1999
+@@ -2544,7 +2544,7 @@
+ TARGET=sco
+ ;;
+
+- i*86-unknown-freebsd*)
++ i*86-*-freebsd*)
+ TARGET=freebsd
+ ;;
+
diff --git a/emulators/twin/files/patch-af b/emulators/twin/files/patch-af
new file mode 100644
index 000000000000..a26773f202c9
--- /dev/null
+++ b/emulators/twin/files/patch-af
@@ -0,0 +1,11 @@
+--- windows/Execfreebsd.c.orig Tue Dec 28 19:25:11 1999
++++ windows/Execfreebsd.c Tue Dec 28 19:30:39 1999
+@@ -171,7 +171,7 @@
+ int rc;
+ sact.sa_handler = TWIN_GPFSigHandler;
+ sact.sa_flags = SA_RESTART;
+- sact.sa_mask = 0;
++ sigemptyset(&sact.sa_mask);
+ rc = sigaction(sig, &sact, NULL);
+ return rc;
+ }
diff --git a/emulators/twin/pkg-comment b/emulators/twin/pkg-comment
new file mode 100644
index 000000000000..39ab72031226
--- /dev/null
+++ b/emulators/twin/pkg-comment
@@ -0,0 +1 @@
+Willows Toolkit for migrating and developing Windows applications
diff --git a/emulators/twin/pkg-descr b/emulators/twin/pkg-descr
new file mode 100644
index 000000000000..3d1b126fbc5c
--- /dev/null
+++ b/emulators/twin/pkg-descr
@@ -0,0 +1,10 @@
+This is a development version of the Willows toolkit. While this code
+still needs more development to work fine, developers are encouraged to
+contribute to the Twine (Twin-Experimental) project instead since all new
+code will then be available under a benign license to the WINE people.
+
+Twine development is hosted by CodeWeavers, Inc. CodeWeavers provides
+services to assist developers in porting Windows software to Linux and
+other alternate operating systems.
+
+WWW: http://www.CodeWeavers.com/twine/
diff --git a/emulators/twin/pkg-plist b/emulators/twin/pkg-plist
new file mode 100644
index 000000000000..9dd7342f60c5
--- /dev/null
+++ b/emulators/twin/pkg-plist
@@ -0,0 +1,45 @@
+bin/xwin32
+lib/libadvapi32.so
+lib/libcomctl32.so
+lib/libcomm.so
+lib/libcommdlg.so
+lib/libddeml.so
+lib/libdebug.so
+lib/libdll.a
+lib/libkeyboard.so
+lib/liblz32.so
+lib/libmmsystem.so
+lib/libmsvcrt.so
+lib/libolecli.so
+lib/libolesvr.so
+lib/libpe32.so
+lib/libreadline.a
+lib/libshell.so
+lib/libsound.so
+lib/libsystem.so
+lib/libtoolhelp.so
+lib/libtwin32.so
+lib/libver.so
+lib/libwin87em.so
+lib/libwinsock.so
+lib/libwinspool.so
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+share/doc/twin/bin-convert.txt.gz
+share/doc/twin/config.doc.gz
+share/doc/twin/debugger.1.gz
+share/doc/twin/dll-binary.txt.gz
+share/doc/twin/dll-native.txt.gz
+share/doc/twin/lib-config.txt.gz
+share/doc/twin/lib-debug.txt.gz
+share/doc/twin/lib-porting.txt.gz
+share/doc/twin/lib-qna.txt.gz
+share/doc/twin/lib-thunk.c.gz
+share/doc/twin/lib-verify.txt.gz
+share/doc/twin/rc.1.gz
+share/doc/twin/readme.twinrc.gz
+share/doc/twin/sample.twinrc.gz
+share/doc/twin/src-issues.txt.gz
+share/doc/twin/twinrc.doc.gz
+share/doc/twin/win.ini.gz
+share/doc/twin/wrt-setup.txt.gz