aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-30 19:30:11 +0800
committerdinoex <dinoex@FreeBSD.org>2002-03-30 19:30:11 +0800
commit7e14f7369b388b2b0f934e32b628195ccf1b4dc7 (patch)
treec23c298e1566e88bfe3aee539d041160d12bd32c /emulators
parentd0bc9a016eba486e217f094237297b9576fae78d (diff)
downloadfreebsd-ports-gnome-7e14f7369b388b2b0f934e32b628195ccf1b4dc7.tar.gz
freebsd-ports-gnome-7e14f7369b388b2b0f934e32b628195ccf1b4dc7.tar.zst
freebsd-ports-gnome-7e14f7369b388b2b0f934e32b628195ccf1b4dc7.zip
A Adam Computer / ColecoVision Emulator
PR: 32056 Submitted by: karlj000@unbc.ca
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-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
7 files changed, 74 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index d82bfb0cdfd6..989b1cdbef3d 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
#
+ SUBDIR += adamem
SUBDIR += aftp
SUBDIR += atari800
SUBDIR += basiliskII
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