summaryrefslogtreecommitdiffstats
path: root/emulators/lisaem
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2007-07-09 20:16:42 +0000
committertrasz <trasz@FreeBSD.org>2007-07-09 20:16:42 +0000
commit35fa529e7c9fe9be7ac82af0c1cb2a16a17c0b42 (patch)
tree50489364f5abea47ca556443c025deffb2137ad9 /emulators/lisaem
parent2d1b40b1aae6016a4aa5cb0062bd11429d5779a8 (diff)
downloadFreeBSD-ports-35fa529e7c9fe9be7ac82af0c1cb2a16a17c0b42.zip
FreeBSD-ports-35fa529e7c9fe9be7ac82af0c1cb2a16a17c0b42.tar.gz
Add Lisaem - emulator for Apple Lisa 2/5 computer.
Approved by: miwi (mentor)
Diffstat (limited to 'emulators/lisaem')
-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
5 files changed, 99 insertions, 0 deletions
diff --git a/emulators/lisaem/Makefile b/emulators/lisaem/Makefile
new file mode 100644
index 0000000..8be1d13
--- /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 0000000..5c22f79
--- /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 0000000..2793ce5
--- /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 0000000..1c65ae9
--- /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 0000000..f96d15d
--- /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
OpenPOWER on IntegriCloud