summaryrefslogtreecommitdiff
path: root/emulators/adamem
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-30 11:30:11 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-30 11:30:11 +0000
commit55fcad8d516acfd59d0ff139f1f9ca3905c08d00 (patch)
treec22a885510e9b8613777f55ba4496b06004906dc /emulators/adamem
parentUpdate to 1.4.3. (diff)
A Adam Computer / ColecoVision Emulator
PR: 32056 Submitted by: karlj000@unbc.ca
Notes
Notes: svn path=/head/; revision=56933
Diffstat (limited to 'emulators/adamem')
-rw-r--r--emulators/adamem/Makefile38
-rw-r--r--emulators/adamem/distinfo1
-rw-r--r--emulators/adamem/files/patch-aa21
-rw-r--r--emulators/adamem/pkg-comment1
-rw-r--r--emulators/adamem/pkg-descr3
-rw-r--r--emulators/adamem/pkg-plist9
6 files changed, 73 insertions, 0 deletions
diff --git a/emulators/adamem/Makefile b/emulators/adamem/Makefile
new file mode 100644
index 000000000000..7942ee6c6332
--- /dev/null
+++ b/emulators/adamem/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: adamem
+# Date created: November 11, 2001
+# Whom: Jeremy Karlson
+#
+# $FreeBSD$
+#
+
+PORTNAME= adamem
+PORTVERSION= 1.0
+CATEGORIES= emulators
+MASTER_SITES= http://www.komkon.org/~dekogel/files/coleco/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= karlj000@unbc.ca
+
+USE_XLIB= yes
+USE_X_PREFIX= yes
+ALL_TARGET= x
+
+WRKSRC= ${WRKDIR}
+
+PROGDIR= ${PREFIX}/${PORTNAME}
+DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${PROGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/adamem ${PROGDIR}
+ ${LN} -s adamem ${PROGDIR}/cvem
+ ${INSTALL_DATA} ${WRKSRC}/adamem.snd ${PROGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/OS7.rom ${PROGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/WP.rom ${PROGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/EOS.rom ${PROGDIR}
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/adamem.txt ${DOCDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/emulators/adamem/distinfo b/emulators/adamem/distinfo
new file mode 100644
index 000000000000..52e5b161dd51
--- /dev/null
+++ b/emulators/adamem/distinfo
@@ -0,0 +1 @@
+MD5 (adamem.tar.gz) = a6b2b0276cc353d5e236a7ca247dfc07
diff --git a/emulators/adamem/files/patch-aa b/emulators/adamem/files/patch-aa
new file mode 100644
index 000000000000..b8b226a8a311
--- /dev/null
+++ b/emulators/adamem/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.X.BACKUP Sun Nov 11 13:04:24 2001
++++ Makefile.X Sun Nov 11 13:07:58 2001
+@@ -15,7 +15,8 @@
+ LD = gcc # Linker used
+
+ CFLAGS = -Wall -O2 -fomit-frame-pointer \
+- -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB
++ -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB \
++ -I/usr/X11R6/include
+
+ OBJECTS = ADAMEm.o Coleco.o Z80.o \
+ DSP.o Sound.o X.o Z80Debug.o Bitmap.o Unix.o
+@@ -42,7 +43,7 @@
+ $(LD) -s -o keys keys.o
+
+ adamem.snd: makedata
+- makedata
++ ./makedata
+
+ makedata.o: makedata.c
+ makedata: makedata.o
diff --git a/emulators/adamem/pkg-comment b/emulators/adamem/pkg-comment
new file mode 100644
index 000000000000..ce90f291529f
--- /dev/null
+++ b/emulators/adamem/pkg-comment
@@ -0,0 +1 @@
+ADAMEm is a portable Coleco ADAM and ColecoVision emulator
diff --git a/emulators/adamem/pkg-descr b/emulators/adamem/pkg-descr
new file mode 100644
index 000000000000..b82032bd166f
--- /dev/null
+++ b/emulators/adamem/pkg-descr
@@ -0,0 +1,3 @@
+ADAMEm is a portable Coleco ADAM and ColecoVision emulator.
+
+WWW: http://www.komkon.org/~dekogel/adamem.html
diff --git a/emulators/adamem/pkg-plist b/emulators/adamem/pkg-plist
new file mode 100644
index 000000000000..911400e019fd
--- /dev/null
+++ b/emulators/adamem/pkg-plist
@@ -0,0 +1,9 @@
+adamem/adamem
+adamem/cvem
+adamem/adamem.snd
+adamem/OS7.rom
+adamem/WP.rom
+adamem/EOS.rom
+@dirrm adamem
+%%PORTDOCS%%share/doc/adamem/adamem.txt
+%%PORTDOCS%%@dirrm share/doc/adamem