aboutsummaryrefslogtreecommitdiff
path: root/emulators/jzintv
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-04-06 15:14:27 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-04-06 15:14:27 +0000
commit2f05872e0334a21964ad34442ca5c0f7ac000310 (patch)
tree0e88011e42c50e49843f9cce293f6c3c3f74af26 /emulators/jzintv
parent7bae14b2285bf99a3677cb794d1bc02179808a06 (diff)
downloadports-2f05872e0334a21964ad34442ca5c0f7ac000310.tar.gz
ports-2f05872e0334a21964ad34442ca5c0f7ac000310.zip
Notes
Diffstat (limited to 'emulators/jzintv')
-rw-r--r--emulators/jzintv/Makefile67
-rw-r--r--emulators/jzintv/distinfo3
-rw-r--r--emulators/jzintv/files/patch-Makefile.freebsd44
-rw-r--r--emulators/jzintv/files/patch-sdl.h18
-rw-r--r--emulators/jzintv/files/pkg-message.in20
-rw-r--r--emulators/jzintv/pkg-descr4
-rw-r--r--emulators/jzintv/pkg-plist280
7 files changed, 436 insertions, 0 deletions
diff --git a/emulators/jzintv/Makefile b/emulators/jzintv/Makefile
new file mode 100644
index 000000000000..b9ad24eacf2a
--- /dev/null
+++ b/emulators/jzintv/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: jzintv
+# Date created: 05 Apr 2008
+# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jzintv
+DISTVERSION= 1.0b3
+CATEGORIES= emulators
+MASTER_SITES= http://spatula-city.org/~im14u2c/intv/dl/
+DISTNAME= jzintv-1.0-beta3-src
+
+MAINTAINER= ganael.laplanche@martymac.com
+COMMENT= Portable Intellivision(TM) Emulator
+
+WRKSRC= ${WRKDIR}/jzintv-1.0-beta3
+BUILD_WRKSRC= ${WRKSRC}/src
+USE_GMAKE= yes
+USE_XORG= x11 xau xdmcp
+USE_SDL= sdl
+USE_ZIP= yes
+MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"
+
+OPTIONS= TOOLS "Install additional tools" off
+TOOLS= as1600 crc32 dasm1600 dis1600 frombit_r gms2rom imvtoppm rom2bin \
+ show_grom tobit tobit_r bin2rom dasm0256 dasm1600o frombit fromhex \
+ imvtogif rom_merge split_rom tobit_f tohex
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TOOLS)
+PLIST_SUB+= PL_TOOLS=""
+.else
+PLIST_SUB+= PL_TOOLS="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} '227s|/usr/local/share/jzintv|${DATADIR}|' ${BUILD_WRKSRC}/config.h
+ @${CP} ${BUILD_WRKSRC}/Makefile.freebsd ${BUILD_WRKSRC}/Makefile
+
+do-install:
+ ${MKDIR} ${DATADIR}/rom
+ ${INSTALL_DATA} ${WRKSRC}/rom/*.rom ${DATADIR}/rom/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/jzintv ${PREFIX}/bin/jzintv
+.if defined(WITH_TOOLS)
+.for tool in ${TOOLS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${PREFIX}/bin/jzintv-${tool}
+.endfor
+.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/doc
+ ${INSTALL_DATA} ${WRKSRC}/COPYING.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Release-Notes.txt ${DOCSDIR}
+ (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/doc)
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/emulators/jzintv/distinfo b/emulators/jzintv/distinfo
new file mode 100644
index 000000000000..1781949e1887
--- /dev/null
+++ b/emulators/jzintv/distinfo
@@ -0,0 +1,3 @@
+MD5 (jzintv-1.0-beta3-src.zip) = 67aed7e845726eba6ffc4706a88d3366
+SHA256 (jzintv-1.0-beta3-src.zip) = 364109dfc03ebf2a19dc4cd578ad6076dcbbda7d482bca3695c4b7e3f46ecce1
+SIZE (jzintv-1.0-beta3-src.zip) = 2566552
diff --git a/emulators/jzintv/files/patch-Makefile.freebsd b/emulators/jzintv/files/patch-Makefile.freebsd
new file mode 100644
index 000000000000..6176cb1a9171
--- /dev/null
+++ b/emulators/jzintv/files/patch-Makefile.freebsd
@@ -0,0 +1,44 @@
+--- src/Makefile.freebsd.orig 2006-07-04 20:01:35.000000000 +0200
++++ src/Makefile.freebsd 2008-04-05 19:26:55.309172857 +0200
+@@ -18,9 +18,9 @@
+ ##############################################################################
+ P = export PATH;
+
+-SDL_DIR = /usr/local
+-SDL_CFLAGS := $(shell sdl11-config --cflags)
+-SDL_LFLAGS := $(shell sdl11-config --libs)
++#SDL_DIR = /usr/local
++#SDL_CFLAGS := $(shell sdl11-config --cflags)
++#SDL_LFLAGS := $(shell sdl11-config --libs)
+
+ # Set "X" to be the executable extension
+ X =
+@@ -46,14 +46,14 @@
+ #OPT_FLAGS = -ggdb
+ #OPT_FLAGS = -O
+ #OPT_FLAGS = -O2 -ggdb
+- OPT_FLAGS = -O3 -fomit-frame-pointer -fprefetch-loop-arrays #-DBENCHMARK_STIC
++#OPT_FLAGS = -O3 -fomit-frame-pointer -fprefetch-loop-arrays #-DBENCHMARK_STIC
+ #OPT_FLAGS = -O2 -pg -ggdb -DLOCAL=
+ #OPT_FLAGS = -tpp6 -axMiKW -ip -vec_report3 -opt_report -ansi_alias -restrict -DHAVE_RESTRICT -align -O3 -Ob1 # -ipo # intel icc flags
+
+-CFLAGS += $(OPT_FLAGS) $(WARN) -I. -I.. $(DEF_FLAGS) $(EXTRA)
++CFLAGS += $(CPPFLAGS) $(OPT_FLAGS) $(WARN) -I. -I.. $(DEF_FLAGS) $(EXTRA)
+ CXXFLAGS += $(OPT_FLAGS) $(WARNXX) -I. -I.. $(DEF_FLAGS) $(EXTRA)
+ #LFLAGS = /usr/local/lib/libgcc_s.so -L../lib
+-LFLAGS = -L../lib
++LFLAGS = $(LDFLAGS) -L../lib
+
+
+ OBJS=jzintv.o
+@@ -62,8 +62,8 @@
+
+ PROGS=$(PROG)
+
+-CFLAGS += $(SDL_CFLAGS)
+-LFLAGS += $(SDL_LFLAGS)
++#CFLAGS += $(SDL_CFLAGS)
++#LFLAGS += $(SDL_LFLAGS)
+
+ ##############################################################################
+ ## Generic build-rules
diff --git a/emulators/jzintv/files/patch-sdl.h b/emulators/jzintv/files/patch-sdl.h
new file mode 100644
index 000000000000..4e8b14dc974a
--- /dev/null
+++ b/emulators/jzintv/files/patch-sdl.h
@@ -0,0 +1,18 @@
+--- src/sdl.h.orig 2006-07-06 10:11:46.000000000 +0800
++++ src/sdl.h 2008-04-06 21:15:05.000000000 +0800
+@@ -2,15 +2,6 @@
+ /* Wrapper around "#include <SDL / *>" to handle BSD's oddness. */
+ /* ======================================================================== */
+
+-#ifdef __FreeBSD__
+-# define SDL_H_ 1
+-# include <SDL11/SDL.h>
+-# include <SDL11/SDL_audio.h>
+-# include <SDL11/SDL_events.h>
+-# include <SDL11/SDL_error.h>
+-# include <SDL11/SDL_thread.h>
+-#endif
+-
+ #ifndef SDL_H_
+ # define SDL_H_ 1
+ # include <SDL/SDL.h>
diff --git a/emulators/jzintv/files/pkg-message.in b/emulators/jzintv/files/pkg-message.in
new file mode 100644
index 000000000000..a5e5e4e3e96a
--- /dev/null
+++ b/emulators/jzintv/files/pkg-message.in
@@ -0,0 +1,20 @@
+
+=============================================================
+
+jzIntv is now installed. To use the emulator, you will need
+an EXEC image (exec.bin), a GROM image (grom.bin), and a
+GAME image. Each file must be copied to this directory :
+
+%%DATADIR%%/rom
+
+You can use the stock "exec.bin," "grom.bin" and game ROM
+images that come with the Intellivision Lives! CD for sell
+here :
+
+http://www.intellivisiongames.com
+
+You can test the emulator by running 'jzintv emu_ver'. If
+everything is ok, run 'jzintv <game>' to play. Enjoy !
+
+=============================================================
+
diff --git a/emulators/jzintv/pkg-descr b/emulators/jzintv/pkg-descr
new file mode 100644
index 000000000000..1ab504f518d0
--- /dev/null
+++ b/emulators/jzintv/pkg-descr
@@ -0,0 +1,4 @@
+jzIntv is an emulator for the Mattel Intellivision(TM)
+videogame.
+
+WWW: http://spatula-city.org/~im14u2c/intv/
diff --git a/emulators/jzintv/pkg-plist b/emulators/jzintv/pkg-plist
new file mode 100644
index 000000000000..f3c269e3e01d
--- /dev/null
+++ b/emulators/jzintv/pkg-plist
@@ -0,0 +1,280 @@
+bin/jzintv
+share/jzintv/rom/emu_ver.rom
+share/jzintv/rom/event_diag.rom
+share/jzintv/rom/joy_diag.rom
+@dirrm share/jzintv/rom
+@dirrm share/jzintv
+%%PL_TOOLS%%bin/jzintv-as1600
+%%PL_TOOLS%%bin/jzintv-crc32
+%%PL_TOOLS%%bin/jzintv-dasm1600
+%%PL_TOOLS%%bin/jzintv-dis1600
+%%PL_TOOLS%%bin/jzintv-frombit_r
+%%PL_TOOLS%%bin/jzintv-gms2rom
+%%PL_TOOLS%%bin/jzintv-imvtoppm
+%%PL_TOOLS%%bin/jzintv-rom2bin
+%%PL_TOOLS%%bin/jzintv-show_grom
+%%PL_TOOLS%%bin/jzintv-tobit
+%%PL_TOOLS%%bin/jzintv-tobit_r
+%%PL_TOOLS%%bin/jzintv-bin2rom
+%%PL_TOOLS%%bin/jzintv-dasm0256
+%%PL_TOOLS%%bin/jzintv-dasm1600o
+%%PL_TOOLS%%bin/jzintv-frombit
+%%PL_TOOLS%%bin/jzintv-fromhex
+%%PL_TOOLS%%bin/jzintv-imvtogif
+%%PL_TOOLS%%bin/jzintv-rom_merge
+%%PL_TOOLS%%bin/jzintv-split_rom
+%%PL_TOOLS%%bin/jzintv-tobit_f
+%%PL_TOOLS%%bin/jzintv-tohex
+%%PORTDOCS%%%%DOCSDIR%%/doc/De_Re_Intellivision/dri_2.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/De_Re_Intellivision/dri_1.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/De_Re_Intellivision/dri_6.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/De_Re_Intellivision/dri_9.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/color/intellivision_color_matrix.gif
+%%PORTDOCS%%%%DOCSDIR%%/doc/color/colors_new.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/color/color.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/bsr/voicefaq.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/intvpc/res_file.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/intellicart/.exrc
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/intellicart/banksw.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/intellicart/banksw.asm
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/intellicart/simple.asm
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/jzintv/cp_1610.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/historic/jzintv/README.mac
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/retrobox.kbd
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/tn4fig1.gif
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/good_deal_games_interview.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/stic.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/kbdhackfile.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/cp_1610.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/source.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/jzintv.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/joystick.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/Known-Issues.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/jzintv/.exrc
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/cp1600_ref.pdf
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/stic.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/psg.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/memory_map.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/graphics_mem.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/interrupts.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/cp1600_summary.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/intellicart.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/programming/intro_to_cp1600.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/rom_fmt/IntellicartManual.booklet.pdf
+%%PORTDOCS%%%%DOCSDIR%%/doc/rom_fmt/id_tag.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/rom_fmt/authors
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/keyboard.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/state_flow_diag.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/hardware.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/ivoice.c
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/easter.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_cart_bot.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_schematic.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_intrm_busrq.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_cart_top.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_state_flow_diag.gif
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/thumb/t_block.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/ecs.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/sp0256_cpu.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/state_flow_diag.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/cart_bot.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/sp0256_block.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/intrm_busrq.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/filtstage.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/cart_top.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/fig/block_diagram.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/index.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/master.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/.exrc
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/ivoice.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/sp0256_block.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/cart_top.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/block.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/sp0256_cpu.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/schematic.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/cart_bot.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/filtstage.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/state_flow_diag.gif
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/images/intrm_busrq.png
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/sp0256_instr_set.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/tech/ivoice.h
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/test_hcif.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/dasm0256.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/frombit.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/gms2rom.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/fromhex.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/as1600.pdf
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/dasm1600.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/tohex.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/show_grom.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/macros.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/tobit.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/as1600.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/utilities/test_cart.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/voice/filtstage.fig
+%%PORTDOCS%%%%DOCSDIR%%/doc/voice/instr_set.txt
+%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/Release-Notes.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/De_Re_Intellivision
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/color
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/historic/bsr
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/historic/intellicart
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/historic/intvpc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/historic/jzintv
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/historic
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/jzintv
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/programming
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/rom_fmt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/tech/fig
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/tech/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/tech/thumb
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/tech
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/utilities
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/voice
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/miscfont
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4_tris_game_over.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/chindnce.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/behappy3.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/font.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4_tris_sound_test.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/pm16.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/nut1mrch.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/digits
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/mkfont16.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4-tris.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4_tris_title_screen.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/behappy.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/trisfont
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/nut1mrch.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/COPYING.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/SOURCE.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/_
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/facefont
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/chindnce.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4_tris_in_game.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4-tris/4_tris_easter_egg.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GOOD_ROM_NAMES.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/balls1/balls1.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/balls1/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/balls2/balls2.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/balls2/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bankdemo/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bankdemo/bankdemo.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/banktest/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/banktest/banktest.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bankworld/bankworld.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bncpix/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bncpix/bncpix.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csumexec/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csumexec/csumexec.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ecscable/ec_mon2.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ecscable/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/geese/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/geese/geese.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gram_scroll/gram_scroll.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gram_scroll/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gram_scroll2/gram_scroll2.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gram_scroll2/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/handdemo/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/handdemo/handdemo.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello/hello.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kbd_test/kbd_test.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/memcmp.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/dec16only.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/memcpy.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/fastdivu.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/dec16dec32.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/hexdisp.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/rand.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/resrom.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/gimini.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/colorsq_clip.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/memunpk.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/memset.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/fillmem.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/colorsq_sv.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/ivoice.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/colorsq.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/dist_fast.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/saynum16.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/sqrt.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/prnum32.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/print.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/hex16.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/prnum16.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/dividivu.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/library/ic_banksw.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life/life.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/stic.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/gfx.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/default.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/util.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/psg.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro/print.mac
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mazedemo/mazedemo.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mazedemo/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mem_test/mem_test.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mem_test/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mob_test/mob_test.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mob_test/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sky/sky.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tagalong/tagalong.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tagalong/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tagalong2/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tagalong2/tagalong2b.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tagalong2/tagalong2.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/tank.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/profile.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/atr_data.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/objects.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/status.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/util.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/mob_data.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/mob_ll.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tank/gfx_data.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/task/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/task/sleep.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/task/timer.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/task/taskq.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/task/scanhand.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/world/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/world/world.asm
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/4-tris
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/balls1
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/balls2
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/bankdemo
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/banktest
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/bankworld
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/bncpix
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/csumexec
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ecscable
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/geese
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/gram_scroll
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/gram_scroll2
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/handdemo
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/hello
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/kbd_test
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/library
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/life
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/macro
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mazedemo
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mem_test
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mob_test
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sky
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tagalong
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tagalong2
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tank
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/task
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/world
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%