aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-09 20:16:42 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-09 20:16:42 +0000
commit2f581730ce6ac55da778852ffb3fe964e9dae97b (patch)
tree9b9db9a22a741354fc90d7368930e76c8d8b5d9d /emulators
parenta2b767bd8a378bdac277a1cf0791a3f12b1e8b19 (diff)
downloadports-2f581730ce6ac55da778852ffb3fe964e9dae97b.tar.gz
ports-2f581730ce6ac55da778852ffb3fe964e9dae97b.zip
Add Lisaem - emulator for Apple Lisa 2/5 computer.
Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=195326
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/lisaem/Makefile34
-rw-r--r--emulators/lisaem/distinfo3
-rw-r--r--emulators/lisaem/files/patch-build.sh22
-rw-r--r--emulators/lisaem/pkg-descr3
-rw-r--r--emulators/lisaem/pkg-plist37
6 files changed, 100 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index faa3216c4ad3..1fb479e838aa 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -78,6 +78,7 @@
SUBDIR += linux_base-gentoo-stage1
SUBDIR += linux_base-gentoo-stage2
SUBDIR += linux_base-gentoo-stage3
+ SUBDIR += lisaem
SUBDIR += loemu
SUBDIR += m2000
SUBDIR += mame-extras
diff --git a/emulators/lisaem/Makefile b/emulators/lisaem/Makefile
new file mode 100644
index 000000000000..8be1d13b8fa4
--- /dev/null
+++ b/emulators/lisaem/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: lisaem
+# Date created: 2007-07-04
+# Whom: Edward Tomasz Napierala <trasz@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lisaem
+DISTVERSION= 1.0.0
+CATEGORIES= emulators
+MASTER_SITES= http://lisaem.sunder.net/20070707/
+
+MAINTAINER= trasz@freebsd.org
+COMMENT= Apple Lisa emulator
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ pngtopnm:${PORTSDIR}/graphics/netpbm
+
+USE_BZIP2= yes
+USE_WX= 2.8
+ALL_TARGET= build
+
+post-patch:
+ ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
+ -e "s|wx-config|${WX_CONFIG}|g" ${WRKSRC}/build.sh
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/bash build.sh build
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lisaem ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/LisaEm
+ ${INSTALL_DATA} ${WRKSRC}/resources/* ${PREFIX}/share/LisaEm/
+
+.include <bsd.port.mk>
diff --git a/emulators/lisaem/distinfo b/emulators/lisaem/distinfo
new file mode 100644
index 000000000000..5c22f79c3e76
--- /dev/null
+++ b/emulators/lisaem/distinfo
@@ -0,0 +1,3 @@
+MD5 (lisaem-1.0.0.tar.bz2) = 7a4a548418f5114445c2797651c83695
+SHA256 (lisaem-1.0.0.tar.bz2) = 7f911e19a7024dd32326c76e03ff242ddf4025b9efdde0512382d25aa54b6392
+SIZE (lisaem-1.0.0.tar.bz2) = 1869868
diff --git a/emulators/lisaem/files/patch-build.sh b/emulators/lisaem/files/patch-build.sh
new file mode 100644
index 000000000000..2793ce58c511
--- /dev/null
+++ b/emulators/lisaem/files/patch-build.sh
@@ -0,0 +1,22 @@
+--- build.sh.orig Thu Jul 5 14:49:15 2007
++++ build.sh Thu Jul 5 14:51:42 2007
+@@ -422,8 +422,8 @@
+ then
+
+ WXCONFIGFLAGS=`wx-config --cppflags`
+- CFLAGS="-I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS $WITHOPTIMIZE $WITHDEBUG"
+- CXXFLAGS="-I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS $WITHOPTIMIZE $WITHDEBUG"
++ CFLAGS+=" -I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS"
++ CXXFLAGS+=" -I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS"
+ LINKOPTS="`wx-config $STATIC --libs --linkdeps --cppflags`"
+ [ -z "$CC" ] && CC=gcc
+ [ -z "$CXX" ] && CXX=g++
+@@ -759,7 +759,7 @@
+ #echo $CXX $GCCSTATIC $WITHDEBUG -o lisaem $LIST ../generator/libgenerator.a ../cpu68k/lib68k.a $LINKOPTS $SYSLIBS
+ if [ -z "$WITHWXUI" ]
+ then
+-$CXX $GCCSTATIC $WITHTRACE $WITHDEBUG -o ../bin/lisaem $LIST ../generator/libgenerator.a ../cpu68k/lib68k.a $LINKOPTS $SYSLIBS 2>&1 | head -20
++$CXX $GCCSTATIC $WITHTRACE $WITHDEBUG -o ../bin/lisaem $LIST ../generator/libgenerator.a ../cpu68k/lib68k.a $LINKOPTS 2>&1 | head -20
+ fi
+
+ ## if [ -n "$WITHWXUI" ]
diff --git a/emulators/lisaem/pkg-descr b/emulators/lisaem/pkg-descr
new file mode 100644
index 000000000000..1c65ae9a9178
--- /dev/null
+++ b/emulators/lisaem/pkg-descr
@@ -0,0 +1,3 @@
+Emulator for Apple Lisa 2/5 computer.
+
+WWW: http://lisaem.sunder.net/
diff --git a/emulators/lisaem/pkg-plist b/emulators/lisaem/pkg-plist
new file mode 100644
index 000000000000..f96d15d93760
--- /dev/null
+++ b/emulators/lisaem/pkg-plist
@@ -0,0 +1,37 @@
+bin/lisaem
+share/LisaEm/Info.plist
+share/LisaEm/LisaEm.icns
+share/LisaEm/floppy0.png
+share/LisaEm/floppy0.xpm
+share/LisaEm/floppy1.png
+share/LisaEm/floppy1.xpm
+share/LisaEm/floppy2.png
+share/LisaEm/floppy2.xpm
+share/LisaEm/floppy3.png
+share/LisaEm/floppy3.xpm
+share/LisaEm/floppyN.png
+share/LisaEm/floppyN.xpm
+share/LisaEm/floppy_eject.wav
+share/LisaEm/floppy_insert_sound.wav
+share/LisaEm/floppy_motor1.wav
+share/LisaEm/floppy_motor2.wav
+share/LisaEm/lisa2icon.ico
+share/LisaEm/lisa2icon.xpm
+share/LisaEm/lisa_power_switch01.wav
+share/LisaEm/lisa_power_switch02.wav
+share/LisaEm/lisaem.ico
+share/LisaEm/lisaem.exe.Manifest
+share/LisaEm/lisaface0.png
+share/LisaEm/lisaface0.xpm
+share/LisaEm/lisaface1.png
+share/LisaEm/lisaface1.xpm
+share/LisaEm/lisaface2.png
+share/LisaEm/lisaface2.xpm
+share/LisaEm/lisaface3.png
+share/LisaEm/lisaface3.xpm
+share/LisaEm/power_off.png
+share/LisaEm/power_off.xpm
+share/LisaEm/power_on.png
+share/LisaEm/power_on.xpm
+share/LisaEm/poweroffclk.wav
+@dirrm share/LisaEm