mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Initial import of BasiliskII - a GPL'ed portable Mac emulator (requires Mac ROM
and a copy of MacOS to run). PR: 18072 Submitted by: sobomax
This commit is contained in:
parent
dd76a63c00
commit
1fa88b51ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29315
44
emulators/basiliskII/Makefile
Normal file
44
emulators/basiliskII/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# New ports collection makefile for: BasiliskII
|
||||
# Date created: 17 April 2000
|
||||
# Whom: Maxim Sobolev
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= basiliskII
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://download.sourceforge.net/basilisk/
|
||||
DISTNAME= BasiliskII_src_30012000
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
||||
esd.2:${PORTSDIR}/audio/esound \
|
||||
lthread.2:${PORTSDIR}/devel/linuxthreads
|
||||
|
||||
WRKSRC= ${WRKDIR}/BasiliskII-0.8/src/Unix
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
||||
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
||||
ESD_CONFIG?= ${LOCALBASE}/bin/esd-config
|
||||
|
||||
CONFIGURE_ARGS= --disable-fbdev-dga
|
||||
|
||||
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
|
||||
GLIB_CONFIG="${GLIB_CONFIG}" \
|
||||
ESD_CONFIG="${ESD_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
CFLAGS+= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
|
||||
|
||||
MAN1= BasiliskII.1
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
emulators/basiliskII/distinfo
Normal file
1
emulators/basiliskII/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (BasiliskII_src_30012000.tar.gz) = 98a89ffc1c9d6a15dcea6d12e0e33c32
|
59
emulators/basiliskII/files/patch-aa
Normal file
59
emulators/basiliskII/files/patch-aa
Normal file
@ -0,0 +1,59 @@
|
||||
--- configure.orig Wed Nov 3 23:04:14 1999
|
||||
+++ configure Tue Apr 18 10:35:11 2000
|
||||
@@ -2199,7 +2199,7 @@
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lc_r $LIBS"
|
||||
+LIBS="-llthread -llgcc_r $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2205 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -2233,7 +2233,7 @@
|
||||
#define $ac_tr_lib 1
|
||||
EOF
|
||||
|
||||
- LIBS="-lc_r $LIBS"
|
||||
+ LIBS="-llthread -llgcc_r $LIBS"
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
@@ -3819,7 +3819,7 @@
|
||||
Linux*)
|
||||
SYSSRCS="Linux/ether_linux.cpp Linux/scsi_linux.cpp audio_oss_esd.cpp"
|
||||
;;
|
||||
- FreeBSD*3.*)
|
||||
+ FreeBSD*[345].*)
|
||||
echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6
|
||||
echo "configure:3825: checking for cam_open_btl in -lcam" >&5
|
||||
ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'`
|
||||
@@ -3864,16 +3864,16 @@
|
||||
if [ "x$HAVE_LIBCAM" = "xno" ]; then
|
||||
{ echo "configure: error: Cannot find libcam for SCSI management." 1>&2; exit 1; }
|
||||
else
|
||||
- ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'`
|
||||
-echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6
|
||||
-echo "configure:3870: checking for /sys/cam/cam.h" >&5
|
||||
+ ac_safe=`echo "camlib.h" | sed 'y%./+-%__p_%'`
|
||||
+echo $ac_n "checking for camlib.h""... $ac_c" 1>&6
|
||||
+echo "configure:3870: checking for camlib.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3875 "configure"
|
||||
#include "confdefs.h"
|
||||
-#include </sys/cam/cam.h>
|
||||
+#include <camlib.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:3880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
@@ -4093,7 +4093,7 @@
|
||||
WANT_SPARC_V8_ASSEMBLY=no
|
||||
WANT_SPARC_V9_ASSEMBLY=no
|
||||
CPUSRCS="cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp"
|
||||
-if [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]; then
|
||||
+if [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xno" ]; then
|
||||
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\""
|
||||
if [ "x$HAVE_GAS" = "xyes" ]; then
|
||||
WANT_X86_ASSEMBLY=yes
|
1
emulators/basiliskII/pkg-comment
Normal file
1
emulators/basiliskII/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Basilisk II is a free, portable, Open Source 68k Mac emulator
|
5
emulators/basiliskII/pkg-descr
Normal file
5
emulators/basiliskII/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Basilisk II is a free, portable, Open Source 68k Mac emulator. It requires a
|
||||
copy of a 512K or 1MB Mac ROM and a copy of MacOS 7.x or 8.x to run.
|
||||
|
||||
WWW: http://www.Uni-Mainz.DE/~bauec002/B2Main.html
|
||||
http://sourceforge.net/project/?group_id=2123
|
8
emulators/basiliskII/pkg-message
Normal file
8
emulators/basiliskII/pkg-message
Normal file
@ -0,0 +1,8 @@
|
||||
********************************************************************************
|
||||
|
||||
NOTE: You have to get a copy of the original Mac ROM image and a copy of MacOS
|
||||
to run BasiliskII. Be aware that the only legal way to get ROM image is
|
||||
to rip it out from your Mac computer. See BasiliskII home page to get
|
||||
details.
|
||||
|
||||
********************************************************************************
|
4
emulators/basiliskII/pkg-plist
Normal file
4
emulators/basiliskII/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/BasiliskII
|
||||
share/BasiliskII/fbdevices
|
||||
share/BasiliskII/keycodes
|
||||
@dirrm share/BasiliskII
|
Loading…
Reference in New Issue
Block a user