summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortv <tv>2006-01-31 20:19:02 +0000
committertv <tv>2006-01-31 20:19:02 +0000
commit1bf85a33a7f0af352174332dac11865971217df5 (patch)
treeac38b597af8194f97ef08d4fd0ea67ec8fae54d6 /emulators
parentfb412398b2a8cd982d1920218452cdaea52847a6 (diff)
downloadpkgsrc-tv_libtool_1_5_18_tmpdirfix.tar.gz
Backport a change from 1.5.22 to 1.5.18 that fixes some issues withtv_libtool_1_5_18_tmpdirfix
temp dir creation when using relink-based finalization.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/BasiliskII/DESCR4
-rw-r--r--emulators/BasiliskII/Makefile34
-rw-r--r--emulators/BasiliskII/PLIST11
-rw-r--r--emulators/BasiliskII/distinfo9
-rw-r--r--emulators/BasiliskII/options.mk29
-rw-r--r--emulators/BasiliskII/patches/patch-aa13
-rw-r--r--emulators/BasiliskII/patches/patch-ab13
-rw-r--r--emulators/BasiliskII/patches/patch-ac12
-rw-r--r--emulators/BasiliskII/patches/patch-ad80
-rw-r--r--emulators/Cygne-SDL/DESCR11
-rw-r--r--emulators/Cygne-SDL/Makefile44
-rw-r--r--emulators/Cygne-SDL/PLIST7
-rw-r--r--emulators/Cygne-SDL/distinfo9
-rw-r--r--emulators/Cygne-SDL/patches/patch-aa62
-rw-r--r--emulators/Cygne-SDL/patches/patch-ab26
-rw-r--r--emulators/Cygne-SDL/patches/patch-ac235
-rw-r--r--emulators/Cygne-SDL/patches/patch-ad15
-rw-r--r--emulators/DatLib/DESCR4
-rw-r--r--emulators/DatLib/Makefile37
-rw-r--r--emulators/DatLib/PLIST19
-rw-r--r--emulators/DatLib/buildlink3.mk18
-rw-r--r--emulators/DatLib/distinfo8
-rw-r--r--emulators/DatLib/patches/patch-aa48
-rw-r--r--emulators/DatLib/patches/patch-ab14
-rw-r--r--emulators/DatLib/patches/patch-ac14
-rw-r--r--emulators/DatUtil/DESCR5
-rw-r--r--emulators/DatUtil/Makefile34
-rw-r--r--emulators/DatUtil/PLIST4
-rw-r--r--emulators/DatUtil/distinfo7
-rw-r--r--emulators/DatUtil/patches/patch-aa36
-rw-r--r--emulators/DatUtil/patches/patch-ab21
-rw-r--r--emulators/MAMEDiff/DESCR9
-rw-r--r--emulators/MAMEDiff/Makefile33
-rw-r--r--emulators/MAMEDiff/PLIST4
-rw-r--r--emulators/MAMEDiff/distinfo9
-rw-r--r--emulators/MAMEDiff/patches/patch-aa36
-rw-r--r--emulators/MAMEDiff/patches/patch-ab19
-rw-r--r--emulators/MAMEDiff/patches/patch-ac15
-rw-r--r--emulators/MAMEDiff/patches/patch-ad15
-rw-r--r--emulators/Makefile142
-rw-r--r--emulators/NeoPop-SDL/DESCR6
-rw-r--r--emulators/NeoPop-SDL/Makefile19
-rw-r--r--emulators/NeoPop-SDL/PLIST7
-rw-r--r--emulators/NeoPop-SDL/distinfo5
-rw-r--r--emulators/ROMBuild/DESCR12
-rw-r--r--emulators/ROMBuild/Makefile33
-rw-r--r--emulators/ROMBuild/PLIST4
-rw-r--r--emulators/ROMBuild/distinfo8
-rw-r--r--emulators/ROMBuild/patches/patch-aa47
-rw-r--r--emulators/ROMBuild/patches/patch-ab21
-rw-r--r--emulators/ROMBuild/patches/patch-ac13
-rw-r--r--emulators/ROMInfo/DESCR3
-rw-r--r--emulators/ROMInfo/Makefile31
-rw-r--r--emulators/ROMInfo/PLIST4
-rw-r--r--emulators/ROMInfo/distinfo7
-rw-r--r--emulators/ROMInfo/patches/patch-aa36
-rw-r--r--emulators/ROMInfo/patches/patch-ab23
-rw-r--r--emulators/ZIPIdent/DESCR12
-rw-r--r--emulators/ZIPIdent/Makefile31
-rw-r--r--emulators/ZIPIdent/PLIST4
-rw-r--r--emulators/ZIPIdent/distinfo7
-rw-r--r--emulators/ZIPIdent/patches/patch-aa36
-rw-r--r--emulators/ZIPIdent/patches/patch-ab23
-rw-r--r--emulators/aliados/DESCR8
-rw-r--r--emulators/aliados/Makefile25
-rw-r--r--emulators/aliados/PLIST2
-rw-r--r--emulators/aliados/distinfo6
-rw-r--r--emulators/aliados/patches/patch-aa115
-rw-r--r--emulators/aranym/DESCR5
-rw-r--r--emulators/aranym/Makefile44
-rw-r--r--emulators/aranym/PLIST47
-rw-r--r--emulators/aranym/distinfo5
-rw-r--r--emulators/arcem/DESCR2
-rw-r--r--emulators/arcem/MESSAGE16
-rw-r--r--emulators/arcem/Makefile41
-rw-r--r--emulators/arcem/PLIST10
-rw-r--r--emulators/arcem/distinfo15
-rw-r--r--emulators/arcem/files/dot.arcemrc4
-rw-r--r--emulators/arcem/patches/patch-aa45
-rw-r--r--emulators/arcem/patches/patch-ab29
-rw-r--r--emulators/arcem/patches/patch-ac35
-rw-r--r--emulators/arcem/patches/patch-ad35
-rw-r--r--emulators/arnold/DESCR3
-rw-r--r--emulators/arnold/Makefile48
-rw-r--r--emulators/arnold/PLIST28
-rw-r--r--emulators/arnold/distinfo7
-rw-r--r--emulators/arnold/patches/patch-aa46
-rw-r--r--emulators/arnold/patches/patch-ab22
-rw-r--r--emulators/atari800/DESCR24
-rw-r--r--emulators/atari800/MESSAGE19
-rw-r--r--emulators/atari800/Makefile39
-rw-r--r--emulators/atari800/PLIST19
-rw-r--r--emulators/atari800/distinfo12
-rw-r--r--emulators/atari800/files/atari800.cfg24
-rw-r--r--emulators/atari800/options.mk17
-rw-r--r--emulators/atari800/patches/patch-aa13
-rw-r--r--emulators/atari800/patches/patch-ab13
-rw-r--r--emulators/atari800/patches/patch-ac23
-rw-r--r--emulators/atari800/patches/patch-ad36
-rw-r--r--emulators/blinkensim/DESCR4
-rw-r--r--emulators/blinkensim/Makefile23
-rw-r--r--emulators/blinkensim/PLIST3
-rw-r--r--emulators/blinkensim/distinfo5
-rw-r--r--emulators/bochs/DESCR8
-rw-r--r--emulators/bochs/MESSAGE8
-rw-r--r--emulators/bochs/Makefile68
-rw-r--r--emulators/bochs/PLIST37
-rw-r--r--emulators/bochs/distinfo8
-rw-r--r--emulators/bochs/patches/patch-aa69
-rw-r--r--emulators/bochs/patches/patch-ab13
-rw-r--r--emulators/bochs/patches/patch-ad15
-rw-r--r--emulators/ckmame/DESCR5
-rw-r--r--emulators/ckmame/Makefile22
-rw-r--r--emulators/ckmame/PLIST10
-rw-r--r--emulators/ckmame/distinfo5
-rw-r--r--emulators/compat11/Makefile31
-rw-r--r--emulators/compat12/DEINSTALL14
-rw-r--r--emulators/compat12/DESCR5
-rw-r--r--emulators/compat12/INSTALL50
-rw-r--r--emulators/compat12/Makefile46
-rw-r--r--emulators/compat12/PLIST5
-rw-r--r--emulators/compat12/distinfo14
-rw-r--r--emulators/compat13/DEINSTALL21
-rw-r--r--emulators/compat13/DESCR4
-rw-r--r--emulators/compat13/INSTALL55
-rw-r--r--emulators/compat13/Makefile55
-rw-r--r--emulators/compat13/PLIST5
-rw-r--r--emulators/compat13/PLIST.alpha3
-rw-r--r--emulators/compat13/distinfo19
-rw-r--r--emulators/compat14-crypto/DEINSTALL22
-rw-r--r--emulators/compat14-crypto/DESCR5
-rw-r--r--emulators/compat14-crypto/INSTALL56
-rw-r--r--emulators/compat14-crypto/Makefile62
-rw-r--r--emulators/compat14-crypto/PLIST48
-rw-r--r--emulators/compat14-crypto/PLIST.i3863
-rw-r--r--emulators/compat14-crypto/distinfo8
-rw-r--r--emulators/compat14/DEINSTALL22
-rw-r--r--emulators/compat14/DESCR4
-rw-r--r--emulators/compat14/INSTALL56
-rw-r--r--emulators/compat14/Makefile60
-rw-r--r--emulators/compat14/PLIST39
-rw-r--r--emulators/compat14/PLIST.i3863
-rw-r--r--emulators/compat14/distinfo8
-rw-r--r--emulators/compat16/DESCR2
-rw-r--r--emulators/compat16/MESSAGE7
-rw-r--r--emulators/compat16/Makefile31
-rw-r--r--emulators/compat16/PLIST.i386138
-rw-r--r--emulators/compat16/distinfo5
-rw-r--r--emulators/cygwin_esound/DESCR3
-rw-r--r--emulators/cygwin_esound/Makefile36
-rw-r--r--emulators/cygwin_esound/PLIST5
-rw-r--r--emulators/cygwin_esound/distinfo11
-rw-r--r--emulators/cygwin_esound/files/cygwin_esd.sh23
-rw-r--r--emulators/cygwin_lib/DESCR4
-rw-r--r--emulators/cygwin_lib/Makefile34
-rw-r--r--emulators/cygwin_lib/PLIST29
-rw-r--r--emulators/cygwin_lib/buildlink3.mk18
-rw-r--r--emulators/cygwin_lib/distinfo5
-rw-r--r--emulators/darcnes/DESCR13
-rw-r--r--emulators/darcnes/Makefile20
-rw-r--r--emulators/darcnes/Makefile.common31
-rw-r--r--emulators/darcnes/PLIST4
-rw-r--r--emulators/darcnes/distinfo12
-rw-r--r--emulators/darcnes/patches/patch-aa37
-rw-r--r--emulators/darcnes/patches/patch-ab17
-rw-r--r--emulators/darcnes/patches/patch-ad46
-rw-r--r--emulators/darcnes/patches/patch-ae9
-rw-r--r--emulators/darcnes/patches/patch-af33
-rw-r--r--emulators/darcnes/patches/patch-ag12
-rw-r--r--emulators/darcnes/patches/patch-ah13
-rw-r--r--emulators/darwin_lib/DESCR5
-rw-r--r--emulators/darwin_lib/Makefile47
-rw-r--r--emulators/darwin_lib/distinfo20
-rw-r--r--emulators/dega/DESCR2
-rw-r--r--emulators/dega/Makefile26
-rw-r--r--emulators/dega/PLIST2
-rw-r--r--emulators/dega/distinfo5
-rw-r--r--emulators/dgen/DESCR4
-rw-r--r--emulators/dgen/Makefile38
-rw-r--r--emulators/dgen/PLIST6
-rw-r--r--emulators/dgen/distinfo5
-rw-r--r--emulators/dosbox/DESCR12
-rw-r--r--emulators/dosbox/Makefile28
-rw-r--r--emulators/dosbox/PLIST5
-rw-r--r--emulators/dosbox/distinfo6
-rw-r--r--emulators/dosbox/patches/patch-aa13
-rw-r--r--emulators/doscmd/DESCR7
-rw-r--r--emulators/doscmd/Makefile27
-rw-r--r--emulators/doscmd/PLIST6
-rw-r--r--emulators/doscmd/distinfo14
-rw-r--r--emulators/doscmd/patches/patch-aa24
-rw-r--r--emulators/doscmd/patches/patch-ab59
-rw-r--r--emulators/doscmd/patches/patch-ac20
-rw-r--r--emulators/doscmd/patches/patch-ae13
-rw-r--r--emulators/doscmd/patches/patch-af40
-rw-r--r--emulators/doscmd/patches/patch-ag20
-rw-r--r--emulators/doscmd/patches/patch-ah74
-rw-r--r--emulators/doscmd/patches/patch-ai27
-rw-r--r--emulators/doscmd/patches/patch-aj33
-rw-r--r--emulators/fceu/DESCR6
-rw-r--r--emulators/fceu/Makefile35
-rw-r--r--emulators/fceu/PLIST10
-rw-r--r--emulators/fceu/distinfo9
-rw-r--r--emulators/fceu/patches/patch-aa34
-rw-r--r--emulators/fceu/patches/patch-ac16
-rw-r--r--emulators/fceu/patches/patch-af44
-rw-r--r--emulators/fceu/patches/patch-ah59
-rw-r--r--emulators/fmsx/DESCR13
-rw-r--r--emulators/fmsx/Makefile60
-rw-r--r--emulators/fmsx/PLIST15
-rw-r--r--emulators/fmsx/distinfo9
-rw-r--r--emulators/fmsx/patches/patch-aa30
-rw-r--r--emulators/fmsx/patches/patch-ab23
-rw-r--r--emulators/fmsx/patches/patch-ac20
-rw-r--r--emulators/fmsx/patches/patch-ad180
-rw-r--r--emulators/freebsd_lib/DESCR5
-rw-r--r--emulators/freebsd_lib/INSTALL34
-rw-r--r--emulators/freebsd_lib/Makefile31
-rw-r--r--emulators/freebsd_lib/PLIST64
-rw-r--r--emulators/freebsd_lib/distinfo5
-rw-r--r--emulators/fuse-utils/DESCR8
-rw-r--r--emulators/fuse-utils/Makefile22
-rw-r--r--emulators/fuse-utils/PLIST22
-rw-r--r--emulators/fuse-utils/distinfo5
-rw-r--r--emulators/fuse/DESCR8
-rw-r--r--emulators/fuse/Makefile23
-rw-r--r--emulators/fuse/PLIST43
-rw-r--r--emulators/fuse/distinfo7
-rw-r--r--emulators/fuse/patches/patch-aa13
-rw-r--r--emulators/fuse/patches/patch-ab13
-rw-r--r--emulators/gcube/DESCR3
-rw-r--r--emulators/gcube/Makefile39
-rw-r--r--emulators/gcube/PLIST10
-rw-r--r--emulators/gcube/distinfo7
-rw-r--r--emulators/gcube/patches/patch-aa19
-rw-r--r--emulators/gcube/patches/patch-ab33
-rw-r--r--emulators/generator-cbiere/DESCR20
-rw-r--r--emulators/generator-cbiere/Makefile37
-rw-r--r--emulators/generator-cbiere/PLIST2
-rw-r--r--emulators/generator-cbiere/distinfo5
-rw-r--r--emulators/generator/DESCR22
-rw-r--r--emulators/generator/Makefile31
-rw-r--r--emulators/generator/PLIST2
-rw-r--r--emulators/generator/distinfo10
-rw-r--r--emulators/generator/patches/patch-aa13
-rw-r--r--emulators/generator/patches/patch-ab14
-rw-r--r--emulators/generator/patches/patch-ac20
-rw-r--r--emulators/generator/patches/patch-ae33
-rw-r--r--emulators/generator/patches/patch-af13
-rw-r--r--emulators/gens/DESCR3
-rw-r--r--emulators/gens/Makefile30
-rw-r--r--emulators/gens/PLIST39
-rw-r--r--emulators/gens/distinfo26
-rw-r--r--emulators/gens/patches/patch-aa73
-rw-r--r--emulators/gens/patches/patch-ab90
-rw-r--r--emulators/gens/patches/patch-ac118
-rw-r--r--emulators/gens/patches/patch-ad133
-rw-r--r--emulators/gens/patches/patch-ae21
-rw-r--r--emulators/gens/patches/patch-af405
-rw-r--r--emulators/gens/patches/patch-ag99
-rw-r--r--emulators/gens/patches/patch-ah65
-rw-r--r--emulators/gens/patches/patch-ai15
-rw-r--r--emulators/gens/patches/patch-aj158
-rw-r--r--emulators/gens/patches/patch-ak57
-rw-r--r--emulators/gens/patches/patch-am25
-rw-r--r--emulators/gens/patches/patch-an22
-rw-r--r--emulators/gens/patches/patch-ao35
-rw-r--r--emulators/gens/patches/patch-ap15
-rw-r--r--emulators/gens/patches/patch-aq112
-rw-r--r--emulators/gens/patches/patch-ar21
-rw-r--r--emulators/gens/patches/patch-as67
-rw-r--r--emulators/gens/patches/patch-at15
-rw-r--r--emulators/gens/patches/patch-au21
-rw-r--r--emulators/gens/patches/patch-av24
-rw-r--r--emulators/gnuboy-sdl/DESCR2
-rw-r--r--emulators/gnuboy-sdl/Makefile27
-rw-r--r--emulators/gnuboy-sdl/PLIST14
-rw-r--r--emulators/gnuboy-sdl/distinfo6
-rw-r--r--emulators/gnuboy-sdl/patches/patch-aa70
-rw-r--r--emulators/gnuboy/DESCR2
-rw-r--r--emulators/gnuboy/Makefile27
-rw-r--r--emulators/gnuboy/PLIST14
-rw-r--r--emulators/gnuboy/distinfo9
-rw-r--r--emulators/gnuboy/patches/patch-aa53
-rw-r--r--emulators/gnuboy/patches/patch-ab24
-rw-r--r--emulators/gnuboy/patches/patch-ac72
-rw-r--r--emulators/gnuboy/patches/patch-ad17
-rw-r--r--emulators/gpsim-devel/DESCR1
-rw-r--r--emulators/gpsim-devel/Makefile30
-rw-r--r--emulators/gpsim-devel/PLIST84
-rw-r--r--emulators/gpsim-devel/buildlink3.mk21
-rw-r--r--emulators/gpsim-devel/distinfo6
-rw-r--r--emulators/gpsim-devel/patches/patch-aa17
-rw-r--r--emulators/gpsim-oscilloscope/DESCR4
-rw-r--r--emulators/gpsim-oscilloscope/Makefile28
-rw-r--r--emulators/gpsim-oscilloscope/PLIST5
-rw-r--r--emulators/gpsim-oscilloscope/distinfo5
-rw-r--r--emulators/gpsim-ptyusart/DESCR19
-rw-r--r--emulators/gpsim-ptyusart/Makefile32
-rw-r--r--emulators/gpsim-ptyusart/PLIST7
-rw-r--r--emulators/gpsim-ptyusart/distinfo5
-rw-r--r--emulators/gpsim/DESCR1
-rw-r--r--emulators/gpsim/Makefile29
-rw-r--r--emulators/gpsim/PLIST65
-rw-r--r--emulators/gpsim/distinfo11
-rw-r--r--emulators/gpsim/patches/patch-aa17
-rw-r--r--emulators/gpsim/patches/patch-ab27
-rw-r--r--emulators/gpsim/patches/patch-ac34
-rw-r--r--emulators/gpsim/patches/patch-ad39
-rw-r--r--emulators/gpsim/patches/patch-ae187
-rw-r--r--emulators/gpsim/patches/patch-af21
-rw-r--r--emulators/gxemul/DESCR6
-rw-r--r--emulators/gxemul/Makefile46
-rw-r--r--emulators/gxemul/PLIST64
-rw-r--r--emulators/gxemul/distinfo5
-rw-r--r--emulators/hatari/DESCR9
-rw-r--r--emulators/hatari/Makefile22
-rw-r--r--emulators/hatari/PLIST12
-rw-r--r--emulators/hatari/distinfo6
-rw-r--r--emulators/hatari/patches/patch-aa19
-rw-r--r--emulators/hercules-images/DESCR16
-rw-r--r--emulators/hercules-images/Makefile22
-rw-r--r--emulators/hercules-images/PLIST18
-rw-r--r--emulators/hercules-images/distinfo5
-rw-r--r--emulators/hercules/DESCR8
-rw-r--r--emulators/hercules/Makefile26
-rw-r--r--emulators/hercules/PLIST24
-rw-r--r--emulators/hercules/distinfo19
-rw-r--r--emulators/hercules/patches/patch-aa52
-rw-r--r--emulators/hercules/patches/patch-ab30
-rw-r--r--emulators/hercules/patches/patch-ac79
-rw-r--r--emulators/hercules/patches/patch-ad18
-rw-r--r--emulators/hercules/patches/patch-ae58
-rw-r--r--emulators/hercules/patches/patch-af30
-rw-r--r--emulators/hercules/patches/patch-ag13
-rw-r--r--emulators/hercules/patches/patch-ah20
-rw-r--r--emulators/hercules/patches/patch-aj29
-rw-r--r--emulators/hercules/patches/patch-ak18
-rw-r--r--emulators/hercules/patches/patch-al18
-rw-r--r--emulators/hercules/patches/patch-am20
-rw-r--r--emulators/hercules/patches/patch-an54
-rw-r--r--emulators/hercules/patches/patch-ao16
-rw-r--r--emulators/ia64sim/DESCR15
-rw-r--r--emulators/ia64sim/Makefile22
-rw-r--r--emulators/ia64sim/PLIST2
-rw-r--r--emulators/ia64sim/distinfo9
-rw-r--r--emulators/ia64sim/patches/patch-aa13
-rw-r--r--emulators/ia64sim/patches/patch-ab24
-rw-r--r--emulators/ia64sim/patches/patch-ac22
-rw-r--r--emulators/ia64sim/patches/patch-ad102
-rw-r--r--emulators/libspectrum/DESCR3
-rw-r--r--emulators/libspectrum/Makefile27
-rw-r--r--emulators/libspectrum/PLIST6
-rw-r--r--emulators/libspectrum/buildlink3.mk23
-rw-r--r--emulators/libspectrum/distinfo5
-rw-r--r--emulators/linuxppc_lib/DESCR5
-rw-r--r--emulators/linuxppc_lib/Makefile85
-rw-r--r--emulators/linuxppc_lib/distinfo48
-rw-r--r--emulators/linuxppc_lib/files/ld.so.conf3
-rw-r--r--emulators/linuxppc_lib/patches/patch-aa8
-rw-r--r--emulators/lrmi/DESCR1
-rw-r--r--emulators/lrmi/Makefile26
-rw-r--r--emulators/lrmi/PLIST6
-rw-r--r--emulators/lrmi/buildlink3.mk18
-rw-r--r--emulators/lrmi/distinfo6
-rw-r--r--emulators/lrmi/patches/patch-aa130
-rw-r--r--emulators/m1/DESCR6
-rw-r--r--emulators/m1/Makefile32
-rw-r--r--emulators/m1/PLIST6
-rw-r--r--emulators/m1/distinfo5
-rw-r--r--emulators/minivmac/DESCR4
-rw-r--r--emulators/minivmac/Makefile32
-rw-r--r--emulators/minivmac/PLIST12
-rw-r--r--emulators/minivmac/distinfo6
-rw-r--r--emulators/minivmac/patches/patch-aa25
-rw-r--r--emulators/mmix/DESCR8
-rw-r--r--emulators/mmix/Makefile29
-rw-r--r--emulators/mmix/PLIST69
-rw-r--r--emulators/mmix/distinfo6
-rw-r--r--emulators/mmix/patches/patch-aa13
-rw-r--r--emulators/netbsd32_compat14/DEINSTALL19
-rw-r--r--emulators/netbsd32_compat14/DESCR5
-rw-r--r--emulators/netbsd32_compat14/INSTALL51
-rw-r--r--emulators/netbsd32_compat14/Makefile58
-rw-r--r--emulators/netbsd32_compat14/PLIST39
-rw-r--r--emulators/netbsd32_compat14/PLIST.x86_643
-rw-r--r--emulators/netbsd32_compat14/distinfo7
-rw-r--r--emulators/netbsd32_compat15/DEINSTALL20
-rw-r--r--emulators/netbsd32_compat15/DESCR5
-rw-r--r--emulators/netbsd32_compat15/INSTALL50
-rw-r--r--emulators/netbsd32_compat15/Makefile65
-rw-r--r--emulators/netbsd32_compat15/PLIST117
-rw-r--r--emulators/netbsd32_compat15/distinfo5
-rw-r--r--emulators/netbsd32_compat16/DEINSTALL18
-rw-r--r--emulators/netbsd32_compat16/DESCR5
-rw-r--r--emulators/netbsd32_compat16/INSTALL51
-rw-r--r--emulators/netbsd32_compat16/Makefile67
-rw-r--r--emulators/netbsd32_compat16/PLIST128
-rw-r--r--emulators/netbsd32_compat16/PLIST.sparc648
-rw-r--r--emulators/netbsd32_compat16/PLIST.x86_644
-rw-r--r--emulators/netbsd32_compat16/distinfo7
-rw-r--r--emulators/openmsx/DESCR16
-rw-r--r--emulators/openmsx/Makefile47
-rw-r--r--emulators/openmsx/PLIST485
-rw-r--r--emulators/openmsx/distinfo5
-rw-r--r--emulators/openmsx/files/platform-netbsd.mk30
-rw-r--r--emulators/osf1_lib/DESCR9
-rw-r--r--emulators/osf1_lib/INSTALL33
-rw-r--r--emulators/osf1_lib/Makefile50
-rw-r--r--emulators/osf1_lib/PLIST31
-rw-r--r--emulators/osf1_lib/distinfo5
-rw-r--r--emulators/p11/DESCR18
-rw-r--r--emulators/p11/Makefile24
-rw-r--r--emulators/p11/PLIST19
-rw-r--r--emulators/p11/distinfo5
-rw-r--r--emulators/palmosemulator/DESCR8
-rw-r--r--emulators/palmosemulator/Makefile79
-rw-r--r--emulators/palmosemulator/PLIST106
-rw-r--r--emulators/palmosemulator/distinfo22
-rw-r--r--emulators/palmosemulator/patches/patch-aa107
-rw-r--r--emulators/palmosemulator/patches/patch-ab36
-rw-r--r--emulators/palmosemulator/patches/patch-ac16
-rw-r--r--emulators/palmosemulator/patches/patch-ad54
-rw-r--r--emulators/palmosemulator/patches/patch-ae167
-rw-r--r--emulators/palmosemulator/patches/patch-af17
-rw-r--r--emulators/palmosemulator/patches/patch-ag36
-rw-r--r--emulators/palmosemulator/patches/patch-ah36
-rw-r--r--emulators/palmosemulator/patches/patch-ai17
-rw-r--r--emulators/palmosemulator/patches/patch-aj19
-rw-r--r--emulators/palmosemulator/patches/patch-ak85
-rw-r--r--emulators/palmosemulator/patches/patch-al65
-rw-r--r--emulators/palmosemulator/patches/patch-am51
-rw-r--r--emulators/palmosemulator/patches/patch-an35
-rw-r--r--emulators/pcemu/DESCR19
-rw-r--r--emulators/pcemu/Makefile27
-rw-r--r--emulators/pcemu/PLIST21
-rw-r--r--emulators/pcemu/distinfo16
-rw-r--r--emulators/pcemu/files/README.BSD158
-rw-r--r--emulators/pcemu/files/bootstrap.shar1087
-rw-r--r--emulators/pcemu/files/bootstrapper.uu250
-rw-r--r--emulators/pcemu/patches/patch-aa59
-rw-r--r--emulators/pcemu/patches/patch-ab70
-rw-r--r--emulators/pcemu/patches/patch-ac41
-rw-r--r--emulators/pcemu/patches/patch-ad32
-rw-r--r--emulators/pcemu/patches/patch-ae9
-rw-r--r--emulators/pcemu/patches/patch-af20
-rw-r--r--emulators/pcemu/patches/patch-ag10
-rw-r--r--emulators/pcemu/patches/patch-ah13
-rw-r--r--emulators/pcemu/patches/patch-ai14
-rw-r--r--emulators/pcemu/patches/patch-aj38
-rw-r--r--emulators/pcemu/patches/patch-ak12
-rw-r--r--emulators/peace/DESCR1
-rw-r--r--emulators/peace/MESSAGE18
-rw-r--r--emulators/peace/Makefile41
-rw-r--r--emulators/peace/PLIST38
-rw-r--r--emulators/peace/distinfo5
-rw-r--r--emulators/pearpc/DESCR2
-rw-r--r--emulators/pearpc/Makefile62
-rw-r--r--emulators/pearpc/PLIST7
-rw-r--r--emulators/pearpc/distinfo6
-rw-r--r--emulators/pearpc/files/pearpc.sh6
-rw-r--r--emulators/pearpc/patches/patch-aa28
-rw-r--r--emulators/qemu/DESCR11
-rw-r--r--emulators/qemu/Makefile49
-rw-r--r--emulators/qemu/PLIST57
-rw-r--r--emulators/qemu/distinfo24
-rw-r--r--emulators/qemu/files/Makefile.multinode-NetBSD59
-rw-r--r--emulators/qemu/patches/patch-aa26
-rw-r--r--emulators/qemu/patches/patch-ac36
-rw-r--r--emulators/qemu/patches/patch-af40
-rw-r--r--emulators/qemu/patches/patch-ag40
-rw-r--r--emulators/qemu/patches/patch-ah20
-rw-r--r--emulators/qemu/patches/patch-ai20
-rw-r--r--emulators/qemu/patches/patch-aj35
-rw-r--r--emulators/qemu/patches/patch-ak41
-rw-r--r--emulators/qemu/patches/patch-al22
-rw-r--r--emulators/qemu/patches/patch-am13
-rw-r--r--emulators/qemu/patches/patch-an83
-rw-r--r--emulators/qemu/patches/patch-ao60
-rw-r--r--emulators/qemu/patches/patch-ap14
-rw-r--r--emulators/qemu/patches/patch-as14
-rw-r--r--emulators/qemu/patches/patch-au76
-rw-r--r--emulators/qemu/patches/patch-av55
-rw-r--r--emulators/qemu/patches/patch-aw19
-rw-r--r--emulators/qemu/patches/patch-ax166
-rw-r--r--emulators/qemu/patches/patch-ay24
-rw-r--r--emulators/raine/DESCR4
-rw-r--r--emulators/raine/Makefile40
-rw-r--r--emulators/raine/PLIST29
-rw-r--r--emulators/raine/distinfo12
-rw-r--r--emulators/raine/patches/patch-aa97
-rw-r--r--emulators/raine/patches/patch-ab150
-rw-r--r--emulators/raine/patches/patch-ac22
-rw-r--r--emulators/raine/patches/patch-ad17
-rw-r--r--emulators/raine/patches/patch-ae14
-rw-r--r--emulators/raine/patches/patch-af14
-rw-r--r--emulators/raine/patches/patch-ag29
-rw-r--r--emulators/simh/DESCR7
-rw-r--r--emulators/simh/Makefile46
-rw-r--r--emulators/simh/PLIST62
-rw-r--r--emulators/simh/distinfo8
-rw-r--r--emulators/simh/patches/patch-aa71
-rw-r--r--emulators/simh/patches/patch-ab47
-rw-r--r--emulators/simh/patches/patch-ac20
-rw-r--r--emulators/simulavr/DESCR7
-rw-r--r--emulators/simulavr/Makefile25
-rw-r--r--emulators/simulavr/PLIST25
-rw-r--r--emulators/simulavr/distinfo6
-rw-r--r--emulators/simulavr/patches/patch-aa13
-rw-r--r--emulators/ski/DESCR1
-rw-r--r--emulators/ski/Makefile46
-rw-r--r--emulators/ski/PLIST9
-rw-r--r--emulators/ski/distinfo5
-rw-r--r--emulators/sms_sdl/DESCR4
-rw-r--r--emulators/sms_sdl/Makefile29
-rw-r--r--emulators/sms_sdl/PLIST7
-rw-r--r--emulators/sms_sdl/distinfo5
-rw-r--r--emulators/snes9x/DESCR4
-rw-r--r--emulators/snes9x/Makefile72
-rw-r--r--emulators/snes9x/PLIST11
-rw-r--r--emulators/snes9x/distinfo20
-rw-r--r--emulators/snes9x/patches/patch-aa145
-rw-r--r--emulators/snes9x/patches/patch-ab13
-rw-r--r--emulators/snes9x/patches/patch-ac14
-rw-r--r--emulators/snes9x/patches/patch-ad17
-rw-r--r--emulators/snes9x/patches/patch-ae15
-rw-r--r--emulators/snes9x/patches/patch-af13
-rw-r--r--emulators/snes9x/patches/patch-ag363
-rw-r--r--emulators/snes9x/patches/patch-ah19
-rw-r--r--emulators/snes9x/patches/patch-ai20
-rw-r--r--emulators/snes9x/patches/patch-aj13
-rw-r--r--emulators/snes9x/patches/patch-ak12
-rw-r--r--emulators/snes9x/patches/patch-al12
-rw-r--r--emulators/snes9x/patches/patch-am12
-rw-r--r--emulators/snes9x/patches/patch-an12
-rw-r--r--emulators/snes9x/patches/patch-ao12
-rw-r--r--emulators/spim/DESCR13
-rw-r--r--emulators/spim/Makefile45
-rw-r--r--emulators/spim/PLIST15
-rw-r--r--emulators/spim/distinfo7
-rw-r--r--emulators/spim/patches/patch-aa30
-rw-r--r--emulators/spim/patches/patch-ab28
-rw-r--r--emulators/stella/DESCR7
-rw-r--r--emulators/stella/Makefile49
-rw-r--r--emulators/stella/PLIST14
-rw-r--r--emulators/stella/distinfo7
-rw-r--r--emulators/stella/patches/patch-aa32
-rw-r--r--emulators/stella/patches/patch-ab27
-rw-r--r--emulators/suse91_aspell/DESCR5
-rw-r--r--emulators/suse91_aspell/Makefile24
-rw-r--r--emulators/suse91_aspell/distinfo5
-rw-r--r--emulators/suse91_base/DESCR5
-rw-r--r--emulators/suse91_base/INSTALL68
-rw-r--r--emulators/suse91_base/Makefile79
-rw-r--r--emulators/suse91_base/Makefile.i38614
-rw-r--r--emulators/suse91_base/Makefile.x86_6416
-rw-r--r--emulators/suse91_base/PLIST15
-rw-r--r--emulators/suse91_base/distinfo74
-rw-r--r--emulators/suse91_base/files/SuSE-release2
-rw-r--r--emulators/suse91_base/files/linux-mkpwd.sh18
-rw-r--r--emulators/suse91_compat/DESCR5
-rw-r--r--emulators/suse91_compat/Makefile23
-rw-r--r--emulators/suse91_compat/distinfo5
-rw-r--r--emulators/suse91_expat/DESCR5
-rw-r--r--emulators/suse91_expat/Makefile25
-rw-r--r--emulators/suse91_expat/distinfo5
-rw-r--r--emulators/suse91_fontconfig/DESCR5
-rw-r--r--emulators/suse91_fontconfig/Makefile23
-rw-r--r--emulators/suse91_fontconfig/distinfo5
-rw-r--r--emulators/suse91_freetype2/DESCR5
-rw-r--r--emulators/suse91_freetype2/Makefile24
-rw-r--r--emulators/suse91_freetype2/distinfo5
-rw-r--r--emulators/suse91_glx/DESCR4
-rw-r--r--emulators/suse91_glx/Makefile28
-rw-r--r--emulators/suse91_glx/distinfo8
-rw-r--r--emulators/suse91_gtk/DESCR5
-rw-r--r--emulators/suse91_gtk/Makefile24
-rw-r--r--emulators/suse91_gtk/distinfo8
-rw-r--r--emulators/suse91_gtk2/DESCR5
-rw-r--r--emulators/suse91_gtk2/INSTALL15
-rw-r--r--emulators/suse91_gtk2/Makefile38
-rw-r--r--emulators/suse91_gtk2/PLIST4
-rw-r--r--emulators/suse91_gtk2/distinfo14
-rw-r--r--emulators/suse91_libjpeg/DESCR4
-rw-r--r--emulators/suse91_libjpeg/Makefile25
-rw-r--r--emulators/suse91_libjpeg/distinfo5
-rw-r--r--emulators/suse91_libpng/DESCR4
-rw-r--r--emulators/suse91_libpng/Makefile24
-rw-r--r--emulators/suse91_libpng/distinfo5
-rw-r--r--emulators/suse91_libtiff/DESCR4
-rw-r--r--emulators/suse91_libtiff/Makefile24
-rw-r--r--emulators/suse91_libtiff/distinfo5
-rw-r--r--emulators/suse91_linux/Makefile.common73
-rw-r--r--emulators/suse91_linux/arch.mk19
-rw-r--r--emulators/suse91_linux/vars.mk9
-rw-r--r--emulators/suse91_locale/DESCR4
-rw-r--r--emulators/suse91_locale/Makefile25
-rw-r--r--emulators/suse91_locale/distinfo5
-rw-r--r--emulators/suse91_openmotif/DESCR5
-rw-r--r--emulators/suse91_openmotif/Makefile25
-rw-r--r--emulators/suse91_openmotif/distinfo8
-rw-r--r--emulators/suse91_slang/DESCR5
-rw-r--r--emulators/suse91_slang/Makefile27
-rw-r--r--emulators/suse91_slang/distinfo5
-rw-r--r--emulators/suse91_vmware/DESCR4
-rw-r--r--emulators/suse91_vmware/Makefile37
-rw-r--r--emulators/suse91_vmware/PLIST2
-rw-r--r--emulators/suse91_vmware/distinfo5
-rw-r--r--emulators/suse91_vmware/files/device-links21
-rw-r--r--emulators/suse91_x11/DESCR5
-rw-r--r--emulators/suse91_x11/Makefile27
-rw-r--r--emulators/suse91_x11/distinfo8
-rw-r--r--emulators/suse_audio/DESCR5
-rw-r--r--emulators/suse_audio/Makefile24
-rw-r--r--emulators/suse_audio/distinfo7
-rw-r--r--emulators/suse_base/DESCR5
-rw-r--r--emulators/suse_base/INSTALL68
-rw-r--r--emulators/suse_base/Makefile87
-rw-r--r--emulators/suse_base/PLIST12
-rw-r--r--emulators/suse_base/distinfo42
-rw-r--r--emulators/suse_base/files/SuSE-release2
-rw-r--r--emulators/suse_base/files/ld.so.conf13
-rw-r--r--emulators/suse_base/files/linux-mkpwd.sh18
-rw-r--r--emulators/suse_compat/DESCR5
-rw-r--r--emulators/suse_compat/Makefile24
-rw-r--r--emulators/suse_compat/distinfo7
-rw-r--r--emulators/suse_devel/DESCR5
-rw-r--r--emulators/suse_devel/Makefile37
-rw-r--r--emulators/suse_devel/PLIST1
-rw-r--r--emulators/suse_devel/distinfo26
-rw-r--r--emulators/suse_fileutils/DESCR5
-rw-r--r--emulators/suse_fileutils/Makefile24
-rw-r--r--emulators/suse_fileutils/PLIST1
-rw-r--r--emulators/suse_fileutils/distinfo5
-rw-r--r--emulators/suse_freetype2/DESCR5
-rw-r--r--emulators/suse_freetype2/Makefile26
-rw-r--r--emulators/suse_freetype2/distinfo5
-rw-r--r--emulators/suse_glx/DESCR5
-rw-r--r--emulators/suse_glx/Makefile24
-rw-r--r--emulators/suse_glx/distinfo7
-rw-r--r--emulators/suse_gtk/DESCR5
-rw-r--r--emulators/suse_gtk/Makefile24
-rw-r--r--emulators/suse_gtk/distinfo16
-rw-r--r--emulators/suse_libc5/DESCR4
-rw-r--r--emulators/suse_libc5/Makefile28
-rw-r--r--emulators/suse_libc5/distinfo5
-rw-r--r--emulators/suse_libjpeg/DESCR4
-rw-r--r--emulators/suse_libjpeg/Makefile26
-rw-r--r--emulators/suse_libjpeg/distinfo7
-rw-r--r--emulators/suse_libpng/DESCR4
-rw-r--r--emulators/suse_libpng/Makefile34
-rw-r--r--emulators/suse_libpng/distinfo8
-rw-r--r--emulators/suse_libtiff/DESCR5
-rw-r--r--emulators/suse_libtiff/Makefile24
-rw-r--r--emulators/suse_libtiff/distinfo5
-rw-r--r--emulators/suse_linux/DESCR2
-rw-r--r--emulators/suse_linux/Makefile35
-rw-r--r--emulators/suse_linux/Makefile.application28
-rw-r--r--emulators/suse_linux/Makefile.common57
-rw-r--r--emulators/suse_linux/PLIST2
-rw-r--r--emulators/suse_linux/PLIST_dynamic2
-rw-r--r--emulators/suse_linux/arch.mk14
-rw-r--r--emulators/suse_linux/vars.mk9
-rw-r--r--emulators/suse_openmotif/DESCR5
-rw-r--r--emulators/suse_openmotif/Makefile24
-rw-r--r--emulators/suse_openmotif/distinfo7
-rw-r--r--emulators/suse_slang/DESCR5
-rw-r--r--emulators/suse_slang/Makefile25
-rw-r--r--emulators/suse_slang/distinfo7
-rw-r--r--emulators/suse_vmware/DESCR4
-rw-r--r--emulators/suse_vmware/Makefile39
-rw-r--r--emulators/suse_vmware/PLIST2
-rw-r--r--emulators/suse_vmware/distinfo5
-rw-r--r--emulators/suse_vmware/files/device-links21
-rw-r--r--emulators/suse_x11/DESCR5
-rw-r--r--emulators/suse_x11/Makefile48
-rw-r--r--emulators/suse_x11/distinfo12
-rw-r--r--emulators/suse_xforms/DESCR5
-rw-r--r--emulators/suse_xforms/Makefile24
-rw-r--r--emulators/suse_xforms/distinfo7
-rw-r--r--emulators/swarm/DESCR19
-rw-r--r--emulators/swarm/Makefile22
-rw-r--r--emulators/swarm/PLIST4
-rw-r--r--emulators/swarm/distinfo15
-rw-r--r--emulators/swarm/patches/patch-aa39
-rw-r--r--emulators/swarm/patches/patch-ab17
-rw-r--r--emulators/swarm/patches/patch-ac11
-rw-r--r--emulators/swarm/patches/patch-ad42
-rw-r--r--emulators/swarm/patches/patch-ae126
-rw-r--r--emulators/swarm/patches/patch-af41
-rw-r--r--emulators/swarm/patches/patch-ag57
-rw-r--r--emulators/swarm/patches/patch-ah22
-rw-r--r--emulators/swarm/patches/patch-ai15
-rw-r--r--emulators/swarm/patches/patch-aj20
-rw-r--r--emulators/tme/DESCR4
-rw-r--r--emulators/tme/Makefile21
-rw-r--r--emulators/tme/PLIST77
-rw-r--r--emulators/tme/distinfo9
-rw-r--r--emulators/tme/patches/patch-aa12
-rw-r--r--emulators/tme/patches/patch-ac13
-rw-r--r--emulators/tme/patches/patch-ad22
-rw-r--r--emulators/tme/patches/patch-ae22
-rw-r--r--emulators/tuxnes/DESCR16
-rw-r--r--emulators/tuxnes/Makefile33
-rw-r--r--emulators/tuxnes/PLIST9
-rw-r--r--emulators/tuxnes/distinfo9
-rw-r--r--emulators/tuxnes/patches/patch-aa13
-rw-r--r--emulators/tuxnes/patches/patch-ab12
-rw-r--r--emulators/tuxnes/patches/patch-ac21
-rw-r--r--emulators/tuxnes/patches/patch-ad15
-rw-r--r--emulators/twin/DESCR7
-rw-r--r--emulators/twin/MESSAGE22
-rw-r--r--emulators/twin/Makefile36
-rw-r--r--emulators/twin/PLIST121
-rw-r--r--emulators/twin/PLIST.i3864
-rw-r--r--emulators/twin/distinfo17
-rw-r--r--emulators/twin/patches/patch-aa27
-rw-r--r--emulators/twin/patches/patch-ab43
-rw-r--r--emulators/twin/patches/patch-ac12
-rw-r--r--emulators/twin/patches/patch-ad12
-rw-r--r--emulators/twin/patches/patch-ae25
-rw-r--r--emulators/twin/patches/patch-af13
-rw-r--r--emulators/twin/patches/patch-ag13
-rw-r--r--emulators/twin/patches/patch-ah19
-rw-r--r--emulators/twin/patches/patch-ai13
-rw-r--r--emulators/twin/patches/patch-aj13
-rw-r--r--emulators/twin/patches/patch-ak26
-rw-r--r--emulators/twin/patches/patch-al14
-rw-r--r--emulators/uae/DESCR6
-rw-r--r--emulators/uae/Makefile39
-rw-r--r--emulators/uae/PLIST6
-rw-r--r--emulators/uae/distinfo8
-rw-r--r--emulators/uae/patches/patch-aa15
-rw-r--r--emulators/uae/patches/patch-ab21
-rw-r--r--emulators/uae/patches/patch-ac26
-rw-r--r--emulators/ucon64/DESCR18
-rw-r--r--emulators/ucon64/Makefile34
-rw-r--r--emulators/ucon64/PLIST40
-rw-r--r--emulators/ucon64/distinfo8
-rw-r--r--emulators/ucon64/options.mk17
-rw-r--r--emulators/ucon64/patches/patch-aa24
-rw-r--r--emulators/ucon64/patches/patch-ab13
-rw-r--r--emulators/ucon64/patches/patch-ac14
-rw-r--r--emulators/uips/DESCR4
-rw-r--r--emulators/uips/Makefile29
-rw-r--r--emulators/uips/PLIST4
-rw-r--r--emulators/uips/distinfo8
-rw-r--r--emulators/uips/files/Makefile3
-rw-r--r--emulators/vba/DESCR1
-rw-r--r--emulators/vba/Makefile34
-rw-r--r--emulators/vba/PLIST5
-rw-r--r--emulators/vba/distinfo6
-rw-r--r--emulators/vba/patches/patch-aa20
-rw-r--r--emulators/vice/DESCR17
-rw-r--r--emulators/vice/Makefile80
-rw-r--r--emulators/vice/PLIST241
-rw-r--r--emulators/vice/distinfo10
-rw-r--r--emulators/vice/patches/patch-aa13
-rw-r--r--emulators/vice/patches/patch-ab15
-rw-r--r--emulators/vice/patches/patch-ac12
-rw-r--r--emulators/vice/patches/patch-ad13
-rw-r--r--emulators/vice/patches/patch-ae21
-rw-r--r--emulators/vmware-module/DESCR3
-rw-r--r--emulators/vmware-module/INSTALL30
-rw-r--r--emulators/vmware-module/Makefile73
-rw-r--r--emulators/vmware-module/PLIST21
-rw-r--r--emulators/vmware-module/distinfo6
-rw-r--r--emulators/vmware-module/patches/patch-ab41
-rw-r--r--emulators/vmware-module3/DESCR3
-rw-r--r--emulators/vmware-module3/INSTALL30
-rw-r--r--emulators/vmware-module3/Makefile69
-rw-r--r--emulators/vmware-module3/PLIST21
-rw-r--r--emulators/vmware-module3/distinfo6
-rw-r--r--emulators/vmware-module3/patches/patch-ab41
-rw-r--r--emulators/vmware/DESCR8
-rw-r--r--emulators/vmware/Makefile86
-rw-r--r--emulators/vmware/PLIST136
-rw-r--r--emulators/vmware/distinfo5
-rw-r--r--emulators/vmware3/DESCR8
-rw-r--r--emulators/vmware3/MESSAGE.NetBSD11
-rw-r--r--emulators/vmware3/Makefile99
-rw-r--r--emulators/vmware3/PLIST323
-rw-r--r--emulators/vmware3/distinfo5
-rw-r--r--emulators/wine/DESCR10
-rw-r--r--emulators/wine/Makefile52
-rw-r--r--emulators/wine/PLIST819
-rw-r--r--emulators/wine/buildlink3.mk26
-rw-r--r--emulators/wine/distinfo13
-rw-r--r--emulators/wine/options.mk18
-rw-r--r--emulators/wine/patches/patch-aa13
-rw-r--r--emulators/wine/patches/patch-ab21
-rw-r--r--emulators/wine/patches/patch-ac22
-rw-r--r--emulators/wine/patches/patch-ad12
-rw-r--r--emulators/wine/patches/patch-ae12
-rw-r--r--emulators/wine/patches/patch-af55
-rw-r--r--emulators/wine/patches/patch-ag14
-rw-r--r--emulators/wine/patches/patch-ah25
-rw-r--r--emulators/x48/DESCR8
-rw-r--r--emulators/x48/Makefile27
-rw-r--r--emulators/x48/PLIST14
-rw-r--r--emulators/x48/distinfo11
-rw-r--r--emulators/x48/patches/patch-aa22
-rw-r--r--emulators/x48/patches/patch-ab51
-rw-r--r--emulators/x48/patches/patch-ac56
-rw-r--r--emulators/x48/patches/patch-ad43
-rw-r--r--emulators/x48/patches/patch-ae193
-rw-r--r--emulators/x48/patches/patch-af13
-rw-r--r--emulators/xbeeb/DESCR6
-rw-r--r--emulators/xbeeb/MESSAGE40
-rw-r--r--emulators/xbeeb/Makefile59
-rw-r--r--emulators/xbeeb/PLIST33
-rw-r--r--emulators/xbeeb/distinfo9
-rw-r--r--emulators/xbeeb/files/xbeeb.1209
-rw-r--r--emulators/xbeeb/patches/patch-aa13
-rw-r--r--emulators/xbeeb/patches/patch-ab123
-rw-r--r--emulators/xbeeb/patches/patch-ac24
-rw-r--r--emulators/xbeeb/patches/patch-ad25
-rw-r--r--emulators/xcopilot/DESCR6
-rw-r--r--emulators/xcopilot/Makefile20
-rw-r--r--emulators/xcopilot/PLIST3
-rw-r--r--emulators/xcopilot/distinfo15
-rw-r--r--emulators/xcopilot/patches/patch-aa13
-rw-r--r--emulators/xcopilot/patches/patch-ab13
-rw-r--r--emulators/xcopilot/patches/patch-ac74
-rw-r--r--emulators/xcopilot/patches/patch-ad15
-rw-r--r--emulators/xcopilot/patches/patch-ae20
-rw-r--r--emulators/xcopilot/patches/patch-af13
-rw-r--r--emulators/xcopilot/patches/patch-ag141
-rw-r--r--emulators/xcopilot/patches/patch-ah24
-rw-r--r--emulators/xcopilot/patches/patch-ai13
-rw-r--r--emulators/xcopilot/patches/patch-aj502
-rw-r--r--emulators/xm7/DESCR8
-rw-r--r--emulators/xm7/Makefile37
-rw-r--r--emulators/xm7/PLIST2
-rw-r--r--emulators/xm7/distinfo9
-rw-r--r--emulators/xm7/patches/patch-aa78
-rw-r--r--emulators/xm7/patches/patch-ab12
-rw-r--r--emulators/xm7/patches/patch-ac429
-rw-r--r--emulators/xm7/patches/patch-ad13
-rw-r--r--emulators/xmame/DESCR8
-rw-r--r--emulators/xmame/MESSAGE10
-rw-r--r--emulators/xmame/Makefile119
-rw-r--r--emulators/xmame/PLIST27
-rw-r--r--emulators/xmame/distinfo8
-rw-r--r--emulators/xmame/options.mk24
-rw-r--r--emulators/xmame/patches/patch-aa78
-rw-r--r--emulators/xmame/patches/patch-ab32
-rw-r--r--emulators/xmame/patches/patch-ae18
-rw-r--r--emulators/xmess/DESCR8
-rw-r--r--emulators/xmess/Makefile114
-rw-r--r--emulators/xmess/PLIST6
-rw-r--r--emulators/xmess/distinfo8
-rw-r--r--emulators/xmess/options.mk23
-rw-r--r--emulators/xmess/patches/patch-aa78
-rw-r--r--emulators/xmess/patches/patch-ab32
-rw-r--r--emulators/xmess/patches/patch-ae20
-rw-r--r--emulators/xtrs/DESCR12
-rw-r--r--emulators/xtrs/Makefile42
-rw-r--r--emulators/xtrs/PLIST14
-rw-r--r--emulators/xtrs/distinfo5
-rw-r--r--emulators/xyame/DESCR7
-rw-r--r--emulators/xyame/Makefile29
-rw-r--r--emulators/xyame/PLIST3
-rw-r--r--emulators/xyame/distinfo5
-rw-r--r--emulators/z26/DESCR5
-rw-r--r--emulators/z26/Makefile24
-rw-r--r--emulators/z26/PLIST3
-rw-r--r--emulators/z26/distinfo5
-rw-r--r--emulators/zsnes/DESCR1
-rw-r--r--emulators/zsnes/Makefile28
-rw-r--r--emulators/zsnes/PLIST3
-rw-r--r--emulators/zsnes/distinfo9
-rw-r--r--emulators/zsnes/patches/patch-ab10
-rw-r--r--emulators/zsnes/patches/patch-ac15
-rw-r--r--emulators/zsnes/patches/patch-ad16
-rw-r--r--emulators/zsnes/patches/patch-ae15
876 files changed, 0 insertions, 27318 deletions
diff --git a/emulators/BasiliskII/DESCR b/emulators/BasiliskII/DESCR
deleted file mode 100644
index a4910623292..00000000000
--- a/emulators/BasiliskII/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Basilisk II is an Open Source 68k Macintosh emulator. That is, it
-enables you to run 68k MacOS software on you computer, even if you
-are using a different operating system. However, you still need a
-copy of MacOS and a Macintosh ROM image to use Basilisk II.
diff --git a/emulators/BasiliskII/Makefile b/emulators/BasiliskII/Makefile
deleted file mode 100644
index 8d679912f96..00000000000
--- a/emulators/BasiliskII/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.24 2005/11/03 21:34:23 rillig Exp $
-
-DISTNAME= BasiliskII_src_22032005
-PKGNAME= BasiliskII-1.0.20050322
-CATEGORIES= emulators
-MASTER_SITES= http://gwenole.beauchesne.online.fr/basilisk2/files/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://gwenole.beauchesne.online.fr/basilisk2/
-COMMENT= Open Source 68k Macintosh emulator
-
-WRKSRC= ${WRKDIR}/BasiliskII-1.0
-USE_LANGUAGES= c c++
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-CONFIGURE_DIRS= src/Unix
-CONFIGURE_ARGS+= --disable-fbdev-dga
-CONFIGURE_ARGS+= --enable-addressing=banks
-CONFIGURE_ARGS+= --without-mon
-# disable gnome support, or configure will break if gnome-libs is installed
-CONFIGURE_ENV+= ac_cv_path_GNOME_CONFIG=no
-BUILD_DIRS= ${CONFIGURE_DIRS}
-
-.include "options.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BasiliskII
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/BasiliskII/
- ${INSTALL_DATA} ${WRKSRC}/TECH ${PREFIX}/share/doc/BasiliskII/
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/BasiliskII/
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/BasiliskII/PLIST b/emulators/BasiliskII/PLIST
deleted file mode 100644
index 17221fb8e3d..00000000000
--- a/emulators/BasiliskII/PLIST
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2005/07/01 12:34:32 adam Exp $
-bin/BasiliskII
-man/man1/BasiliskII.1
-share/BasiliskII/fbdevices
-share/BasiliskII/keycodes
-share/BasiliskII/tunconfig
-share/doc/BasiliskII/README
-share/doc/BasiliskII/TECH
-share/doc/BasiliskII/TODO
-@dirrm share/doc/BasiliskII
-@dirrm share/BasiliskII
diff --git a/emulators/BasiliskII/distinfo b/emulators/BasiliskII/distinfo
deleted file mode 100644
index 64ae8751e09..00000000000
--- a/emulators/BasiliskII/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.10 2005/11/03 21:34:23 rillig Exp $
-
-SHA1 (BasiliskII_src_22032005.tar.bz2) = e6c6efe9dded3e50b204fc641f42d15447819109
-RMD160 (BasiliskII_src_22032005.tar.bz2) = 6fac78005ed8a8794c192a07d36285a68ad1ccfa
-Size (BasiliskII_src_22032005.tar.bz2) = 914468 bytes
-SHA1 (patch-aa) = d1886fa85a58c2974ad355e6d8eb73cc611316bf
-SHA1 (patch-ab) = 462964cfa794f6ad97774fef525a9f210bd99d1b
-SHA1 (patch-ac) = ac4d313a8c60a807a5ea563dcca995e092be9c15
-SHA1 (patch-ad) = 6a215532e891848fe449ef5fe4307793c34bb9d6
diff --git a/emulators/BasiliskII/options.mk b/emulators/BasiliskII/options.mk
deleted file mode 100644
index 7a035c78710..00000000000
--- a/emulators/BasiliskII/options.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2005/09/01 11:31:57 hira Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.BasiliskII
-PKG_SUPPORTED_OPTIONS= esound gtk sdl
-PKG_OPTIONS_LEGACY_OPTS+= esd:esound
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mesound)
-CONFIGURE_ARGS+= --with-esd
-.include "../../audio/esound/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-esd
-.endif
-
-.if !empty(PKG_OPTIONS:Mgtk)
-CONFIGURE_ARGS+= --with-gtk
-.include "../../x11/gtk/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-gtk
-.endif
-
-.if !empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+= --enable-sdl-audio
-CONFIGURE_ARGS+= --enable-sdl-video
-.include "../../devel/SDL/buildlink3.mk"
-.else
-.include "../../mk/x11.buildlink3.mk"
-.endif
diff --git a/emulators/BasiliskII/patches/patch-aa b/emulators/BasiliskII/patches/patch-aa
deleted file mode 100644
index 479beb3aaae..00000000000
--- a/emulators/BasiliskII/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/11/03 21:34:23 rillig Exp $
-
---- src/dummy/ether_dummy.cpp.orig 2005-07-01 12:04:04.000000000 +0000
-+++ src/dummy/ether_dummy.cpp
-@@ -173,7 +173,7 @@ void EtherInterrupt(void)
- length = recvfrom(fd, packet, 1514, 0, (struct sockaddr *)&from, &from_len);
- if (length < 14)
- break;
-- ether_udp_read(packet, length, &from);
-+ ether_udp_read((uint32)packet, length, &from);
- }
- }
- #endif
diff --git a/emulators/BasiliskII/patches/patch-ab b/emulators/BasiliskII/patches/patch-ab
deleted file mode 100644
index d980016344b..00000000000
--- a/emulators/BasiliskII/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2005/11/03 21:34:23 rillig Exp $
-
---- src/Unix/video_x.cpp.orig 2005-03-21 23:57:34.000000000 +0000
-+++ src/Unix/video_x.cpp
-@@ -2288,7 +2288,7 @@ static void update_display_dynamic(int t
- static void update_display_static(driver_window *drv)
- {
- // Incremental update code
-- unsigned wide = 0, high = 0, x1, x2, y1, y2, i, j;
-+ int wide = 0, high = 0, x1, x2, y1, y2, i, j;
- const video_mode &mode = drv->monitor.get_current_mode();
- int bytes_per_row = mode.bytes_per_row;
- int bytes_per_pixel = mode.bytes_per_row / mode.x;
diff --git a/emulators/BasiliskII/patches/patch-ac b/emulators/BasiliskII/patches/patch-ac
deleted file mode 100644
index 925c149343b..00000000000
--- a/emulators/BasiliskII/patches/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2005/11/03 21:34:23 rillig Exp $
-
---- src/Unix/vm_alloc.cpp.orig 2005-01-30 21:42:14.000000000 +0000
-+++ src/Unix/vm_alloc.cpp
-@@ -39,6 +39,7 @@
- #include "vm_alloc.h"
-
- #ifdef HAVE_MACH_VM
-+#include <mach/mach.h>
- #ifndef HAVE_MACH_TASK_SELF
- #ifdef HAVE_TASK_SELF
- #define mach_task_self task_self
diff --git a/emulators/BasiliskII/patches/patch-ad b/emulators/BasiliskII/patches/patch-ad
deleted file mode 100644
index 99e517f7fd8..00000000000
--- a/emulators/BasiliskII/patches/patch-ad
+++ /dev/null
@@ -1,80 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2005/11/03 21:34:23 rillig Exp $
-
---- src/Unix/sshpty.c.orig 2003-08-17 10:20:22.000000000 +0000
-+++ src/Unix/sshpty.c
-@@ -18,6 +18,7 @@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/
- /* Selections from openssh's "includes.h" */
- #include "config.h"
-
-+#include <signal.h>
- #include <stdio.h>
- #include <ctype.h>
- #include <errno.h>
-@@ -145,19 +146,30 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
- */
- int ptm;
- char *pts;
-+#ifdef __sunos__
- mysig_t old_signal;
--
-+#else
-+ sig_t old_signal;
-+#endif
- ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY);
- if (ptm < 0) {
- error("/dev/ptmx: %.100s", strerror(errno));
- return 0;
- }
-+#ifdef __sunos__
- old_signal = mysignal(SIGCHLD, SIG_DFL);
-+#else
-+ old_signal = signal(SIGCHLD, SIG_DFL);
-+#endif
- if (grantpt(ptm) < 0) {
- error("grantpt: %.100s", strerror(errno));
- return 0;
- }
-+#ifdef __sunos__
- mysignal(SIGCHLD, old_signal);
-+#else
-+ signal(SIGCHLD, old_signal);
-+#endif
- if (unlockpt(ptm) < 0) {
- error("unlockpt: %.100s", strerror(errno));
- return 0;
-@@ -175,7 +187,7 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
- close(*ptyfd);
- return 0;
- }
--#ifndef HAVE_CYGWIN
-+#if !defined(__NetBSD__)
- /*
- * Push the appropriate streams modules, as described in Solaris pts(7).
- * HP-UX pts(7) doesn't have ttcompat module.
-@@ -184,7 +196,7 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
- error("ioctl I_PUSH ptem: %.100s", strerror(errno));
- if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0)
- error("ioctl I_PUSH ldterm: %.100s", strerror(errno));
--#ifndef __hpux
-+#if !defined(__NetBSD__)
- if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0)
- error("ioctl I_PUSH ttcompat: %.100s", strerror(errno));
- #endif
-@@ -277,7 +289,7 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
- }
- /* set tty modes to a sane state for broken clients */
- if (tcgetattr(*ptyfd, &tio) < 0)
-- log("Getting tty modes for pty failed: %.100s", strerror(errno));
-+ error("Getting tty modes for pty failed: %.100s", strerror(errno));
- else {
- tio.c_lflag |= (ECHO | ISIG | ICANON);
- tio.c_oflag |= (OPOST | ONLCR);
-@@ -285,7 +297,7 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
-
- /* Set the new modes for the terminal. */
- if (tcsetattr(*ptyfd, TCSANOW, &tio) < 0)
-- log("Setting tty modes for pty failed: %.100s", strerror(errno));
-+ error("Setting tty modes for pty failed: %.100s", strerror(errno));
- }
-
- return 1;
diff --git a/emulators/Cygne-SDL/DESCR b/emulators/Cygne-SDL/DESCR
deleted file mode 100644
index 0d34f8cd6ea..00000000000
--- a/emulators/Cygne-SDL/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-Originally Cygne was developed by Dox as a Bandai Wonderswan (Colour)
-emulator for Windows systems. From version 2.1 Dox decided to
-release the Windows sources to the public in GPL form which allows
-others to use the source and hack it :)
-
-Cygne/SDL is a Cygne port using the Simple Directmedia Layer (SDL)
-library. Cygne/SDL is released as OpenSource under the GPL license.
-It uses code from the orignal Cygne (allthough a bit modified),
-code from the MAME NEC CPU core as well as portions from several
-SDLemu emulation projects. Anybody may hack the current sourcecode
-if they like or can make additional changes into it.
diff --git a/emulators/Cygne-SDL/Makefile b/emulators/Cygne-SDL/Makefile
deleted file mode 100644
index 0609af7e03e..00000000000
--- a/emulators/Cygne-SDL/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/11/03 21:38:04 rillig Exp $
-#
-
-DISTNAME= Cygne-SDL-0.1-src
-PKGNAME= ${DISTNAME:S/-src//}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://sdlemu.ngemu.com/OpenProjects/
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://icculus.org/Cygne-SDL/
-COMMENT= Bandai Wonderswan Color handheld emulator
-
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-BUILD_DEPENDS+= zip>=2.0:../../archivers/zip
-
-WRKSRC= ${WRKDIR}/Cygne-SDL-0.1
-MAKEFILE= Makefiles/Makefile.unix
-NO_CONFIGURE= yes
-BUILD_DIRS= src
-USE_LANGUAGES= c c++
-
-# Uses i386 assembly code
-ONLY_FOR_PLATFORM= *-*-i386
-
-INSTALLATION_DIRS= bin
-
-post-build:
- cd ${WRKSRC}/WonderSnake && \
- ${LOCALBASE}/bin/zip Wondersnake.zip Wondersnake.wsc
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${PREFIX}/bin/Cygne-SDL
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Cygne-SDL
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Cygne-SDL
- ${INSTALL_DATA_DIR} ${PREFIX}/share/Cygne-SDL
- ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.txt \
- ${PREFIX}/share/Cygne-SDL
- ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.zip \
- ${PREFIX}/share/Cygne-SDL
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/Cygne-SDL/PLIST b/emulators/Cygne-SDL/PLIST
deleted file mode 100644
index 3bcaa6b6267..00000000000
--- a/emulators/Cygne-SDL/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2004/11/05 13:59:21 wiz Exp $
-bin/Cygne-SDL
-share/Cygne-SDL/Wondersnake.txt
-share/Cygne-SDL/Wondersnake.zip
-share/doc/Cygne-SDL/README
-@dirrm share/doc/Cygne-SDL
-@dirrm share/Cygne-SDL
diff --git a/emulators/Cygne-SDL/distinfo b/emulators/Cygne-SDL/distinfo
deleted file mode 100644
index 36555c8c667..00000000000
--- a/emulators/Cygne-SDL/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/11/03 21:38:04 rillig Exp $
-
-SHA1 (Cygne-SDL-0.1-src.tar.gz) = f9c50702d1911d0ff1728e5aa089e67cfdfd0030
-RMD160 (Cygne-SDL-0.1-src.tar.gz) = 6d9fd7195a936f17fc3984a66722272c7e30991a
-Size (Cygne-SDL-0.1-src.tar.gz) = 106448 bytes
-SHA1 (patch-aa) = ee9dd0b364d278a45f2ac8d038b43aaf8f0c5c96
-SHA1 (patch-ab) = faff74d577fb243635a3aed7e6c17132bc43fe07
-SHA1 (patch-ac) = b8037825c79bd36aa65bf18745a3b09470b34ec0
-SHA1 (patch-ad) = 1bf79e577e70d13fb3032d331235dcd6e2d611f2
diff --git a/emulators/Cygne-SDL/patches/patch-aa b/emulators/Cygne-SDL/patches/patch-aa
deleted file mode 100644
index f16974016bf..00000000000
--- a/emulators/Cygne-SDL/patches/patch-aa
+++ /dev/null
@@ -1,62 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/11/03 21:38:04 rillig Exp $
-
---- src/Makefiles/Makefile.unix.orig 2002-03-26 17:50:55.000000000 +0100
-+++ src/Makefiles/Makefile.unix
-@@ -1,5 +1,4 @@
--CC = gcc
--LD = gcc
-+#LD = g++
- NASM = nasm
-
- ### Include and lib stuff ####
-@@ -8,17 +7,13 @@ STDLIB = /usr/lib
- SDLINCLUDE = /usr/local/include/SDL
- SDLLIB = /usr/local/lib
-
--CFLAGS = -O1 -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__ -fomit-frame-pointer -march=pentium \
-- -mpentium -finline-functions -fexpensive-optimizations -funroll-loops -funroll-all-loops -pipe \
-- -fschedule-insns2 -fstrength-reduce -malign-double -mfancy-math-387 -ffast-math -fforce-addr \
-- -fforce-mem `sdl-config --cflags` \
-- -L$(STDLIB) -L$(SDLLIB) -I$(STDINCLUDE) -I$(SDLINCLUDE)
-+CFLAGS += -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__
-
--LDFLAGS = $(CFLAGS)
-+LDFLAGS += `sdl-config --libs`
-
- TARGET = cygne
-
--OBJ = ddrawsdl.o filessdl.o gfx.o nec.o tcache.o memory.o mainsdl.o zlib/unzip.o
-+OBJ = ddrawsdl.o filessdl.o gfx.o nec.o tcache.o memory.o mainsdl.o unzip.o
-
- LIBS = `sdl-config --libs` -lz
-
-@@ -28,17 +23,22 @@ INCS = -I. `sdl-config --cflags`
-
- THECC = $(CC) $(CFLAGS) $(INCS)
-
--%.o: %.asm
-+.SUFFIXES: .asm
-+
-+.asm.o:
- $(NASM) -f elf -o $@ $<
-
--%.o: %.c
-- $(THECC) -c $< -o $@
-+.c.o:
-+ $(CC) $(CFLAGS) $(INCS) -c $< -o $@
-+
-+.cpp.o:
-+ $(CXX) $(CFLAGS) $(INCS) -c $< -o $@
-
--%.o: %.cpp
-- $(THECC) -c $< -o $@
-+unzip.o:
-+ $(CC) $(CFLAGS) $(INCS) -c zlib/unzip.c -o $@
-
--cygne: $(OBJ) Makefile
-- $(LD) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
-+cygne: $(OBJ)
-+ $(CXX) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
-
- clean:
- rm -f cygne *.o zlib/*.o
diff --git a/emulators/Cygne-SDL/patches/patch-ab b/emulators/Cygne-SDL/patches/patch-ab
deleted file mode 100644
index 9cfb4bbd184..00000000000
--- a/emulators/Cygne-SDL/patches/patch-ab
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/11/03 21:38:04 rillig Exp $
-
---- src/Usage.h.orig 2002-03-26 16:55:20.000000000 +0100
-+++ src/Usage.h
-@@ -1,13 +1,13 @@
- void Usage()
- {
- printf(
--"Usage: ./cygne romfile options
-- Where options are:
--
-- romfile : Filename of the romfile. It can have several
-- extensions (.ws/.wsc/.rom/.bin). Gzipped and
-- zipped (.gz and .zip) are also supported.
-- -double : Scale the screen 2 times the normal size.
-- -scanline : Allows scanline output with scaling.
-+"Usage: ./cygne romfile options\n\
-+ Where options are:\n\
-+\n\
-+ romfile : Filename of the romfile. It can have several\n\
-+ extensions (.ws/.wsc/.rom/.bin). Gzipped and\n\
-+ zipped (.gz and .zip) are also supported.\n\
-+ -double : Scale the screen 2 times the normal size.\n\
-+ -scanline : Allows scanline output with scaling.\n\
- ");
- }
diff --git a/emulators/Cygne-SDL/patches/patch-ac b/emulators/Cygne-SDL/patches/patch-ac
deleted file mode 100644
index 45d66b45ef5..00000000000
--- a/emulators/Cygne-SDL/patches/patch-ac
+++ /dev/null
@@ -1,235 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/11/03 21:38:04 rillig Exp $
-
---- src/ddrawsdl.cpp.orig 2002-03-26 16:02:25.000000000 +0100
-+++ src/ddrawsdl.cpp
-@@ -174,66 +174,66 @@ void UpdateFrame_h()
- {
- switch(fBlitterMode) {
- case 1:
-- __asm__ __volatile__(".align 32
-- cld
-- rep
-+ __asm__ __volatile__(".align 32\n\
-+ cld\n\
-+ rep\n\
- movsw"
- :
- :"S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"((g_pDDSPrimary->h * g_pDDSPrimary->pitch)>>1));
- break;
- case 2:
-- __asm__ __volatile__("pusha
-- xorl %%eax, %%eax
-- movl $448, %%ebx
-- emms
-- sum:
-- movq (%0, %%eax, 1), %%mm0
-- movq %%mm0, %%mm1
-- punpcklwd %%mm0, %%mm0
-- addl $8, %%eax
-- punpckhwd %%mm1,%%mm1
-- movq %%mm0, -16(%1, %%eax, 2)
-- cmpl %%ebx, %%eax
--
-- movq %%mm1, -8(%1, %%eax, 2)
-- jnz sum
-- xorl %%eax, %%eax
--
-- addl %2, %0
-- decl %%edx
--
-- leal (%1, %2, 4), %1
-- jnz sum
-- emms
-+ __asm__ __volatile__("pusha\n\
-+ xorl %%eax, %%eax\n\
-+ movl $448, %%ebx \n\
-+ emms\n\
-+ sum:\n\
-+ movq (%0, %%eax, 1), %%mm0\n\
-+ movq %%mm0, %%mm1\n\
-+ punpcklwd %%mm0, %%mm0\n\
-+ addl $8, %%eax\n\
-+ punpckhwd %%mm1,%%mm1\n\
-+ movq %%mm0, -16(%1, %%eax, 2)\n\
-+ cmpl %%ebx, %%eax\n\
-+ \n\
-+ movq %%mm1, -8(%1, %%eax, 2)\n\
-+ jnz sum\n\
-+ xorl %%eax, %%eax\n\
-+ \n\
-+ addl %2, %0\n\
-+ decl %%edx\n\
-+ \n\
-+ leal (%1, %2, 4), %1\n\
-+ jnz sum\n\
-+ emms\n\
- popa"
- :
- : "S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"(g_pDDSPrimary->pitch>>1), "d"(144));
- break;
-
- case 3:
-- __asm__ __volatile__("pusha
-- xorl %%eax, %%eax
-- movl $896, %%ebx
-- emms
-- sum3:
-- movq (%0, %%eax, 1), %%mm0
-- movq %%mm0, %%mm1
-- punpcklwd %%mm0, %%mm0
-- addl $8, %%eax
-- punpckhwd %%mm1,%%mm1
-- movq %%mm0, -16(%1, %%eax, 2)
-- cmpl %%ebx, %%eax
--
-- movq %%mm1, -8(%1, %%eax, 2)
-- jnz sum3
-- xorl %%eax, %%eax
--
-- addl %2, %0
-- decl %%edx
--
-- leal (%1, %2, 4), %1
-- jnz sum3
-- emms
-+ __asm__ __volatile__("pusha\n\
-+ xorl %%eax, %%eax\n\
-+ movl $896, %%ebx \n\
-+ emms\n\
-+ sum3:\n\
-+ movq (%0, %%eax, 1), %%mm0\n\
-+ movq %%mm0, %%mm1\n\
-+ punpcklwd %%mm0, %%mm0\n\
-+ addl $8, %%eax\n\
-+ punpckhwd %%mm1,%%mm1\n\
-+ movq %%mm0, -16(%1, %%eax, 2)\n\
-+ cmpl %%ebx, %%eax\n\
-+ \n\
-+ movq %%mm1, -8(%1, %%eax, 2)\n\
-+ jnz sum3\n\
-+ xorl %%eax, %%eax\n\
-+ \n\
-+ addl %2, %0\n\
-+ decl %%edx\n\
-+ \n\
-+ leal (%1, %2, 4), %1\n\
-+ jnz sum3\n\
-+ emms\n\
- popa"
- :
- : "S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"(g_pDDSPrimary->pitch>>1), "d"(144));
-@@ -418,65 +418,65 @@ void UpdateFrame_v()
- {
- switch(fBlitterMode) {
- case 1:
-- __asm__ __volatile__(".align 32
-- cld
-- rep
-+ __asm__ __volatile__(".align 32\n\
-+ cld\n\
-+ rep\n\
- movsw"
- :
- :"S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"((g_pDDSPrimary->h * g_pDDSPrimary->pitch)>>1));
- break;
- case 2: // double scanlines
-- __asm__ __volatile__("pusha
-- xorl %%eax, %%eax
-- movl $288, %%ebx
-- emms
-- sumb:
-- movq (%0, %%eax, 1), %%mm0
-- movq %%mm0, %%mm1
-- punpcklwd %%mm0, %%mm0
-- addl $8, %%eax
-- punpckhwd %%mm1,%%mm1
-- movq %%mm0, -16(%1, %%eax, 2)
-- cmpl %%ebx, %%eax
--
-- movq %%mm1, -8(%1, %%eax, 2)
-- jnz sumb
-- xorl %%eax, %%eax
--
-- addl %2, %0
-- decl %%edx
--
-- leal (%1, %2, 4), %1
-- jnz sumb
-- emms
-+ __asm__ __volatile__("pusha\n\
-+ xorl %%eax, %%eax\n\
-+ movl $288, %%ebx \n\
-+ emms\n\
-+ sumb:\n\
-+ movq (%0, %%eax, 1), %%mm0\n\
-+ movq %%mm0, %%mm1\n\
-+ punpcklwd %%mm0, %%mm0\n\
-+ addl $8, %%eax\n\
-+ punpckhwd %%mm1,%%mm1\n\
-+ movq %%mm0, -16(%1, %%eax, 2)\n\
-+ cmpl %%ebx, %%eax\n\
-+ \n\
-+ movq %%mm1, -8(%1, %%eax, 2)\n\
-+ jnz sumb\n\
-+ xorl %%eax, %%eax\n\
-+ \n\
-+ addl %2, %0\n\
-+ decl %%edx\n\
-+ \n\
-+ leal (%1, %2, 4), %1\n\
-+ jnz sumb\n\
-+ emms\n\
- popa"
- :
- : "S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"(g_pDDSPrimary->pitch>>1), "d"(224));
- break;
- case 3: // double stretch mode
-- __asm__ __volatile__("pusha
-- xorl %%eax, %%eax
-- movl $576, %%ebx
-- emms
-- sumc:
-- movq (%0, %%eax, 1), %%mm0
-- movq %%mm0, %%mm1
-- punpcklwd %%mm0, %%mm0
-- addl $8, %%eax
-- punpckhwd %%mm1,%%mm1
-- movq %%mm0, -16(%1, %%eax, 2)
-- cmpl %%ebx, %%eax
--
-- movq %%mm1, -8(%1, %%eax, 2)
-- jnz sumc
-- xorl %%eax, %%eax
--
-- addl %2, %0
-- decl %%edx
--
-- leal (%1, %2, 4), %1
-- jnz sumc
-- emms
-+ __asm__ __volatile__("pusha\n\
-+ xorl %%eax, %%eax\n\
-+ movl $576, %%ebx \n\
-+ emms\n\
-+ sumc:\n\
-+ movq (%0, %%eax, 1), %%mm0\n\
-+ movq %%mm0, %%mm1\n\
-+ punpcklwd %%mm0, %%mm0\n\
-+ addl $8, %%eax\n\
-+ punpckhwd %%mm1,%%mm1\n\
-+ movq %%mm0, -16(%1, %%eax, 2)\n\
-+ cmpl %%ebx, %%eax\n\
-+ \n\
-+ movq %%mm1, -8(%1, %%eax, 2)\n\
-+ jnz sumc\n\
-+ xorl %%eax, %%eax\n\
-+ \n\
-+ addl %2, %0\n\
-+ decl %%edx\n\
-+ \n\
-+ leal (%1, %2, 4), %1\n\
-+ jnz sumc\n\
-+ emms\n\
- popa"
- :
- : "S"(dx_buffer), "D"(g_pDDSPrimary->pixels), "c"(g_pDDSPrimary->pitch>>1), "d"(224));
diff --git a/emulators/Cygne-SDL/patches/patch-ad b/emulators/Cygne-SDL/patches/patch-ad
deleted file mode 100644
index 5745c3cc387..00000000000
--- a/emulators/Cygne-SDL/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/11/03 21:38:04 rillig Exp $
-
---- src/zlib/unzip.h.orig 2002-03-21 19:42:46.000000000 +0100
-+++ src/zlib/unzip.h
-@@ -49,6 +49,10 @@ extern "C" {
- #include "zlib.h"
- #endif
-
-+#ifndef OF
-+#define OF(a) a
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */
diff --git a/emulators/DatLib/DESCR b/emulators/DatLib/DESCR
deleted file mode 100644
index 66159b1c83c..00000000000
--- a/emulators/DatLib/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-DatLib is a library for emulation data file formats. It supports
-a variety of data file formats and handles the standard loading,
-cleansing, converting and saving operations that are required by
-tools such as DatUtil, MAMEDiff, ROMBuild, ROMInfo and ZipIdent.
diff --git a/emulators/DatLib/Makefile b/emulators/DatLib/Makefile
deleted file mode 100644
index 3fcf0e1a7d1..00000000000
--- a/emulators/DatLib/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/10/20 01:43:18 wiz Exp $
-#
-
-DISTNAME= datlib28
-PKGNAME= DatLib-2.8
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/DatLib/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/DatLib/DatLib.shtml
-COMMENT= Data file library for some emulation tools
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= datlib
-EXTRACT_CMD_OPTS.zip= -Laaqo
-
-MAKE_ENV+= RANLIB=${RANLIB:Q}
-INSTALLATION_DIRS= lib
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib
- ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/hash
- ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/mame
- ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/misc
- ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include/DatLib
- ${INSTALL_DATA} ${WRKSRC}/src/hash/*.h ${PREFIX}/include/DatLib/hash
- ${INSTALL_DATA} ${WRKSRC}/src/mame/*.h ${PREFIX}/include/DatLib/mame
- ${INSTALL_DATA} ${WRKSRC}/src/misc/*.h ${PREFIX}/include/DatLib/misc
- ${INSTALL_LIB} ${WRKSRC}/obj/libdatlib.a ${PREFIX}/lib/libdatlib.a
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatLib
- ${INSTALL_DATA} ${WRKSRC}/datlib.txt ${PREFIX}/share/doc/DatLib
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/DatLib/PLIST b/emulators/DatLib/PLIST
deleted file mode 100644
index 1b4b3f8e84b..00000000000
--- a/emulators/DatLib/PLIST
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $
-include/DatLib/datlib.h
-include/DatLib/driver.h
-include/DatLib/hash/md5.h
-include/DatLib/hash/sha1.h
-include/DatLib/macro.h
-include/DatLib/mame/mame.h
-include/DatLib/mame/osd_cpu.h
-include/DatLib/mame/unzip.h
-include/DatLib/misc/getopt.h
-include/DatLib/token.h
-include/DatLib/type.h
-lib/libdatlib.a
-share/doc/DatLib/datlib.txt
-@dirrm share/doc/DatLib
-@dirrm include/DatLib/hash
-@dirrm include/DatLib/mame
-@dirrm include/DatLib/misc
-@dirrm include/DatLib
diff --git a/emulators/DatLib/buildlink3.mk b/emulators/DatLib/buildlink3.mk
deleted file mode 100644
index 0c9e40f75c3..00000000000
--- a/emulators/DatLib/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/04 12:05:12 wiz Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-DATLIB_BUILDLINK3_MK:= ${DATLIB_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= DatLib
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NDatLib}
-BUILDLINK_PACKAGES+= DatLib
-
-.if !empty(DATLIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.DatLib+= DatLib>=2.2
-BUILDLINK_PKGSRCDIR.DatLib?= ../../emulators/DatLib
-.endif # DATLIB_BUILDLINK3_MK
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/DatLib/distinfo b/emulators/DatLib/distinfo
deleted file mode 100644
index 5e6d08558cb..00000000000
--- a/emulators/DatLib/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/11/08 16:56:46 tv Exp $
-
-SHA1 (datlib28.zip) = aafc47472c4712bdf80a644b36fd293e97dbd090
-RMD160 (datlib28.zip) = b716d8414e4b35f0ce41a0b43a322fe714956c18
-Size (datlib28.zip) = 83787 bytes
-SHA1 (patch-aa) = c589d437d71f9342cb15b1b0e731169b274bd6b0
-SHA1 (patch-ab) = e01959114bafc63ae29fcde587b507f67e1c69b2
-SHA1 (patch-ac) = 55d7c856fc86aa40e625bcbde401b2c66b1d5b0c
diff --git a/emulators/DatLib/patches/patch-aa b/emulators/DatLib/patches/patch-aa
deleted file mode 100644
index 90fd08dae65..00000000000
--- a/emulators/DatLib/patches/patch-aa
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:11:42 rillig Exp $
-
---- makefile.orig 2005-02-24 23:39:10.000000000 +0100
-+++ makefile
-@@ -5,20 +5,20 @@
- MD=mkdir
-
- CC=@gcc
--CFLAGS+=-Wall -O2 -I $(LOGIQX)/dev
-+CFLAGS+=-Wall -O2 -I .
-
- LD=@gcc
- LIBS+=-lz -lm
-
- UPX=@upx -9
-
--DLSRC=$(LOGIQX)/dev/datlib/src
-+DLSRC=./src
-
- DLINCS= $(DLSRC)/macro.h \
- $(DLSRC)/type.h \
- $(DLSRC)/token.h \
-
--DLOBJ=$(LOGIQX)/dev/datlib/obj
-+DLOBJ=./obj
-
- DLOBJDIRS=$(DLOBJ) \
- $(DLOBJ)/drv \
-@@ -42,7 +42,7 @@ DLOBJS= $(DLOBJ)/datlib.o \
- # Build the obj tree then build the EXE
- #
-
--datlib: dlmaketree $(DLOBJS)
-+datlib: dlmaketree $(DLOBJS) $(DLOBJ)/libdatlib.a
-
- #
- # Creating obj directory tree
-@@ -53,6 +53,10 @@ dlmaketree: $(sort $(DLOBJDIRS))
- $(sort $(DLOBJDIRS)):
- $(MD) $@
-
-+$(DLOBJ)/libdatlib.a: $(DLOBJS)
-+ @echo Creating $@...
-+ $(AR) r $@ $(DLOBJS)
-+ $(RANLIB) $@
- #
- # Compiling of separate modules
- #
diff --git a/emulators/DatLib/patches/patch-ab b/emulators/DatLib/patches/patch-ab
deleted file mode 100644
index 85deae47fc1..00000000000
--- a/emulators/DatLib/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/11/08 16:56:46 tv Exp $
-
---- src/token.h.orig 2005-03-08 22:22:26.000000000 -0500
-+++ src/token.h
-@@ -7,7 +7,9 @@
- /* --- Standard includes --- */
-
- #include <string.h>
-+#ifndef __INTERIX
- #include <stdint.h>
-+#endif
-
-
- /* --- Token structure (the description field is used by the directory scan and for debugging output) --- */
diff --git a/emulators/DatLib/patches/patch-ac b/emulators/DatLib/patches/patch-ac
deleted file mode 100644
index f6070e31723..00000000000
--- a/emulators/DatLib/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2005/11/08 16:56:46 tv Exp $
-
---- src/type.h.orig 2005-02-21 21:57:16.000000000 -0500
-+++ src/type.h
-@@ -8,7 +8,9 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#ifndef __INTERIX
- #include <stdint.h>
-+#endif
-
-
- /* --- DatLib Includes --- */
diff --git a/emulators/DatUtil/DESCR b/emulators/DatUtil/DESCR
deleted file mode 100644
index 1cc23549303..00000000000
--- a/emulators/DatUtil/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-DatUtil was created to aid in the creation of dat files for Rom
-Managers such as ClrMamePro and RomCenter (Roman Scherzer / Eric
-Bole-Feysot). It can convert between formats, extract individual
-games (and optionally their clones) and cleanse dats. It supports
-a variety of formats.
diff --git a/emulators/DatUtil/Makefile b/emulators/DatUtil/Makefile
deleted file mode 100644
index 4bd3348af8a..00000000000
--- a/emulators/DatUtil/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/10/20 01:43:35 wiz Exp $
-#
-
-DISTNAME= dutil220
-PKGNAME= DatUtil-2.20
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/DatUtil/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.shtml
-COMMENT= Create and convert emulator rom checksum files
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= datutil
-EXTRACT_CMD_OPTS.zip= -Laaqo
-
-INSTALLATION_DIRS= bin
-
-BUILDLINK_DEPENDS.DatLib+= DatLib>=2.8
-
-post-extract:
- ${MKDIR} ${WRKSRC}/obj
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatUtil
- ${INSTALL_DATA} ${WRKSRC}/datutil.txt ${PREFIX}/share/doc/DatUtil
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../emulators/DatLib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/DatUtil/PLIST b/emulators/DatUtil/PLIST
deleted file mode 100644
index a965e8fd78e..00000000000
--- a/emulators/DatUtil/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
-bin/datutil
-share/doc/DatUtil/datutil.txt
-@dirrm share/doc/DatUtil
diff --git a/emulators/DatUtil/distinfo b/emulators/DatUtil/distinfo
deleted file mode 100644
index a70b27353dc..00000000000
--- a/emulators/DatUtil/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/10/20 01:43:35 wiz Exp $
-
-SHA1 (dutil220.zip) = a9028f853dcb18b58db122aad4a541272830229c
-RMD160 (dutil220.zip) = 739bb54e0b93bc710d2cb964ebba086c80f7750d
-Size (dutil220.zip) = 295574 bytes
-SHA1 (patch-aa) = a6f3eee2549bc795bdf16b3672ec770ee16794a0
-SHA1 (patch-ab) = 2926b8e6dda83ca30e20de6f27933a318a2db404
diff --git a/emulators/DatUtil/patches/patch-aa b/emulators/DatUtil/patches/patch-aa
deleted file mode 100644
index 76e13364735..00000000000
--- a/emulators/DatUtil/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- makefile.orig 2004-07-01 16:25:16.000000000 +0200
-+++ makefile
-@@ -3,7 +3,7 @@
- #
-
- NAME=datutil
--EXT=.exe
-+EXT=
- EXE=$(NAME)$(EXT)
-
- SRC=src
-@@ -18,9 +18,10 @@ OBJS= $(DLOBJS) \
- # Build the obj tree then build the EXE
- #
-
--all: dlmaketree maketree $(EXE)
-+all: maketree $(EXE)
-
--include $(LOGIQX)/dev/datlib/makefile
-+DLSRC= $(PREFIX)/include/DatLib
-+CFLAGS+= -I src -I $(PREFIX)/include
-
- #
- # Creating obj directory tree
-@@ -45,8 +46,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(DLSR
-
- $(EXE): $(OBJS)
- @echo Linking $@...
-- $(LD) $(OBJS) $(LIBS) -o $@
-- $(UPX) $@
-+ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
-
- #
- # Complete removal of built objects
diff --git a/emulators/DatUtil/patches/patch-ab b/emulators/DatUtil/patches/patch-ab
deleted file mode 100644
index daa22e55b22..00000000000
--- a/emulators/DatUtil/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/datutil.c.orig 2005-02-22 21:04:44.000000000 +0100
-+++ src/datutil.c
-@@ -21,13 +21,13 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
--#include "datlib/src/macro.h"
-+#include <DatLib/datlib.h>
-+#include <DatLib/macro.h>
-
-
- /* --- Misc library includes --- */
-
--#include "datlib/src/misc/getopt.h"
-+#include <DatLib/misc/getopt.h>
-
-
- /* --- DatUtil definitions and macros --- */
diff --git a/emulators/MAMEDiff/DESCR b/emulators/MAMEDiff/DESCR
deleted file mode 100644
index a57e2308d0b..00000000000
--- a/emulators/MAMEDiff/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-MAMEDiff makes it easy to identify ROM related changes in a new
-release of MAME (it can even find game additions that aren't
-mentioned in whatsnew.txt). It can spot game renames and will not
-regard them as one game deleted and another added. When ROMs or
-games are renamed (or if there is a change in the way that sets
-are merged), MAMEDiff will just tell you how to rebuild the affected
-sets (i.e. no downloading required). A must-have for any MAME
-fanatic! It also works for new releases of MESS, RAINE, Final Burn
-Alpha, Kawaks, etc.
diff --git a/emulators/MAMEDiff/Makefile b/emulators/MAMEDiff/Makefile
deleted file mode 100644
index 89e72bd3b87..00000000000
--- a/emulators/MAMEDiff/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/10/20 01:43:53 wiz Exp $
-#
-
-DISTNAME= mdiff219
-PKGNAME= MAMEDiff-2.19
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/MAMEDiff/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/MAMEDiff/MAMEDiff.shtml
-COMMENT= Compare MAME rom sets of different releases
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= mamediff
-EXTRACT_CMD_OPTS.zip= -Laaqo
-INSTALLATION_DIRS= bin
-
-BUILDLINK_DEPENDS.DatLib+= DatLib>=2.8
-
-post-extract:
- ${MKDIR} ${WRKSRC}/obj
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/MAMEDiff
- ${INSTALL_DATA} ${WRKSRC}/mamediff.txt ${PREFIX}/share/doc/MAMEDiff
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../emulators/DatLib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/MAMEDiff/PLIST b/emulators/MAMEDiff/PLIST
deleted file mode 100644
index f3a96a11f79..00000000000
--- a/emulators/MAMEDiff/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
-bin/mamediff
-share/doc/MAMEDiff/mamediff.txt
-@dirrm share/doc/MAMEDiff
diff --git a/emulators/MAMEDiff/distinfo b/emulators/MAMEDiff/distinfo
deleted file mode 100644
index b1a895caa3e..00000000000
--- a/emulators/MAMEDiff/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/10/20 01:43:53 wiz Exp $
-
-SHA1 (mdiff219.zip) = 9635a14f22d26e7b500c9e2a2331f70648029ff9
-RMD160 (mdiff219.zip) = 735cc837cb64cf044a78ca51d43a135c53dae6e2
-Size (mdiff219.zip) = 316061 bytes
-SHA1 (patch-aa) = da1422224efb2c332b2a4d1117f6b3184535cebe
-SHA1 (patch-ab) = 0558a1b50e869a40e5268ba567b0a6c23e354c07
-SHA1 (patch-ac) = d5095a349590a9f2a96173b973a9bec78f9fdd4f
-SHA1 (patch-ad) = 878633f71e1cab024801937307bd30e880a72eb0
diff --git a/emulators/MAMEDiff/patches/patch-aa b/emulators/MAMEDiff/patches/patch-aa
deleted file mode 100644
index 6fa5bc0dc44..00000000000
--- a/emulators/MAMEDiff/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- makefile.orig 2005-02-24 23:39:38.000000000 +0100
-+++ makefile
-@@ -3,7 +3,7 @@
- #
-
- NAME=mamediff
--EXT=.exe
-+EXT=
- EXE=$(NAME)$(EXT)
-
- SRC=src
-@@ -20,9 +20,10 @@ OBJS= $(DLOBJS) \
- # Build the obj tree then build the EXE
- #
-
--all: dlmaketree maketree $(EXE)
-+all: maketree $(EXE)
-
--include $(LOGIQX)/dev/datlib/makefile
-+DLSRC= $(PREFIX)/include/DatLib
-+CFLAGS+= -I src -I $(PREFIX)/include
-
- #
- # Creating obj directory tree
-@@ -51,8 +52,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(SRC)
-
- $(EXE): $(OBJS)
- @echo Linking $@...
-- $(LD) $(OBJS) $(LIBS) -o $@
-- $(UPX) $@
-+ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
-
- #
- # Complete removal of built objects
diff --git a/emulators/MAMEDiff/patches/patch-ab b/emulators/MAMEDiff/patches/patch-ab
deleted file mode 100644
index 869beb149b0..00000000000
--- a/emulators/MAMEDiff/patches/patch-ab
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/mamediff.c.orig 2005-02-28 19:12:48.000000000 +0100
-+++ src/mamediff.c
-@@ -19,12 +19,12 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
-+#include <DatLib/datlib.h>
-
-
- /* --- Misc library includes --- */
-
--#include "datlib/src/misc/getopt.h"
-+#include <DatLib/misc/getopt.h>
-
-
- /* --- MAMEDiff definitions and macros --- */
diff --git a/emulators/MAMEDiff/patches/patch-ac b/emulators/MAMEDiff/patches/patch-ac
deleted file mode 100644
index abc0c19fbcb..00000000000
--- a/emulators/MAMEDiff/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/compare.c.orig 2005-02-20 16:08:38.000000000 +0100
-+++ src/compare.c
-@@ -15,8 +15,8 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
--#include "datlib/src/macro.h"
-+#include "DatLib/datlib.h"
-+#include "DatLib/macro.h"
-
-
- /* --- MAMEDiff definitions and macros --- */
diff --git a/emulators/MAMEDiff/patches/patch-ad b/emulators/MAMEDiff/patches/patch-ad
deleted file mode 100644
index f073e5c7d96..00000000000
--- a/emulators/MAMEDiff/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/generate.c.orig 2005-02-13 16:11:00.000000000 +0100
-+++ src/generate.c
-@@ -15,8 +15,8 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
--#include "datlib/src/macro.h"
-+#include "DatLib/datlib.h"
-+#include "DatLib/macro.h"
-
-
- /* --- MAMEDiff definitions and macros --- */
diff --git a/emulators/Makefile b/emulators/Makefile
deleted file mode 100644
index b6025848ba2..00000000000
--- a/emulators/Makefile
+++ /dev/null
@@ -1,142 +0,0 @@
-# $NetBSD: Makefile,v 1.139 2005/10/21 03:52:01 minskim Exp $
-#
-
-COMMENT= Emulators for other operating systems
-
-SUBDIR+= BasiliskII
-SUBDIR+= Cygne-SDL
-SUBDIR+= DatLib
-SUBDIR+= DatUtil
-SUBDIR+= MAMEDiff
-SUBDIR+= NeoPop-SDL
-SUBDIR+= ROMBuild
-SUBDIR+= ROMInfo
-SUBDIR+= ZIPIdent
-SUBDIR+= aliados
-SUBDIR+= aranym
-SUBDIR+= arcem
-SUBDIR+= arnold
-SUBDIR+= atari800
-SUBDIR+= blinkensim
-SUBDIR+= bochs
-SUBDIR+= ckmame
-SUBDIR+= compat12
-SUBDIR+= compat13
-SUBDIR+= compat14
-SUBDIR+= compat14-crypto
-SUBDIR+= compat16
-SUBDIR+= cygwin_esound
-SUBDIR+= cygwin_lib
-SUBDIR+= darcnes
-SUBDIR+= darwin_lib
-SUBDIR+= dega
-SUBDIR+= dgen
-SUBDIR+= dosbox
-SUBDIR+= doscmd
-SUBDIR+= fceu
-SUBDIR+= fmsx
-SUBDIR+= freebsd_lib
-SUBDIR+= fuse
-SUBDIR+= fuse-utils
-SUBDIR+= gcube
-SUBDIR+= generator
-SUBDIR+= generator-cbiere
-SUBDIR+= gens
-SUBDIR+= gnuboy
-SUBDIR+= gnuboy-sdl
-SUBDIR+= gpsim
-SUBDIR+= gpsim-devel
-SUBDIR+= gpsim-oscilloscope
-SUBDIR+= gpsim-ptyusart
-SUBDIR+= gxemul
-SUBDIR+= hatari
-SUBDIR+= hercules
-SUBDIR+= hercules-images
-SUBDIR+= ia64sim
-SUBDIR+= libspectrum
-SUBDIR+= linuxppc_lib
-SUBDIR+= lrmi
-SUBDIR+= m1
-SUBDIR+= minivmac
-SUBDIR+= mmix
-SUBDIR+= netbsd32_compat14
-SUBDIR+= netbsd32_compat15
-SUBDIR+= netbsd32_compat16
-SUBDIR+= openmsx
-SUBDIR+= osf1_lib
-SUBDIR+= p11
-SUBDIR+= palmosemulator
-SUBDIR+= pcemu
-SUBDIR+= peace
-SUBDIR+= pearpc
-SUBDIR+= qemu
-SUBDIR+= raine
-SUBDIR+= simh
-SUBDIR+= simulavr
-SUBDIR+= ski
-SUBDIR+= sms_sdl
-SUBDIR+= snes9x
-SUBDIR+= spim
-SUBDIR+= stella
-SUBDIR+= suse91_aspell
-SUBDIR+= suse91_base
-SUBDIR+= suse91_compat
-SUBDIR+= suse91_expat
-SUBDIR+= suse91_fontconfig
-SUBDIR+= suse91_freetype2
-SUBDIR+= suse91_glx
-SUBDIR+= suse91_gtk
-SUBDIR+= suse91_gtk2
-SUBDIR+= suse91_libjpeg
-SUBDIR+= suse91_libpng
-SUBDIR+= suse91_libtiff
-#SUBDIR+= suse91_linux # only contains Makefile fragments
-SUBDIR+= suse91_locale
-SUBDIR+= suse91_openmotif
-SUBDIR+= suse91_slang
-SUBDIR+= suse91_vmware
-SUBDIR+= suse91_x11
-SUBDIR+= suse_audio
-SUBDIR+= suse_base
-SUBDIR+= suse_compat
-SUBDIR+= suse_devel
-SUBDIR+= suse_fileutils
-SUBDIR+= suse_freetype2
-SUBDIR+= suse_glx
-SUBDIR+= suse_gtk
-SUBDIR+= suse_libc5
-SUBDIR+= suse_libjpeg
-SUBDIR+= suse_libpng
-SUBDIR+= suse_libtiff
-SUBDIR+= suse_linux
-SUBDIR+= suse_openmotif
-SUBDIR+= suse_slang
-SUBDIR+= suse_vmware
-SUBDIR+= suse_x11
-SUBDIR+= suse_xforms
-SUBDIR+= swarm
-SUBDIR+= tme
-SUBDIR+= tuxnes
-SUBDIR+= twin
-SUBDIR+= uae
-SUBDIR+= ucon64
-SUBDIR+= uips
-SUBDIR+= vba
-SUBDIR+= vice
-SUBDIR+= vmware
-SUBDIR+= vmware-module
-SUBDIR+= vmware-module3
-SUBDIR+= vmware3
-SUBDIR+= wine
-SUBDIR+= x48
-SUBDIR+= xbeeb
-SUBDIR+= xcopilot
-SUBDIR+= xm7
-SUBDIR+= xmame
-SUBDIR+= xmess
-SUBDIR+= xtrs
-SUBDIR+= xyame
-SUBDIR+= z26
-SUBDIR+= zsnes
-
-.include "../mk/bsd.pkg.subdir.mk"
diff --git a/emulators/NeoPop-SDL/DESCR b/emulators/NeoPop-SDL/DESCR
deleted file mode 100644
index cbef6e086ce..00000000000
--- a/emulators/NeoPop-SDL/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-NeoPop-SDL is the SDL port of NeoPop, a portable NeoGeo Pocket
-emulator. It supports black&white and color games, game state saving,
-screenshots (BMP and PNG), sound and music, double- and
-triple-size both in software and hardware scaling as well as
-full-screen-modes, joysticks and keyboard input, and reading from
-ZIP files.
diff --git a/emulators/NeoPop-SDL/Makefile b/emulators/NeoPop-SDL/Makefile
deleted file mode 100644
index 0f085ab295f..00000000000
--- a/emulators/NeoPop-SDL/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/04/11 21:45:42 tv Exp $
-#
-
-DISTNAME= NeoPop-SDL-0.2
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.nih.at/NeoPop-SDL/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.nih.at/NeoPop-SDL/
-COMMENT= SNK NeoGeo Pocket emulator
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/NeoPop-SDL/PLIST b/emulators/NeoPop-SDL/PLIST
deleted file mode 100644
index 8646743ccf8..00000000000
--- a/emulators/NeoPop-SDL/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2004/07/25 12:27:46 wiz Exp $
-bin/NeoPop-SDL
-man/man5/neopoprc.5
-man/man6/NeoPop-SDL.6
-share/doc/NeoPop-SDL/TODO
-share/doc/NeoPop-SDL/bugs-core.html
-@dirrm share/doc/NeoPop-SDL
diff --git a/emulators/NeoPop-SDL/distinfo b/emulators/NeoPop-SDL/distinfo
deleted file mode 100644
index 1d84b42752c..00000000000
--- a/emulators/NeoPop-SDL/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (NeoPop-SDL-0.2.tar.bz2) = b062a9d9f031617ba14e13f265d2deb659a58240
-RMD160 (NeoPop-SDL-0.2.tar.bz2) = 48494371b074b3a336a0090b470e5f3ee6815672
-Size (NeoPop-SDL-0.2.tar.bz2) = 222287 bytes
diff --git a/emulators/ROMBuild/DESCR b/emulators/ROMBuild/DESCR
deleted file mode 100644
index 249a8c5389d..00000000000
--- a/emulators/ROMBuild/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-ROMBuild is a ROM manipulation tool that is capable of creating
-ROMs for the older arcade emus using MAME ones. An example of this
-is by splitting ROMs in two or joining two together but ROMBuild
-supports much more than this. It can can split, join, extract,
-fill, patch, pad, interleave etc but to you the user that doesn't
-really matter. The important thing is that MAME ROMs go in and ROMs
-for another emulator come out. :)
-
-When used in conjunction with the CMPro/ROMCenter dats that I have
-produced you can generate ROM sets for practically any emulator
-from MAME ROMs. In fact, the only ROMs you can't generate from MAME
-sets are where MAME doesn't support the game.
diff --git a/emulators/ROMBuild/Makefile b/emulators/ROMBuild/Makefile
deleted file mode 100644
index 2e0ba562dae..00000000000
--- a/emulators/ROMBuild/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/10/20 01:44:17 wiz Exp $
-#
-
-DISTNAME= rbuild27
-PKGNAME= ROMBuild-2.7
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/ROMBuild/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/ROMBuild/ROMBuild.shtml
-COMMENT= Arcade ROM manipulation tool
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= rombuild
-EXTRACT_CMD_OPTS.zip= -Laaqo
-INSTALLATION_DIRS= bin
-
-BUILDLINK_DEPENDS.DatLib+= DatLib>=2.8
-
-post-extract:
- ${MKDIR} ${WRKSRC}/obj
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMBuild
- ${INSTALL_DATA} ${WRKSRC}/rombuild.txt ${PREFIX}/share/doc/ROMBuild
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../emulators/DatLib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ROMBuild/PLIST b/emulators/ROMBuild/PLIST
deleted file mode 100644
index ee3b013b87a..00000000000
--- a/emulators/ROMBuild/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
-bin/rombuild
-share/doc/ROMBuild/rombuild.txt
-@dirrm share/doc/ROMBuild
diff --git a/emulators/ROMBuild/distinfo b/emulators/ROMBuild/distinfo
deleted file mode 100644
index 338a7a587d7..00000000000
--- a/emulators/ROMBuild/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/10/20 01:44:17 wiz Exp $
-
-SHA1 (rbuild27.zip) = 9d73ed563eb2c7c045e94ef00b3f59a40e7bca4e
-RMD160 (rbuild27.zip) = 15a38904606bc7f6981246bdfdb6f62e546a400d
-Size (rbuild27.zip) = 261287 bytes
-SHA1 (patch-aa) = c7d5a9c16c2da0a97d30c2e21d99827b3ab8f2a6
-SHA1 (patch-ab) = 1fbc4887a532d1f956875589baa8a2e0211070fc
-SHA1 (patch-ac) = 484bd715983c109f41f1d01e7150266e7c2ca4d1
diff --git a/emulators/ROMBuild/patches/patch-aa b/emulators/ROMBuild/patches/patch-aa
deleted file mode 100644
index 195f281cf31..00000000000
--- a/emulators/ROMBuild/patches/patch-aa
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- makefile.orig 2004-07-01 16:25:18.000000000 +0200
-+++ makefile
-@@ -3,7 +3,7 @@
- #
-
- NAME=rombuild
--EXT=.exe
-+EXT=
- EXE=$(NAME)$(EXT)
-
- SRC=src
-@@ -11,19 +11,17 @@ OBJ=obj
-
- OBJDIRS=$(OBJ)
-
--OBJS= $(DLOBJ)/misc/getopt.o \
-- $(DLOBJ)/mame/unzip.o \
-- $(DLOBJ)/mame/msdos/msdos.o \
-- $(OBJ)/$(NAME).o \
-+OBJS= $(OBJ)/$(NAME).o \
- $(OBJ)/rominfo.o
-
- #
- # Build the obj tree then build the EXE
- #
-
--all: dlmaketree maketree $(EXE)
-+all: maketree $(EXE)
-
--include $(LOGIQX)/dev/datlib/makefile
-+DLSRC= $(PREFIX)/include/DatLib
-+CFLAGS+= -I src -I $(PREFIX)/include
-
- #
- # Creating obj directory tree
-@@ -52,8 +50,7 @@ $(OBJ)/rominfo.o: $(SRC)/rominfo.c $(SRC
-
- $(EXE): $(OBJS)
- @echo Linking $@...
-- $(LD) $(OBJS) $(LIBS) -o $@
-- $(UPX) $@
-+ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
-
- #
- # Complete removal of built objects
diff --git a/emulators/ROMBuild/patches/patch-ab b/emulators/ROMBuild/patches/patch-ab
deleted file mode 100644
index 07dc6f619b5..00000000000
--- a/emulators/ROMBuild/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/rombuild.c.orig 2005-01-30 12:19:54.000000000 +0100
-+++ src/rombuild.c
-@@ -23,13 +23,13 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/macro.h"
-+#include "DatLib/macro.h"
-
-
- /* --- Misc library includes --- */
-
--#include "datlib/src/misc/getopt.h"
--#include "datlib/src/mame/unzip.h"
-+#include "DatLib/misc/getopt.h"
-+#include "DatLib/mame/unzip.h"
-
-
- /* --- ROMBuild definitions and macros --- */
diff --git a/emulators/ROMBuild/patches/patch-ac b/emulators/ROMBuild/patches/patch-ac
deleted file mode 100644
index 6e597d1b499..00000000000
--- a/emulators/ROMBuild/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/rombuild.h.orig 2005-01-02 22:50:32.000000000 +0100
-+++ src/rombuild.h
-@@ -6,7 +6,7 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/macro.h"
-+#include "DatLib/macro.h"
-
-
- /* --- Types of ROMBuild operation --- */
diff --git a/emulators/ROMInfo/DESCR b/emulators/ROMInfo/DESCR
deleted file mode 100644
index f7fd1864bdd..00000000000
--- a/emulators/ROMInfo/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-ROMInfo is for identifying arcade ROMs and checking if they are
-emulated yet. It does this using the CMPro dats from the CAESAR
-database and should cover every arcade game emulated so far.
diff --git a/emulators/ROMInfo/Makefile b/emulators/ROMInfo/Makefile
deleted file mode 100644
index 51577a11e68..00000000000
--- a/emulators/ROMInfo/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:50 jlam Exp $
-#
-
-DISTNAME= rinfo23
-PKGNAME= ROMInfo-2.3
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/ROMInfo/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/ROMInfo/ROMInfo.shtml
-COMMENT= Identify arcade ROM sets
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= rominfo
-EXTRACT_CMD_OPTS.zip= -Laaqo
-INSTALLATION_DIRS= bin
-
-post-extract:
- ${MKDIR} ${WRKSRC}/obj
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rominfo ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMInfo
- ${INSTALL_DATA} ${WRKSRC}/rominfo.txt ${PREFIX}/share/doc/ROMInfo
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../emulators/DatLib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ROMInfo/PLIST b/emulators/ROMInfo/PLIST
deleted file mode 100644
index f6152cf2621..00000000000
--- a/emulators/ROMInfo/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
-bin/rominfo
-share/doc/ROMInfo/rominfo.txt
-@dirrm share/doc/ROMInfo
diff --git a/emulators/ROMInfo/distinfo b/emulators/ROMInfo/distinfo
deleted file mode 100644
index fffec785c59..00000000000
--- a/emulators/ROMInfo/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
-SHA1 (rinfo23.zip) = f4fd3b662428414ddc23f2d65b11e7fd1bf9eb96
-RMD160 (rinfo23.zip) = 0e33d39221b3a94acd75dd430b798d9ca031d1ed
-Size (rinfo23.zip) = 125239 bytes
-SHA1 (patch-aa) = 5006204b7b458068be13f0258eddf739a984f23a
-SHA1 (patch-ab) = c8667dc5c0ba3085e14b56b88d1693a5a8abf329
diff --git a/emulators/ROMInfo/patches/patch-aa b/emulators/ROMInfo/patches/patch-aa
deleted file mode 100644
index b7a71fc96d2..00000000000
--- a/emulators/ROMInfo/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- makefile.orig 2005-02-24 23:39:06.000000000 +0100
-+++ makefile
-@@ -3,7 +3,7 @@
- #
-
- NAME=rominfo
--EXT=.exe
-+EXT=
- EXE=$(NAME)$(EXT)
-
- SRC=src
-@@ -18,9 +18,10 @@ OBJS= $(DLOBJS) \
- # Build the obj tree then build the EXE
- #
-
--all: dlmaketree maketree $(EXE)
-+all: maketree $(EXE)
-
--include $(LOGIQX)/dev/datlib/makefile
-+DLSRC= $(PREFIX)/include/DatLib
-+CFLAGS+= -I src -I $(PREFIX)/include
-
- #
- # Creating obj directory tree
-@@ -45,8 +46,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(DLSR
-
- $(EXE): $(OBJS)
- @echo Linking $@...
-- $(LD) $(OBJS) $(LIBS) -o $@
-- $(UPX) $@
-+ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
-
- #
- # Complete removal of built objects
diff --git a/emulators/ROMInfo/patches/patch-ab b/emulators/ROMInfo/patches/patch-ab
deleted file mode 100644
index 0a4341a5e30..00000000000
--- a/emulators/ROMInfo/patches/patch-ab
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/rominfo.c.orig 2005-02-28 19:17:24.000000000 +0100
-+++ src/rominfo.c
-@@ -22,14 +22,14 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
--#include "datlib/src/macro.h"
-+#include "DatLib/datlib.h"
-+#include "DatLib/macro.h"
-
-
- /* --- Misc library includes --- */
-
--#include "datlib/src/misc/getopt.h"
--#include "datlib/src/mame/unzip.h"
-+#include "DatLib/misc/getopt.h"
-+#include "DatLib/mame/unzip.h"
-
-
- /* --- ROMInfo definitions and macros --- */
diff --git a/emulators/ZIPIdent/DESCR b/emulators/ZIPIdent/DESCR
deleted file mode 100644
index bbfefa1cc06..00000000000
--- a/emulators/ZIPIdent/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-ZIPIdent has been created to assist in the management of unemulated
-or 'needed soon' ROM collections. Anyone who possesses such a
-collection (emu developers for example) may find it difficult to
-spot games that become emulated and then remove them from the
-unemulated collection. ZIPIdent will identify ZIPs that should not
-be classified unemulated and if desired will even move them out of
-the 'unemulated' collection and into a separate directory.
-
-It is quite similar to MAME's '-romident' function except for the
-fact that it processes entire ROM collections, not just an individual
-ZIP. ZIPIdent probably has some additional logic that '-romident'
-doesn't contain too (not checked).
diff --git a/emulators/ZIPIdent/Makefile b/emulators/ZIPIdent/Makefile
deleted file mode 100644
index 1502c35fd32..00000000000
--- a/emulators/ZIPIdent/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:50 jlam Exp $
-#
-
-DISTNAME= zident24
-PKGNAME= ZIPIdent-2.4
-CATEGORIES= emulators
-MASTER_SITES= http://www.logiqx.com/Tools/ZIPIdent/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.logiqx.com/Tools/ZIPIdent/ZIPIdent.shtml
-COMMENT= Identify arcade ROM sets
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-MAKEFILE= makefile
-BUILD_TARGET= zipident
-EXTRACT_CMD_OPTS.zip= -Laaqo
-INSTALLATION_DIRS= bin
-
-post-extract:
- ${MKDIR} ${WRKSRC}/obj
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/zipident ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ZIPIdent
- ${INSTALL_DATA} ${WRKSRC}/zipident.txt ${PREFIX}/share/doc/ZIPIdent
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../emulators/DatLib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ZIPIdent/PLIST b/emulators/ZIPIdent/PLIST
deleted file mode 100644
index d24c12a2ccf..00000000000
--- a/emulators/ZIPIdent/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
-bin/zipident
-share/doc/ZIPIdent/zipident.txt
-@dirrm share/doc/ZIPIdent
diff --git a/emulators/ZIPIdent/distinfo b/emulators/ZIPIdent/distinfo
deleted file mode 100644
index 8257816558e..00000000000
--- a/emulators/ZIPIdent/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
-SHA1 (zident24.zip) = 2c22835ac1ad9ee8c7f9c40b125e3b856718828b
-RMD160 (zident24.zip) = 09500182746f6be1b2c78769474a632bf10ae7a9
-Size (zident24.zip) = 132766 bytes
-SHA1 (patch-aa) = 2718a0187b02e57001d9f6f8e9b3b5c1760daea6
-SHA1 (patch-ab) = 67ad17076bff44fc854a7f0b076283b4f3c135de
diff --git a/emulators/ZIPIdent/patches/patch-aa b/emulators/ZIPIdent/patches/patch-aa
deleted file mode 100644
index 2d255b6649e..00000000000
--- a/emulators/ZIPIdent/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- makefile.orig 2004-07-01 16:25:20.000000000 +0200
-+++ makefile
-@@ -3,7 +3,7 @@
- #
-
- NAME=zipident
--EXT=.exe
-+EXT=
- EXE=$(NAME)$(EXT)
-
- SRC=src
-@@ -18,9 +18,10 @@ OBJS= $(DLOBJS) \
- # Build the obj tree then build the EXE
- #
-
--all: dlmaketree maketree $(EXE)
-+all: maketree $(EXE)
-
--include $(LOGIQX)/dev/datlib/makefile
-+DLSRC= $(PREFIX)/include/DatLib
-+CFLAGS+= -I src -I $(PREFIX)/include
-
- #
- # Creating obj directory tree
-@@ -45,8 +46,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(DLSR
-
- $(EXE): $(OBJS)
- @echo Linking $@...
-- $(LD) $(OBJS) $(LIBS) -o $@
-- $(UPX) $@
-+ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
-
- #
- # Complete removal of built objects
diff --git a/emulators/ZIPIdent/patches/patch-ab b/emulators/ZIPIdent/patches/patch-ab
deleted file mode 100644
index 0934d2b1a07..00000000000
--- a/emulators/ZIPIdent/patches/patch-ab
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $
-
---- src/zipident.c.orig 2005-02-13 14:07:40.000000000 +0100
-+++ src/zipident.c
-@@ -21,14 +21,14 @@
-
- /* --- Dat library includes --- */
-
--#include "datlib/src/datlib.h"
--#include "datlib/src/macro.h"
-+#include "DatLib/datlib.h"
-+#include "DatLib/macro.h"
-
-
- /* --- Misc library includes --- */
-
--#include "datlib/src/misc/getopt.h"
--#include "datlib/src/mame/unzip.h"
-+#include "DatLib/misc/getopt.h"
-+#include "DatLib/mame/unzip.h"
-
-
- /* --- ZipIdent definitions and macros --- */
diff --git a/emulators/aliados/DESCR b/emulators/aliados/DESCR
deleted file mode 100644
index 519b4c85626..00000000000
--- a/emulators/aliados/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Aliados is a CP/M 80 emulator that instead of emulate a machine and
-run some variant of CP/M on it, emulates only the microprocessor and
-captures all CP/M system calls to execute it natively. Actually only
-emulates a small part of CP/M, but with that already can execute many
-programs, such as WordStar, Micrsoft Basic, Mallard Basic, Hi-Tech C,
-Turbo Pascal and many others. Aliados does not need to create disk
-images, it reads and writes in the native filesystem all files that
-match the CP/M name conventions.
diff --git a/emulators/aliados/Makefile b/emulators/aliados/Makefile
deleted file mode 100644
index 464cc69c69b..00000000000
--- a/emulators/aliados/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:42 tv Exp $
-#
-
-DISTNAME= aliados-0.1.1
-CATEGORIES= emulators
-MASTER_SITES= http://www.arrakis.es/~ninsesabe/aliados/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= ivaniclixx@gmail.com
-HOMEPAGE= http://www.arrakis.es/~ninsesabe/aliados/
-COMMENT= CP/M 80 emulator
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-NO_CONFIGURE= YES
-USE_LANGUAGES= c++
-USE_NCURSES= # tigetstr tparm setupterm
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/aliados ${PREFIX}/bin/
-
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/aliados/PLIST b/emulators/aliados/PLIST
deleted file mode 100644
index 1b454c04b60..00000000000
--- a/emulators/aliados/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
-bin/aliados
diff --git a/emulators/aliados/distinfo b/emulators/aliados/distinfo
deleted file mode 100644
index 437769bfb6a..00000000000
--- a/emulators/aliados/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (aliados-0.1.1.tgz) = adcc43f7bafc2ee11222002d03f306e8f561e3f6
-RMD160 (aliados-0.1.1.tgz) = a4a37f349937d32c1449553816de5f3d87836545
-Size (aliados-0.1.1.tgz) = 50210 bytes
-SHA1 (patch-aa) = 2347332c491796a6df2468c6c814fbf9ffa04a8d
diff --git a/emulators/aliados/patches/patch-aa b/emulators/aliados/patches/patch-aa
deleted file mode 100644
index 2201976eeb2..00000000000
--- a/emulators/aliados/patches/patch-aa
+++ /dev/null
@@ -1,115 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
-
---- Makefile.orig 2004-03-20 13:31:28.000000000 -0600
-+++ Makefile
-@@ -1,16 +1,17 @@
- # Makefile para aliados
-
- # Path to ncurses required in hp-ux.
--CPPFLAGS=-W -Wall -I/opt/ncurses/include
-+#CPPFLAGS=-W -Wall -I/opt/ncurses/include
-+CPPFLAGS+= ${CXXFLAGS}
-
- # To compile with console emulation using curses.
--LDFLAGS=-lncurses -L/opt/ncurses/lib
-+LDFLAGS+="-lncurses"
-
- # To compile without console emulation.
- #LDFLAGS=
- #CURSESFLAGS=-DNO_CURSES
-
--all: aliados disassemble
-+all: aliados
-
- # If you want to build the versions with and without libz80 at the same time.
-
-@@ -21,17 +22,17 @@ both: aliados aliadoslz disassemble
- #------------------------------------------------
-
- aliadoslz: aliadoslz.o cpmlz.o realconsole.o cpuz.o directory.o
-- g++ $(CPPFLAGS) $(LDFLAGS) -o aliadoslz -lz80 \
-+ $(CXX) $(CPPFLAGS) $(LDFLAGS) -o aliadoslz -lz80 \
- aliadoslz.o cpmlz.o realconsole.o cpuz.o directory.o printer.o
-
- aliadoslz.o: aliados.cpp cpm.h console.h realconsole.h printer.h
-- g++ $(CPPFLAGS) -o aliadoslz.o -c aliados.cpp
-+ $(CXX) $(CPPFLAGS) -o aliadoslz.o -c aliados.cpp
-
- cpmlz.o: cpm.cpp cpm.h cpu.h console.h directory.h printer.h
-- g++ $(CPPFLAGS) -o cpmlz.o -c cpm.cpp
-+ $(CXX) $(CPPFLAGS) -o cpmlz.o -c cpm.cpp
-
- cpuz.o: cpu.cpp cpu.h
-- g++ $(CPPFLAGS) -o cpuz.o -c cpu.cpp
-+ $(CXX) $(CPPFLAGS) -o cpuz.o -c cpu.cpp
-
- #------------------------------------------------
- # Version using ImcZ80.
-@@ -41,7 +42,7 @@ cpuz.o: cpu.cpp cpu.h
-
- # Uncomment this if you compile with ImcZ80 and with libz80.
- #aliados: aliados.o cpm.o Z80.o realconsole.o cpu.o
--# g++ $(CPPFLAGS) $(LDFLAGS) -o aliados \
-+# $(CXX) $(CPPFLAGS) $(LDFLAGS) -o aliados \
- # aliados.o cpm.o realconsole.o Z80.o cpu.o \
- # directory.o printer.o \
- # -lz80
-@@ -50,47 +51,47 @@ cpuz.o: cpu.cpp cpu.h
- aliados: aliados.o cpm.o Z80.o realconsole.o cpu.o disasm.o \
- directory.o printer.o
-
-- g++ $(CPPFLAGS) -o aliados \
-+ $(CXX) $(CPPFLAGS) -o aliados \
- aliados.o cpm.o realconsole.o Z80.o cpu.o \
- disasm.o directory.o printer.o \
- $(LDFLAGS)
-
- aliados.o: aliados.cpp cpm.h console.h realconsole.h printer.h
-- g++ $(CPPFLAGS) -DUSE_ImcZ80 -c aliados.cpp
-+ $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c aliados.cpp
-
- cpm.o: cpm.cpp cpm.h cpu.h console.h Z80.hxx directory.h printer.h
-- g++ $(CPPFLAGS) -DUSE_ImcZ80 -c cpm.cpp
-+ $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c cpm.cpp
-
- cpu.o: cpu.cpp cpu.h Z80.hxx disasm.h
-- g++ $(CPPFLAGS) -DUSE_ImcZ80 -c cpu.cpp
-+ $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c cpu.cpp
-
- Z80.o: Z80.cxx Z80.hxx z80ops.hxx cbops.hxx edops.hxx
-- g++ -c Z80.cxx
-+ $(CXX) -c Z80.cxx
-
- #------------------------------------------------
- # Common to all versions.
- #------------------------------------------------
-
- realconsole.o: realconsole.cpp realconsole.h console.h
-- g++ $(CPPFLAGS) $(CURSESFLAGS) -c realconsole.cpp
-+ $(CXX) $(CPPFLAGS) $(CURSESFLAGS) -c realconsole.cpp
-
- disasm.o: disasm.cpp disasm.h cpu.h
-- g++ $(CPPFLAGS) -c disasm.cpp
-+ $(CXX) $(CPPFLAGS) -c disasm.cpp
-
- directory.o: directory.cpp directory.h
-- g++ $(CPPFLAGS) -c directory.cpp
-+ $(CXX) $(CPPFLAGS) -c directory.cpp
-
- printer.o: printer.cpp printer.h
-- g++ $(CPPFLAGS) -c printer.cpp
-+ $(CXX) $(CPPFLAGS) -c printer.cpp
-
- # disassemble is a tiny disassembler that uses the disassemble code
- # of the debugger. Works correctly only with .COM files.
-
- disassemble.o: disassemble.cpp cpu.h disasm.h Z80.hxx
-- g++ $(CPPFLAGS) -c disassemble.cpp
-+ $(CXX) $(CPPFLAGS) -c disassemble.cpp
-
- disassemble: disassemble.o cpu.o disasm.o Z80.o
-- g++ $(CPPFLAGS) -o disassemble disassemble.o cpu.o disasm.o Z80.o
-+ $(CXX) $(CPPFLAGS) -o disassemble disassemble.o cpu.o disasm.o Z80.o
-
- tgz:
- tar cf - Makefile *.cpp *.h *.cxx *.hxx \
diff --git a/emulators/aranym/DESCR b/emulators/aranym/DESCR
deleted file mode 100644
index b89029e185a..00000000000
--- a/emulators/aranym/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-ARAnyM is an acronym: Atari Running on Any Machine. It is a virtual machine
-software for running the Atari ST/TT/Falcon operating systems (TOS, FreeMiNT,
-MagiC and others) and TOS/GEM applications on any kind of hardware - be it
-an IBM clone (read it as "PC" :-), an Apple, an Unix server, a graphics
-workstation or even a portable computer.
diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile
deleted file mode 100644
index 2f3431d3ef8..00000000000
--- a/emulators/aranym/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/06/01 18:02:46 jlam Exp $
-#
-
-DISTNAME= aranym-0.8.9beta
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aranym/}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://aranym.sourceforge.net/
-COMMENT= Atari Running on Any Machine
-
-USE_TOOLS+= gmake
-USE_LANGUAGES= c c++
-GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/src/Unix
-USE_TOOLS+= gzip
-MANCOMPRESSED= yes
-
-BUILD_TARGET= # void
-
-BUILD_DEFS+= FIXED_FASTRAM
-
-FIXED_FASTRAM?= 64 # Default value
-
-CONFIGURE_ARGS+= --enable-fullmmu
-CONFIGURE_ARGS+= --enable-dsp-disasm
-CONFIGURE_ARGS+= --enable-blitsdlblit
-CONFIGURE_ARGS+= --enable-fixedvideoram
-CONFIGURE_ARGS+= --enable-fixedfastram=${FIXED_FASTRAM}
-CONFIGURE_ARGS+= --enable-blitmemmove
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "NetBSD"
-CONFIGURE_ARGS+= --enable-nfpci
-.endif
-
-pre-build:
- cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} depend
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/Mesa/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/aranym/PLIST b/emulators/aranym/PLIST
deleted file mode 100644
index 1d28d357864..00000000000
--- a/emulators/aranym/PLIST
+++ /dev/null
@@ -1,47 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/06 07:28:38 xtraeme Exp $
-bin/aranym
-man/man1/aranym.1
-share/aranym/arabridge
-share/aranym/atari/aranymrc.example
-share/aranym/atari/fvdi/aranym.sys.bz2
-share/aranym/atari/fvdi/fvdi.prg.bz2
-share/aranym/atari/fvdi/fvdi.sys
-share/aranym/atari/hostfs/README
-share/aranym/atari/hostfs/bdconfig.sys
-share/aranym/atari/hostfs/hostfs.dos.bz2
-share/aranym/atari/hostfs/hostfs.xfs.bz2
-share/aranym/atari/mmusetup.cnf
-share/aranym/atari/network/README
-share/aranym/atari/network/aranym.xif.bz2
-share/aranym/atari/network/eth0-config.sh
-share/aranym/atari/network/nfeth-config.bz2
-share/aranym/atari/newdesk.inf
-share/aranym/atari/nfcdrom/nfcdrom.bos.bz2
-share/aranym/atari/sound/README
-share/aranym/atari/sound/zmagxsnd.prg.bz2
-share/aranym/atari/tools/README
-share/aranym/atari/tools/clocky.prg.bz2
-share/aranym/atari/tools/fastram.prg.bz2
-share/aranym/atari/tools/pc101us.kbd.bz2
-share/aranym/atari/tools/pcpatch.prg.bz2
-share/aranym/etos512k.img
-share/aranym/floppy.sh
-share/doc/aranym/AUTHORS
-share/doc/aranym/BUGS
-share/doc/aranym/COPYING
-share/doc/aranym/FAQ
-share/doc/aranym/INSTALL
-share/doc/aranym/NEWS
-share/doc/aranym/README
-share/doc/aranym/TODO
-share/doc/aranym/changelog
-share/doc/aranym/documentation.txt
-@dirrm share/doc/aranym
-@dirrm share/aranym/atari/tools
-@dirrm share/aranym/atari/sound
-@dirrm share/aranym/atari/nfcdrom
-@dirrm share/aranym/atari/network
-@dirrm share/aranym/atari/hostfs
-@dirrm share/aranym/atari/fvdi
-@dirrm share/aranym/atari
-@dirrm share/aranym
diff --git a/emulators/aranym/distinfo b/emulators/aranym/distinfo
deleted file mode 100644
index e1cc0ba5c6d..00000000000
--- a/emulators/aranym/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (aranym-0.8.9beta.tar.gz) = 509ad0e79c53ace176a8acef2fb2a4f23fa87d69
-RMD160 (aranym-0.8.9beta.tar.gz) = b0b994d672f6be530e6d2f4baa0327a690972f26
-Size (aranym-0.8.9beta.tar.gz) = 1246180 bytes
diff --git a/emulators/arcem/DESCR b/emulators/arcem/DESCR
deleted file mode 100644
index 67a40150895..00000000000
--- a/emulators/arcem/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-This package is Dave Gilbert's Acorn Archimedes emulator. Included
-is a Linux Boot ROM image and a Linux Hard Drive image.
diff --git a/emulators/arcem/MESSAGE b/emulators/arcem/MESSAGE
deleted file mode 100644
index 4b4f231db94..00000000000
--- a/emulators/arcem/MESSAGE
+++ /dev/null
@@ -1,16 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2004/12/03 15:15:23 skrll Exp $
-
-When you run arcem, you need to be in a directory containing the
-arcem files and the ROM file. The distribution is supplied with the
-Linux ROM and Hard Drive files from Dave Gilbert's site. The hard drive
-file needs to be writable by you. For example:
-
- $ mkdir ~/Archimedes
- $ cp ${PREFIX}/share/arcem/* ~/Archimedes
- $ cp ~/Archimedes/dot.arcemrc ~/.arcemrc
- $ cd ~/Archimedes
- $ chmod +w HardImage1
- $ arcem
-
-===========================================================================
diff --git a/emulators/arcem/Makefile b/emulators/arcem/Makefile
deleted file mode 100644
index 72e2f8a74b3..00000000000
--- a/emulators/arcem/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/06/01 18:02:46 jlam Exp $
-#
-
-DISTNAME= arcem-1.00-src
-PKGNAME= ${DISTNAME:S/-src//}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=arcem/}
-
-EXTRACT_SUFX= .tgz
-
-LINUX_FILES= \
- linux.rom.gz \
- HardImage1.gz
-
-.for f in ${LINUX_FILES}
-SITES_${f}+= \
- ftp://ftp.arm.uk.linux.org/pub/linux/arcem/
-.endfor
-
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LINUX_FILES}
-
-MAINTAINER= cjep@NetBSD.org
-HOMEPAGE= http://arcem.sourceforge.net/
-COMMENT= Dave Gilbert's Acorn Archimedes emulator
-
-WRKSRC= ${WRKDIR}/arcem
-USE_TOOLS+= gmake
-
-MAKE_ENV+= SYSTEM=X
-
-.include "../../mk/x11.buildlink3.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/arcem
- ${INSTALL_DATA} ${WRKDIR}/linux.rom ${PREFIX}/share/arcem/ROM
- ${INSTALL_DATA} ${WRKDIR}/HardImage1 ${PREFIX}/share/arcem/HardImage1
- ${INSTALL_DATA} ${FILESDIR}/dot.arcemrc \
- ${PREFIX}/share/arcem/dot.arcemrc
- ${INSTALL_DATA} ${WRKSRC}/hexcmos ${PREFIX}/share/arcem/hexcmos
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/arcem/PLIST b/emulators/arcem/PLIST
deleted file mode 100644
index ec697ebff51..00000000000
--- a/emulators/arcem/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2004/12/03 15:15:23 skrll Exp $
-bin/arcem
-@comment share/arcem/dot.arcemrc
-share/arcem/HardImage1
-share/arcem/ROM
-share/arcem/hexcmos
-@comment share/arcem/hexcmos.2
-@comment share/arcem/README
-@comment share/arcem/README.OrElse
-@dirrm share/arcem
diff --git a/emulators/arcem/distinfo b/emulators/arcem/distinfo
deleted file mode 100644
index cc2731159c7..00000000000
--- a/emulators/arcem/distinfo
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (arcem-1.00-src.tgz) = d2a487531ce6c66dfbeb59d1f1093c7d8fc3282a
-RMD160 (arcem-1.00-src.tgz) = 95044eed6e5cd871d5bd926c3d02d17706e0f93b
-Size (arcem-1.00-src.tgz) = 206416 bytes
-SHA1 (linux.rom.gz) = 5a3ed7b8bf7e560d14ede14232e50a40a96f9147
-RMD160 (linux.rom.gz) = 5bf035a3e6f054a61de62fcf880c52c996f503c6
-Size (linux.rom.gz) = 341085 bytes
-SHA1 (HardImage1.gz) = ab3c2ddd5a913a4051d4c21707e7701b27a103f3
-RMD160 (HardImage1.gz) = 09176071c9c325b50a3a2074938789f4e6136d44
-Size (HardImage1.gz) = 3545800 bytes
-SHA1 (patch-aa) = afc6f0a77315fb7476e10f472441093360b637e8
-SHA1 (patch-ab) = 92408b25cdd23444a7220191ba65348c6bef482f
-SHA1 (patch-ac) = a9f3edbd7e7a974b7098936d62790821c5d3d4a1
-SHA1 (patch-ad) = 61823a1e47f783d1852c1f50762cdecbe3aeb3fb
diff --git a/emulators/arcem/files/dot.arcemrc b/emulators/arcem/files/dot.arcemrc
deleted file mode 100644
index b4e7d208c78..00000000000
--- a/emulators/arcem/files/dot.arcemrc
+++ /dev/null
@@ -1,4 +0,0 @@
-MFM disc
-1 612 4 32 256
-MFM disc
-2 612 4 32 256
diff --git a/emulators/arcem/patches/patch-aa b/emulators/arcem/patches/patch-aa
deleted file mode 100644
index a81a7846cd4..00000000000
--- a/emulators/arcem/patches/patch-aa
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/12/03 15:15:23 skrll Exp $
-
---- Makefile.orig 2002-05-05 23:09:39.000000000 +0100
-+++ Makefile
-@@ -36,15 +36,14 @@ WARN = -Wall -Wno-return-type -Wno-unkno
-
-
- # add -DHOST_BIGENDIAN for big endian hosts, e.g. Sun, SGI, HP
--CFLAGS = -O3 -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) \
-- -I$(SYSTEM) -Iarch -funroll-loops -fexpensive-optimizations -ffast-math \
-- -fomit-frame-pointer -frerun-cse-after-loop
-+#CFLAGS = -O3 -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) \
-+# -I$(SYSTEM) -Iarch -funroll-loops -fexpensive-optimizations -ffast-math \
-+# -fomit-frame-pointer -frerun-cse-after-loop
-+CFLAGS = -g -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) -I$(SYSTEM) -Iarch
-
-
-
--prefix=/usr/local
--
--INSTALL_DIR = $(prefix)/bin
-+INSTALL_DIR = $(PREFIX)/bin
- INSTALL=cp
-
-
-@@ -82,8 +81,8 @@ TARGET=!ArcEm/arcem
- endif
-
- ifeq (${SYSTEM},X)
--CFLAGS += -DSYSTEM_X -I/usr/X11R6/include
--LIBS += -L/usr/X11R6/lib -lXext -lX11
-+CFLAGS += -DSYSTEM_X -I${X11BASE}/include
-+LIBS += -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11
- endif
-
- ifeq (${SYSTEM},win)
-@@ -110,7 +109,7 @@ VER=1.0
- all: $(TARGET)
-
- install: all
-- $(INSTALL) armul $(INSTALL_DIR)
-+ $(INSTALL) arcem $(INSTALL_DIR)
-
- $(TARGET): $(OBJS) $(MODEL).o
- $(CC) $(OBJS) $(LIBS) $(MODEL).o -o $@
diff --git a/emulators/arcem/patches/patch-ab b/emulators/arcem/patches/patch-ab
deleted file mode 100644
index 5bac55b5ee8..00000000000
--- a/emulators/arcem/patches/patch-ab
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/12/03 15:15:23 skrll Exp $
-
---- X/DispKbd.c.orig 2002-05-05 23:09:39.000000000 +0100
-+++ X/DispKbd.c
-@@ -45,7 +45,9 @@
- #define HD HOSTDISPLAY
- #define DC DISPLAYCONTROL
-
-+#if 0
- static unsigned AutoKey(ARMul_State *state);
-+#endif
-
- static struct EventNode enodes[4];
- //static int autokeyenode=0; /* Flips between 0 and 1 */
-@@ -87,12 +89,14 @@ static unsigned long get_pixelval(unsign
- } /* get_pixval */
-
- /*----------------------------------------------------------------------------*/
-+#if 0
- static unsigned AutoKey(ARMul_State *state) {
- /*fprintf(stderr,"AutoKey!\n"); */
- KBD.TimerIntHasHappened+=2;
-
- return 0;
- };
-+#endif
- /*-----------------------------------------------------------------------------*/
- /* I'm not confident that this is completely correct - if it's wrong all hell
- is bound to break loose! If it works however it should speed things up
diff --git a/emulators/arcem/patches/patch-ac b/emulators/arcem/patches/patch-ac
deleted file mode 100644
index 1e4868c096c..00000000000
--- a/emulators/arcem/patches/patch-ac
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2004/12/03 15:15:23 skrll Exp $
-
---- armrdi.c.orig 2004-06-04 09:21:14.000000000 +0100
-+++ armrdi.c
-@@ -114,11 +114,13 @@ void ARMul_ConsolePrint(ARMul_State *sta
- }
- }
-
-+#if 0
- static void ARMul_DebugPause(ARMul_State *state)
- {
- if(!(rdi_log & 8))
- state->hostif->dbgpause(state->hostif->dbgarg);
- }
-+#endif
-
- /***************************************************************************\
- * RDI_open *
-@@ -278,6 +280,7 @@ static int RDI_CPUwrite(unsigned mode, u
- * Internal functions for breakpoint table manipulation *
- \***************************************************************************/
-
-+#if 0
- static void deletewatchnode(WatchNode **prevp)
- { WatchNode *p = *prevp;
- *prevp = p->next;
-@@ -305,7 +308,7 @@ static WatchNode *installwatch(ARMword a
- p->bound = bound;
- return p;
- }
--
-+#endif
- /***************************************************************************\
- * RDI_execute *
- \***************************************************************************/
diff --git a/emulators/arcem/patches/patch-ad b/emulators/arcem/patches/patch-ad
deleted file mode 100644
index 79678af0f3a..00000000000
--- a/emulators/arcem/patches/patch-ad
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2004/12/03 15:15:23 skrll Exp $
-
---- arch/armarc.c.orig 2002-05-06 09:52:53.000000000 +0100
-+++ arch/armarc.c
-@@ -355,7 +355,7 @@ unsigned ARMul_MemoryInit(ARMul_State *s
- FILE *ROMFile;
- unsigned int ROMWordNum,ROMWord;
- int PresPage;
-- unsigned int index;
-+ unsigned int idx;
-
- PrivDPtr = (PrivateDataType *)malloc(sizeof(PrivateDataType));
- if (PrivDPtr == NULL) {
-@@ -392,8 +392,8 @@ unsigned ARMul_MemoryInit(ARMul_State *s
- exit(3);
- };
-
-- for (index = 0; index < (MEMC.RAMSize / 4); index++)
-- MEMC.PhysRamfuncs[index]=ARMul_Emulate_DecodeInstr;
-+ for (idx = 0; idx < (MEMC.RAMSize / 4); idx++)
-+ MEMC.PhysRamfuncs[idx]=ARMul_Emulate_DecodeInstr;
-
- MEMC.ROMMapFlag=1; /* Map ROM to address 0 */
- MEMC.ControlReg=0; /* Defaults */
-@@ -461,8 +461,8 @@ unsigned ARMul_MemoryInit(ARMul_State *s
- PRIVD->irqflags = 0;
- PRIVD->fiqflags = 0;
-
-- for(index = 0;index < (512 * 1024) / UPDATEBLOCKSIZE; index++) {
-- MEMC.UpdateFlags[index] = 1;
-+ for(idx = 0;idx < (512 * 1024) / UPDATEBLOCKSIZE; idx++) {
-+ MEMC.UpdateFlags[idx] = 1;
- }
-
- MEMC.OldAddress1 = -1;
diff --git a/emulators/arnold/DESCR b/emulators/arnold/DESCR
deleted file mode 100644
index 69e5c27d493..00000000000
--- a/emulators/arnold/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Arnold is an Amstrad CPC, Amstrad CPC+ and KC Compact emulator.
-Arnold is accurate and emulates the Amstrad systems to the cycle
-level. It also emulates 99% of all demo effects.
diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile
deleted file mode 100644
index 079068bd6a4..00000000000
--- a/emulators/arnold/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/11/03 21:40:13 rillig Exp $
-#
-
-DISTNAME= arnsrc27012002
-PKGNAME= arnold-20020127
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://arnold.emuunlim.com/download/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://arnold.emuunlim.com/
-COMMENT= Amstrad CPC, Amstrad CPC+ and KC Compact emulator
-
-# we want case sensitive file names.
-EXTRACT_CMD_OPTS.zip= -aqo
-
-WRKSRC= ${WRKDIR}/arnold
-GNU_CONFIGURE= yes
-CONFIGURE_DIRS= src
-BUILD_DIRS= ${CONFIGURE_DIRS}
-BUILD_TARGET= arnold
-
-SHAREDIR= ${PREFIX}/share/arnold
-DOCDIR= ${PREFIX}/share/doc/arnold
-MAKE_ENV+= SHAREDIR=${SHAREDIR}
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/arnold ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${SHAREDIR}
- ${INSTALL_DATA_DIR} ${SHAREDIR}/roms
- for dir in amsdose cpc464e cpc6128e cpc664e cpcplus kcc; \
- do \
- ${INSTALL_DATA_DIR} ${SHAREDIR}/roms/$$dir; \
- for f in ${WRKSRC}/roms/$$dir/*; \
- do \
- ${INSTALL_DATA} $$f ${SHAREDIR}/roms/$$dir; \
- done \
- done
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.linux ${DOCDIR}
-
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/arnold/PLIST b/emulators/arnold/PLIST
deleted file mode 100644
index f5846bbb9ca..00000000000
--- a/emulators/arnold/PLIST
+++ /dev/null
@@ -1,28 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
-bin/arnold
-share/arnold/roms/amsdose/amsdos.rom
-share/arnold/roms/amsdose/file_id.diz
-share/arnold/roms/cpc464e/basic.rom
-share/arnold/roms/cpc464e/file_id.diz
-share/arnold/roms/cpc464e/os.rom
-share/arnold/roms/cpc6128e/basic.rom
-share/arnold/roms/cpc6128e/file_id.diz
-share/arnold/roms/cpc6128e/os.rom
-share/arnold/roms/cpc664e/basic.rom
-share/arnold/roms/cpc664e/file_id.diz
-share/arnold/roms/cpc664e/os.rom
-share/arnold/roms/cpcplus/out.tmp
-share/arnold/roms/cpcplus/system.cpr
-share/arnold/roms/kcc/kccbas.rom
-share/arnold/roms/kcc/kccos.rom
-share/doc/arnold/readme.txt
-share/doc/arnold/readme.linux
-@dirrm share/doc/arnold
-@dirrm share/arnold/roms/kcc
-@dirrm share/arnold/roms/cpcplus
-@dirrm share/arnold/roms/cpc664e
-@dirrm share/arnold/roms/cpc6128e
-@dirrm share/arnold/roms/cpc464e
-@dirrm share/arnold/roms/amsdose
-@dirrm share/arnold/roms
-@dirrm share/arnold
diff --git a/emulators/arnold/distinfo b/emulators/arnold/distinfo
deleted file mode 100644
index 98fd03f7dcc..00000000000
--- a/emulators/arnold/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/11/03 21:40:13 rillig Exp $
-
-SHA1 (arnsrc27012002.zip) = de3102b954d79176dce259375dc1824189027f8e
-RMD160 (arnsrc27012002.zip) = 7b43c157cbc4f6171ee9ef14cc282cc1692188c6
-Size (arnsrc27012002.zip) = 916680 bytes
-SHA1 (patch-aa) = aff649f6c37cf7a321c182442d9faac44594b413
-SHA1 (patch-ab) = fde2730f3cf53d539543489a6d691ad7a6bc9d68
diff --git a/emulators/arnold/patches/patch-aa b/emulators/arnold/patches/patch-aa
deleted file mode 100644
index 5b2ad7b844e..00000000000
--- a/emulators/arnold/patches/patch-aa
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/11/03 21:40:13 rillig Exp $
-
---- src/Makefile.in.orig Sat Jan 19 15:49:14 2002
-+++ src/Makefile.in
-@@ -25,7 +25,7 @@ SDLINC = @SDL_CFLAGS@
- SDLLIB = @SDL_LIBS@
-
- #-Wall for max warnings!
--CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused
-+CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused -DSHAREDIR=\"${SHAREDIR}\"
- #-g3 -pg -dm -dp -a
- LFLAGS1 = @LDFLAGS@ @LIBS@ $(GTKLIB) $(SDLLIB) $(X11LIBS)
- #debug
-@@ -55,9 +55,30 @@ IFACEGEN_O= ifacegen/ifacegen.o ifacegen
- UNIX_O= unix/main.o unix/host.o unix/global.o unix/settings.o \
- unix/display.o unix/display_sdl.o unix/gtkui.o unix/sdlsound.o
-
-+CPC_O2= arnold.o asic.o audioevent.o bmp.o cpc.o \
-+ crtc.o debugmain.o dirstuff.o dumpym.o fdc.o \
-+ garray.o multface.o printer.o psgplay.o \
-+ psg.o render.o render5.o scrsnap.o \
-+ snapshot.o sampload.o spo256.o \
-+ voc.o tzx.o wav.o westpha.o yiq.o \
-+ debug.o z8536.o \
-+ gdebug.o breakpt.o \
-+ diskimg.o \
-+ dsk.o extdsk.o \
-+ iextdsk.o maketrk.o \
-+ z80.o memdump.o \
-+ riff.o snapv3.o expbuf.o \
-+ cheatsys.o cpcdbg.o
-+
-+IFACEGEN_O2= ifacegen.o fnp.o romfn.o \
-+ filetool.o
-+
-+UNIX_O2= main.o host.o global.o settings.o \
-+ display.o display_sdl.o gtkui.o sdlsound.o
-+
- arnold: $(CPC_O) $(IFACEGEN_O) $(UNIX_O)
-- $(BIND) -o arnold $(LFLAGS1) $(CPC_O) $(IFACEGEN_O) \
-- $(UNIX_O) $(LFLAGS2)
-+ $(BIND) -o arnold $(LFLAGS1) $(CPC_O2) $(IFACEGEN_O2) \
-+ $(UNIX_O2) $(LFLAGS2)
- mv arnold ..
- ctags:
- ctags -R
diff --git a/emulators/arnold/patches/patch-ab b/emulators/arnold/patches/patch-ab
deleted file mode 100644
index 72d72af94e5..00000000000
--- a/emulators/arnold/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/11/03 21:40:13 rillig Exp $
-
---- src/unix/main.c.orig Sun Nov 4 21:15:22 2001
-+++ src/unix/main.c
-@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
- char LocalDirectory[1024];
- char ProgramDirectory[1024]="";
-
-- getcwd(ProgramDirectory, 1024);
-+ strcpy(ProgramDirectory, SHAREDIR);
-
- sprintf(LocalDirectory,"%s/roms/amsdose/",ProgramDirectory);
-
-@@ -94,8 +94,6 @@ LocalDirectory);
-
- if (CPCEmulation_Initialise())
- {
-- chdir(ProgramDirectory);
--
- CPC_SetCPCType(CPC_TYPE_CPC6128);
-
- if (argc!=0)
diff --git a/emulators/atari800/DESCR b/emulators/atari800/DESCR
deleted file mode 100644
index d48d7407011..00000000000
--- a/emulators/atari800/DESCR
+++ /dev/null
@@ -1,24 +0,0 @@
-Atari 8-bit machine emulator for multiple platforms.
-
-Major features:
-o Atari 400, 800, 600 XL, 800XL, 130XE, 5200 Games System.
-o 130XE compatible memory expansions: 320K, 576K, 1088K.
-o Optional 4K RAM between 0xc000 and 0xcfff in 400/800 mode.
-o Cycle-exact 6502 emulation, all unofficial instructions.
-o Cycle-exact NMI interrupts, scanline-based POKEY interrupts.
-o Scanline-based ANTIC emulation, all display modes, precise timing.
-o Player/Missile Graphics, exact priority control and collision detection.
-o Exact POKEY shift registers (sound and random number generator).
-o 8 disk drives, emulated at computer-to-drive communication
- and fast patched SIO levels.
-o ATR, XFD, DCM, ATR.GZ and XFD.GZ disk images.
-o Direct loading of Atari executable files.
-o 24 cartridge types, raw and CART format.
-o Cassette player, raw and CAS images.
-o Printer support.
-o Files can be stored directly on your host computer via the H: device.
-o Current emulation state can be saved in a state file.
-o Sound support (possibility to redirect it to WAV files).
-o Stereo (two POKEYs) emulation.
-o Joystick controller using numeric keypad and real joystick support.
-o Screen snapshots (normal and interlaced) to PCX files.
diff --git a/emulators/atari800/MESSAGE b/emulators/atari800/MESSAGE
deleted file mode 100644
index 31aae46b030..00000000000
--- a/emulators/atari800/MESSAGE
+++ /dev/null
@@ -1,19 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2002/11/22 12:26:25 wiz Exp $
-
-Please refer to ${PREFIX}/share/doc/atari800 for the distribution documents.
-A man page has also been installed. The system wide configuration file can
-be found at ${PREFIX}/share/atari800/atari800.cfg which you will probably
-want to copy to your home directory, at some stage, to personalise the
-settings.
-
-For more information please visit http://atari800.atari.org
-or the news group "comp.sys.atari.8bit".
-
-The ROM's for the Atari computers are, unfortunately, copyright. This
-port uses the ROM files distributed with another freeware Atari emulator
-for DOS called PC Xformer 2.5. If you would like to take a further look
-at XF2.5 you can find it in your distfiles directory. For more information
-on this emulator check out http://www.emulators.com/xformer.htm .
-
-===========================================================================
diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile
deleted file mode 100644
index 532459080e5..00000000000
--- a/emulators/atari800/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.31 2005/05/22 20:07:57 jlam Exp $
-
-DISTNAME= atari800-1.3.6
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=atari800/}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xf25.zip
-
-MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://atari800.sourceforge.net/
-COMMENT= Atari 800, 800XL, 130XE and 5200 emulator
-
-RESTRICTED= "copyrighted ROM images"
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-
-.include "options.mk"
-
-# override HOME to avoid picking up a bad ${HOME}/.atari800 during the build
-MAKE_FLAGS+= HOME=${WRKSRC}
-
-post-extract:
- @cd ${WRKDIR} && ${LOCALBASE}/bin/unzip -Lqo ${DISTDIR}/xf25.zip
- ${SED} -e 's,@PREFIX@,${PREFIX},g' <${FILESDIR}/atari800.cfg \
- >${WRKSRC}/atari800.cfg
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/atari800
- ${INSTALL_DATA} ${WRKDIR}/*.rom ${WRKDIR}/*.xfd ${WRKDIR}/*.atr \
- ${WRKSRC}/atari800.cfg ${PREFIX}/share/atari800/
-
-.include "../../graphics/png/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/atari800/PLIST b/emulators/atari800/PLIST
deleted file mode 100644
index a91f4c7a4c6..00000000000
--- a/emulators/atari800/PLIST
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/01/08 15:24:42 adam Exp $
-bin/atari800
-man/man1/atari800.1
-share/atari800/atari800.cfg
-share/atari800/ataribas.rom
-share/atari800/atariosb.rom
-share/atari800/atarixl.rom
-share/atari800/demos1.xfd
-share/atari800/demos2.xfd
-share/atari800/dos25.xfd
-share/atari800/mydos45d.atr
-share/doc/atari800/COPYING
-share/doc/atari800/INSTALL
-share/doc/atari800/NEWS
-share/doc/atari800/README
-share/doc/atari800/README.1ST
-share/doc/atari800/USAGE
-@dirrm share/doc/atari800
-@dirrm share/atari800
diff --git a/emulators/atari800/distinfo b/emulators/atari800/distinfo
deleted file mode 100644
index 29cd2461725..00000000000
--- a/emulators/atari800/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.11 2005/05/17 15:08:57 adam Exp $
-
-SHA1 (atari800-1.3.6.tar.gz) = 60a33ac3a57b31e5614d34e8eb1ece354c7f1bc4
-RMD160 (atari800-1.3.6.tar.gz) = 943b5ab6beae25228c85f728462c8e8f68ce5027
-Size (atari800-1.3.6.tar.gz) = 1012231 bytes
-SHA1 (xf25.zip) = e65923fd3a4845c1c72d1677db0fda969187eb42
-RMD160 (xf25.zip) = e3960898223dd4d1b9a9cc5cfb1251bd726ea5a7
-Size (xf25.zip) = 188942 bytes
-SHA1 (patch-aa) = cf2122ef21bb8a8e27f9aa723ed11f16630bfbef
-SHA1 (patch-ab) = 15b45d358ce200bb13d8ed35eed97dd7745e4b51
-SHA1 (patch-ac) = 1815c2f531a8bdba6e12d5cf062206e8eb2740d9
-SHA1 (patch-ad) = f5046d850bc3a6f0da044fd7cca78938d715a8bb
diff --git a/emulators/atari800/files/atari800.cfg b/emulators/atari800/files/atari800.cfg
deleted file mode 100644
index a51b4bdf78f..00000000000
--- a/emulators/atari800/files/atari800.cfg
+++ /dev/null
@@ -1,24 +0,0 @@
-Atari 800 Emulator, Version 1.2.4
-OS/A_ROM=
-OS/B_ROM=@PREFIX@/share/atari800/atariosb.rom
-XL/XE_ROM=@PREFIX@/share/atari800/atarixl.rom
-BASIC_ROM=@PREFIX@/share/atari800/ataribas.rom
-5200_ROM=
-DISK_DIR=@PREFIX@/share/atari800/
-ROM_DIR=@PREFIX@/share/atari800/
-H1_DIR=.
-H2_DIR=.
-H3_DIR=.
-H4_DIR=.
-HD_READ_ONLY=1
-EXE_DIR=.
-STATE_DIR=
-PRINT_COMMAND=lpr %s
-SCREEN_REFRESH_RATIO=1
-MACHINE_TYPE=Atari XL/XE
-RAM_SIZE=64
-DEFAULT_TV_MODE=PAL
-DISABLE_BASIC=1
-ENABLE_SIO_PATCH=1
-ENABLE_H_PATCH=1
-ENABLE_P_PATCH=1
diff --git a/emulators/atari800/options.mk b/emulators/atari800/options.mk
deleted file mode 100644
index 17f99feade5..00000000000
--- a/emulators/atari800/options.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD: options.mk,v 1.4 2005/06/01 18:02:46 jlam Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.atari800
-PKG_SUPPORTED_OPTIONS= sdl x11
-PKG_SUGGESTED_OPTIONS= sdl
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mx11)
-CONFIGURE_ARGS+= --target=x11
-.include "../../mk/x11.buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+= --target=sdl
-.include "../../devel/SDL/buildlink3.mk"
-.endif
diff --git a/emulators/atari800/patches/patch-aa b/emulators/atari800/patches/patch-aa
deleted file mode 100644
index 107b60b541a..00000000000
--- a/emulators/atari800/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2004/01/08 15:24:42 adam Exp $
-
---- sound.c.orig 2003-02-24 09:33:10.000000000 +0000
-+++ sound.c
-@@ -44,7 +44,7 @@
-
- #define DEFDSPRATE 22050
-
--static char *dspname = "/dev/dsp";
-+static char *dspname = DEVOSSAUDIO;
- static int dsprate = DEFDSPRATE;
- static int fragstofill = 0;
- static int snddelay = 60; /* delay in milliseconds */
diff --git a/emulators/atari800/patches/patch-ab b/emulators/atari800/patches/patch-ab
deleted file mode 100644
index a9732e2ce67..00000000000
--- a/emulators/atari800/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2005/01/05 11:00:26 adam Exp $
-
---- rt-config.c.orig 2004-11-26 18:10:29.000000000 +0000
-+++ rt-config.c
-@@ -81,7 +81,7 @@ int stereo_enabled;
- #endif
-
- #ifndef SYSTEM_WIDE_CFG_FILE
--#define SYSTEM_WIDE_CFG_FILE "/etc/atari800.cfg"
-+#define SYSTEM_WIDE_CFG_FILE PREFIX "/share/atari800/atari800.cfg"
- #endif
-
- static char rtconfig_filename[FILENAME_MAX];
diff --git a/emulators/atari800/patches/patch-ac b/emulators/atari800/patches/patch-ac
deleted file mode 100644
index 37e0bb319dc..00000000000
--- a/emulators/atari800/patches/patch-ac
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2004/01/08 15:24:42 adam Exp $
-
---- Makefile.in.orig 2004-01-08 15:57:43.000000000 +0000
-+++ Makefile.in
-@@ -5,15 +5,15 @@ DEFS = @DEFS@
- LIBS = @LIBS@
- TARGET = atari800@EXEEXT@
-
--CFLAGS = @CFLAGS@
--LDFLAGS = @LDFLAGS@
-+CFLAGS = @CFLAGS@ -DPREFIX=\"${PREFIX}\" -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\"
-+LDFLAGS = @LDFLAGS@ ${LIBOSSAUDIO}
-
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
- INSTALL_DATA = @INSTALL_DATA@
-
- BIN_DIR = @prefix@/bin
--MAN_DIR = @prefix@/share/man/man1
-+MAN_DIR = @prefix@/man/man1
- DOC_DIR = @prefix@/share/doc/atari800
-
- DESTDIR =
diff --git a/emulators/atari800/patches/patch-ad b/emulators/atari800/patches/patch-ad
deleted file mode 100644
index 93f09c0362c..00000000000
--- a/emulators/atari800/patches/patch-ad
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2005/05/17 15:08:57 adam Exp $
-
---- configure.orig 2005-04-30 14:18:04.000000000 +0000
-+++ configure
-@@ -1369,7 +1369,7 @@ case "$target" in
- a8_target="UNKNOWN"
- ;;
- esac
--if [ "$a8_target" == "UNKNOWN" ]; then
-+if [ "$a8_target" = "UNKNOWN" ]; then
- echo
- echo "Usage: configure --target=<target> <other options>"
- echo
-@@ -1569,11 +1569,11 @@ _ACEOF
- ;;
- esac
-
--if [ "X_$CFLAGS" == "X_" ]; then
-+if [ "X_$CFLAGS" = "X_" ]; then
- CFLAGS="-O2 -Wall"
- fi
-
--if [ "X_$LDFLAGS" == "X_" ]; then
-+if [ "X_$LDFLAGS" = "X_" ]; then
- LDFLAGS="-s"
- fi
-
-@@ -4386,7 +4386,7 @@ fi
-
-
- OBJS=
--if [ "$a8_host" == "win" ]; then
-+if [ "$a8_host" = "win" ]; then
-
- as_ac_Lib=`echo "ac_cv_lib_gdi32''_main" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for main in -lgdi32" >&5
diff --git a/emulators/blinkensim/DESCR b/emulators/blinkensim/DESCR
deleted file mode 100644
index e68d430b6e1..00000000000
--- a/emulators/blinkensim/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Blinkensim is a Blinkenlights simulator. The first version used to speak
-to the network that we used in the real thing. If you haven't seen the
-real thing, you missed something, but this simulator will probably make
-you understand the Blinkenhype.
diff --git a/emulators/blinkensim/Makefile b/emulators/blinkensim/Makefile
deleted file mode 100644
index b394be42481..00000000000
--- a/emulators/blinkensim/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2005/08/10 20:56:16 jlam Exp $
-#
-
-DISTNAME= blinkensim-2.2
-PKGREVISION= 2
-CATEGORIES= emulators graphics
-MASTER_SITES= http://sven.gimp.org/blinkenlights/old/
-
-MAINTAINER= salo@NetBSD.org
-HOMEPAGE= http://www.blinkenlights.de/
-COMMENT= Blinkenlights graphics simulator
-
-DEPENDS+= blinkenthemes>=0.8:../../graphics/blinkenthemes
-
-GNU_CONFIGURE= YES
-USE_TOOLS+= pkg-config
-
-post-install:
- cd ${PREFIX}/bin && ${LN} -s blinkensim-gtk blinkensim
-
-.include "../../devel/blib/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/blinkensim/PLIST b/emulators/blinkensim/PLIST
deleted file mode 100644
index c6e94122e17..00000000000
--- a/emulators/blinkensim/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/27 22:44:00 salo Exp $
-bin/blinkensim
-bin/blinkensim-gtk
diff --git a/emulators/blinkensim/distinfo b/emulators/blinkensim/distinfo
deleted file mode 100644
index e834114d41e..00000000000
--- a/emulators/blinkensim/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (blinkensim-2.2.tar.gz) = 2d7867a28c99b46832a838138ab77c067f0d1457
-RMD160 (blinkensim-2.2.tar.gz) = 25812177a0def4969fe6d531ba378fbfc6ecb637
-Size (blinkensim-2.2.tar.gz) = 59111 bytes
diff --git a/emulators/bochs/DESCR b/emulators/bochs/DESCR
deleted file mode 100644
index adcb6931b19..00000000000
--- a/emulators/bochs/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-The program bochs is a highly portable open source x86 PC emulator
-written in C++, and runs on most popular platforms. It includes
-emulation of the Intel x86 CPU, common IO devices, and a custom
-BIOS. Currently, bochs can be compiled to emulate a 386, 486,
-Pentium, Pentium PRO or AMD64 CPU.
-
-Bochs is capable of running most operating systems inside the
-emulation including Linux, NetBSD, Windows 95, DOS, and Windows NT 4.
diff --git a/emulators/bochs/MESSAGE b/emulators/bochs/MESSAGE
deleted file mode 100644
index cd10a8cf47e..00000000000
--- a/emulators/bochs/MESSAGE
+++ /dev/null
@@ -1,8 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.5 2005/09/28 14:15:49 rillig Exp $
-
-You need to copy the ${PREFIX}/share/doc/bochs/bochsrc-sample.txt
-file to your home directory and name it .bochsrc. Then edit it to
-your tastes defining the hard drives and floppies as needed.
-
-===========================================================================
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
deleted file mode 100644
index e8efe94790f..00000000000
--- a/emulators/bochs/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# $NetBSD: Makefile,v 1.41 2005/06/01 18:02:46 jlam Exp $
-
-DISTNAME= bochs-2.1.1
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bochs/}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://bochs.sourceforge.net/
-COMMENT= i386 machine emulator capable of running DOS/Windows
-
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-USE_TOOLS+= gunzip gzip
-USE_LANGUAGES= c c++
-
-ONLY_FOR_COMPILER= gcc
-
-# These options are not enabled by default because they can adversely impact
-# performance. The number of processors can be either 1 (default), 2, or 4.
-#CONFIGURE_ARGS+= --enable-debugger --enable-disasm
-#CONFIGURE_ARGS+= --enable-processors=2
-CONFIGURE_ARGS+= --enable-cdrom
-CONFIGURE_ARGS+= --enable-ne2000
-CONFIGURE_ARGS+= --enable-sb16=dummy
-.if !defined(BOCHS_TINY)
-CONFIGURE_ARGS+= --enable-new-pit
-CONFIGURE_ARGS+= --enable-pci
-CONFIGURE_ARGS+= --enable-cpu-level=6
-CONFIGURE_ARGS+= --enable-apic
-CONFIGURE_ARGS+= --enable-usb
-CONFIGURE_ARGS+= --enable-4meg-pages
-CONFIGURE_ARGS+= --enable-pae
-CONFIGURE_ARGS+= --enable-guest2host-tlb
-CONFIGURE_ARGS+= --enable-repeat-speedups
-CONFIGURE_ARGS+= --enable-icache
-.include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:M*-*-i386)
-CONFIGURE_ARGS+= --enable-fast-function-calls
-.endif
-CONFIGURE_ARGS+= --enable-global-pages
-CONFIGURE_ARGS+= --enable-host-specific-asms
-CONFIGURE_ARGS+= --enable-all-optimizations
-CONFIGURE_ARGS+= --enable-vbe
-CONFIGURE_ARGS+= --enable-fpu
-CONFIGURE_ARGS+= --enable-mmx
-CONFIGURE_ARGS+= --enable-3dnow
-CONFIGURE_ARGS+= --enable-sse=2
-CONFIGURE_ARGS+= --enable-daz
-CONFIGURE_ARGS+= --enable-sep
-.endif # !BOCHS_TINY
-CONFIGURE_ENV+= CXXFLAGS="-I${X11BASE}/include ${CXXFLAGS}"
-MANCOMPRESSED= yes
-MAKE_ENV+= GZIP_CMD=${GZIP_CMD:Q} \
- GUNZIP_CMD=${GUNZIP_CMD:Q}
-
-BOCHS_MAINDIR= ${PREFIX}/share/bochs
-BOCHS_BIOSDIR= ${BOCHS_MAINDIR}/bios
-BOCHS_FONTDIR= ${BOCHS_MAINDIR}/xfonts
-
-.include "../../mk/x11.buildlink3.mk"
-
-post-configure:
- ${MV} ${WRKSRC}/.bochsrc ${WRKSRC}/.bochsrc.BAK
- ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' \
- < ${WRKSRC}/.bochsrc.BAK > ${WRKSRC}/.bochsrc
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/bochs/PLIST b/emulators/bochs/PLIST
deleted file mode 100644
index 20f91997438..00000000000
--- a/emulators/bochs/PLIST
+++ /dev/null
@@ -1,37 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2004/02/12 00:10:31 hubertf Exp $
-bin/bochs
-bin/bxcommit
-bin/bximage
-man/man1/bochs-dlx.1
-man/man1/bochs.1
-man/man1/bxcommit.1
-man/man1/bximage.1
-man/man5/bochsrc.5
-share/bochs/BIOS-bochs-2-processors
-share/bochs/BIOS-bochs-4-processors
-share/bochs/BIOS-bochs-8-processors
-share/bochs/BIOS-bochs-latest
-share/bochs/VGABIOS-elpin-2.40
-share/bochs/VGABIOS-elpin-LICENSE
-share/bochs/VGABIOS-lgpl-README
-share/bochs/VGABIOS-lgpl-latest
-share/bochs/VGABIOS-lgpl-latest-debug
-share/bochs/keymaps/convertmap.pl
-share/bochs/keymaps/sdl-pc-de.map
-share/bochs/keymaps/sdl-pc-us.map
-share/bochs/keymaps/x11-pc-be.map
-share/bochs/keymaps/x11-pc-da.map
-share/bochs/keymaps/x11-pc-de.map
-share/bochs/keymaps/x11-pc-es.map
-share/bochs/keymaps/x11-pc-fr.map
-share/bochs/keymaps/x11-pc-it.map
-share/bochs/keymaps/x11-pc-se.map
-share/bochs/keymaps/x11-pc-uk.map
-share/bochs/keymaps/x11-pc-us.map
-share/doc/bochs/CHANGES
-share/doc/bochs/COPYING
-share/doc/bochs/README
-share/doc/bochs/bochsrc-sample.txt
-@dirrm share/doc/bochs
-@dirrm share/bochs/keymaps
-@dirrm share/bochs
diff --git a/emulators/bochs/distinfo b/emulators/bochs/distinfo
deleted file mode 100644
index 558a3a12d37..00000000000
--- a/emulators/bochs/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.17 2005/02/23 18:49:17 agc Exp $
-
-SHA1 (bochs-2.1.1.tar.gz) = 4d3ab662a4fb01d85cc77d7f8ddbd1f7a19b08e7
-RMD160 (bochs-2.1.1.tar.gz) = e43ec6f58c8b8f2af0d4089682aa9a81bd5e6b1a
-Size (bochs-2.1.1.tar.gz) = 3653487 bytes
-SHA1 (patch-aa) = efa5e0be4b19b36032f4f15b60ecc13054852af9
-SHA1 (patch-ab) = 55f4c9d7de56ffe02673e627717648e80f9a1bd4
-SHA1 (patch-ad) = 8287d00e11892b6c78bc0c89590acd91e992ca69
diff --git a/emulators/bochs/patches/patch-aa b/emulators/bochs/patches/patch-aa
deleted file mode 100644
index bca237b82e8..00000000000
--- a/emulators/bochs/patches/patch-aa
+++ /dev/null
@@ -1,69 +0,0 @@
-$NetBSD: patch-aa,v 1.9 2004/02/12 00:10:31 hubertf Exp $
-
---- .bochsrc.orig Mon Dec 29 22:51:53 2003
-+++ .bochsrc
-@@ -66,10 +66,10 @@
- # You can also use the environment variable $BXSHARE to specify the
- # location of the BIOS.
- #=======================================================================
--romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
--#romimage: file=bios/BIOS-bochs-2-processors, address=0xf0000
--#romimage: file=bios/BIOS-bochs-4-processors, address=0xf0000
--#romimage: file=bios/rombios.bin, address=0xf0000
-+romimage: file=XXXPREFIXXXX/share/bochs/BIOS-bochs-latest, address=0xf0000
-+#romimage: file=XXXPREFIXXXX/share/bochs/BIOS-bochs-2-processors, address=0xf0000
-+#romimage: file=XXXPREFIXXXX/share/bochs/BIOS-bochs-4-processors, address=0xf0000
-+#romimage: file=XXXPREFIXXXX/share/bochs/rombios.bin, address=0xf0000
-
- #=======================================================================
- # MEGS
-@@ -105,9 +105,9 @@ megs: 32
- # VGAROMIMAGE
- # You now need to load a VGA ROM BIOS into C0000.
- #=======================================================================
--#vgaromimage: bios/VGABIOS-lgpl-latest
--#vgaromimage: bios/VGABIOS-elpin-2.40
--vgaromimage: $BXSHARE/VGABIOS-elpin-2.40
-+#vgaromimage: XXXPREFIXXXX/share/bochs/VGABIOS-lgpl-latest
-+#vgaromimage: XXXPREFIXXXX/share/bochs/VGABIOS-elpin-2.40
-+vgaromimage: XXXPREFIXXXX/share/bochs/VGABIOS-elpin-2.40
-
- #=======================================================================
- # FLOPPYA:
-@@ -130,7 +130,7 @@ vgaromimage: $BXSHARE/VGABIOS-elpin-2.40
- # drive letters such as a: or b: as the path. Raw floppy access is not
- # supported on Windows 95 and 98.
- #=======================================================================
--floppya: 1_44=/dev/fd0, status=inserted
-+floppya: 1_44=/dev/rfd0a, status=inserted
- #floppya: file=../1.44, status=inserted
- #floppya: 1_44=/dev/fd0H1440, status=inserted
- #floppya: 1_2=../1_2, status=inserted
-@@ -214,7 +214,7 @@ ata3: enabled=0, ioaddr1=0x168, ioaddr2=
- # ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
- # ata3-slave: type=cdrom, path=iso.sample, status=inserted
- #=======================================================================
--ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
-+#ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
- #ata0-slave: type=cdrom, path=D:, status=inserted
- #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
- #ata0-slave: type=cdrom, path="drive", status=inserted
-@@ -233,7 +233,8 @@ ata0-master: type=disk, mode=flat, path=
- # boot: a
- #=======================================================================
- #boot: floppy
--boot: disk
-+#boot: disk
-+boot: a
-
- #=======================================================================
- # IPS:
-@@ -678,7 +679,7 @@ usb1: enabled=1, ioaddr=0xFF80, irq=10
- # NOTE: diskd and cdromd must not be used together!
- #=======================================================================
- #cdromd: dev=D:, status=inserted
--#cdromd: dev=/dev/cdrom, status=inserted
-+#cdromd: dev=/dev/rcd0d, status=ejected
- #cdromd: dev="drive", status=inserted
-
- #=======================================================================
diff --git a/emulators/bochs/patches/patch-ab b/emulators/bochs/patches/patch-ab
deleted file mode 100644
index 6f82f1a5a1f..00000000000
--- a/emulators/bochs/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2004/02/12 00:10:32 hubertf Exp $
-
---- iodev/eth_tap.cc.orig Thu Oct 2 13:33:41 2003
-+++ iodev/eth_tap.cc
-@@ -100,7 +100,7 @@
- #include <sys/socket.h>
- #include <sys/uio.h>
- #include <sys/wait.h>
--#if defined(__FreeBSD__) || defined(__APPLE__) // Should be fixed for other *BSD
-+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) // Should be fixed for other *BSD
- #include <net/if.h>
- #else
- #include <asm/types.h>
diff --git a/emulators/bochs/patches/patch-ad b/emulators/bochs/patches/patch-ad
deleted file mode 100644
index 4064431708f..00000000000
--- a/emulators/bochs/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.6 2004/02/12 00:10:32 hubertf Exp $
-
---- Makefile.in.orig Mon Dec 29 22:53:03 2003
-+++ Makefile.in
-@@ -70,8 +70,8 @@ MKDIR=mkdir
- RMDIR=rmdir
- TAR=tar
- CHMOD=chmod
--GZIP=gzip -9
--GUNZIP=gunzip
-+GZIP=${GZIP_CMD} -9
-+GUNZIP=${GUNZIP_CMD}
- ZIP=zip
- UNIX2DOS=unix2dos
- LIBTOOL=@LIBTOOL@
diff --git a/emulators/ckmame/DESCR b/emulators/ckmame/DESCR
deleted file mode 100644
index 2822c322740..00000000000
--- a/emulators/ckmame/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
- This is ckmame, a program to check ROM sets for MAME, the Multiple
-Arcade Machine Emulator (http://mame.retrogames.com). It tells you
-which ROM files are missing or have a wrong checksum, and can delete
-unknown and unused files from the ROM sets, and rename or move ROM
-files.
diff --git a/emulators/ckmame/Makefile b/emulators/ckmame/Makefile
deleted file mode 100644
index 64b7de409e8..00000000000
--- a/emulators/ckmame/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/08/10 20:56:16 jlam Exp $
-#
-
-DISTNAME= ckmame-0.6
-CATEGORIES= emulators
-MASTER_SITES= http://www.nih.at/ckmame/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://www.nih.at/ckmame/
-COMMENT= Check ROM sets for MAME
-
-USE_TOOLS+= pkg-config
-GNU_CONFIGURE= yes
-TEST_TARGET= check
-
-.include "../../archivers/libzip/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../mk/db1.builtin.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ckmame/PLIST b/emulators/ckmame/PLIST
deleted file mode 100644
index 07edaaf593a..00000000000
--- a/emulators/ckmame/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/24 08:23:17 dillo Exp $
-bin/ckmame
-bin/dumpgame
-bin/mkmamedb
-bin/mkmamedb-xmame.sh
-man/man1/ckmame.1
-man/man1/dumpgame.1
-man/man1/mkmamedb.1
-share/doc/ckmame/mame-0.96.dtd
-@dirrm share/doc/ckmame
diff --git a/emulators/ckmame/distinfo b/emulators/ckmame/distinfo
deleted file mode 100644
index 259328d56a9..00000000000
--- a/emulators/ckmame/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/06/24 08:23:18 dillo Exp $
-
-SHA1 (ckmame-0.6.tar.bz2) = ba2a2b94cfc2cad49841fc9e33c302b35efbe382
-RMD160 (ckmame-0.6.tar.bz2) = b5e2270ba7d0b5240218fb52f0a77bab18465a75
-Size (ckmame-0.6.tar.bz2) = 148769 bytes
diff --git a/emulators/compat11/Makefile b/emulators/compat11/Makefile
deleted file mode 100644
index 2c5ed1caae0..00000000000
--- a/emulators/compat11/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.12 1999/12/18 13:41:29 abs Exp $
-#
-
-DISTNAME= compat11
-PKGNAME= compat11-1.1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX= _${ARCH}.tgz
-
-MAINTAINER= tv@netbsd.org
-HOMEPAGE= http://www.netbsd.org/Releases/formal-1.1/index.html
-
-DEPENDS+= compat12-1.2.1:../../emulators/compat12
-
-ONLY_FOR_ARCHS= amiga atari hp300 i386 mac68k mvme68k pc532 sparc sun3
-
-MIRROR_DISTFILE= no
-HAS_CONFIGURE= yes
-NO_BUILD= yes
-WRKSRC= ${WRKDIR}/usr/lib
-PLIST_SRC= ${WRKSRC}/.PLIST
-
-pre-configure:
- @${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}
-
-.include "../../mk/bsd.pkg.mk"
-
-# for sun3x in 1.3.x, get sun3 package
-.if (${ARCH} == "sun3x")
-ARCH= sun3
-.endif
diff --git a/emulators/compat12/DEINSTALL b/emulators/compat12/DEINSTALL
deleted file mode 100644
index 5bb3b58fdf7..00000000000
--- a/emulators/compat12/DEINSTALL
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || ${TRUE}
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat12/DESCR b/emulators/compat12/DESCR
deleted file mode 100644
index 3d5301a947f..00000000000
--- a/emulators/compat12/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.1 through 1.2.1.
-You still need the option COMPAT_12 in your kernel configuration (and
-probably others; see options(4) for more information) to make use of
-NetBSD 1.2 binaries.
diff --git a/emulators/compat12/INSTALL b/emulators/compat12/INSTALL
deleted file mode 100644
index 41d5c283040..00000000000
--- a/emulators/compat12/INSTALL
+++ /dev/null
@@ -1,50 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- # Only create the symlink on certain platform/object combinations.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=aout
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat12/Makefile b/emulators/compat12/Makefile
deleted file mode 100644
index f8e5ca0a844..00000000000
--- a/emulators/compat12/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.26 2005/05/23 09:27:48 rillig Exp $
-#
-
-DISTNAME= compat12-${MACHINE_ARCH}
-PKGNAME= compat12-1.2.1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.2/index.html
-COMMENT= Shared libraries for NetBSD 1.2 (and earlier) compatibility
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-ns32k \
- NetBSD-*-sparc
-
-NO_BUILD= yes
-NO_MTREE= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-.endif
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat12/PLIST b/emulators/compat12/PLIST
deleted file mode 100644
index dbf2bf5e0e5..00000000000
--- a/emulators/compat12/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:20 zuntum Exp $
-${COMPAT_LIBDIR}/libedit.so.0.0
-${COMPAT_LIBDIR}/libg++.so.2.0
-${COMPAT_LIBDIR}/libg++.so.3.0
-${COMPAT_LIBDIR}/libutil.so.3.2
diff --git a/emulators/compat12/distinfo b/emulators/compat12/distinfo
deleted file mode 100644
index a0a1efa216f..00000000000
--- a/emulators/compat12/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/10/23 14:32:06 rillig Exp $
-
-SHA1 (compat12-i386.tar.gz) = bce1f72c4fd9cdbe25a219a65ee0af7dd5257f16
-RMD160 (compat12-i386.tar.gz) = 63ea39032c6ea1a514aea0e80494d3910b31b33f
-Size (compat12-i386.tar.gz) = 285376 bytes
-SHA1 (compat12-m68k.tar.gz) = d319f63b47dbf28692796be296bbf7fcba2e5b4f
-RMD160 (compat12-m68k.tar.gz) = 55bb1555c20f617f950a917c2ebdf35ae5a7bcea
-Size (compat12-m68k.tar.gz) = 277202 bytes
-SHA1 (compat12-ns32k.tar.gz) = 66cb355f99369d2ce0a0e07c0f97593d57a5c2f1
-RMD160 (compat12-ns32k.tar.gz) = 688e2b2b812945861a289a8bc8459c7b1116bdee
-Size (compat12-ns32k.tar.gz) = 267367 bytes
-SHA1 (compat12-sparc.tar.gz) = 4af06ed70c66af5d676b292fe24dd0f945337916
-RMD160 (compat12-sparc.tar.gz) = e8e6d4a8b090e1f4bac9783ed49813bda70d52b7
-Size (compat12-sparc.tar.gz) = 298095 bytes
diff --git a/emulators/compat13/DEINSTALL b/emulators/compat13/DEINSTALL
deleted file mode 100644
index 71e6814ac9d..00000000000
--- a/emulators/compat13/DEINSTALL
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 18:57:03 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${RM} -f ${PKG_PREFIX}/libexec/ld.so
- ${RMDIR} -p ${PKG_PREFIX}/libexec 2>/dev/null || ${TRUE}
- fi
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || ${TRUE}
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat13/DESCR b/emulators/compat13/DESCR
deleted file mode 100644
index 555ddc7bf08..00000000000
--- a/emulators/compat13/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.3. You still need
-the option COMPAT_13 in your kernel configuration (and probably others;
-see options(4) for more information) to make use of NetBSD 1.3 binaries.
diff --git a/emulators/compat13/INSTALL b/emulators/compat13/INSTALL
deleted file mode 100644
index f3e467cb325..00000000000
--- a/emulators/compat13/INSTALL
+++ /dev/null
@@ -1,55 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 18:57:03 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${LN} -sf ld.elf_so /usr/libexec/ld.so
- fi
-
- # Only create the symlink on certain platform/object combinations.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=aout
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat13/Makefile b/emulators/compat13/Makefile
deleted file mode 100644
index 76377a4e226..00000000000
--- a/emulators/compat13/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# $NetBSD: Makefile,v 1.22 2005/09/28 20:52:20 rillig Exp $
-#
-
-DISTNAME= compat13-${MACHINE_ARCH}${PKGMINOR}
-PKGNAME= compat13-1.3.3
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.3/index.html
-COMMENT= Shared libraries for NetBSD 1.3 (and earlier) compatibility
-
-ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \
- NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-mipsel \
- NetBSD-*-ns32k NetBSD-*-sparc
-NOT_FOR_PLATFORM= NetBSD-1.3*-*
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-.endif
-
-.if ${MACHINE_ARCH} == "alpha"
-PKGMINOR= nb1
-.else
-PKGMINOR=
-.endif
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat13/PLIST b/emulators/compat13/PLIST
deleted file mode 100644
index f474e8dee17..00000000000
--- a/emulators/compat13/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:25 zuntum Exp $
-${COMPAT_LIBDIR}/libedit.so.1.0
-${COMPAT_LIBDIR}/libg++.so.4.0
-${COMPAT_LIBDIR}/libstdc++.so.0.1
-${COMPAT_LIBDIR}/libutil.so.4.2
diff --git a/emulators/compat13/PLIST.alpha b/emulators/compat13/PLIST.alpha
deleted file mode 100644
index a26f534715f..00000000000
--- a/emulators/compat13/PLIST.alpha
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.alpha,v 1.1 2001/10/31 23:55:50 zuntum Exp $
-${COMPAT_LIBDIR}/libcurses.so.2.1
-${COMPAT_LIBDIR}/libcurses.so.2
diff --git a/emulators/compat13/distinfo b/emulators/compat13/distinfo
deleted file mode 100644
index 9b722fee66e..00000000000
--- a/emulators/compat13/distinfo
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (compat13-alphanb1.tar.gz) = 4e1fc306eb880dc3ba8a0906406da082fd6e6ca5
-Size (compat13-alphanb1.tar.gz) = 478199 bytes
-SHA1 (compat13-arm.tar.gz) = 0dcae05d5ec15968665a71ab0a058f3b2a3d2f87
-Size (compat13-arm.tar.gz) = 247143 bytes
-SHA1 (compat13-arm32.tar.gz) = 0dcae05d5ec15968665a71ab0a058f3b2a3d2f87
-Size (compat13-arm32.tar.gz) = 247143 bytes
-SHA1 (compat13-i386.tar.gz) = 4a33dd2381e790e3e71fccf4bb9f65a7d0859b9a
-RMD160 (compat13-i386.tar.gz) = e50d869813cd19bb079d8457a5b9f8e521b9e94e
-Size (compat13-i386.tar.gz) = 236494 bytes
-SHA1 (compat13-m68k.tar.gz) = a438a2d5f11106e431a8bba3061727069c5ec360
-Size (compat13-m68k.tar.gz) = 231047 bytes
-SHA1 (compat13-mipsel.tar.gz) = 6dc5fefcd47db2d967b250ec628ac00495c35117
-Size (compat13-mipsel.tar.gz) = 411250 bytes
-SHA1 (compat13-ns32k.tar.gz) = 98068ed599e6ac2e79ea3ce1b7fb3df4510fc171
-Size (compat13-ns32k.tar.gz) = 223997 bytes
-SHA1 (compat13-sparc.tar.gz) = 67797480c5828792b434c5b06ab1ea02be3ad6b5
-Size (compat13-sparc.tar.gz) = 244099 bytes
diff --git a/emulators/compat14-crypto/DEINSTALL b/emulators/compat14-crypto/DEINSTALL
deleted file mode 100644
index 752c24352aa..00000000000
--- a/emulators/compat14-crypto/DEINSTALL
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:00:03 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
- COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${RM} -f ${PKG_PREFIX}/libexec/ld.so
- ${RMDIR} -p ${PKG_PREFIX}/libexec 2>/dev/null || ${TRUE}
- fi
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat14-crypto/DESCR b/emulators/compat14-crypto/DESCR
deleted file mode 100644
index 6bfe6baf113..00000000000
--- a/emulators/compat14-crypto/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.4. You still need
-the option COMPAT_14 in your kernel configuration (and probably others;
-see options(4) for more information) to make use of NetBSD 1.4 binaries.
-This package includes the crypto-enabled "domestic" set libraries.
diff --git a/emulators/compat14-crypto/INSTALL b/emulators/compat14-crypto/INSTALL
deleted file mode 100644
index 7e66f1e0e74..00000000000
--- a/emulators/compat14-crypto/INSTALL
+++ /dev/null
@@ -1,56 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 19:00:03 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${LN} -sf ld.elf_so /usr/libexec/ld.so
- fi
-
- # Only create the symlink on certain platform/object combinations. Note
- # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=aout
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat14-crypto/Makefile b/emulators/compat14-crypto/Makefile
deleted file mode 100644
index fd936faee1d..00000000000
--- a/emulators/compat14-crypto/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/09/28 20:52:20 rillig Exp $
-#
-
-DISTNAME= compat14-crypto-${MACHINE_ARCH}-${VERSION}
-PKGNAME= compat14-crypto-${VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
-COMMENT= Shared libraries for NetBSD 1.4 (and earlier) compatibility
-
-VERSION= 1.4.3.1
-
-CONFLICTS= compat14-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-*-sparc NetBSD-*-i386
-NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-*
-
-CRYPTO= YES
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-COMPAT_XLIBDIR= X11R6/lib
-.endif
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-
-# note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
-# FIXME.
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
- if [ -d ${WRKDIR}/X11R6/lib ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
- ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
- fi
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat14-crypto/PLIST b/emulators/compat14-crypto/PLIST
deleted file mode 100644
index 0a06f5e1f82..00000000000
--- a/emulators/compat14-crypto/PLIST
+++ /dev/null
@@ -1,48 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
-${COMPAT_LIBDIR}/libacl.so.2.0
-${COMPAT_LIBDIR}/libamu.so.1.1
-${COMPAT_LIBDIR}/libbfd.so.3.0
-${COMPAT_LIBDIR}/libbz2.so.0.0
-${COMPAT_LIBDIR}/libc.so.12.40.2
-${COMPAT_LIBDIR}/libcom_err.so.2.0
-${COMPAT_LIBDIR}/libcrypt.so.0.0
-${COMPAT_LIBDIR}/libcurses.so.2.2
-${COMPAT_LIBDIR}/libdes.so.2.0
-${COMPAT_LIBDIR}/libedit.so.2.2
-${COMPAT_LIBDIR}/libg2c.so.0.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0.0
-${COMPAT_LIBDIR}/libkadm.so.2.0
-${COMPAT_LIBDIR}/libkafs.so.3.0
-${COMPAT_LIBDIR}/libkdb.so.2.0
-${COMPAT_LIBDIR}/libkrb.so.2.0
-${COMPAT_LIBDIR}/libkstream.so.0.0
-${COMPAT_LIBDIR}/libkvm.so.5.0
-${COMPAT_LIBDIR}/libm.so.0.1
-${COMPAT_LIBDIR}/libntp.so.0.0
-${COMPAT_LIBDIR}/libobjc.so.0.0
-${COMPAT_LIBDIR}/libossaudio.so.0.0
-${COMPAT_LIBDIR}/libpcap.so.0.0
-${COMPAT_LIBDIR}/libposix.so.0.1
-${COMPAT_LIBDIR}/libresolv.so.1.0
-${COMPAT_LIBDIR}/libskey.so.0.0
-${COMPAT_LIBDIR}/libss.so.2.0
-${COMPAT_LIBDIR}/libstdc++.so.2.0
-${COMPAT_LIBDIR}/libtelnet.so.1.0
-${COMPAT_LIBDIR}/libtermcap.so.0.0
-${COMPAT_LIBDIR}/libtermlib.so.0.0
-${COMPAT_LIBDIR}/libutil.so.5.0
-${COMPAT_LIBDIR}/libwrap.so.0.0
-${COMPAT_LIBDIR}/libz.so.0.1
-${COMPAT_XLIBDIR}/libICE.so.6.3
-${COMPAT_XLIBDIR}/libPEX5.so.6.0
-${COMPAT_XLIBDIR}/libSM.so.6.0
-${COMPAT_XLIBDIR}/libX11.so.6.1
-${COMPAT_XLIBDIR}/libXIE.so.6.0
-${COMPAT_XLIBDIR}/libXaw.so.6.1
-${COMPAT_XLIBDIR}/libXext.so.6.3
-${COMPAT_XLIBDIR}/libXi.so.6.0
-${COMPAT_XLIBDIR}/libXmu.so.6.0
-${COMPAT_XLIBDIR}/libXp.so.6.2
-${COMPAT_XLIBDIR}/libXt.so.6.0
-${COMPAT_XLIBDIR}/libXtst.so.6.1
-${COMPAT_XLIBDIR}/liboldX.so.6.0
diff --git a/emulators/compat14-crypto/PLIST.i386 b/emulators/compat14-crypto/PLIST.i386
deleted file mode 100644
index 4d7ccccac47..00000000000
--- a/emulators/compat14-crypto/PLIST.i386
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.i386,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
-${COMPAT_LIBDIR}/libi386.so.0.2
-${COMPAT_LIBDIR}/libkeycap.so.0.0
diff --git a/emulators/compat14-crypto/distinfo b/emulators/compat14-crypto/distinfo
deleted file mode 100644
index 407baf570b3..00000000000
--- a/emulators/compat14-crypto/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/05/25 11:57:12 wiz Exp $
-
-SHA1 (compat14-crypto-i386-1.4.3.1.tar.gz) = 2b35c35de47b8c0be42813cb6e56e154e98ebfd5
-RMD160 (compat14-crypto-i386-1.4.3.1.tar.gz) = 5a28f1c5218eccd925bba73b7c9a1a2d3fd6c2b8
-Size (compat14-crypto-i386-1.4.3.1.tar.gz) = 1729167 bytes
-SHA1 (compat14-crypto-sparc-1.4.3.1.tar.gz) = 41d5937f5e1f40193c6363a9978fe6373d43e679
-RMD160 (compat14-crypto-sparc-1.4.3.1.tar.gz) = bbe9bcbf05328cb9829d192ef6a0be1479b9cdbe
-Size (compat14-crypto-sparc-1.4.3.1.tar.gz) = 1921545 bytes
diff --git a/emulators/compat14/DEINSTALL b/emulators/compat14/DEINSTALL
deleted file mode 100644
index a836e07aaf7..00000000000
--- a/emulators/compat14/DEINSTALL
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:02:33 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
- COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${RM} -f ${PKG_PREFIX}/libexec/ld.so
- ${RMDIR} -p ${PKG_PREFIX}/libexec 2>/dev/null || ${TRUE}
- fi
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat14/DESCR b/emulators/compat14/DESCR
deleted file mode 100644
index 31b3a3a4f3e..00000000000
--- a/emulators/compat14/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.4. You still need
-the option COMPAT_14 in your kernel configuration (and probably others;
-see options(4) for more information) to make use of NetBSD 1.4 binaries.
diff --git a/emulators/compat14/INSTALL b/emulators/compat14/INSTALL
deleted file mode 100644
index b37ac594721..00000000000
--- a/emulators/compat14/INSTALL
+++ /dev/null
@@ -1,56 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 19:02:33 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${LN} -sf ld.elf_so /usr/libexec/ld.so
- fi
-
- # Only create the symlink on certain platform/object combinations. Note
- # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=aout
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/compat14/Makefile b/emulators/compat14/Makefile
deleted file mode 100644
index 0b1fc882f25..00000000000
--- a/emulators/compat14/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2005/09/28 20:52:20 rillig Exp $
-#
-
-DISTNAME= compat14-${MACHINE_ARCH}-${VERSION}
-PKGNAME= compat14-${VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
-COMMENT= Shared libraries for NetBSD 1.4 (and earlier) compatibility
-
-VERSION= 1.4.3.1
-
-CONFLICTS= compat14-crypto-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-*-sparc NetBSD-*-i386
-NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-*
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-COMPAT_XLIBDIR= X11R6/lib
-.endif
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-
-# note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
-# FIXME.
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
- if [ -d ${WRKDIR}/X11R6/lib ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
- ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
- fi
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat14/PLIST b/emulators/compat14/PLIST
deleted file mode 100644
index eccc60d754e..00000000000
--- a/emulators/compat14/PLIST
+++ /dev/null
@@ -1,39 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:28 zuntum Exp $
-${COMPAT_LIBDIR}/libamu.so.1.1
-${COMPAT_LIBDIR}/libbfd.so.3.0
-${COMPAT_LIBDIR}/libbz2.so.0.0
-${COMPAT_LIBDIR}/libc.so.12.40.2
-${COMPAT_LIBDIR}/libcrypt.so.0.0
-${COMPAT_LIBDIR}/libcurses.so.2.2
-${COMPAT_LIBDIR}/libedit.so.2.2
-${COMPAT_LIBDIR}/libg2c.so.0.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0.0
-${COMPAT_LIBDIR}/libkvm.so.5.0
-${COMPAT_LIBDIR}/libm.so.0.1
-${COMPAT_LIBDIR}/libntp.so.0.0
-${COMPAT_LIBDIR}/libobjc.so.0.0
-${COMPAT_LIBDIR}/libossaudio.so.0.0
-${COMPAT_LIBDIR}/libpcap.so.0.0
-${COMPAT_LIBDIR}/libposix.so.0.1
-${COMPAT_LIBDIR}/libresolv.so.1.0
-${COMPAT_LIBDIR}/libskey.so.0.0
-${COMPAT_LIBDIR}/libstdc++.so.2.0
-${COMPAT_LIBDIR}/libtelnet.so.1.0
-${COMPAT_LIBDIR}/libtermcap.so.0.0
-${COMPAT_LIBDIR}/libtermlib.so.0.0
-${COMPAT_LIBDIR}/libutil.so.5.0
-${COMPAT_LIBDIR}/libwrap.so.0.0
-${COMPAT_LIBDIR}/libz.so.0.1
-${COMPAT_XLIBDIR}/libICE.so.6.3
-${COMPAT_XLIBDIR}/libPEX5.so.6.0
-${COMPAT_XLIBDIR}/libSM.so.6.0
-${COMPAT_XLIBDIR}/libX11.so.6.1
-${COMPAT_XLIBDIR}/libXIE.so.6.0
-${COMPAT_XLIBDIR}/libXaw.so.6.1
-${COMPAT_XLIBDIR}/libXext.so.6.3
-${COMPAT_XLIBDIR}/libXi.so.6.0
-${COMPAT_XLIBDIR}/libXmu.so.6.0
-${COMPAT_XLIBDIR}/libXp.so.6.2
-${COMPAT_XLIBDIR}/libXt.so.6.0
-${COMPAT_XLIBDIR}/libXtst.so.6.1
-${COMPAT_XLIBDIR}/liboldX.so.6.0
diff --git a/emulators/compat14/PLIST.i386 b/emulators/compat14/PLIST.i386
deleted file mode 100644
index ce15faaf68d..00000000000
--- a/emulators/compat14/PLIST.i386
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.i386,v 1.1 2001/10/31 23:56:39 zuntum Exp $
-${COMPAT_LIBDIR}/libi386.so.0.2
-${COMPAT_LIBDIR}/libkeycap.so.0.0
diff --git a/emulators/compat14/distinfo b/emulators/compat14/distinfo
deleted file mode 100644
index fc2ee32e8e3..00000000000
--- a/emulators/compat14/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/05/25 11:58:39 wiz Exp $
-
-SHA1 (compat14-i386-1.4.3.1.tar.gz) = 7c00ede3cf18bfc437e9262f0e583bde5f134004
-RMD160 (compat14-i386-1.4.3.1.tar.gz) = 7e1aba3308a3efec20384a1170f4b7b2d5e7ac72
-Size (compat14-i386-1.4.3.1.tar.gz) = 1646083 bytes
-SHA1 (compat14-sparc-1.4.3.1.tar.gz) = 9c0e46ced11f1f56fde79158edebb12898ea4ffa
-RMD160 (compat14-sparc-1.4.3.1.tar.gz) = 02a4eb94bb962889a74e9439fbb108b3b3d3e883
-Size (compat14-sparc-1.4.3.1.tar.gz) = 1831758 bytes
diff --git a/emulators/compat16/DESCR b/emulators/compat16/DESCR
deleted file mode 100644
index 8103a3feea2..00000000000
--- a/emulators/compat16/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-This package supplies the user files necessary for full compatibility
-with dynamically linked executables compiled under NetBSD 1.6.
diff --git a/emulators/compat16/MESSAGE b/emulators/compat16/MESSAGE
deleted file mode 100644
index 5721a8b720a..00000000000
--- a/emulators/compat16/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2003/12/14 04:17:18 grant Exp $
-
-You will need the option COMPAT_16 in your kernel configuration to make
-use of NetBSD 1.6 binaries.
-
-===========================================================================
diff --git a/emulators/compat16/Makefile b/emulators/compat16/Makefile
deleted file mode 100644
index 7eb3371577e..00000000000
--- a/emulators/compat16/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/10/23 15:09:30 rillig Exp $
-#
-
-DISTNAME= compat16-${MACHINE_ARCH}-${VERSION}
-PKGNAME= compat16-${VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.6/index.html
-COMMENT= Shared libraries for NetBSD 1.6 (and earlier) compatibility
-
-VERSION= 1.6.0
-
-ONLY_FOR_PLATFORM= NetBSD-1.6[A-Z]*-i386 NetBSD-[2-9]*-i386
-
-NO_MTREE= yes
-NO_BUILD= yes
-NO_CONFIGURE= yes
-SHLIB_HANDLING= NO
-
-EMULSUBDIR= emul/netbsd16
-
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR}
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${EMULSUBDIR}
- (cd ${WRKDIR}; ${PAX} -rw usr ${PREFIX}/${EMULSUBDIR})
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat16/PLIST.i386 b/emulators/compat16/PLIST.i386
deleted file mode 100644
index 18ee63171ee..00000000000
--- a/emulators/compat16/PLIST.i386
+++ /dev/null
@@ -1,138 +0,0 @@
-@comment $NetBSD: PLIST.i386,v 1.1.1.1 2003/12/14 04:17:18 grant Exp $
-${EMULSUBDIR}/usr/lib/libamu.so.2
-${EMULSUBDIR}/usr/lib/libamu.so.2.1
-${EMULSUBDIR}/usr/lib/libasn1.so.6
-${EMULSUBDIR}/usr/lib/libasn1.so.6.0
-${EMULSUBDIR}/usr/lib/libbz2.so.1
-${EMULSUBDIR}/usr/lib/libbz2.so.1.0
-${EMULSUBDIR}/usr/lib/libc.so.12
-${EMULSUBDIR}/usr/lib/libc.so.12.83
-${EMULSUBDIR}/usr/lib/libcdk.so.1
-${EMULSUBDIR}/usr/lib/libcdk.so.1.0
-${EMULSUBDIR}/usr/lib/libcom_err.so.4
-${EMULSUBDIR}/usr/lib/libcom_err.so.4.1
-${EMULSUBDIR}/usr/lib/libcrypt.so.0
-${EMULSUBDIR}/usr/lib/libcrypt.so.0.0
-${EMULSUBDIR}/usr/lib/libcrypto.so.1
-${EMULSUBDIR}/usr/lib/libcrypto.so.1.1
-${EMULSUBDIR}/usr/lib/libcurses.so.5
-${EMULSUBDIR}/usr/lib/libcurses.so.5.0
-${EMULSUBDIR}/usr/lib/libdes.so.6
-${EMULSUBDIR}/usr/lib/libdes.so.6.0
-${EMULSUBDIR}/usr/lib/i18n/libBIG5.so.4
-${EMULSUBDIR}/usr/lib/i18n/libBIG5.so.4.0
-${EMULSUBDIR}/usr/lib/i18n/libEUC.so.4
-${EMULSUBDIR}/usr/lib/i18n/libEUC.so.4.0
-${EMULSUBDIR}/usr/lib/i18n/libEUCTW.so.4
-${EMULSUBDIR}/usr/lib/i18n/libEUCTW.so.4.0
-${EMULSUBDIR}/usr/lib/i18n/libISO2022.so.4
-${EMULSUBDIR}/usr/lib/i18n/libISO2022.so.4.0
-${EMULSUBDIR}/usr/lib/i18n/libMSKanji.so.4
-${EMULSUBDIR}/usr/lib/i18n/libMSKanji.so.4.0
-${EMULSUBDIR}/usr/lib/i18n/libUTF8.so.4
-${EMULSUBDIR}/usr/lib/i18n/libUTF8.so.4.0
-${EMULSUBDIR}/usr/lib/libedit.so.2
-${EMULSUBDIR}/usr/lib/libedit.so.2.6
-${EMULSUBDIR}/usr/lib/libform.so.3
-${EMULSUBDIR}/usr/lib/libform.so.3.0
-${EMULSUBDIR}/usr/lib/libgnumalloc.so.0
-${EMULSUBDIR}/usr/lib/libgnumalloc.so.0.0
-${EMULSUBDIR}/usr/lib/libgssapi.so.4
-${EMULSUBDIR}/usr/lib/libgssapi.so.4.0
-${EMULSUBDIR}/usr/lib/libhdb.so.8
-${EMULSUBDIR}/usr/lib/libhdb.so.8.0
-${EMULSUBDIR}/usr/lib/libintl.so.0
-${EMULSUBDIR}/usr/lib/libintl.so.0.0
-${EMULSUBDIR}/usr/lib/libipsec.so.2
-${EMULSUBDIR}/usr/lib/libipsec.so.2.0
-${EMULSUBDIR}/usr/lib/libkadm.so.5
-${EMULSUBDIR}/usr/lib/libkadm.so.5.0
-${EMULSUBDIR}/usr/lib/libkadm5clnt.so.7
-${EMULSUBDIR}/usr/lib/libkadm5clnt.so.7.0
-${EMULSUBDIR}/usr/lib/libkadm5srv.so.8
-${EMULSUBDIR}/usr/lib/libkadm5srv.so.8.0
-${EMULSUBDIR}/usr/lib/libkafs.so.5
-${EMULSUBDIR}/usr/lib/libkafs.so.5.1
-${EMULSUBDIR}/usr/lib/libkdb.so.5
-${EMULSUBDIR}/usr/lib/libkdb.so.5.0
-${EMULSUBDIR}/usr/lib/libkrb.so.5
-${EMULSUBDIR}/usr/lib/libkrb.so.5.1
-${EMULSUBDIR}/usr/lib/libkrb5.so.18
-${EMULSUBDIR}/usr/lib/libkrb5.so.18.0
-${EMULSUBDIR}/usr/lib/libkstream.so.2
-${EMULSUBDIR}/usr/lib/libkstream.so.2.0
-${EMULSUBDIR}/usr/lib/libkvm.so.5
-${EMULSUBDIR}/usr/lib/libkvm.so.5.1
-${EMULSUBDIR}/usr/lib/libm.so.0
-${EMULSUBDIR}/usr/lib/libm.so.0.1
-${EMULSUBDIR}/usr/lib/libmenu.so.4
-${EMULSUBDIR}/usr/lib/libmenu.so.4.0
-${EMULSUBDIR}/usr/lib/libobjc.so.1
-${EMULSUBDIR}/usr/lib/libobjc.so.1.0
-${EMULSUBDIR}/usr/lib/libossaudio.so.0
-${EMULSUBDIR}/usr/lib/libossaudio.so.0.0
-${EMULSUBDIR}/usr/lib/libpcap.so.1
-${EMULSUBDIR}/usr/lib/libpcap.so.1.2
-${EMULSUBDIR}/usr/lib/libpci.so.0
-${EMULSUBDIR}/usr/lib/libpci.so.0.0
-${EMULSUBDIR}/usr/lib/libposix.so.0
-${EMULSUBDIR}/usr/lib/libposix.so.0.1
-${EMULSUBDIR}/usr/lib/libresolv.so.1
-${EMULSUBDIR}/usr/lib/libresolv.so.1.0
-${EMULSUBDIR}/usr/lib/libroken.so.12
-${EMULSUBDIR}/usr/lib/libroken.so.12.2
-${EMULSUBDIR}/usr/lib/libskey.so.1
-${EMULSUBDIR}/usr/lib/libskey.so.1.0
-${EMULSUBDIR}/usr/lib/libsl.so.2
-${EMULSUBDIR}/usr/lib/libsl.so.2.0
-${EMULSUBDIR}/usr/lib/libss.so.4
-${EMULSUBDIR}/usr/lib/libss.so.4.0
-${EMULSUBDIR}/usr/lib/libssl.so.2
-${EMULSUBDIR}/usr/lib/libssl.so.2.1
-${EMULSUBDIR}/usr/lib/libstdc++.so.4
-${EMULSUBDIR}/usr/lib/libstdc++.so.4.0
-${EMULSUBDIR}/usr/lib/libtelnet.so.4
-${EMULSUBDIR}/usr/lib/libtelnet.so.4.0
-${EMULSUBDIR}/usr/lib/libtermcap.so.0
-${EMULSUBDIR}/usr/lib/libtermcap.so.0.5
-${EMULSUBDIR}/usr/lib/libtermlib.so.0
-${EMULSUBDIR}/usr/lib/libtermlib.so.0.5
-${EMULSUBDIR}/usr/lib/libusbhid.so.1
-${EMULSUBDIR}/usr/lib/libusbhid.so.1.0
-${EMULSUBDIR}/usr/lib/libutil.so.6
-${EMULSUBDIR}/usr/lib/libutil.so.6.0
-${EMULSUBDIR}/usr/lib/libwrap.so.0
-${EMULSUBDIR}/usr/lib/libwrap.so.0.2
-${EMULSUBDIR}/usr/lib/libz.so.0
-${EMULSUBDIR}/usr/lib/libz.so.0.2
-${EMULSUBDIR}/usr/libexec/ld.elf_so
-${EMULSUBDIR}/usr/libexec/ld.so
-${EMULSUBDIR}/usr/X11R6/lib/libICE.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libICE.so.6.3
-${EMULSUBDIR}/usr/X11R6/lib/libSM.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libSM.so.6.0
-${EMULSUBDIR}/usr/X11R6/lib/libX11.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libX11.so.6.2
-${EMULSUBDIR}/usr/X11R6/lib/libXaw.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXaw.so.6.1
-${EMULSUBDIR}/usr/X11R6/lib/libXext.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXext.so.6.4
-${EMULSUBDIR}/usr/X11R6/lib/libXi.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXi.so.6.0
-${EMULSUBDIR}/usr/X11R6/lib/libXmu.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXmu.so.6.2
-${EMULSUBDIR}/usr/X11R6/lib/libXp.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXp.so.6.2
-${EMULSUBDIR}/usr/X11R6/lib/libXt.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXt.so.6.0
-${EMULSUBDIR}/usr/X11R6/lib/libXtst.so.6
-${EMULSUBDIR}/usr/X11R6/lib/libXtst.so.6.1
-${EMULSUBDIR}/usr/X11R6/lib/liboldX.so.6
-${EMULSUBDIR}/usr/X11R6/lib/liboldX.so.6.0
-@dirrm ${EMULSUBDIR}/usr/X11R6/lib
-@dirrm ${EMULSUBDIR}/usr/X11R6
-@dirrm ${EMULSUBDIR}/usr/libexec
-@dirrm ${EMULSUBDIR}/usr/lib/i18n
-@dirrm ${EMULSUBDIR}/usr/lib
-@dirrm ${EMULSUBDIR}/usr
-@dirrm ${EMULSUBDIR}
diff --git a/emulators/compat16/distinfo b/emulators/compat16/distinfo
deleted file mode 100644
index d9836c02ec8..00000000000
--- a/emulators/compat16/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (compat16-i386-1.6.0.tar.bz2) = 04c2fc19591941bb4ae79a2a909e5871b37dc33a
-RMD160 (compat16-i386-1.6.0.tar.bz2) = 175e64b53435ae1c2af3a143f3001ba6df7dad20
-Size (compat16-i386-1.6.0.tar.bz2) = 2478593 bytes
diff --git a/emulators/cygwin_esound/DESCR b/emulators/cygwin_esound/DESCR
deleted file mode 100644
index 6dd498f93cc..00000000000
--- a/emulators/cygwin_esound/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the Enlightened Sound Daemon (EsounD) for Cygwin, providing the
-ability for Interix applications to output sound via the libesd client
-side library (audio/esound).
diff --git a/emulators/cygwin_esound/Makefile b/emulators/cygwin_esound/Makefile
deleted file mode 100644
index 1c0622960b6..00000000000
--- a/emulators/cygwin_esound/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/06/16 06:57:50 jlam Exp $
-#
-
-DISTNAME= esound-0.2.35-1
-PKGNAME= ${DISTNAME:S/-/!/:S/-/./g:S/!/-/:S/^/cygwin_/}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_CYGWIN:=release/esound/} \
- ${MASTER_SITE_CYGWIN:=release/esound/libesound0/} \
- ${MASTER_SITE_CYGWIN:=release/audiofile/libaudiofile0/}
-EXTRACT_SUFX= .tar.bz2
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- libesound0-0.2.35-1.tar.bz2 \
- libaudiofile0-0.2.6-2.tar.bz2
-
-MAINTAINER= tv@duh.org
-COMMENT= Enlightened sound daemon (daemon only) for Cygwin/Interix
-
-ONLY_FOR_PLATFORM= Interix-*-*
-
-DIST_SUBDIR= cygwin
-WRKSRC= ${WRKDIR}
-USE_PKGINSTALL= yes
-
-RCD_SCRIPTS= cygwin_esd
-INSTALLATION_DIRS= bin emul/cygwin/bin
-
-do-build: # nothing
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe ${PREFIX}/emul/cygwin/bin/
-
-.include "../../emulators/cygwin_lib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/cygwin_esound/PLIST b/emulators/cygwin_esound/PLIST
deleted file mode 100644
index e99636f0ca5..00000000000
--- a/emulators/cygwin_esound/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/05/02 20:33:59 reed Exp $
-bin/cygaudiofile-0.dll
-bin/cygesd-0.dll
-emul/cygwin/bin/esd.exe
-share/examples/rc.d/cygwin_esd
diff --git a/emulators/cygwin_esound/distinfo b/emulators/cygwin_esound/distinfo
deleted file mode 100644
index 15147db330a..00000000000
--- a/emulators/cygwin_esound/distinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/05/25 11:59:45 wiz Exp $
-
-SHA1 (cygwin/esound-0.2.35-1.tar.bz2) = 40dd08cfbf4aae24b8c2448c6038815e2ea21239
-RMD160 (cygwin/esound-0.2.35-1.tar.bz2) = 271d1bfe3d7fcf2180cc9194ec7e2c66bc1b641d
-Size (cygwin/esound-0.2.35-1.tar.bz2) = 125137 bytes
-SHA1 (cygwin/libesound0-0.2.35-1.tar.bz2) = 3219452e22a516995aa48713ad0a5999ff8e681a
-RMD160 (cygwin/libesound0-0.2.35-1.tar.bz2) = a31a073a8f0d76cf3ef90759d0be79229842beb8
-Size (cygwin/libesound0-0.2.35-1.tar.bz2) = 11251 bytes
-SHA1 (cygwin/libaudiofile0-0.2.6-2.tar.bz2) = 7c568a4366214e69810fefe62923beafd92ea6c1
-RMD160 (cygwin/libaudiofile0-0.2.6-2.tar.bz2) = 7d808b0cba96b05fedc932b4445a7a5b6be58435
-Size (cygwin/libaudiofile0-0.2.6-2.tar.bz2) = 58049 bytes
diff --git a/emulators/cygwin_esound/files/cygwin_esd.sh b/emulators/cygwin_esound/files/cygwin_esd.sh
deleted file mode 100644
index 44dad82f7b8..00000000000
--- a/emulators/cygwin_esound/files/cygwin_esd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: cygwin_esd.sh,v 1.2 2004/10/11 21:02:53 tv Exp $
-#
-# PROVIDE: cygwin_esd
-# REQUIRE: DAEMON
-
-name="cygwin_esd"
-command="@PREFIX@/emul/cygwin/bin/esd.exe"
-command_args="-tcp"
-
-if [ ! -d /etc/rc.d ]
-then
- @ECHO@ -n ' ${name}'
- ${command} ${command_args} &
- exit
-fi
-
-. /etc/rc.subr
-
-load_rc_config $name
-command_args="${command_args} &"
-run_rc_command "$1"
diff --git a/emulators/cygwin_lib/DESCR b/emulators/cygwin_lib/DESCR
deleted file mode 100644
index 6803bc9da51..00000000000
--- a/emulators/cygwin_lib/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a package, mainly for Interix, that provides basic Cygwin
-functionality for emulation purposes. This allows some Cygwin binaries to
-provide gatewaying services to Interix processes where "native" Interix
-services are unavailable.
diff --git a/emulators/cygwin_lib/Makefile b/emulators/cygwin_lib/Makefile
deleted file mode 100644
index 9f3efc5c4e4..00000000000
--- a/emulators/cygwin_lib/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2005/06/16 06:57:50 jlam Exp $
-#
-
-DISTNAME= cygwin-1.5.13-1
-PKGNAME= ${DISTNAME:S/-/!/:S/-/./g:S/!/_lib-/}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_CYGWIN:=release/cygwin/}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tv@duh.org
-HOMEPAGE= http://www.cygwin.com/
-COMMENT= Basic Cygwin library and executables for emulation
-
-ONLY_FOR_PLATFORM= Interix-*-*
-
-DIST_SUBDIR= cygwin
-WRKSRC= ${WRKDIR}
-
-SYMLINKS= cygpath ipcrm ipcs kill mount ps regtool umount
-INSTALLATION_DIRS= bin emul/cygwin/bin
-
-do-build: # nothing
-
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/usr/bin/cygwin1.dll ${PREFIX}/bin/
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/emul/cygwin ${PREFIX}/emul/cygwin/bin
- @for f in ${WRKSRC}/usr/bin/*.exe; do \
- ${INSTALL_LIB} $$f ${PREFIX}/emul/cygwin/bin/$$(basename $${f%.exe}); \
- done
-.for f in ${SYMLINKS}
- ${LN} -sf ../emul/cygwin/bin/${f} ${PREFIX}/bin/cygwin-${f}
-.endfor
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/cygwin_lib/PLIST b/emulators/cygwin_lib/PLIST
deleted file mode 100644
index f509a0c9891..00000000000
--- a/emulators/cygwin_lib/PLIST
+++ /dev/null
@@ -1,29 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/11/29 02:10:48 tv Exp $
-bin/cygwin1.dll
-bin/cygwin-cygpath
-bin/cygwin-ipcrm
-bin/cygwin-ipcs
-bin/cygwin-kill
-bin/cygwin-mount
-bin/cygwin-ps
-bin/cygwin-regtool
-bin/cygwin-umount
-emul/cygwin/bin/cygcheck
-emul/cygwin/bin/cygpath
-emul/cygwin/bin/dumper
-emul/cygwin/bin/getfacl
-emul/cygwin/bin/ipcrm
-emul/cygwin/bin/ipcs
-emul/cygwin/bin/kill
-emul/cygwin/bin/mkgroup
-emul/cygwin/bin/mkpasswd
-emul/cygwin/bin/mount
-emul/cygwin/bin/passwd
-emul/cygwin/bin/ps
-emul/cygwin/bin/regtool
-emul/cygwin/bin/setfacl
-emul/cygwin/bin/ssp
-emul/cygwin/bin/strace
-emul/cygwin/bin/umount
-@dirrm emul/cygwin/bin
-@dirrm emul/cygwin
diff --git a/emulators/cygwin_lib/buildlink3.mk b/emulators/cygwin_lib/buildlink3.mk
deleted file mode 100644
index 4dbee03907a..00000000000
--- a/emulators/cygwin_lib/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/10/11 20:08:11 tv Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-CYGWIN_LIB_BUILDLINK3_MK:= ${CYGWIN_LIB_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= cygwin_lib
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncygwin_lib}
-BUILDLINK_PACKAGES+= cygwin_lib
-
-.if !empty(CYGWIN_LIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.cygwin_lib+= cygwin_lib>=1.5.11.1
-BUILDLINK_PKGSRCDIR.cygwin_lib?= ../../emulators/cygwin_lib
-.endif # CYGWIN_LIB_BUILDLINK3_MK
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/cygwin_lib/distinfo b/emulators/cygwin_lib/distinfo
deleted file mode 100644
index 02c4c6355a9..00000000000
--- a/emulators/cygwin_lib/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/03/29 23:30:26 tv Exp $
-
-SHA1 (cygwin/cygwin-1.5.13-1.tar.bz2) = c882483995805609a71c80d3a1764740566eecf5
-RMD160 (cygwin/cygwin-1.5.13-1.tar.bz2) = f266a256a864a5b3502805c12b921d66b73a0f14
-Size (cygwin/cygwin-1.5.13-1.tar.bz2) = 1209375 bytes
diff --git a/emulators/darcnes/DESCR b/emulators/darcnes/DESCR
deleted file mode 100644
index 79ec1913038..00000000000
--- a/emulators/darcnes/DESCR
+++ /dev/null
@@ -1,13 +0,0 @@
-DarcNES is a multi-system emulator. Some of the systems it emulates
-are
- o Sega Master System, Sega Game Gear (with sound)
- o Nintende Entertainment System (with sound)
- o PC-Engine
-and in development is support for
- o Colecovision
- o Sega Megadrive, also known as Sega Genesis
- o Apple ][
-
-The keys are: 'A', 'S', '[', ']', arrows, and escape.
-
-By Nyef (Alastair Bridgewater).
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
deleted file mode 100644
index ca6b832f70a..00000000000
--- a/emulators/darcnes/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: Makefile,v 1.22 2005/06/16 06:57:50 jlam Exp $
-
-PKGNAME= darcnes-20010401
-PKGREVISION= 1
-
-MAINTAINER= wiz@NetBSD.org
-COMMENT= Multi-system emulator (NES, SMS, GG, PCE, and others)
-
-MAKE_ENV+= TARGET=Linux_X
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/darcnes
- ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/doc/darcnes
-
-.include "Makefile.common"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/darcnes/Makefile.common b/emulators/darcnes/Makefile.common
deleted file mode 100644
index 9588b2ac132..00000000000
--- a/emulators/darcnes/Makefile.common
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile.common,v 1.9 2005/05/22 20:07:57 jlam Exp $
-
-DISTNAME= dn9b0401
-CATEGORIES= emulators
-MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/
-EXTRACT_SUFX= .tgz
-
-HOMEPAGE= http://www.dridus.com/~nyef/darcnes/
-
-LICENSE= no-commercial-use
-
-WRKSRC= ${WRKDIR}/darcnes
-USE_TOOLS+= gmake
-PATCHDIR= ${.CURDIR}/../../emulators/darcnes/patches
-DISTINFO_FILE= ${.CURDIR}/../../emulators/darcnes/distinfo
-
-# tool.c causes the sunpro acomp process to spin on the CPU.
-NOT_FOR_COMPILER= sunpro
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ( ${OBJECT_FMT} == "a.out" )
-MAKE_FLAGS+= ASM_FLAGS=-DASM_UNDERBARS
-MAKE_FLAGS+= NO_MULTIPLE_COMMON_WARNING=-DNO_MULTIPLE_COMMON_WARNING
-.endif
-
-.if ( ${MACHINE_ARCH} == "i386" )
-MAKE_FLAGS+= MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\"
-.else
-MAKE_FLAGS+= C_ONLY=-DC_ONLY
-.endif
diff --git a/emulators/darcnes/PLIST b/emulators/darcnes/PLIST
deleted file mode 100644
index 5187d8ed51b..00000000000
--- a/emulators/darcnes/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:31 zuntum Exp $
-bin/darcnes
-share/doc/darcnes/readme
-@dirrm share/doc/darcnes
diff --git a/emulators/darcnes/distinfo b/emulators/darcnes/distinfo
deleted file mode 100644
index 696eeeb6824..00000000000
--- a/emulators/darcnes/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (dn9b0401.tgz) = 3158ae8bd53891c2d17989cbb9d03493f1511132
-RMD160 (dn9b0401.tgz) = 82201c3a2da113fa39edeb9ea675ddeceeec2bf3
-Size (dn9b0401.tgz) = 199963 bytes
-SHA1 (patch-aa) = e7d2631d41d7914ed650a450a75f47ef711a3ca0
-SHA1 (patch-ab) = 896a42a538f8a54da70fc3e8d0d01ac13eeb151d
-SHA1 (patch-ad) = 1b3b493b41402edab814b6addaf19cc44dc2e8eb
-SHA1 (patch-ae) = b4a1029aebc356f10a90df35dcf3c392232a8c05
-SHA1 (patch-af) = 470abb49e62e0b508893c0a32e3248635395896a
-SHA1 (patch-ag) = 9a2689d2a0a18574a53c52404e380672cebefb54
-SHA1 (patch-ah) = caab7e9e0d3489883f242ab305f8534e99de9bca
diff --git a/emulators/darcnes/patches/patch-aa b/emulators/darcnes/patches/patch-aa
deleted file mode 100644
index eb9c7144612..00000000000
--- a/emulators/darcnes/patches/patch-aa
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2001/07/08 18:12:00 wiz Exp $
-
---- Makefile.orig Wed Mar 28 02:51:41 2001
-+++ Makefile
-@@ -11,16 +11,16 @@
-
- #C_ONLY=-DC_ONLY
-
--MACH_TYPES=-DMACH_TYPES=\"types-i386.h\"
-+#MACH_TYPES=-DMACH_TYPES=\"types-i386.h\"
-
- #BYTE_ORDER=-DMSB_FIRST
--BYTE_ORDER=-DLSB_FIRST
-+#BYTE_ORDER=-DLSB_FIRST
-
- DEBUG=-g
-
- OPTFLAGS=-O2 -fomit-frame-pointer
-
--BASE_CFLAGS=-Wall $(DEBUG) $(OPTFLAGS) $(C_ONLY) $(BYTE_ORDER) $(MACH_TYPES)
-+BASE_CFLAGS=-Wall $(DEBUG) $(OPTFLAGS) $(C_ONLY) $(MACH_TYPES)
- BASE_SFLAGS=-Wall $(DEBUG) $(OPTFLAGS)
- BASE_LDFLAGS=
-
-@@ -43,9 +43,9 @@
- #
- ifeq ($(TARGET),Linux_X)
- CONFFLAGS=-DPCE_CD_SUPPORT -DSOUND
--LDFLAGS+=-L/usr/X11R6/lib
--CFLAGS+=-I/usr/X11R6/include
--SFLAGS+=-I/usr/X11R6/include
-+LDFLAGS+=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib
-+CFLAGS+=-I${X11BASE}/include
-+SFLAGS+=${ASM_FLAGS} -I${X11BASE}/include
- SYSTEMSRCS=video_x.c ui_x.c snd_unix.c keyboard_x.c cd_unix.c
- BINFILE=darcnes
- LIBS=-lXext -lXaw -lXmu -lXt -lX11
diff --git a/emulators/darcnes/patches/patch-ab b/emulators/darcnes/patches/patch-ab
deleted file mode 100644
index f21a578121c..00000000000
--- a/emulators/darcnes/patches/patch-ab
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2003/09/17 07:15:34 wiz Exp $
-
---- ui_x.c.orig Mon Oct 30 23:15:31 2000
-+++ ui_x.c
-@@ -177,6 +177,12 @@ int main(int argc, char *argv[])
- return 1;
- }
-
-+ if (romfile == NULL) {
-+ printf("rom not specified.\n");
-+ usage(argv[0]);
-+ return 1;
-+ }
-+
- initialize_window(display);
-
- activate_system(system_type, romfile);
diff --git a/emulators/darcnes/patches/patch-ad b/emulators/darcnes/patches/patch-ad
deleted file mode 100644
index 7ce6c8326f4..00000000000
--- a/emulators/darcnes/patches/patch-ad
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2000/06/03 10:57:12 wiz Exp $
-
---- endian.h.orig Thu Jun 1 02:43:03 2000
-+++ endian.h Thu Jun 1 02:43:04 2000
-@@ -0,0 +1,41 @@
-+#ifndef __HAD_MY_ENDIAN_H
-+#define __HAD_MY_ENDIAN_H
-+
-+#include <sys/param.h>
-+
-+#if (defined(BSD) && (BSD >= 199306))
-+/* this should filter out NetBSD, FreeBSD and OpenBSD */
-+#include <machine/endian.h>
-+
-+#if BYTE_ORDER == BIG_ENDIAN
-+#define MSB_FIRST 1
-+#undef LSB_FIRST
-+#else
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+#endif
-+
-+#else
-+/* for Linux, perhaps use #ifdef __linux__? */
-+#include <sys/types.h>
-+
-+#if defined(__BYTE_ORDER)
-+#if __BYTE_ORDER == __BIG_ENDIAN
-+#define MSB_FIRST 1
-+#undef LSB_FIRST
-+#else
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+#endif /* __BYTE_ORDER == __BIG_ENDIAN */
-+
-+#else /* defined(__BYTE_ORDER) */
-+
-+/* not Linux, either, just set it to LSB */
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+
-+#endif /* defined(__BYTE_ORDER) */
-+
-+#endif /* defined(BSD) && (BSD >= 199306) */
-+
-+#endif /* __HAD_MY_ENDIAN_H */
diff --git a/emulators/darcnes/patches/patch-ae b/emulators/darcnes/patches/patch-ae
deleted file mode 100644
index 4981435baae..00000000000
--- a/emulators/darcnes/patches/patch-ae
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2000/06/03 10:57:12 wiz Exp $
-
---- mtypes.h.orig Sat Aug 7 18:19:37 1999
-+++ mtypes.h Thu Jun 1 02:43:05 2000
-@@ -11,2 +11,4 @@
-
-+#include "endian.h"
-+
- typedef unsigned char byte;
diff --git a/emulators/darcnes/patches/patch-af b/emulators/darcnes/patches/patch-af
deleted file mode 100644
index 512040ac3af..00000000000
--- a/emulators/darcnes/patches/patch-af
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-af,v 1.4 2000/10/28 23:04:31 wiz Exp $
-
---- cd_unix.c.orig Sun Aug 20 03:25:53 2000
-+++ cd_unix.c
-@@ -62,7 +62,6 @@
-
- void cd_play_track(u8 track)
- {
--#ifdef SYSTEM_FREEBSD
- struct ioc_play_track playtrack;
-
- /* FIXME: CD keeps playing after program quits */
-@@ -74,12 +73,10 @@
- playtrack.end_index = 1;
-
- ioctl(cd_drive, CDIOCPLAYTRACKS, &playtrack);
--#endif
- }
-
- void cd_play_lba(u32 from, u32 to, int repeat)
- {
--#ifdef SYSTEM_FREEBSD
- struct ioc_play_blocks playblocks;
-
- /* FIXME: ignores the repeat flag */
-@@ -94,7 +91,6 @@
- playblocks.len = to - from;
-
- ioctl(cd_drive, CDIOCPLAYBLOCKS, &playblocks);
--#endif
- }
-
- #ifdef SYSTEM_LINUX
diff --git a/emulators/darcnes/patches/patch-ag b/emulators/darcnes/patches/patch-ag
deleted file mode 100644
index 3c8cf6d2c85..00000000000
--- a/emulators/darcnes/patches/patch-ag
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2000/06/03 10:57:13 wiz Exp $
-
---- tool.c.orig Sat May 6 23:50:17 2000
-+++ tool.c Thu Jun 1 02:43:09 2000
-@@ -19,6 +19,7 @@
- #include "video.h"
- #include "tool.h"
- #include "system.h"
-+#include "endian.h"
-
- unsigned long system_flags;
-
diff --git a/emulators/darcnes/patches/patch-ah b/emulators/darcnes/patches/patch-ah
deleted file mode 100644
index f6b618d3900..00000000000
--- a/emulators/darcnes/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2000/06/03 10:57:13 wiz Exp $
-
---- types.h.orig Tue Dec 7 03:01:23 1999
-+++ types.h Thu Jun 1 02:43:11 2000
-@@ -13,6 +13,8 @@
- #include MACH_TYPES
- #endif
-
-+#include "endian.h"
-+
- typedef unsigned char u8;
- typedef signed char s8;
-
diff --git a/emulators/darwin_lib/DESCR b/emulators/darwin_lib/DESCR
deleted file mode 100644
index 3565b372b3c..00000000000
--- a/emulators/darwin_lib/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-These libraries are part of the Darwin compatibility option for
-NetBSD/powerpc and NetBSD/i386.
-
-The kernel options `EXEC_MACHO', `COMPAT_MACH' and `COMPAT_DARWIN'
-must be in your kernel config file for this to work.
diff --git a/emulators/darwin_lib/Makefile b/emulators/darwin_lib/Makefile
deleted file mode 100644
index 90250cd716e..00000000000
--- a/emulators/darwin_lib/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/05/23 09:29:08 rillig Exp $
-
-DISTNAME= darwin_lib-6.6.2
-CATEGORIES= emulators
-MASTER_SITES= http://www.opendarwin.org/downloads/6.6.2/RPMS/ \
- http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/
-DISTFILES= org.opendarwin.Libsystem-6.6.2-4.fat.rpm \
- org.opendarwin.Libm-6.6.2-4.fat.rpm \
- org.opendarwin.cctools-6.6.2-4.fat.rpm \
- org.opendarwin.ncurses-6.6.2-4.fat.rpm \
- org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \
- org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm
-
-MAINTAINER= abacau@yahoo.com.au
-HOMEPAGE= http://www.opendarwin.org/
-COMMENT= Darwin compatibility libraries (including X11)
-
-BUILD_DEPENDS= rpm2pkg>=1.3:../../pkgtools/rpm2pkg
-
-ONLY_FOR_PLATFORM= NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386 \
- NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386
-
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-DARWIN_ARCH= ${MACHINE_ARCH:C/powerpc/ppc/}
-
-RPM2PKG= rpm2pkg
-RPMARGS= -d ${PREFIX} -f ${PLIST_SRC} -p emul/darwin -i ./Developer \
- -i ./usr/X11R6/lib/X11/doc/html -i ./usr/share/man \
- -i ./usr/include -i ./usr/X11R6/man -i ./usr/X11R6/include \
- -i ./usr/local/include -i ./usr/local/man
-.for TEMP in ${DISTFILES}
-RPMARGS+= ${DISTDIR}/${TEMP}
-.endfor
-
-EXTRACT_ONLY= # empty
-NO_BUILD= yes
-
-do-install:
- ${RM} -f ${WRKDIR}/PLIST_DYNAMIC
- ${RPM2PKG} ${RPMARGS}
- ${MKDIR} /emul
- # Avoid a symlink left from a previous installation
- ${TEST} -L /emul/darwin && ${RM} /emul/darwin || ${TRUE}
- ${LN} -sf ${PREFIX}/emul/darwin /emul/darwin
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/darwin_lib/distinfo b/emulators/darwin_lib/distinfo
deleted file mode 100644
index 7df95b57cc7..00000000000
--- a/emulators/darwin_lib/distinfo
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 933ede3dd6ea4188e66529ed9378db92c1934e0b
-RMD160 (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 7732537e35f965d9ed34665dfebbbcb2ed662ab3
-Size (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 6155242 bytes
-SHA1 (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 5a7a7311e929a8f4867f0c7bd43c64e7fe450b08
-RMD160 (org.opendarwin.Libm-6.6.2-4.fat.rpm) = ed13229c4b94808fc1749f18e86e318f4fd24302
-Size (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 463844 bytes
-SHA1 (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 13c4d5a19ee63c008e11ef950b8d0c1b34852d3f
-RMD160 (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 625a4598a8451ba054371f0dbb4934af39176510
-Size (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 5060022 bytes
-SHA1 (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = e20ffe8d410f456fe59ff27f4759a3f02869146c
-RMD160 (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = 175dc483f3bd9f803cb666b3a38308311ec88410
-Size (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = 1653506 bytes
-SHA1 (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 34199c0e0fc298df262c04886b0fce8fa9ea5e66
-RMD160 (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = cf4e18543226dd9a53c2baa2c08b1ad85dbbcc09
-Size (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 418276 bytes
-SHA1 (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 3e5c5c6c9ad8e2508646520254d94869481a4d9d
-RMD160 (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 209b8de0981bcba7c9cc65af7f00bd286529706a
-Size (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 48481414 bytes
diff --git a/emulators/dega/DESCR b/emulators/dega/DESCR
deleted file mode 100644
index 288dfaef060..00000000000
--- a/emulators/dega/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Dega is a Sega Master System, Sega Mark III and Sega Game Gear emulator.
-It uses the SDL library.
diff --git a/emulators/dega/Makefile b/emulators/dega/Makefile
deleted file mode 100644
index 21faefd0732..00000000000
--- a/emulators/dega/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/10/23 14:34:41 rillig Exp $
-#
-
-DISTNAME= dega-1.07
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.emulinks.de/emus/
-
-MAINTAINER= pancake@phreaker.net
-HOMEPAGE= http://www.finalburn.com/dega/
-COMMENT= Sega Game Gear, Sega Mark III and Sega Master System emulator
-
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-
-USE_TOOLS+= gmake
-
-# Uses i386 assembly code
-ONLY_FOR_PLATFORM= *-*-i386
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dega ${PREFIX}/bin
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/dega/PLIST b/emulators/dega/PLIST
deleted file mode 100644
index c0955dfe944..00000000000
--- a/emulators/dega/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/14 19:10:01 jmmv Exp $
-bin/dega
diff --git a/emulators/dega/distinfo b/emulators/dega/distinfo
deleted file mode 100644
index 17e4605aff0..00000000000
--- a/emulators/dega/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (dega-1.07.tar.gz) = 1401e5af566bc3e7658a4552940219688c082ce8
-RMD160 (dega-1.07.tar.gz) = a20ad5d4ec47b3a8e65e64355557b6018a9dcfc4
-Size (dega-1.07.tar.gz) = 85189 bytes
diff --git a/emulators/dgen/DESCR b/emulators/dgen/DESCR
deleted file mode 100644
index ad2915c8459..00000000000
--- a/emulators/dgen/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This is DGen/SDL, a semi-fantastic emulator for Unix-esque operating systems
-supported by the Simple DirectMedia Layer (SDL) library. It produces a virtual
-environment in which Sega Genesis (MegaDrive outside the US) games may run
-with fairly accurate audio and video.
diff --git a/emulators/dgen/Makefile b/emulators/dgen/Makefile
deleted file mode 100644
index 02895381677..00000000000
--- a/emulators/dgen/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/06/01 18:02:47 jlam Exp $
-#
-
-DISTNAME= dgen-sdl-1.23
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.pknet.com/~joe/
-
-MAINTAINER= pancake@phreaker.net
-HOMEPAGE= http://www.pknet.com/~joe/dgen-sdl.html
-COMMENT= Genesis/Megadrive emulator for Unix platforms
-
-.if ${MACHINE_ARCH} == "i386"
-DEPENDS+= nasm-[0-9]*:../../devel/nasm
-.endif
-
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS+= --with-extra-opt
-
-SUBST_CLASSES+= config
-SUBST_STAGE.config= pre-configure
-SUBST_FILES.config= configure
-SUBST_SED.config= -e "s|\-mpentium||g" \
- -e "s|\-march=pentium||g" \
- -e "s|\-fno-rtti||g"
-SUBST_MESSAGE.config= "Removing outdated compilation flags."
-
-.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc-3*)
-SUBST_SED.config+= -e "s|\-malign-loops|\-falign-loops|g"
-SUBST_SED.config+= -e "s|\-malign-jumps|\-falign-jumps|g"
-SUBST_SED.config+= -e "s|\-malign-functions|\-falign-functions|g"
-.endif
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/dgen/PLIST b/emulators/dgen/PLIST
deleted file mode 100644
index bbe37fe7ad3..00000000000
--- a/emulators/dgen/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/25 04:53:23 xtraeme Exp $
-bin/dgen
-bin/tobin
-man/man1/dgen.1
-man/man1/tobin.1
-man/man5/dgenrc.5
diff --git a/emulators/dgen/distinfo b/emulators/dgen/distinfo
deleted file mode 100644
index 27a65217854..00000000000
--- a/emulators/dgen/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (dgen-sdl-1.23.tar.gz) = c37096e5dd7c9f2c2c75496769d6d2b610a3a488
-RMD160 (dgen-sdl-1.23.tar.gz) = ca5ac81b4c8436a63e8d776b182735ad63ffa77a
-Size (dgen-sdl-1.23.tar.gz) = 340556 bytes
diff --git a/emulators/dosbox/DESCR b/emulators/dosbox/DESCR
deleted file mode 100644
index 169fe578292..00000000000
--- a/emulators/dosbox/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-DOSBox is a DOS-emulator using SDL for easy portability to
-different platforms, DOSBox has already been ported to
-several different platforms, such as Windows, BeOS, Linux,
-Mac OS X...
-
-DOSBox emulates a 286/386 realmode CPU, Directory
-FileSystem/XMS/EMS, a SoundBlaster card for excellent sound
-compatibility with older games...
-
-You can "re-live" the good old days with the help of
-DOSBox, it can run plenty of the old classics that don't
-run on your new computer !
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
deleted file mode 100644
index 36f15d7c3e7..00000000000
--- a/emulators/dosbox/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2005/04/11 21:45:43 tv Exp $
-
-DISTNAME= dosbox-0.63
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/}
-
-MAINTAINER= cube@cubidou.net
-HOMEPAGE= http://dosbox.sourceforge.net/
-COMMENT= Multi-platform DOS emulator using SDL
-
-USE_LANGUAGES= c c++
-GNU_CONFIGURE= yes
-
-SUBST_CLASSES= fixme
-SUBST_STAGE.fixme= post-patch
-SUBST_FILES.fixme= docs/dosbox.1
-SUBST_SED.fixme= -e s,/usr/share/,${PREFIX}/share/,g
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dosbox
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
-
-.include "../../audio/SDL_sound/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../net/SDL_net/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/dosbox/PLIST b/emulators/dosbox/PLIST
deleted file mode 100644
index 6b1f011bb49..00000000000
--- a/emulators/dosbox/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/11/22 14:12:29 adam Exp $
-bin/dosbox
-man/man1/dosbox.1
-share/doc/dosbox/README
-@dirrm share/doc/dosbox
diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo
deleted file mode 100644
index cf9459fdfbe..00000000000
--- a/emulators/dosbox/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (dosbox-0.63.tar.gz) = d40e9996678dbe1626eb5a80f49862a93d1108d0
-RMD160 (dosbox-0.63.tar.gz) = c6c6e5206f3f3671652405aafbf244cd90742ef9
-Size (dosbox-0.63.tar.gz) = 648762 bytes
-SHA1 (patch-aa) = 3393501f0d438e53a55481dc0e237c2bb2a75d3e
diff --git a/emulators/dosbox/patches/patch-aa b/emulators/dosbox/patches/patch-aa
deleted file mode 100644
index cce56d3b0f9..00000000000
--- a/emulators/dosbox/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/10/06 00:09:23 wiz Exp $
-
---- src/dos/cdrom_image.cpp.orig 2004-08-23 11:35:15.000000000 +0200
-+++ src/dos/cdrom_image.cpp
-@@ -111,7 +111,7 @@ int CDROM_Interface_Image::AudioFile::ge
- while (true) {
- int success = Sound_Seek(sample, (unsigned int)(shift + time));
- if (!success) {
-- if (time == 1) return lround((double)shift * 176.4f);
-+ if (time == 1) return rint((double)shift * 176.4f);
- shift += time >> 1;
- time = 1;
- } else {
diff --git a/emulators/doscmd/DESCR b/emulators/doscmd/DESCR
deleted file mode 100644
index 191d0f038aa..00000000000
--- a/emulators/doscmd/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-doscmd, an MS-DOS emulator (NetBSD/i386 only)
-
-Doscmd simulates an MS-DOS environment for running DOS software. Rather
-than provide a software emulation of the 8086 CPU, it uses the
-NetBSD/i386 system call i386_vm86() call to access the VM86 mode of i386
-and later CPUs. It therefore runs much more quickly, at the cost of not
-running on other architectures.
diff --git a/emulators/doscmd/Makefile b/emulators/doscmd/Makefile
deleted file mode 100644
index b5183eb710a..00000000000
--- a/emulators/doscmd/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2004/01/20 12:14:40 agc Exp $
-#
-
-DISTNAME= doscmd-19960502-2
-PKGNAME= doscmd-19960502.2
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/arch/i386/doscmd/
-
-MAINTAINER= tech-pkg@NetBSD.org
-COMMENT= MS-DOS emulator (NetBSD/i386 only)
-
-# mmap() portability (no MAP_FIXED), and objcopy problems on NetBSD-1.6-i386 and later
-ONLY_FOR_PLATFORM= NetBSD-1.[345]*-i386
-
-WRKSRC= ${WRKDIR}/doscmd
-MAKE_ENV= X11BASE=${X11BASE}
-
-MANCOMPRESSED_IF_MANZ= yes
-
-do-configure:
- @cd ${WRKSRC} && \
- ${SED} "s=%PREFIX%=${PREFIX}=" < doscmd.1 >doscmd.1.new && \
- ${MV} doscmd.1.new doscmd.1 && \
- ${SED} "s=%PREFIX%=${PREFIX}=" < doscmd_loader.c >dl.new && \
- ${MV} dl.new doscmd_loader.c
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/doscmd/PLIST b/emulators/doscmd/PLIST
deleted file mode 100644
index f46155d7e4a..00000000000
--- a/emulators/doscmd/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:33 zuntum Exp $
-bin/doscmd
-man/man1/doscmd.1
-man/cat1/doscmd.0
-libexec/doscmd.kernel
-libexec/instbsdi.exe
diff --git a/emulators/doscmd/distinfo b/emulators/doscmd/distinfo
deleted file mode 100644
index 18e487b474e..00000000000
--- a/emulators/doscmd/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (doscmd-19960502-2.tar.gz) = 85ec8e478d32d0f2861084d6d19186b5e1f0fc95
-RMD160 (doscmd-19960502-2.tar.gz) = e4eb842d7d765f6f608bdc0d08c7e2f1b4edb469
-Size (doscmd-19960502-2.tar.gz) = 109791 bytes
-SHA1 (patch-aa) = 56e3f9951ac3dcb6e07cd1f76c665286a694d67b
-SHA1 (patch-ab) = c83d7e5b8b514ca7f88b0bd3a0be963b7f77d3a4
-SHA1 (patch-ac) = 09757f9522e52b7491c3052dbb856a9b3828ce45
-SHA1 (patch-ae) = 6a33c0eff738caab4e30513dbe9b9f57d7b21d09
-SHA1 (patch-af) = b0091e54d0ffe8a2ebcae28a924fad24888ed20e
-SHA1 (patch-ag) = bbbca5339d66cb52b93019b712d21301d910d32b
-SHA1 (patch-ah) = 65e9a252e27b8ea339048d20df2d5f23977b5f66
-SHA1 (patch-ai) = e72e42897f221929aa269800a11e37ea2dd4419c
-SHA1 (patch-aj) = c400eb5ec1f46def1105ddb6e6a2a1397f8ec54e
diff --git a/emulators/doscmd/patches/patch-aa b/emulators/doscmd/patches/patch-aa
deleted file mode 100644
index 53a01de6491..00000000000
--- a/emulators/doscmd/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.4 1998/11/29 23:39:30 sommerfe Exp $
-
---- signal.c.orig Thu May 2 16:03:39 1996
-+++ signal.c Sun Nov 29 18:27:37 1998
-@@ -98,11 +98,18 @@
- if (s >= 0 && s < NSIG) {
- handler[s] = h;
-
-- sa.sa_handler = generichandler;
-+ sa.sa_handler = (void (*)())generichandler;
-+#if defined(__LIBC12_SOURCE__)
- sa.sa_mask = sigmask(SIGIO) | sigmask(SIGALRM);
-+#else
-+ sigemptyset(&sa.sa_mask);
-+ sigaddset(&sa.sa_mask, SIGIO);
-+ sigaddset(&sa.sa_mask, SIGALRM);
-+#endif
- sa.sa_flags = SA_ONSTACK;
- sigaction(s, &sa, NULL);
-
-+ sigemptyset(&set);
- sigaddset(&set, s);
- sigprocmask(SIG_UNBLOCK, &set, 0);
- }
diff --git a/emulators/doscmd/patches/patch-ab b/emulators/doscmd/patches/patch-ab
deleted file mode 100644
index 2bc70622146..00000000000
--- a/emulators/doscmd/patches/patch-ab
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-ab,v 1.6 1999/12/18 22:10:02 christos Exp $
-
---- Makefile.orig Thu May 2 13:55:19 1996
-+++ Makefile Sat Dec 18 17:02:32 1999
-@@ -8,30 +8,45 @@
- int1a.c int2f.c intff.c \
- mem.c mouse.c net.c null.c port.c setver.c signal.c timer.c trace.c trap.c tty.c xms.c
-
-+BINDIR= ${PREFIX}/bin
-+MANDIR= ${PREFIX}/man
-+
- BINGRP= kmem
- EXEGRP= bin
- BINMODE=2555
- EXEMODE=444
--CFLAGS+=-I/usr/X11/include -DDISASSEMBLER -g
--LDFLAGS+=-L/usr/X11/lib
-+START_ADDRESS=0x110000
-+CFLAGS+=-I${X11BASE}/include -DDISASSEMBLER -g -DSTART_ADDRESS=${START_ADDRESS}
-+LDFLAGS+=-L${X11BASE}/lib -R${X11BASE}/lib
- LDADD+= -lX11 -li386 -lgcc -lc -lgcc
--DPADD+= /usr/X11/lib/libX11.a ${LIBC} ${LIBGCC}
-+DPADD+= ${X11BASE}/lib/libX11.a ${LIBC} ${LIBGCC}
-+
-+.include <bsd.prog.mk>
-+.if ${OBJECT_FMT} == "ELF"
-+TEXT=-e start -Ttext ${START_ADDRESS}
-+CRTBEGIN=/usr/lib/crtbegin.o
-+.else
-+TEXT=-e _start -T ${START_ADDRESS}
-+CRTBEGIN=
-+.endif
-+
-
- afterinstall:
- install ${COPY} -o ${BINOWN} -g ${EXEGRP} -m ${EXEMODE} \
-- doscmd.kernel ${DESTDIR}/usr/libexec/doscmd.kernel
-+ doscmd.kernel ${PREFIX}/libexec/doscmd.kernel
- install -c -o ${BINOWN} -g ${EXEGRP} -m ${EXEMODE} \
-- ${.CURDIR}/instbsdi.exe ${DESTDIR}/usr/dos/
-+ ${.CURDIR}/instbsdi.exe ${PREFIX}/libexec/
-
--doscmd: doscmd.kernel ${LIBCRT0} doscmd_loader.o
-- ld -N -Bstatic -o doscmd ${LDFLAGS} ${LIBCRT0} doscmd_loader.o ${LDADD}
-+doscmd: doscmd.kernel ${LIBCRT0} ${CRTBEGIN} doscmd_loader.o
-+ ld -N -Bstatic -o doscmd ${LDFLAGS:S/^-Wl,//g} ${LIBCRT0} ${CRTBEGIN} doscmd_loader.o ${LDADD}
-
--.include <bsd.prog.mk>
-
- .depend: doscmd_loader.c
-
- doscmd.kernel: crt0.o ${OBJS}
-- ld -N -Bstatic -T 110000 -o doscmd.kernel ${LDFLAGS} crt0.o ${OBJS} ${LDADD}
-+ ld -N -Bstatic ${TEXT} -o doscmd.bin ${LDFLAGS:S/^-Wl,//g} crt0.o ${OBJS} ${LDADD}
-+ objcopy -O binary doscmd.bin $@
-+ @rm -f doscmd.bin
-
- doscmd.0: doscmd.1
- tbl ${.IMPSRC} | nroff -mandoc > ${.TARGET}
diff --git a/emulators/doscmd/patches/patch-ac b/emulators/doscmd/patches/patch-ac
deleted file mode 100644
index 3571c88e6ca..00000000000
--- a/emulators/doscmd/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2001/02/27 17:20:10 wiz Exp $
-
---- doscmd.1.orig Wed Apr 10 09:38:59 1996
-+++ doscmd.1 Tue Feb 27 18:17:16 2001
-@@ -305,13 +305,13 @@
- .Fl ro
- flag is specified, it is a read only file system.
- These assignments will not take place when booting DOS until the
--.Pa /usr/dos/instbsdi.exe
-+.Pa %PREFIX%/libexec/instbsdi.exe
- binary is run.
- .\"
- .\"
- .\"
- .It Cm assign Xo
--.Cm lpt Ns Op Cm 0-4 :
-+.Cm lpt Ns Op Cm 1-4 :
- .Op Cm direct
- .Ar path
- .Op Ar timeout
diff --git a/emulators/doscmd/patches/patch-ae b/emulators/doscmd/patches/patch-ae
deleted file mode 100644
index 5727c6b5bd3..00000000000
--- a/emulators/doscmd/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 1998/10/28 01:29:16 hubertf Exp $
-
---- doscmd.h.BAK Wed Oct 28 01:48:56 1998
-+++ doscmd.h Wed Oct 28 01:49:02 1998
-@@ -58,7 +58,7 @@
-
- #define MAX_AVAIL_SEG 0xa000
- char *dosmem;
--char cmdname[];
-+char cmdname[256];
- int dosmem_size;
-
- int pspseg; /* segment # of PSP */
diff --git a/emulators/doscmd/patches/patch-af b/emulators/doscmd/patches/patch-af
deleted file mode 100644
index abdce1307e0..00000000000
--- a/emulators/doscmd/patches/patch-af
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-af,v 1.3 2001/03/16 13:58:58 wiz Exp $
-
---- doscmd.c.orig Thu May 2 21:37:33 1996
-+++ doscmd.c
-@@ -100,7 +100,7 @@
- char *dos_path = 0;
- char cmdname[256];
-
--char *memfile = "/tmp/doscmd.XXXXXX";
-+char memfile[] = "/tmp/doscmd.XXXXXX";
-
- int
- main(int argc, char **argv)
-@@ -133,6 +133,14 @@
- if (fd != 3 && fd != 4)
- close (fd);
-
-+#ifdef __ELF__
-+ if (mmap((void *)4096, 1024 * 1024, PROT_READ|PROT_WRITE,
-+ MAP_ANON|MAP_FIXED|MAP_PRIVATE, -1, (off_t)0) == MAP_FAILED) {
-+ perror("mmap botch");
-+ quit(1);
-+ }
-+#endif
-+
- fd = -1;
-
- debug_set(0); /* debug any D_TRAPS without intnum */
-@@ -581,7 +589,11 @@
- SET16(sc.sc_fs, 0x0000);
- SET16(sc.sc_gs, 0x0000);
-
-+#if defined(__LIBC12_SOURCE__)
- sc.sc_mask = 0;
-+#else
-+ sigemptyset(&sc.sc_mask);
-+#endif
- sc.sc_onstack = 0;
-
- if (tflag) {
diff --git a/emulators/doscmd/patches/patch-ag b/emulators/doscmd/patches/patch-ag
deleted file mode 100644
index 8974ccacb0f..00000000000
--- a/emulators/doscmd/patches/patch-ag
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2001/03/16 13:58:58 wiz Exp $
-
---- AsyncIO.c.orig Thu May 2 08:51:00 1996
-+++ AsyncIO.c
-@@ -320,6 +320,7 @@
- abort();
- }
- if (stackp++ == 0) {
-+ sigemptyset(&set);
- sigaddset(&set, SIGIO);
- sigprocmask(SIG_BLOCK, &set, 0);
- }
-@@ -335,6 +336,7 @@
- abort();
- }
- if (--stackp == 0) {
-+ sigemptyset(&set);
- sigaddset(&set, SIGIO);
- sigprocmask(SIG_UNBLOCK, &set, 0);
- }
diff --git a/emulators/doscmd/patches/patch-ah b/emulators/doscmd/patches/patch-ah
deleted file mode 100644
index 81ddec5d65a..00000000000
--- a/emulators/doscmd/patches/patch-ah
+++ /dev/null
@@ -1,74 +0,0 @@
-$NetBSD: patch-ah,v 1.3 2003/06/06 11:55:07 jmmv Exp $
-
---- doscmd_loader.c.orig 2003-06-06 14:00:18.000000000 +0200
-+++ doscmd_loader.c
-@@ -31,38 +31,50 @@
- */
-
- #include <stdio.h>
--#include <a.out.h>
-+#include <unistd.h>
-+#include <fcntl.h>
-+#include <sys/stat.h>
-+#include <sys/mman.h>
-
- /*
- * reserve space in "low" memory for the interrupt vector table
- */
- static const char filler[4096] = { 0, };
-
--#define _PATH_DOS_KERNEL_DIR "/usr/libexec/"
-+#define _PATH_DOS_KERNEL_DIR "%PREFIX%/libexec/"
- #define _PATH_DOS_KERNEL "doscmd.kernel"
-
--int
-+static char *locations[] = {
-+ _PATH_DOS_KERNEL,
-+ "obj/" _PATH_DOS_KERNEL,
-+ _PATH_DOS_KERNEL_DIR _PATH_DOS_KERNEL,
-+ NULL
-+};
-+
-+u_long
- load_kernel(void)
- {
-- FILE *fp;
-- struct exec exec;
-- int start_address;
--
-- if ((fp = fopen(_PATH_DOS_KERNEL, "r")) == NULL &&
-- (fp = fopen("obj/" _PATH_DOS_KERNEL, "r")) == NULL &&
-- (fp = fopen(_PATH_DOS_KERNEL_DIR _PATH_DOS_KERNEL, "r")) == NULL)
-+ int i, fd;
-+ size_t size;
-+ struct stat st;
-+
-+ for (i = 0; locations[i] != NULL; i++) {
-+ if ((fd = open(locations[i], O_RDONLY)) != -1)
-+ break;
-+ }
-+ if (locations[i] == NULL)
- err(1, "load_kernel");
-
-- if (fread(&exec, sizeof(exec), 1, fp) != 1 || N_GETMAGIC(exec) != OMAGIC)
-- errx(1, "bad kernel file format");
-+ if (fstat(fd, &st) == -1)
-+ err(1, "fstat");
-
-- start_address = exec.a_entry & (~(getpagesize() - 1));
-- if (brk(start_address + exec.a_text + exec.a_data + exec.a_bss) < 0)
-- err(1, "load_kernel");
-- fread((char *)start_address, exec.a_text + exec.a_data, 1, fp);
-- bzero((char *)(start_address + exec.a_text + exec.a_data), exec.a_bss);
-- fclose(fp);
-- return(exec.a_entry);
-+ size = st.st_size + START_ADDRESS;
-+
-+ if (mmap((void *)START_ADDRESS, st.st_size,
-+ PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, fd, 0) == MAP_FAILED)
-+ err(1, "mmap");
-+
-+ return(START_ADDRESS);
- }
-
- void
diff --git a/emulators/doscmd/patches/patch-ai b/emulators/doscmd/patches/patch-ai
deleted file mode 100644
index f9ff5fc3eeb..00000000000
--- a/emulators/doscmd/patches/patch-ai
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ai,v 1.1 1999/12/18 01:46:29 christos Exp $
-
---- int13.c.orig Thu May 2 16:49:57 1996
-+++ int13.c Fri Dec 17 20:36:23 1999
-@@ -296,7 +296,7 @@
- di->secsize = 512;
- di->path = strdup(file);
-
-- di->location = ((table & 0xf0000) << 12) | (table & 0xffff);
-+ di->location = ((htable & 0xf0000) << 12) | (htable & 0xffff);
-
- if (drive == 0) {
- ivec[0x41] = di->location;
-@@ -413,11 +413,11 @@
- di->path = strdup(file);
- }
- di->fd = -1;
-- di->location = ((table & 0xf0000) << 12) | (table & 0xffff);
-+ di->location = ((ftable & 0xf0000) << 12) | (ftable & 0xffff);
- di->sector0 = 0;
- di->offset = 0;
-
-- ivec[0x1e] = ((ftable & 0xf0000) << 12) | (ftable & 0xffff);
-+ ivec[0x1e] = di->location;
-
- table = ftable + drive * 0x0a;
-
diff --git a/emulators/doscmd/patches/patch-aj b/emulators/doscmd/patches/patch-aj
deleted file mode 100644
index 720af782e19..00000000000
--- a/emulators/doscmd/patches/patch-aj
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2001/03/16 13:59:54 wiz Exp $
-
---- port.c.orig Wed Apr 10 12:52:15 1996
-+++ port.c
-@@ -63,7 +63,7 @@
- goto bad;
- }
- while (cnt--) {
-- ioports[port/32] |= (1 << (port%32));
-+ ioports[port/32] &= ~(1 << (port%32));
- port++;
- }
- if (i386_set_ioperm(ioports) < 0) {
-@@ -82,7 +82,7 @@
- goto bad;
- }
- while (cnt--) {
-- ioports[port/32] &= ~(1 << (port%32));
-+ ioports[port/32] |= (1 << (port%32));
- port++;
- }
- if (i386_set_ioperm(ioports) < 0) {
-@@ -169,6 +169,10 @@
- portsw[i].p_inb = inb_nullport;
- if (portsw[i].p_outb == 0)
- portsw[i].p_outb = outb_nullport;
-+ }
-+
-+ for (i = 0; i < MAXPORT/32; i++) {
-+ ioports[i] = 0xffffffff;
- }
- }
-
diff --git a/emulators/fceu/DESCR b/emulators/fceu/DESCR
deleted file mode 100644
index 3046a1671c9..00000000000
--- a/emulators/fceu/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-FCE Ultra is an NTSC and PAL Famicom/NES emulator for various
-platforms. It is based upon Bero's original FCE source code. Current
-features include good PPU, CPU, pAPU, expansion chip, and joystick
-emulation. Also a feature unique to this emulator (at the current
-time) is authentic Game Genie emulation. Save states and snapshot
-features also have been implemented.
diff --git a/emulators/fceu/Makefile b/emulators/fceu/Makefile
deleted file mode 100644
index ee5e589fbc2..00000000000
--- a/emulators/fceu/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/10/30 11:47:56 wiz Exp $
-#
-
-DISTNAME= fceu-0.98.13.src
-PKGNAME= ${DISTNAME:S/.src//}
-CATEGORIES= emulators
-MASTER_SITES= http://pdaxrom.theinternet.nl/fceu/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://pdaxrom.theinternet.nl/fceu/
-COMMENT= Portable NES and Famicom emulator
-
-WRKSRC= ${WRKDIR}/fceu
-USE_PKGLOCALEDIR= yes
-GNU_CONFIGURE= yes
-
-SUBST_CLASSES+= dsp
-SUBST_STAGE.dsp= post-patch
-SUBST_MESSAGE.dsp= Adjusting sound device path.
-SUBST_FILES.dsp= src/drivers/sexyal/drivers/oss.c
-SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \
- ${PREFIX}/man/man6/fceu.6
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fceu
- ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
- ${PREFIX}/share/doc/fceu
- ${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt \
- ${PREFIX}/share/doc/fceu
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/fceu/PLIST b/emulators/fceu/PLIST
deleted file mode 100644
index e064c3527ea..00000000000
--- a/emulators/fceu/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 18:37:14 wiz Exp $
-bin/fceu
-man/man6/fceu.6
-share/doc/fceu/cheat.html
-share/doc/fceu/faq.html
-share/doc/fceu/fceultra.html
-share/doc/fceu/fcm.txt
-share/doc/fceu/fcs.txt
-share/doc/fceu/protocol.txt
-@dirrm share/doc/fceu
diff --git a/emulators/fceu/distinfo b/emulators/fceu/distinfo
deleted file mode 100644
index 810e439003d..00000000000
--- a/emulators/fceu/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/10/30 11:47:56 wiz Exp $
-
-SHA1 (fceu-0.98.13.src.tar.bz2) = fed37a9858aa8b149472f964b2ca652168e9f29a
-RMD160 (fceu-0.98.13.src.tar.bz2) = fc736006ed1e9aa564de817622ed575f246bad48
-Size (fceu-0.98.13.src.tar.bz2) = 570842 bytes
-SHA1 (patch-aa) = 31ce24167b8f76df2961ce902d42f45b5278e451
-SHA1 (patch-ac) = 8a5297b11484c6eaf5d70a391bb486ff58475f35
-SHA1 (patch-af) = a2b55359d65c60ecb7e7d79390ef872873c0eba1
-SHA1 (patch-ah) = cc48e36406b6d9e4cf88179510824135507aa6f9
diff --git a/emulators/fceu/patches/patch-aa b/emulators/fceu/patches/patch-aa
deleted file mode 100644
index 4c68b470316..00000000000
--- a/emulators/fceu/patches/patch-aa
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/10/30 11:47:56 wiz Exp $
-
-Make default keys match documentation.
-Also, add settings for joystick.
-
---- src/drivers/pc/input.c.orig 2004-09-11 10:04:33.000000000 +0200
-+++ src/drivers/pc/input.c
-@@ -276,6 +276,10 @@ static void KeyboardCommands(void)
-
- #define MK(x) {{BUTTC_KEYBOARD},{0},{MKK(x)},1}
- #define MK2(x1,x2) {{BUTTC_KEYBOARD},{0},{MKK(x1),MKK(x2)},2}
-+#define MKJA(x, a, d) {{BUTTC_KEYBOARD, BUTTC_JOYSTICK}, \
-+ {0, 0},{MKK(x),0x8000|((d)<<14)|(a)},2}
-+#define MKJB(x, a) {{BUTTC_KEYBOARD, BUTTC_JOYSTICK}, \
-+ {0, 0},{MKK(x),(a)},2}
-
- #define MKZ() {{0},{0},{0},0}
-
-@@ -284,8 +288,13 @@ static void KeyboardCommands(void)
- ButtConfig GamePadConfig[4][10]={
- /* Gamepad 1 */
- {
-- MK(KP3), MK(KP2), MK(TAB), MK(ENTER), MK(W),MK(Z),
-- MK(A), MK(S), MKZ(), MKZ()
-+ MKJB(LEFTALT, 2), MKJB(LEFTCONTROL, 0), MKJB(TAB, 5), MKJB(ENTER, 7),
-+ MKJA(CURSORUP, 1, 1), MKJA(CURSORDOWN, 1, 0),
-+ MKJA(CURSORLEFT, 0, 1), MKJA(CURSORRIGHT, 0, 0), MKZ(), MKZ()
-+#if 0
-+ MK(LEFTALT), MK(LEFTCONTROL), MK(TAB), MK(ENTER), MK(CURSORUP),
-+ MK(CURSORDOWN), MK(CURSORLEFT), MK(CURSORRIGHT), MKZ(), MKZ()
-+#endif
- },
-
- /* Gamepad 2 */
diff --git a/emulators/fceu/patches/patch-ac b/emulators/fceu/patches/patch-ac
deleted file mode 100644
index 293cc093bc8..00000000000
--- a/emulators/fceu/patches/patch-ac
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
-
-NetBSD's zlib.h does not define OF().
-
---- src/unzip.h.orig 2004-01-21 21:50:00.000000000 +0100
-+++ src/unzip.h
-@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
- typedef voidp unzFile;
- #endif
-
-+#ifndef OF
-+#define OF(a) a
-+#endif
-
- #define UNZ_OK (0)
- #define UNZ_END_OF_LIST_OF_FILE (-100)
diff --git a/emulators/fceu/patches/patch-af b/emulators/fceu/patches/patch-af
deleted file mode 100644
index bd5a749fc42..00000000000
--- a/emulators/fceu/patches/patch-af
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-af,v 1.1 2005/10/30 11:47:56 wiz Exp $
-
-Fix display and sync on sound. Ignore NoWaiting and the rest for now.
-
---- src/drivers/pc/main.c.orig 2004-09-16 04:55:00.000000000 +0200
-+++ src/drivers/pc/main.c
-@@ -466,14 +466,26 @@ void FCEUD_Update(uint8 *XBuf, int32 *Bu
- if(can > Count) can=Count;
- else uflow=0;
-
-- WriteSound(Buffer,can);
-+ while (Count > 0) {
-+ WriteSound(Buffer,can);
-+ Count -= can;
-+ Buffer += can;
-+ if (Count == 0)
-+ break;
-+ SDL_Delay(1);
-+ can = GetWriteSound();
-+ if(can > Count) can=Count;
-+ }
-
-+ if(XBuf && (inited&4) && !(NoWaiting & 2))
-+ BlitScreen(XBuf);
-+ else
-+ printf("skipped\n");
-+#if 0
- //if(uflow) puts("Underflow");
- tmpcan = GetWriteSound();
- if((tmpcan < Count*0.90) && !uflow)
- {
-- if(XBuf && (inited&4) && !(NoWaiting & 2))
-- BlitScreen(XBuf);
- Buffer+=can;
- Count-=can;
- if(Count)
-@@ -499,6 +511,7 @@ void FCEUD_Update(uint8 *XBuf, int32 *Bu
- }
- #endif
-
-+#endif
- }
- else
- {
diff --git a/emulators/fceu/patches/patch-ah b/emulators/fceu/patches/patch-ah
deleted file mode 100644
index bf80b76460e..00000000000
--- a/emulators/fceu/patches/patch-ah
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2005/10/30 11:47:56 wiz Exp $
-
---- configure.orig 2004-09-16 05:31:55.000000000 +0200
-+++ configure
-@@ -308,7 +308,7 @@ ac_includes_default="\
- # include <unistd.h>
- #endif"
-
--ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP WIN32_TRUE WIN32_FALSE UNIX_TRUE UNIX_FALSE USE_SEXYAL_TRUE USE_SEXYAL_FALSE NATIVEWIN32_TRUE NATIVEWIN32_FALSE OPENGL_TRUE OPENGL_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS C80x86_TRUE C80x86_FALSE LIBOBJS LTLIBOBJS'
-+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP WIN32_TRUE WIN32_FALSE UNIX_TRUE UNIX_FALSE USE_SEXYAL_TRUE USE_SEXYAL_FALSE NATIVEWIN32_TRUE NATIVEWIN32_FALSE OPENGL_TRUE OPENGL_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBOBJS LTLIBOBJS'
- ac_subst_files=''
-
- # Initialize some variables set by options.
-@@ -5130,21 +5130,13 @@ _ACEOF
- fi
-
-
--if expr match "$target_cpu" 'i.86' > /dev/null; then
-+if echo ${target_cpu} | grep -q 'i.86' > /dev/null; then
- cat >>confdefs.h <<\_ACEOF
- #define C80x86 1
- _ACEOF
-
-
-
--if true; then
-- C80x86_TRUE=
-- C80x86_FALSE='#'
--else
-- C80x86_TRUE='#'
-- C80x86_FALSE=
--fi
--
- fi
-
- echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
-@@ -5589,13 +5581,6 @@ echo "$as_me: error: conditional \"OPENG
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
--if test -z "${C80x86_TRUE}" && test -z "${C80x86_FALSE}"; then
-- { { echo "$as_me:$LINENO: error: conditional \"C80x86\" was never defined.
--Usually this means the macro was only invoked conditionally." >&5
--echo "$as_me: error: conditional \"C80x86\" was never defined.
--Usually this means the macro was only invoked conditionally." >&2;}
-- { (exit 1); exit 1; }; }
--fi
-
- : ${CONFIG_STATUS=./config.status}
- ac_clean_files_save=$ac_clean_files
-@@ -6188,8 +6173,6 @@ s,@EGREP@,$EGREP,;t t
- s,@SDL_CONFIG@,$SDL_CONFIG,;t t
- s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
- s,@SDL_LIBS@,$SDL_LIBS,;t t
--s,@C80x86_TRUE@,$C80x86_TRUE,;t t
--s,@C80x86_FALSE@,$C80x86_FALSE,;t t
- s,@LIBOBJS@,$LIBOBJS,;t t
- s,@LTLIBOBJS@,$LTLIBOBJS,;t t
- CEOF
diff --git a/emulators/fmsx/DESCR b/emulators/fmsx/DESCR
deleted file mode 100644
index c73d5b9bdcb..00000000000
--- a/emulators/fmsx/DESCR
+++ /dev/null
@@ -1,13 +0,0 @@
-fMSX is a portable emulator of MSX home computers written in C. You
-can always get the latest fMSX source code and support files from
-
- http://www.komkon.org/fms/fMSX/
-
-MSX is an old Z80-based family of home computers which appeared in
-1982 as an attempt to establish a single standard in home computing
-similar to VHS in video. They were popular in Asian (Korea, Japan) and
-South American (Brazil, Chile) countries as well as in Europe
-(Netherlands, France, Spain) and former Soviet Union, but they are
-virtually unknown in USA. Although MSX standard quietly died to year
-1988, the world got to see MSX2, MSX2+, and TurboR extensions of the
-standard.
diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile
deleted file mode 100644
index 496ec09131b..00000000000
--- a/emulators/fmsx/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/06/16 06:57:50 jlam Exp $
-
-DISTNAME= fMSX24.tar
-PKGNAME= fmsx-2.4
-CATEGORIES= emulators x11
-MASTER_SITES= http://www.komkon.org/fms/fMSX/
-EXTRACT_SUFX= .Z
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.komkon.org/fms/fMSX/
-COMMENT= MSX (Z80-based computer) emulator
-
-RESTRICTED= "ROM image copyright is questionable"
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-
-WRKSRC= ${WRKDIR}/MSX
-
-.include "../../mk/bsd.prefs.mk"
-USE_SUN_AUDIO?= YES
-DEFS= -DFontDir=\"\\\"${PREFIX}/share/fmsx/\"\\\"
-DEFS+= -DRomDir=\"\\\"${PREFIX}/share/fmsx/\"\\\"
-DEFS+= -DMITSHM -D${CUR_DEPTH} -DSOUND
-.if ${USE_SUN_AUDIO} == "YES"
-DEFS+= -DSUN_AUDIO
-.endif
-
-MAKE_ENV= DEFS="${DEFS}"
-
-INSTALLATION_DIRS= bin
-
-.include "../../mk/x11.buildlink3.mk"
-
-post-extract:
- @${RM} ${WRKSRC}/CMOS.ROM
- @${CHMOD} -R a+r ${WRKSRC}
-
-pre-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/share/fmsx
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html
-
-# Makefile of fMSX doesn't have install target.
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fmsx ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/rddsk ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/wrdsk ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/*.ROM ${PREFIX}/share/fmsx
- ${INSTALL_DATA} ${WRKSRC}/fMSX.html ${PREFIX}/share/doc/html
-
-.include "../../mk/bsd.pkg.mk"
-
-# XXX It would be nice to customize for each user's display, but this
-# way of doing it at build time depending on build environment is wrong.
-#.ifdef DISPLAY
-#CUR_DEPTH!= ( xwininfo -display ${DISPLAY} -root | fgrep Depth: | ${SED} 's-.*Depth: -BPP-' )
-#.else
-CUR_DEPTH= BPP8
-#.endif
diff --git a/emulators/fmsx/PLIST b/emulators/fmsx/PLIST
deleted file mode 100644
index 45d84ec2b1d..00000000000
--- a/emulators/fmsx/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:35 zuntum Exp $
-bin/fmsx
-bin/rddsk
-bin/wrdsk
-share/fmsx/DISK.ROM
-share/fmsx/FMPAC.ROM
-share/fmsx/KANJI.ROM
-share/fmsx/MSX.ROM
-share/fmsx/MSX2.ROM
-share/fmsx/MSX2EXT.ROM
-share/fmsx/MSX2P.ROM
-share/fmsx/MSX2PEXT.ROM
-share/fmsx/PAINTER.ROM
-share/doc/html/fMSX.html
-@dirrm share/fmsx
diff --git a/emulators/fmsx/distinfo b/emulators/fmsx/distinfo
deleted file mode 100644
index e280f32b926..00000000000
--- a/emulators/fmsx/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (fMSX24.tar.Z) = ea44eb273b9532ad0fb388e5ffbebdf348d00467
-RMD160 (fMSX24.tar.Z) = 1df5673271ed354ccc6ee720ad06ccbb07e60a91
-Size (fMSX24.tar.Z) = 506755 bytes
-SHA1 (patch-aa) = ef2c0ce0039633afa1df7b0118a5159f1bb547f4
-SHA1 (patch-ab) = d59c7bb5d709ae1d125c642990f8f7c7191f0fd5
-SHA1 (patch-ac) = 884f137a757be514a87005c82f2f3a0c4031190d
-SHA1 (patch-ad) = 8d0db8cc68283e1a98e355672db4cb7ca0de42e9
diff --git a/emulators/fmsx/patches/patch-aa b/emulators/fmsx/patches/patch-aa
deleted file mode 100644
index 7f4acf63670..00000000000
--- a/emulators/fmsx/patches/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2001/06/03 17:34:57 kei Exp $
-
---- Makefile.orig Mon May 14 07:38:23 2001
-+++ Makefile Sun Jun 3 04:48:12 2001
-@@ -42,10 +42,8 @@
- # If you are getting linker errors about not found X11 functions,
- # change the -L/usr/X11R6/lib to the directory where X11
- # libraries libX11.* and libXext.* are located on your system.
--CC = gcc
--DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM \
-- -DDISK -DNARROW -DSOUND -DBPP16
--CFLAGS = -O3 -I/usr/X11R6/include -L/usr/X11R6/lib ${DEFINES}
-+DEFINES = -DFMSX -DUNIX -DDISK -DNARROW ${DEFS}
-+CFLAGS = -O3 -Wall -fomit-frame-pointer -I${X11BASE}/include ${DEFINES}
- OBJECTS = fMSX.o MSX.o Z80.o AY8910.o YM2413.o SCC.o I8251.o V9938.o \
- Patch.o Debug.o Disk.o Unix.o LibUnix.o SndUnix.o Sound.o
-
-@@ -61,7 +59,11 @@
- # fMSX Unix/X requires X11 libraries. See note above if you are
- # experiencing any problems.
- fmsx: ${OBJECTS}
-- ${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lXext -lX11
-+.if defined(USE_SUN_AUDIO)
-+ ${CC} ${CFLAGS} -o fmsx ${OBJECTS} -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXext -lX11
-+.else
-+ ${CC} ${CFLAGS} -o fmsx ${OBJECTS} -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lossaudio -lXext -lX11
-+.endif
-
- # Clean up.
- clean:
diff --git a/emulators/fmsx/patches/patch-ab b/emulators/fmsx/patches/patch-ab
deleted file mode 100644
index c030c4e6c35..00000000000
--- a/emulators/fmsx/patches/patch-ab
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2001/06/03 17:34:58 kei Exp $
-
---- SndUnix.c.orig Thu Mar 8 04:15:16 2001
-+++ SndUnix.c Sun Jun 3 10:10:59 2001
-@@ -31,7 +31,9 @@
-
- #include <sys/audioio.h>
- #include <sys/conf.h>
-+#ifndef __NetBSD__
- #include <stropts.h>
-+#endif
-
- #define AUDIO_CONV(A) (ULAW[0xFF&(128+(A))])
-
-@@ -236,7 +238,7 @@
- case SIGUSR1:
- /* Suspend execution, until SIGUSR2 catched */
- #ifndef SUN_AUDIO
-- ioctl(SoundFD,SNDCTL_DSP_RESET);
-+ ioctl(SoundFD,SNDCTL_DSP_RESET,1);
- #endif
- close(SoundFD);
- for(Suspended=1;Suspended;pause());
diff --git a/emulators/fmsx/patches/patch-ac b/emulators/fmsx/patches/patch-ac
deleted file mode 100644
index 7fedf04c10b..00000000000
--- a/emulators/fmsx/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2000/08/06 14:45:05 wiz Exp $
-
---- Z80.h.orig Thu Aug 3 18:56:00 2000
-+++ Z80.h Sun Aug 6 15:25:54 2000
-@@ -46,6 +46,15 @@
- #endif
- typedef signed char offset;
-
-+#include <sys/endian.h>
-+#if (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define LSB_FIRST
-+#elif (_BYTE_ORDER == _BIG_ENDIAN)
-+#define MSB_FIRST
-+#else
-+#warn Check if your machine is big endian or not and define as appropriate one.
-+#endif
-+
- /** Structured Datatypes *************************************/
- /** NOTICE: #define LSB_FIRST for machines where least **/
- /** signifcant byte goes first. **/
diff --git a/emulators/fmsx/patches/patch-ad b/emulators/fmsx/patches/patch-ad
deleted file mode 100644
index 5d79e2a000e..00000000000
--- a/emulators/fmsx/patches/patch-ad
+++ /dev/null
@@ -1,180 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2001/06/03 17:34:58 kei Exp $
-
---- MSX.c.orig Mon May 14 07:35:08 2001
-+++ MSX.c Sun Jun 3 04:36:49 2001
-@@ -287,6 +287,7 @@
- byte *P;
- word A;
- FILE *F;
-+ char string[FILENAME_MAX];
-
- /*** STARTUP CODE starts here: ***/
-
-@@ -380,7 +381,7 @@
-
- /* Save current directory and cd to wherever system ROMs are */
- if(ProgDir)
-- if(WorkDir=getcwd(NULL,0))
-+ if((WorkDir=getcwd(NULL,0)))
- {
- Chunks[CCount++]=WorkDir;
- chdir(ProgDir);
-@@ -391,7 +392,10 @@
- {
- case 0:
- if(Verbose) printf(" Opening MSX.ROM...");
-- P=LoadROM("MSX.ROM",0x8000,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSX.ROM");
-+ P=LoadROM(string,0x8000,0);
- PRINTRESULT(P);
- if(!P) return(0);
- MemMap[0][0][0]=P;
-@@ -402,7 +406,10 @@
-
- case 1:
- if(Verbose) printf(" Opening MSX2.ROM...");
-- P=LoadROM("MSX2.ROM",0x8000,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSX2.ROM");
-+ P=LoadROM(string,0x8000,0);
- PRINTRESULT(P);
- if(!P) return(0);
- MemMap[0][0][0]=P;
-@@ -410,7 +417,10 @@
- MemMap[0][0][2]=P+0x4000;
- MemMap[0][0][3]=P+0x6000;
- if(Verbose) printf(" Opening MSX2EXT.ROM...");
-- P=LoadROM("MSX2EXT.ROM",0x4000,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSX2EXT.ROM");
-+ P=LoadROM(string,0x4000,0);
- PRINTRESULT(P);
- if(!P) return(0);
- MemMap[3][1][0]=P;
-@@ -419,7 +429,10 @@
-
- case 2:
- if(Verbose) printf(" Opening MSX2P.ROM...");
-- P=LoadROM("MSX2P.ROM",0x8000,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSX2P.ROM");
-+ P=LoadROM(string,0x8000,0);
- PRINTRESULT(P);
- if(!P) return(0);
- MemMap[0][0][0]=P;
-@@ -427,7 +440,10 @@
- MemMap[0][0][2]=P+0x4000;
- MemMap[0][0][3]=P+0x6000;
- if(Verbose) printf(" Opening MSX2PEXT.ROM...");
-- P=LoadROM("MSX2PEXT.ROM",0x4000,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSX2PEXT.ROM");
-+ P=LoadROM(string,0x4000,0);
- PRINTRESULT(P);
- if(!P) return(0);
- MemMap[3][1][0]=P;
-@@ -436,7 +452,10 @@
- }
-
- /* Try loading DiskROM */
-- if(P=LoadROM("DISK.ROM",0x4000,0))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "DISK.ROM");
-+ if((P=LoadROM(string,0x4000,0)))
- {
- if(Verbose) puts(" Opening DISK.ROM...OK");
- MemMap[3][1][2]=P;
-@@ -469,16 +488,25 @@
- if(Verbose) printf("Loading other ROMs: ");
-
- /* Try loading CMOS memory contents */
-- if(LoadROM("CMOS.ROM",sizeof(RTC),(byte *)RTC))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "CMOS.ROM");
-+ if(LoadROM(string,sizeof(RTC),(byte *)RTC))
- { if(Verbose) printf("CMOS.ROM.."); }
- else memcpy(RTC,RTCInit,sizeof(RTC));
-
- /* Try loading Kanji alphabet ROM */
-- if(Kanji=LoadROM("KANJI.ROM",0x20000,0))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "KANJI.ROM");
-+ if((Kanji=LoadROM(string,0x20000,0)))
- { if(Verbose) printf("KANJI.ROM.."); }
-
- /* Try loading RS232 support ROM */
-- if(P=LoadROM("RS232.ROM..",0x4000,0))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "RS232.ROM");
-+ if((P=LoadROM(string,0x4000,0)))
- {
- if(Verbose) printf("RS232.ROM..");
- MemMap[3][0][2]=P;
-@@ -486,7 +514,10 @@
- }
-
- /* Try loading FM-PAC support ROM */
-- if(P=LoadROM("FMPAC.ROM",0x4000,0))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "FMPAC.ROM");
-+ if((P=LoadROM(string,0x4000,0)))
- {
- if(Verbose) printf("FMPAC.ROM..");
- MemMap[3][3][2]=P;
-@@ -574,7 +605,10 @@
- if(J&&(MemMap[3][1][2]!=EmptyRAM))
- {
- if(J==2) ROMTypeB=1; else ROMTypeA=1;
-- if(LoadCart("MSXDOS2.ROM",J-1))
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "MSXDOS2.ROM");
-+ if(LoadCart(string,J-1))
- SetMegaROM(J-1,0,1,ROMMask[J-1]-1,ROMMask[J-1]);
- }
-
-@@ -584,15 +618,21 @@
- else J=0;
-
- /* Try loading PAINTER ROM if slot found */
-- if(J) LoadCart("PAINTER.ROM",J-1);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, "PAINTER.ROM");
-+ if(J) LoadCart(string,J-1);
- }
-
- /* We are now back to working directory */
- if(WorkDir) chdir(WorkDir);
-
- /* Try loading font */
-- if(Verbose) printf("Loading %s font...",FontName);
-- FontBuf=LoadROM(FontName,0x800,0);
-+ bzero(string, sizeof(string));
-+ strcpy(string, RomDir);
-+ strcat(string, FontName);
-+ if(Verbose) printf("Loading %s font...",string);
-+ FontBuf=LoadROM(string,0x800,0);
- PRINTRESULT(FontBuf);
-
- /* Open stream for a printer */
-@@ -624,7 +664,7 @@
-
- /* Open casette image */
- if(CasName)
-- if(CasStream=fopen(CasName,"r+b"))
-+ if((CasStream=fopen(CasName,"r+b")))
- if(Verbose) printf("Using %s as a tape\n",CasName);
-
- if(Verbose)
diff --git a/emulators/freebsd_lib/DESCR b/emulators/freebsd_lib/DESCR
deleted file mode 100644
index 2ecb64e0282..00000000000
--- a/emulators/freebsd_lib/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-These libraries are part of the FreeBSD compatibility options
-for NetBSD.
-
-The kernel option `COMPAT_FREEBSD' needs to be in your kernel config
-file for this to work as well.
diff --git a/emulators/freebsd_lib/INSTALL b/emulators/freebsd_lib/INSTALL
deleted file mode 100644
index 975aeb7b90e..00000000000
--- a/emulators/freebsd_lib/INSTALL
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-# $NetBSD: INSTALL,v 1.1 2001/10/31 23:52:39 zuntum Exp $
-
-emul=freebsd
-if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
-
-cat <<EOF
-==============================================================================
-
-Do not forget to include COMPAT_FREEBSD in your kernel configuration file.
-(FreeBSD binaries require this option in order to work.)
-Note that FreeBSD ELF binaries are not yet supported with this package.
-EOF
-
-if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /emul/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /emul/$emul.)
- EOF
- else
- mkdir -p /emul
- ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
-fi
-
-cat <<EOF
-
-==============================================================================
-EOF
diff --git a/emulators/freebsd_lib/Makefile b/emulators/freebsd_lib/Makefile
deleted file mode 100644
index 40395ad40e0..00000000000
--- a/emulators/freebsd_lib/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2004/01/20 12:14:40 agc Exp $
-#
-
-DISTNAME= freebsd_lib-2.2.7
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= http://www.flame.org/NetBSD/
-
-MAINTAINER= tech-pkg@NetBSD.org
-COMMENT= Libraries necessary for FreeBSD compatibility, including XFree86
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-
-WRKSRC= ${WRKDIR}
-NO_BUILD= yes
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd
- ${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd/var/run
- (cd ${WRKSRC} && ${FIND} usr -type d -print) | \
- (cd ${PREFIX}/emul/freebsd && ${XARGS} ${INSTALL_DATA_DIR})
- cd ${WRKSRC} && for file in `${FIND} usr -name '*.*' -print`; do \
- ${INSTALL_DATA} $$file ${PREFIX}/emul/freebsd/$$file; \
- done
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
- ${TOUCH} ${PREFIX}/emul/freebsd/var/run/ld.so.hints
-
-show-shlib-type:
- @${ECHO} a.out
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/freebsd_lib/PLIST b/emulators/freebsd_lib/PLIST
deleted file mode 100644
index b7f873fae44..00000000000
--- a/emulators/freebsd_lib/PLIST
+++ /dev/null
@@ -1,64 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2002/09/09 19:03:40 wiz Exp $
-emul/freebsd/usr/lib/compat/libgnumalloc.so.2.0
-emul/freebsd/usr/lib/compat/libresolv.so.2.0
-emul/freebsd/usr/lib/compat/liby.so.2.0
-emul/freebsd/usr/lib/libalias.so.2.4
-emul/freebsd/usr/lib/libc.so.3.1
-emul/freebsd/usr/lib/libcrypt.so.2.0
-emul/freebsd/usr/lib/libcalendar.so.2.0
-emul/freebsd/usr/lib/libcom_err.so.2.0
-emul/freebsd/usr/lib/libcurses.so.2.0
-emul/freebsd/usr/lib/libedit.so.2.0
-emul/freebsd/usr/lib/libf2c.so.2.0
-emul/freebsd/usr/lib/libftpio.so.4.0
-emul/freebsd/usr/lib/libipx.so.2.0
-emul/freebsd/usr/lib/libkvm.so.2.0
-emul/freebsd/usr/lib/libmytinfo.so.2.0
-emul/freebsd/usr/lib/libncurses.so.3.1
-emul/freebsd/usr/lib/libopie.so.2.0
-emul/freebsd/usr/lib/libpcap.so.2.2
-emul/freebsd/usr/lib/librpcsvc.so.2.0
-emul/freebsd/usr/lib/libscsi.so.2.0
-emul/freebsd/usr/lib/libskey.so.2.0
-emul/freebsd/usr/lib/libz.so.2.0
-emul/freebsd/usr/lib/libss.so.2.0
-emul/freebsd/usr/lib/libtermcap.so.2.1
-emul/freebsd/usr/lib/libtermlib.so.2.1
-emul/freebsd/usr/lib/libutil.so.2.2
-emul/freebsd/usr/lib/libvgl.so.1.0
-emul/freebsd/usr/lib/libxpg4.so.2.0
-emul/freebsd/usr/lib/libc_r.so.3.0
-emul/freebsd/usr/lib/libscrypt.so.2.0
-emul/freebsd/usr/lib/libtelnet.so.2.0
-emul/freebsd/usr/lib/libm.so.2.0
-emul/freebsd/usr/lib/libdialog.so.3.0
-emul/freebsd/usr/lib/libg++.so.4.0
-emul/freebsd/usr/lib/libgmp.so.3.0
-emul/freebsd/usr/lib/libmp.so.3.0
-emul/freebsd/usr/lib/libgnuregex.so.2.0
-emul/freebsd/usr/lib/libreadline.so.3.0
-emul/freebsd/usr/lib/libstdc++.so.2.0
-emul/freebsd/usr/libexec/ld.so
-emul/freebsd/usr/X11R6/lib/libICE.so.6.3
-emul/freebsd/usr/X11R6/lib/libPEX5.so.6.0
-emul/freebsd/usr/X11R6/lib/libSM.so.6.0
-emul/freebsd/usr/X11R6/lib/libX11.so.6.1
-emul/freebsd/usr/X11R6/lib/libXIE.so.6.0
-emul/freebsd/usr/X11R6/lib/libXaw.so.6.1
-emul/freebsd/usr/X11R6/lib/libXext.so.6.3
-emul/freebsd/usr/X11R6/lib/libXi.so.6.0
-emul/freebsd/usr/X11R6/lib/libXmu.so.6.0
-emul/freebsd/usr/X11R6/lib/libXp.so.6.2
-emul/freebsd/usr/X11R6/lib/libXt.so.6.0
-emul/freebsd/usr/X11R6/lib/libXtst.so.6.1
-emul/freebsd/usr/X11R6/lib/liboldX.so.6.0
-emul/freebsd/var/run/ld.so.hints
-@dirrm emul/freebsd/var/run
-@dirrm emul/freebsd/var
-@dirrm emul/freebsd/usr/X11R6/lib
-@dirrm emul/freebsd/usr/X11R6
-@dirrm emul/freebsd/usr/libexec
-@dirrm emul/freebsd/usr/lib/compat
-@dirrm emul/freebsd/usr/lib
-@dirrm emul/freebsd/usr
-@dirrm emul/freebsd
diff --git a/emulators/freebsd_lib/distinfo b/emulators/freebsd_lib/distinfo
deleted file mode 100644
index b9ecd4723d3..00000000000
--- a/emulators/freebsd_lib/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (freebsd_lib-2.2.7.tar.gz) = fb62fba4a442303d80df6820fd20592850fc877e
-RMD160 (freebsd_lib-2.2.7.tar.gz) = 32b862c4d6fab0192dbc59dadd382713990283fd
-Size (freebsd_lib-2.2.7.tar.gz) = 1950770 bytes
diff --git a/emulators/fuse-utils/DESCR b/emulators/fuse-utils/DESCR
deleted file mode 100644
index 388cb75a9e5..00000000000
--- a/emulators/fuse-utils/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Fuse is the Free Unix Spectrum Emulator.
-* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy speed on any
-computer you're likely to try it on.
-* Support for loading from .tzx files.
-* Sound (on system supporting the Open Sound System or BSD/Solaris).
-* Kempston joystick emulation.
-* Emulation of the various printer you could attach to the Spectrum.
-* Very basic support for RZX files.
diff --git a/emulators/fuse-utils/Makefile b/emulators/fuse-utils/Makefile
deleted file mode 100644
index 819866c50a2..00000000000
--- a/emulators/fuse-utils/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/06/01 18:02:47 jlam Exp $
-
-DISTNAME= fuse-utils-0.7.0
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
-
-MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://fuse-emulator.sourceforge.net/
-COMMENT= ZX Spectrum Emulator utilities
-
-GNU_CONFIGURE= yes
-
-LIBS+= -lgcrypt
-LIBS+= -lgpg-error
-
-.include "../../emulators/libspectrum/buildlink3.mk"
-.include "../../security/libgcrypt/buildlink3.mk"
-.include "../../security/libgpg-error/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/fuse-utils/PLIST b/emulators/fuse-utils/PLIST
deleted file mode 100644
index 0aefdfd99a9..00000000000
--- a/emulators/fuse-utils/PLIST
+++ /dev/null
@@ -1,22 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/07/20 13:13:55 adam Exp $
-bin/createhdf
-bin/listbasic
-bin/rzxcheck
-bin/rzxdump
-bin/rzxtool
-bin/scl2trd
-bin/snap2tzx
-bin/snapconv
-bin/tapeconv
-bin/tzxlist
-man/man1/createhdf.1
-man/man1/fuse-utils.1
-man/man1/listbasic.1
-man/man1/rzxcheck.1
-man/man1/rzxdump.1
-man/man1/rzxtool.1
-man/man1/scl2trd.1
-man/man1/snap2tzx.1
-man/man1/snapconv.1
-man/man1/tapeconv.1
-man/man1/tzxlist.1
diff --git a/emulators/fuse-utils/distinfo b/emulators/fuse-utils/distinfo
deleted file mode 100644
index 073d806a9ca..00000000000
--- a/emulators/fuse-utils/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (fuse-utils-0.7.0.tar.gz) = 96aad91e1386180af49ddaa8e8b7ab82ef42ca94
-RMD160 (fuse-utils-0.7.0.tar.gz) = eac4ae543ff96f08ddf4b674ccd35f8e63714a03
-Size (fuse-utils-0.7.0.tar.gz) = 304345 bytes
diff --git a/emulators/fuse/DESCR b/emulators/fuse/DESCR
deleted file mode 100644
index 388cb75a9e5..00000000000
--- a/emulators/fuse/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Fuse is the Free Unix Spectrum Emulator.
-* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy speed on any
-computer you're likely to try it on.
-* Support for loading from .tzx files.
-* Sound (on system supporting the Open Sound System or BSD/Solaris).
-* Kempston joystick emulation.
-* Emulation of the various printer you could attach to the Spectrum.
-* Very basic support for RZX files.
diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile
deleted file mode 100644
index 75ff8ff587f..00000000000
--- a/emulators/fuse/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/08/10 20:56:16 jlam Exp $
-
-DISTNAME= fuse-0.7.0
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
-
-MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://fuse-emulator.sourceforge.net/
-COMMENT= ZX Spectrum Emulator
-
-USE_TOOLS+= perl pkg-config
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-gtk2
-LIBS+= ${LIBOSSAUDIO}
-
-.include "../../emulators/libspectrum/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/fuse/PLIST b/emulators/fuse/PLIST
deleted file mode 100644
index b614e203308..00000000000
--- a/emulators/fuse/PLIST
+++ /dev/null
@@ -1,43 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/07/20 13:12:15 adam Exp $
-bin/fuse
-man/man1/fuse.1
-share/fuse/128-0.rom
-share/fuse/128-1.rom
-share/fuse/128p-0.rom
-share/fuse/128p-1.rom
-share/fuse/256s-0.rom
-share/fuse/256s-1.rom
-share/fuse/256s-2.rom
-share/fuse/256s-3.rom
-share/fuse/48.rom
-share/fuse/cassette.bmp
-share/fuse/disk_plus3.z80
-share/fuse/keyboard.scr
-share/fuse/plus2-0.rom
-share/fuse/plus2-1.rom
-share/fuse/plus3-0.rom
-share/fuse/plus3-1.rom
-share/fuse/plus3-2.rom
-share/fuse/plus3-3.rom
-share/fuse/plus3e-0.rom
-share/fuse/plus3e-1.rom
-share/fuse/plus3e-2.rom
-share/fuse/plus3e-3.rom
-share/fuse/plus3disk.bmp
-share/fuse/se-0.rom
-share/fuse/se-1.rom
-share/fuse/tape_128.z80
-share/fuse/tape_16.z80
-share/fuse/tape_2048.z80
-share/fuse/tape_2068.z80
-share/fuse/tape_48.z80
-share/fuse/tape_pentagon.z80
-share/fuse/tape_plus2.z80
-share/fuse/tape_plus2a.z80
-share/fuse/tape_plus3.z80
-share/fuse/tape_scorpion.z80
-share/fuse/tc2048.rom
-share/fuse/tc2068-0.rom
-share/fuse/tc2068-1.rom
-share/fuse/trdos.rom
-@dirrm share/fuse
diff --git a/emulators/fuse/distinfo b/emulators/fuse/distinfo
deleted file mode 100644
index c80cabe7fde..00000000000
--- a/emulators/fuse/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (fuse-0.7.0.tar.gz) = 36e0485183bd1bbfc9140b8ebb9f0a4bf197ffe6
-RMD160 (fuse-0.7.0.tar.gz) = 38abec9f44677f0f5b86b99bc0127a62cc7fb9cf
-Size (fuse-0.7.0.tar.gz) = 872031 bytes
-SHA1 (patch-aa) = d6c728522c4947137164bc84e77687f2b6ea06cf
-SHA1 (patch-ab) = 992f113337409db20c8ba35f3d5c7dcaeb7af17f
diff --git a/emulators/fuse/patches/patch-aa b/emulators/fuse/patches/patch-aa
deleted file mode 100644
index 21777faf4e1..00000000000
--- a/emulators/fuse/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/07/20 13:12:16 adam Exp $
-
---- sound/osssound.c.orig 2004-07-20 14:50:41.000000000 +0000
-+++ sound/osssound.c
-@@ -56,7 +56,7 @@ int sound_lowlevel_init(const char *devi
- int frag,tmp,flags;
-
- /* select a default device if we weren't explicitly given one */
--if(device==NULL) device = "/dev/dsp";
-+if(device==NULL) device = DEVOSSAUDIO;
-
- /* Open the sound device non-blocking to avoid hangs if it is being
- * used by something else, but then set it blocking again as that's what
diff --git a/emulators/fuse/patches/patch-ab b/emulators/fuse/patches/patch-ab
deleted file mode 100644
index 6111921b9bd..00000000000
--- a/emulators/fuse/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/07/20 13:13:08 adam Exp $
-
---- sound/Makefile.in.orig 2004-07-20 14:55:16.000000000 +0000
-+++ sound/Makefile.in
-@@ -110,7 +110,7 @@ LIBRARIES = $(noinst_LIBRARIES)
-
-
- DEFS = @DEFS@ -I. -I$(srcdir) -I..
--CPPFLAGS = @CPPFLAGS@
-+CPPFLAGS = @CPPFLAGS@ -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\"
- LDFLAGS = @LDFLAGS@
- LIBS = @LIBS@
- X_CFLAGS = @X_CFLAGS@
diff --git a/emulators/gcube/DESCR b/emulators/gcube/DESCR
deleted file mode 100644
index d68cfb7c412..00000000000
--- a/emulators/gcube/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Gcube is an open source Nintendo GameCube(TM) emulator beeing developed
-by monk with the main purpose of running at least one commercial game
-fully emulated.
diff --git a/emulators/gcube/Makefile b/emulators/gcube/Makefile
deleted file mode 100644
index 43c5cf291b6..00000000000
--- a/emulators/gcube/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2005/06/01 18:02:47 jlam Exp $
-#
-
-DISTNAME= gcube-v0.2-src
-PKGNAME= gcube-0.2
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://gcube.exemu.net/downloads/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://gcube.exemu.net/
-COMMENT= Opensource Nintendo GameCube(TM) emulator
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-USE_TOOLS+= gmake
-WRKSRC= ${WRKDIR}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(MACHINE_ARCH:Mi386)
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-CFLAGS+= -DASM_X86=1
-.endif
-
-INSTALLATION_DIRS= share/doc/${PKGBASE} bin
-
-do-install:
-.for prog in isopack gcube bin2dol gcmap tplx
- ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin
-.endfor
-.for f in README ChangeLog COPYING
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
-.endfor
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gcube/PLIST b/emulators/gcube/PLIST
deleted file mode 100644
index 0fdd3504144..00000000000
--- a/emulators/gcube/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $
-bin/bin2dol
-bin/gcmap
-bin/gcube
-bin/isopack
-bin/tplx
-share/doc/gcube/COPYING
-share/doc/gcube/ChangeLog
-share/doc/gcube/README
-@dirrm share/doc/gcube
diff --git a/emulators/gcube/distinfo b/emulators/gcube/distinfo
deleted file mode 100644
index e88f27732c3..00000000000
--- a/emulators/gcube/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (gcube-v0.2-src.tar.bz2) = 0681f1bf3f64208616984a5352d9ebeaff5ed8c6
-RMD160 (gcube-v0.2-src.tar.bz2) = 92e7c7a4f985413951ca5d4e60674282a3bb43ff
-Size (gcube-v0.2-src.tar.bz2) = 297817 bytes
-SHA1 (patch-aa) = 1bb0e7b6429bc0df0694bf9cbd7b41975f727f73
-SHA1 (patch-ab) = 119d81c03a38bfc76a9fe063e6cb347b8fddd60d
diff --git a/emulators/gcube/patches/patch-aa b/emulators/gcube/patches/patch-aa
deleted file mode 100644
index f0187f659aa..00000000000
--- a/emulators/gcube/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $
-
---- Makefile.rules.orig 2004-07-16 14:47:19.000000000 +0200
-+++ Makefile.rules 2004-07-16 14:48:09.000000000 +0200
-@@ -1,10 +1,10 @@
-
- SDL_CONFIG=sdl-config
--LIBS=-lSDL -lz -l$(OPENGL)
-+LIBS=-lSDL -lz -l$(OPENGL) $(LDFLAGS)
-
--CFLAGS=-g -Wall
--PROFLAGS=-g -Wall -pg -fprofile-arcs -ftest-coverage
--OPTFLAGS=-O3 -fno-strict-aliasing -fomit-frame-pointer -ffast-math -march=$(CPU) $(OPTIMIZE)
-+#CFLAGS=-g -Wall
-+#PROFLAGS=-g -Wall -pg -fprofile-arcs -ftest-coverage
-+OPTFLAGS=-fno-strict-aliasing -fomit-frame-pointer -ffast-math
-
- OBJECTS=\
- ppc_disasm.o\
diff --git a/emulators/gcube/patches/patch-ab b/emulators/gcube/patches/patch-ab
deleted file mode 100644
index 68f1761a2bf..00000000000
--- a/emulators/gcube/patches/patch-ab
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $
-
---- Makefile.orig 2004-07-16 14:57:16.000000000 +0200
-+++ Makefile 2004-07-16 14:57:30.000000000 +0200
-@@ -1,8 +1,8 @@
- # use assembler optimizations
--ASM_X86=1
-+#ASM_X86=1
-
- # use debugger: 1 - by default, 2 - compile in but don't use by default
--GDEBUG=2
-+#GDEBUG=2
-
- # by default, no window will open until fb address is set
- # or video mode is specified. some programs might not reach that stage.
-@@ -18,7 +18,7 @@
- MEMHACK=0
-
- # specify the cpu used (for -march, check gcc manual)
--CPU=i686
-+#CPU=i686
- #CPU=athlon-xp
-
- # add here optimization flags
-@@ -28,7 +28,7 @@
- OPENGL=GL
-
- # compilator
--CC=gcc
-+#CC=gcc
-
- # if byteswap.h is present
- USE_BYTESWAP_H=1
diff --git a/emulators/generator-cbiere/DESCR b/emulators/generator-cbiere/DESCR
deleted file mode 100644
index 20cfe9f1d11..00000000000
--- a/emulators/generator-cbiere/DESCR
+++ /dev/null
@@ -1,20 +0,0 @@
-This is a modified version of Generator by James Ponder based on
-version 0.35 and maintained by Christian Biere.
-
-Additional features
-
- * Support for BZIP2, GZIP and ZIP compressed ROMs i.e., no more
- manual decompression or wasted disk space. Yay!
- * Support for X11's XVideo hardware acceleration by SDL for
- faster and smoother graphics.
- * Fullscreen support with or without the classic color frame.
- * SDL audio support (in favour of OSS Audio) which means you can
- use ESound and others for sharing the sound device among other
- applications.
- * Optional mute playing i.e., if you don't have a soundcard or
- the soundcard is busy you can still play.
- * Support for 48kHz sample rate (needs driver support).
- * Automagic CPU usage reduction which is especially cool for
- notebooks. The unpatched Generator uses more or less as much CPU
- as it can get even if needs far less than 10% on any modern system.
- * Working support for Game Genie codes.
diff --git a/emulators/generator-cbiere/Makefile b/emulators/generator-cbiere/Makefile
deleted file mode 100644
index b4979042136..00000000000
--- a/emulators/generator-cbiere/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/10/02 22:06:06 wiz Exp $
-#
-
-DISTNAME= generator-0.35-cbiere-r2
-PKGNAME= generator-cbiere-0.35r2
-CATEGORIES= emulators
-MASTER_SITES= http://www.ghostwhitecrab.de/generator/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.ghostwhitecrab.de/generator/
-COMMENT= Sega Mega drive genesis emulator (Improved)
-
-GNU_CONFIGURE= yes
-
-.if (${MACHINE_ARCH} == "i386")
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+= --with-gtk --with-raze
-.else
-CONFIGURE_ARGS+= --with-gtk --with-cmz80
-.endif
-
-CONFIGURE_ARGS+= --with-sdl-audio
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+= -DBYTES_HIGHFIRST
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/main/generator-gtk \
- ${PREFIX}/bin/generator-cbiere-gtk
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/generator-cbiere/PLIST b/emulators/generator-cbiere/PLIST
deleted file mode 100644
index fd1f6660679..00000000000
--- a/emulators/generator-cbiere/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/30 11:06:58 xtraeme Exp $
-bin/generator-cbiere-gtk
diff --git a/emulators/generator-cbiere/distinfo b/emulators/generator-cbiere/distinfo
deleted file mode 100644
index 6cd7d03aac7..00000000000
--- a/emulators/generator-cbiere/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/10/02 22:06:06 wiz Exp $
-
-SHA1 (generator-0.35-cbiere-r2.tar.bz2) = bb329925298ef7a087601e61f570af8d4e615915
-RMD160 (generator-0.35-cbiere-r2.tar.bz2) = 394145e32f3bf61ac4ed5fa21d2873978c5bd341
-Size (generator-0.35-cbiere-r2.tar.bz2) = 446101 bytes
diff --git a/emulators/generator/DESCR b/emulators/generator/DESCR
deleted file mode 100644
index 7d4dc2f6e2b..00000000000
--- a/emulators/generator/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
-Generator is an open source emulator designed to emulate the Sega
-Genesis / Mega Drive console, a popular games machine produced in the
-early 1990s. It is a portable program written in C and has been
-ported to the Amiga, Macintosh, Windows and even pocket PCs such as
-the iPAQ and Cassiopeia. Natively it compiles under unix for X
-Windows with either tcl/tk or gtk/SDL, for svgalib and even
-cross-compiles to DOS with djgpp/allegro.
-
-Generator uses its own custom 68000 processor emulation which is
-designed for dynamic recompilation, and uses techniques from this such
-as block-marking, flag calculation removal, operand pre-calculation,
-endian pre-conversion etc. There are approximately 1600 C routines
-generated by the first stage of compilation to cope with the 67
-instruction families. These routines are used as a 'backup' when
-dynamic recompilation isn't supported on your platform or the
-recompiler doesn't support a particular instruction. The CPU engine
-is by all accounts very fast, whatever the mode.
-
-There is a 'test' recompiler written for the ARM processor, but it is
-no longer supported. If someone with assembler knowledge wants to put
-the effort into writing a recompiling back-end for a processor (and it
-really is major effort), let me know - particularly if you know i386.
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
deleted file mode 100644
index 70638d25999..00000000000
--- a/emulators/generator/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/06/01 18:02:47 jlam Exp $
-#
-
-DISTNAME= generator-0.35
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= http://www.squish.net/generator/files/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.squish.net/generator/
-COMMENT= Sega Mega drive genesis emulator
-
-GNU_CONFIGURE= yes
-
-.if (${MACHINE_ARCH} == "i386")
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+= --with-gtk --with-raze
-.else
-CONFIGURE_ARGS+= --with-gtk --with-cmz80
-.endif
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+= -DBYTES_HIGHFIRST
-.endif
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/generator/PLIST b/emulators/generator/PLIST
deleted file mode 100644
index 2125ec7ad69..00000000000
--- a/emulators/generator/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/09 19:08:39 agc Exp $
-bin/generator-gtk
diff --git a/emulators/generator/distinfo b/emulators/generator/distinfo
deleted file mode 100644
index af60595b3bc..00000000000
--- a/emulators/generator/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/04/02 22:23:53 kristerw Exp $
-
-SHA1 (generator-0.35.tar.gz) = a61138579efd97028d3a69c54c3c6fcd0a3d74ab
-RMD160 (generator-0.35.tar.gz) = 6b448018b8ed0fd9755ddb850f48892304d12e78
-Size (generator-0.35.tar.gz) = 469541 bytes
-SHA1 (patch-aa) = 5b971a07345bbd8e3d86284127829df5f4f5a541
-SHA1 (patch-ab) = 487620ee83fc17119ad6b8ab3e9a19a1401a5c02
-SHA1 (patch-ac) = 7467437c39f7df56a261a330d8f021c0d9c0381b
-SHA1 (patch-ae) = 4e689421fe66aa7f635191e9f0100cd98daf8a76
-SHA1 (patch-af) = ef1c72b6da1ae93209a13b6836d5a85f66ffa51c
diff --git a/emulators/generator/patches/patch-aa b/emulators/generator/patches/patch-aa
deleted file mode 100644
index 50d9b2de140..00000000000
--- a/emulators/generator/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- hdr/registers.h.orig Sat Apr 2 23:59:51 2005
-+++ hdr/registers.h Sun Apr 3 00:05:50 2005
-@@ -13,7 +13,7 @@
- register uint32 *reg68k_regs asm ("6");
- register t_sr reg68k_sr asm ("7");
- # else
--# ifdef PROCESSOR_INTEL
-+# if defined (PROCESSOR_INTEL) && (__GNUC__ > 2)
- register uint32 reg68k_pc asm ("%ebx");
- register uint32 *reg68k_regs asm ("%edi");
- register t_sr reg68k_sr asm ("%esi");
diff --git a/emulators/generator/patches/patch-ab b/emulators/generator/patches/patch-ab
deleted file mode 100644
index fdb745646bd..00000000000
--- a/emulators/generator/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- main/reg68k.c.orig Sun Apr 3 00:02:45 2005
-+++ main/reg68k.c Sun Apr 3 00:04:24 2005
-@@ -21,7 +21,8 @@
- /*** global variables ***/
-
- #if (!(defined(PROCESSOR_ARM) || defined(PROCESSOR_SPARC) \
-- || defined(PROCESSOR_INTEL)))
-+ || defined(PROCESSOR_INTEL))) \
-+ || (defined(PROCESSOR_INTEL) && (__GNUC__ <= 2))
- uint32 reg68k_pc;
- uint32 *reg68k_regs;
- t_sr reg68k_sr;
diff --git a/emulators/generator/patches/patch-ac b/emulators/generator/patches/patch-ac
deleted file mode 100644
index fe74976e436..00000000000
--- a/emulators/generator/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- configure.orig 2005-02-01 00:40:15.000000000 +0100
-+++ configure 2005-02-01 00:40:29.000000000 +0100
-@@ -1919,15 +1919,6 @@
- echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
- CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
- fi
-- case $target_cpu in
-- i?86) echo "$as_me:$LINENO: result: Turning on pentium optimisations" >&5
--echo "${ECHO_T}Turning on pentium optimisations" >&6
-- # cannot do malign-double as we link to other libraries and it
-- # would break binary compatibility
-- CFLAGS="$CFLAGS -march=pentium -malign-loops=5"
-- CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
-- ;;
-- esac
- else
- { echo "$as_me:$LINENO: WARNING: You did not opt for gcc optimisations!" >&5
- echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
diff --git a/emulators/generator/patches/patch-ae b/emulators/generator/patches/patch-ae
deleted file mode 100644
index 16573fb052a..00000000000
--- a/emulators/generator/patches/patch-ae
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- hdr/generator.h.orig 2003-05-04 20:50:43.000000000 +0200
-+++ hdr/generator.h 2005-02-01 00:46:44.000000000 +0100
-@@ -21,6 +21,11 @@
- #include <machine/endian.h>
- #define SWAP16(x) bswap_16((x))
- #define SWAP32(x) bswap_32((x))
-+#elif defined(__NetBSD__)
-+ #include <sys/types.h>
-+ #include <machine/endian.h>
-+ #define SWAP16(x) bswap16((x))
-+ #define SWAP32(x) bswap32((x))
- #else
- #define SWAP16(y) (( ((y)>>8) & 0x00ff) | (( ((y)<<8) & 0xff00)))
- #define SWAP32(y) (( ((y)>>24) & 0x000000ff) | \
-@@ -221,11 +226,11 @@
- # define LOG_DEBUG3(x) /* ui_log_debug3 ## x */
- # define LOG_DEBUG2(x) /* ui_log_debug2 ## x */
- # define LOG_DEBUG1(x) /* ui_log_debug1 ## x */
--# define LOG_USER(x) ui_log_user ## x
--# define LOG_VERBOSE(x) ui_log_verbose ## x
--# define LOG_NORMAL(x) ui_log_normal ## x
--# define LOG_CRITICAL(x) ui_log_critical ## x
--# define LOG_REQUEST(x) ui_log_request ## x
-+# define LOG_USER(x) ui_log_user x
-+# define LOG_VERBOSE(x) ui_log_verbose x
-+# define LOG_NORMAL(x) ui_log_normal x
-+# define LOG_CRITICAL(x) ui_log_critical x
-+# define LOG_REQUEST(x) ui_log_request x
- #endif
-
- typedef struct {
diff --git a/emulators/generator/patches/patch-af b/emulators/generator/patches/patch-af
deleted file mode 100644
index 44176e03bff..00000000000
--- a/emulators/generator/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/02/13 23:41:28 kristerw Exp $
-
---- main/ui-gtk.c.orig 2004-02-14 00:30:00.000000000 +0100
-+++ main/ui-gtk.c 2004-02-14 00:30:20.000000000 +0100
-@@ -626,7 +626,7 @@
- /* logging is done this way because this was the best I could come up with
- whilst battling with macros that can only take fixed numbers of arguments */
-
--#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
-+#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
- { \
- va_list ap; \
- if (gen_loglevel >= level) { \
diff --git a/emulators/gens/DESCR b/emulators/gens/DESCR
deleted file mode 100644
index c2954770d5d..00000000000
--- a/emulators/gens/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Gens is an emulator of Sega's 16 bit consoles: Genesis (a.k.a
-Megadrive) and Sega CD (a.k.a Mega CD). For Sega CD, you will need
-BIOS ROM images.
diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile
deleted file mode 100644
index 8a56b156a74..00000000000
--- a/emulators/gens/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/05/22 20:07:57 jlam Exp $
-#
-
-DISTNAME= gens-rc3
-PKGNAME= gens-2.12rc3
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gens/}
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://gens.consolemul.com/
-COMMENT= Sega Genesis emulator with Sega CD support
-
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-
-# contains i386 assembler sources
-ONLY_FOR_PLATFORM= *-i386
-
-WRKSRC= ${WRKDIR}/GensForLinux
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gens
- ${INSTALL_DATA} ${WRKSRC}/gens.txt ${PREFIX}/share/doc/gens
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gens/PLIST b/emulators/gens/PLIST
deleted file mode 100644
index cccd4417336..00000000000
--- a/emulators/gens/PLIST
+++ /dev/null
@@ -1,39 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/26 18:23:22 dillo Exp $
-bin/gens
-share/doc/gens/gens.txt
-share/gens/Gens2.ico
-share/gens/bitmap1.png
-share/gens/bmp00000.png
-share/gens/bmp00001.png
-share/gens/bmp00002.png
-share/gens/bmp00003.png
-share/gens/bmp00004.png
-share/gens/bmp00005.png
-share/gens/bmp00006.png
-share/gens/gens.ico
-share/gens/gens_big.bmp
-share/gens/gens_small.png
-share/gens/sonic.ico
-share/gens/sonic2.ico
-share/gens/file_text.png
-share/gens/2rightarrow.png
-share/gens/Modem.png
-share/gens/binary.png
-share/gens/cdrom2_unmount.png
-share/gens/editcopy.png
-share/gens/filleclose.png
-share/gens/folder_slin_open.png
-share/gens/history.png
-share/gens/kmix.png
-share/gens/ksysguard.png
-share/gens/memory.png
-share/gens/package_games.png
-share/gens/package_settings.png
-share/gens/password.png
-share/gens/reload.png
-share/gens/resource.png
-share/gens/viewmag.png
-share/gens/viewmag1.png
-share/gens/xpaint.png
-@dirrm share/gens
-@dirrm share/doc/gens
diff --git a/emulators/gens/distinfo b/emulators/gens/distinfo
deleted file mode 100644
index e6bdbbeb282..00000000000
--- a/emulators/gens/distinfo
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (gens-rc3.tar.gz) = 6057564665007686c9ea8df364be3220499f9917
-RMD160 (gens-rc3.tar.gz) = d2a36a5bdca8948b12624cba15dab0c5b527a688
-Size (gens-rc3.tar.gz) = 658729 bytes
-SHA1 (patch-aa) = e6a4768963e9da1799b80e775f0637eb07b2ca5c
-SHA1 (patch-ab) = dd38b7ebcbadc0a3881397916c2444d4a2ac2e35
-SHA1 (patch-ac) = 7c3f17c59727365ff4cf11d1a5d1c3da19943872
-SHA1 (patch-ad) = dae2ad294272f18067a640d88286ddfeb7775aaf
-SHA1 (patch-ae) = 6902f4e2abd38b2dcd946309c1321a95c3ded2b4
-SHA1 (patch-af) = 6e641ec6c0ae7fad6997ce70b48d417e2ec7dfd7
-SHA1 (patch-ag) = a80a828b716e3b7e342fb52c583e18305be8c627
-SHA1 (patch-ah) = e8a6264b351c4a7fb3fb1bd4dd5a482dcef763ae
-SHA1 (patch-ai) = 596fe718e5c38091a06198413bcf29b3c668571f
-SHA1 (patch-aj) = e550c0708e664b9138d5310cb7aeee6917919c89
-SHA1 (patch-ak) = fbf85318880857783cd98348af627b7c6e444382
-SHA1 (patch-am) = 3e49691329cdfaf60f89136d104ec5e87cd6e255
-SHA1 (patch-an) = 94a6a857238edbf3db0daea59400f5b13fc1ed2f
-SHA1 (patch-ao) = 04bbf581f156cf3f9f119295a00071f29c2b1ab7
-SHA1 (patch-ap) = 634fa5f851b06f09c0a511c65278c002944c29d4
-SHA1 (patch-aq) = af968fb3ce22aa147ac4b47d0739db45977eacf8
-SHA1 (patch-ar) = c97b6dfd255ca64f7a5efc02e2f6b0f4b39706ec
-SHA1 (patch-as) = ed6586473668f0226862741ae09bad16278a280b
-SHA1 (patch-at) = 37c78682d91516e0c757993ee29b61437f8e3496
-SHA1 (patch-au) = daae4256b95012356ae0cc4a7fde3509bb7f5964
-SHA1 (patch-av) = 7d6ccfae4f81ed89295a3b8f8aea751bca111600
diff --git a/emulators/gens/patches/patch-aa b/emulators/gens/patches/patch-aa
deleted file mode 100644
index bd6e38608ee..00000000000
--- a/emulators/gens/patches/patch-aa
+++ /dev/null
@@ -1,73 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/Makefile.in.orig 2004-05-19 22:48:47.000000000 +0200
-+++ src/gens/Makefile.in
-@@ -199,6 +199,8 @@ gens_SOURCES = \
- util/gym.h \
- util/scrshot.c \
- util/scrshot.h \
-+ util/chd.c \
-+ util/chd.h \
- util/unzip.c \
- util/unzip.h \
- util/wave.c \
-@@ -284,6 +286,7 @@ am_gens_OBJECTS = gens_core/cpu/68k/gens
- sdllayer/gens-g_sdlsound.$(OBJEXT) util/gens-rom.$(OBJEXT) \
- util/gens-save.$(OBJEXT) util/gens-ggenie.$(OBJEXT) \
- util/gens-gym.$(OBJEXT) util/gens-scrshot.$(OBJEXT) \
-+ util/gens-chd.$(OBJEXT) \
- util/gens-unzip.$(OBJEXT) util/gens-wave.$(OBJEXT) \
- port/gens-port.$(OBJEXT) port/gens-timer.$(OBJEXT) \
- emulator/gens-ui_proxy.$(OBJEXT) emulator/gens-g_main.$(OBJEXT) \
-@@ -343,6 +346,7 @@ depcomp = $(SHELL) $(top_srcdir)/depcomp
- @AMDEP_TRUE@ $(DEPDIR)/util/gens-rom.Po \
- @AMDEP_TRUE@ $(DEPDIR)/util/gens-save.Po \
- @AMDEP_TRUE@ $(DEPDIR)/util/gens-scrshot.Po \
-+@AMDEP_TRUE@ $(DEPDIR)/util/gens-chd.Po \
- @AMDEP_TRUE@ $(DEPDIR)/util/gens-unzip.Po \
- @AMDEP_TRUE@ $(DEPDIR)/util/gens-wave.Po
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-@@ -502,6 +506,8 @@ util/gens-gym.$(OBJEXT): util/gym.c util
- $(DEPDIR)/util/.dirstamp
- util/gens-scrshot.$(OBJEXT): util/scrshot.c util/.dirstamp \
- $(DEPDIR)/util/.dirstamp
-+util/gens-chd.$(OBJEXT): util/chd.c util/.dirstamp \
-+ $(DEPDIR)/util/.dirstamp
- util/gens-unzip.$(OBJEXT): util/unzip.c util/.dirstamp \
- $(DEPDIR)/util/.dirstamp
- util/gens-wave.$(OBJEXT): util/wave.c util/.dirstamp \
-@@ -609,6 +615,7 @@ mostlyclean-compile:
- -rm -f util/gens-rom.$(OBJEXT)
- -rm -f util/gens-save.$(OBJEXT)
- -rm -f util/gens-scrshot.$(OBJEXT)
-+ -rm -f util/gens-chd.$(OBJEXT)
- -rm -f util/gens-unzip.$(OBJEXT)
- -rm -f util/gens-wave.$(OBJEXT)
-
-@@ -684,6 +691,7 @@ distclean-compile:
- @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-rom.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-save.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-scrshot.Po@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-chd.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-unzip.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-wave.Po@am__quote@
-
-@@ -1038,6 +1046,18 @@ util/gens-scrshot.obj: util/scrshot.c
- @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-scrshot.obj `cygpath -w util/scrshot.c`
-
-+util/gens-chd.o: util/chd.c
-+@AMDEP_TRUE@ source='util/chd.c' object='util/gens-chd.o' libtool=no @AMDEPBACKSLASH@
-+@AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-chd.Po' tmpdepfile='$(DEPDIR)/util/gens-chd.TPo' @AMDEPBACKSLASH@
-+@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-chd.o `test -f util/chd.c || echo '$(srcdir)/'`util/chd.c
-+
-+util/gens-chd.obj: util/chd.c
-+@AMDEP_TRUE@ source='util/chd.c' object='util/gens-chd.obj' libtool=no @AMDEPBACKSLASH@
-+@AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-chd.Po' tmpdepfile='$(DEPDIR)/util/gens-chd.TPo' @AMDEPBACKSLASH@
-+@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-chd.obj `cygpath -w util/chd.c`
-+
- util/gens-unzip.o: util/unzip.c
- @AMDEP_TRUE@ source='util/unzip.c' object='util/gens-unzip.o' libtool=no @AMDEPBACKSLASH@
- @AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-unzip.Po' tmpdepfile='$(DEPDIR)/util/gens-unzip.TPo' @AMDEPBACKSLASH@
diff --git a/emulators/gens/patches/patch-ab b/emulators/gens/patches/patch-ab
deleted file mode 100644
index 5e87d56e5a4..00000000000
--- a/emulators/gens/patches/patch-ab
+++ /dev/null
@@ -1,90 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/gtkui/support.c.orig 2004-05-18 20:04:29.000000000 +0200
-+++ src/gens/gtkui/support.c
-@@ -247,6 +247,7 @@ void
- sync_gens_ui ()
- {
- GtkWidget *vsync, *stretch, *sprite_limit, *perfect_synchro;
-+ GtkWidget *play_movie;
- GtkWidget *sram_size_0;
- GtkWidget *sram_size[4];
-
-@@ -277,6 +278,7 @@ sync_gens_ui ()
- stretch = lookup_widget (gens_window, "stretch");
- sprite_limit = lookup_widget (gens_window, "sprite_limit");
- perfect_synchro = lookup_widget (gens_window, "perfect_synchro");
-+ play_movie = lookup_widget(gens_window, "play_movie");
-
- sram_size_0 = lookup_widget (gens_window, "none");
- sram_size[0] = lookup_widget (gens_window, "_8_kb");
-@@ -393,6 +395,8 @@ sync_gens_ui ()
- Sprite_Over);
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (perfect_synchro),
- SegaCD_Accurate);
-+ gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (play_movie),
-+ MoviePlaying);
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (enable_sound),
- Sound_Enable);
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (stereo),
-@@ -781,14 +785,16 @@ addIsoFilter(GtkWidget* widget)
- {
- GtkFileFilter* filter;
- // "SegaCD image file\0*.bin;*.iso;*.raw\0All files\0*.*\0\0"
-- const char* bin = "*.[bb][iI][nN]";
-+ const char* bin = "*.[bB][iI][nN]";
- const char* iso = "*.[iI][sS][oO]";
-+ const char* chd = "*.[cC][hH][dD]";
- const char* raw = "*.[rR][aA][wW]";
-
- filter = gtk_file_filter_new ();
- gtk_file_filter_set_name (filter, "SegaCD image file");
- gtk_file_filter_add_pattern (filter, bin);
- gtk_file_filter_add_pattern (filter, iso);
-+ gtk_file_filter_add_pattern (filter, chd);
- gtk_file_filter_add_pattern (filter, raw);
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
- }
-@@ -803,6 +809,7 @@ addRomsFilter(GtkWidget* widget)
- const char* gen = "*.[gG][eE][nN]";
- const char* _32x = "*.32[xX]";
- const char* iso = "*.[iI][sS][oO]";
-+ const char* chd = "*.[cC][hH][dD]";
- const char* raw = "*.[rR][aA][wW]";
- const char* zip = "*.[zZ][iI][pP]";
- const char* gz ="*.[gG][zZ]";
-@@ -816,6 +823,7 @@ addRomsFilter(GtkWidget* widget)
- gtk_file_filter_add_pattern (filter, gen);
- gtk_file_filter_add_pattern (filter, _32x);
- gtk_file_filter_add_pattern (filter, iso);
-+ gtk_file_filter_add_pattern (filter, chd);
- gtk_file_filter_add_pattern (filter, raw);
- gtk_file_filter_add_pattern (filter, zip);
- gtk_file_filter_add_pattern (filter, gz);
-@@ -842,6 +850,7 @@ addRomsFilter(GtkWidget* widget)
- filter = gtk_file_filter_new ();
- gtk_file_filter_set_name (filter, "SegaCD image");
- gtk_file_filter_add_pattern (filter, iso);
-+ gtk_file_filter_add_pattern (filter, chd);
- gtk_file_filter_add_pattern (filter, raw);
- gtk_file_filter_add_pattern (filter, bin);
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
-@@ -852,6 +861,18 @@ addRomsFilter(GtkWidget* widget)
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
- }
-
-+void
-+addGmvFilter(GtkWidget* widget)
-+{
-+ GtkFileFilter* filter;
-+ const char* gmv = "*.[gG][mM][vV]";
-+
-+ filter = gtk_file_filter_new ();
-+ gtk_file_filter_set_name (filter, "gens movie file");
-+ gtk_file_filter_add_pattern (filter, gmv);
-+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
-+}
-+
- GtkWidget*
- create_file_chooser_dialog(const char* title, GtkFileChooserAction action)
- {
diff --git a/emulators/gens/patches/patch-ac b/emulators/gens/patches/patch-ac
deleted file mode 100644
index 355c7699f9b..00000000000
--- a/emulators/gens/patches/patch-ac
+++ /dev/null
@@ -1,118 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/segacd/cd_aspi.c.orig 2004-05-18 22:34:00.000000000 +0200
-+++ src/gens/segacd/cd_aspi.c
-@@ -8,6 +8,8 @@
- #include "cd_aspi.h"
- #include "mem_s68k.h"
-
-+#ifdef linux
-+
- #define HIBYTE(x) x >> 8
- #define LOBYTE(x) x & 0xff
- void Sleep (int i);
-@@ -2878,3 +2880,104 @@ Fill_SCD_TOC_Zero (void)
-
- CD_Present = 0;
- }
-+
-+#else
-+
-+int CUR_DEV;
-+int Num_CD_Drive;
-+
-+int
-+ASPI_Close_Tray_CDD_cC_COMP (SRB_ExecSCSICmd * s)
-+{
-+ return -1;
-+}
-+
-+int
-+ASPI_End (void)
-+{
-+ return 1;
-+}
-+
-+int
-+ASPI_Fast_Seek_COMP (SRB_ExecSCSICmd * s)
-+{
-+ return 0;
-+}
-+
-+void
-+ASPI_Flush_Cache_CDC (void)
-+{
-+ return;
-+}
-+
-+int
-+ASPI_Init (void)
-+{
-+ Num_CD_Drive = 0;
-+ return 0;
-+}
-+
-+int
-+ASPI_Lock (int flock)
-+{
-+ return 5;
-+}
-+
-+int
-+ASPI_Open_Tray_CDD_cD_COMP (SRB_ExecSCSICmd * s)
-+{
-+ return -1;
-+}
-+
-+void
-+ASPI_Read_One_LBA_CDC (void)
-+{
-+ return;
-+}
-+
-+void
-+ASPI_Reset_Drive (char *buf)
-+{
-+ return;
-+}
-+
-+int
-+ASPI_Seek (int pos, int async,
-+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *))
-+{
-+ return 5;
-+}
-+
-+int
-+ASPI_Seek_CDD_c4_COMP (SRB_ExecSCSICmd * s)
-+{
-+ return -1;
-+}
-+
-+int
-+ASPI_Star_Stop_Unit (int op, int imm, int async,
-+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *))
-+{
-+ return 5;
-+}
-+
-+int
-+ASPI_Stop_CDD_c1_COMP (SRB_ExecSCSICmd * s)
-+{
-+ return 0;
-+}
-+
-+int
-+ASPI_Stop_Play_Scan (int async,
-+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *))
-+{
-+ return 5;
-+}
-+
-+void
-+Wait_Read_Complete (void)
-+{
-+ return;
-+}
-+
-+#endif
diff --git a/emulators/gens/patches/patch-ad b/emulators/gens/patches/patch-ad
deleted file mode 100644
index a72497da2b7..00000000000
--- a/emulators/gens/patches/patch-ad
+++ /dev/null
@@ -1,133 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/segacd/cd_file.c.orig 2004-05-18 22:34:00.000000000 +0200
-+++ src/gens/segacd/cd_file.c
-@@ -39,7 +39,7 @@ FILE_End (void)
- int
- Load_ISO (char *buf, char *iso_name)
- {
-- FILE *File_Size;
-+ int fmt;
- int i, j, num_track, Cur_LBA;
- FILE *tmp_file;
- char tmp_name[1024], tmp_ext[10];
-@@ -52,41 +52,62 @@ Load_ISO (char *buf, char *iso_name)
-
- Unload_ISO ();
-
-- if (Detect_Format (iso_name) == SEGACD_IMAGE + 1)
-+ fmt = Detect_Format (iso_name);
-+ if (fmt == SEGACD_IMAGE + 1)
- Tracks[0].Type = TYPE_BIN;
-- else if (Detect_Format (iso_name) == SEGACD_IMAGE)
-+ else if (fmt == SEGACD_IMAGE)
- Tracks[0].Type = TYPE_ISO;
- else
- return -2;
-
-- File_Size = fopen (iso_name, "rb");
-- fseek (File_Size, 0, SEEK_END);
-- Tracks[0].Lenght = ftell (File_Size);
-- fseek (File_Size, 0, SEEK_SET);
-+ if (!stricmp (".chd", &iso_name[strlen (iso_name) -4]))
-+ {
-+ Tracks[0].F = NULL;
-+ Tracks[0].chd = chd_open(iso_name, NULL);
-+
-+ if (Tracks[0].chd == NULL)
-+ {
-+ Tracks[0].Type = 0;
-+ Tracks[0].Lenght = 0;
-+ return -1;
-+ }
-
-- if (Tracks[0].Type == TYPE_ISO)
-- Tracks[0].Lenght >>= 11; // size in sectors
-+ Tracks[0].Lenght = Tracks[0].chd->total_len;
-+
-+ if (Tracks[0].Type == TYPE_ISO)
-+ chd_read_range(Tracks[0].chd, buf, 0x100, 0x200);
-+ else
-+ chd_read_range(Tracks[0].chd, buf, 0x110, 0x200);
-+ }
- else
-- Tracks[0].Lenght /= 2352; // size in sectors
-+ {
-+ Tracks[0].F = fopen (iso_name, "rb");
-+ Tracks[0].chd = NULL;
-+
-+ if (Tracks[0].F == NULL)
-+ {
-+ Tracks[0].Type = 0;
-+ Tracks[0].Lenght = 0;
-+ return -1;
-+ }
-
-- fclose (File_Size);
-+ fseek (Tracks[0].F, 0, SEEK_END);
-+ Tracks[0].Lenght = ftell (Tracks[0].F);
-
-- Tracks[0].F = fopen (iso_name, "rb");
-+ if (Tracks[0].Type == TYPE_ISO)
-+ fseek (Tracks[0].F, 0x100, SEEK_SET);
-+ else
-+ fseek (Tracks[0].F, 0x110, SEEK_SET);
-+
-+ fread (buf, 1, 0x200, Tracks[0].F);
-+ fseek (Tracks[0].F, 0, SEEK_SET);
-
-- if (Tracks[0].F == NULL)
-- {
-- Tracks[0].Type = 0;
-- Tracks[0].Lenght = 0;
-- return -1;
- }
-
- if (Tracks[0].Type == TYPE_ISO)
-- fseek (Tracks[0].F, 0x100, SEEK_SET);
-+ Tracks[0].Lenght >>= 11; // size in sectors
- else
-- fseek (Tracks[0].F, 0x110, SEEK_SET);
--
-- fread (buf, 1, 0x200, Tracks[0].F);
-- fseek (Tracks[0].F, 0, SEEK_SET);
-+ Tracks[0].Lenght /= 2352; // size in sectors
-
- SCD.TOC.First_Track = 1;
-
-@@ -219,6 +240,10 @@ Unload_ISO (void)
-
- Track_Played = 99;
-
-+ if (Tracks[0].chd)
-+ chd_close(Tracks[0].chd);
-+ Tracks[0].chd = NULL;
-+
- for (i = 0; i < 100; i++)
- {
- if (Tracks[i].F)
-@@ -237,7 +262,7 @@ FILE_Read_One_LBA_CDC (void)
-
- if (CDD.Control & 0x0100) // DATA
- {
-- if (Tracks[0].F == NULL)
-+ if (Tracks[0].F == NULL && Tracks[0].chd == NULL)
- return -1;
-
- if (SCD.Cur_LBA < 0)
-@@ -254,8 +279,13 @@ FILE_Read_One_LBA_CDC (void)
-
- // memset(cp_buf, 0, 2048);
-
-- fseek (Tracks[0].F, where_read, SEEK_SET);
-- fread (cp_buf, 1, 2048, Tracks[0].F);
-+ if (Tracks[0].chd != NULL)
-+ chd_read_range(Tracks[0].chd, cp_buf, where_read, 2048);
-+ else
-+ {
-+ fseek (Tracks[0].F, where_read, SEEK_SET);
-+ fread (cp_buf, 1, 2048, Tracks[0].F);
-+ }
-
- #ifdef DEBUG_CD
- fprintf (debug_SCD_file, "\n\nRead file CDC 1 data sector :\n");
diff --git a/emulators/gens/patches/patch-ae b/emulators/gens/patches/patch-ae
deleted file mode 100644
index 0932f63e336..00000000000
--- a/emulators/gens/patches/patch-ae
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/segacd/cd_file.h.orig 2004-03-14 15:34:33.000000000 +0100
-+++ src/gens/segacd/cd_file.h
-@@ -1,6 +1,8 @@
- #ifndef _CD_FILE_H
- #define _CD_FILE_H
-
-+#include "chd.h"
-+
- #define TYPE_ISO 1
- #define TYPE_BIN 2
- #define TYPE_MP3 3
-@@ -9,6 +11,7 @@
-
- struct _file_track {
- FILE *F;
-+ struct chd *chd;
- int Lenght;
- int Type;
- };
diff --git a/emulators/gens/patches/patch-af b/emulators/gens/patches/patch-af
deleted file mode 100644
index df10fec26bf..00000000000
--- a/emulators/gens/patches/patch-af
+++ /dev/null
@@ -1,405 +0,0 @@
-$NetBSD: patch-af,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/util/chd.c.orig 2004-08-15 11:35:14.000000000 +0200
-+++ src/gens/util/chd.c
-@@ -0,0 +1,400 @@
-+/*
-+ NiH: chd.c,v 1.6 2004/06/25 23:31:08 dillo Exp
-+
-+ chd.c -- accessing chd files
-+ Copyright (C) 2004 Dieter Baron and Thomas Klausner
-+
-+ This file is part of ckmame, a program to check rom sets for MAME.
-+ The authors can be contacted at <nih@giga.or.at>
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License, version 2, as
-+ published by the Free Software Foundation.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with this program; if not, write to the Free Software
-+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-+*/
-+
-+
-+
-+#include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
-+#include <zlib.h>
-+
-+#include "chd.h"
-+
-+
-+
-+#define MAX_HEADERLEN 120 /* maximum header length */
-+#define TAG "MComprHD"
-+#define TAG_LEN 8 /* length of tag */
-+#define TAG_AND_LEN 12 /* length of tag + header length */
-+
-+#define MAP_ENTRY_SIZE_V12 8 /* size of map entry, versions 1 & 2 */
-+#define MAP_ENTRY_SIZE_V3 16 /* size of map entry, version 3 */
-+
-+#define GET_LONG(b) (b+=4,((b)[-4]<<24)|((b)[-3]<<16)|((b)[-2]<<8)|(b)[-1])
-+#define GET_QUAD(b) (b+=8,((uint64_t)(b)[-8]<<56)|((uint64_t)(b)[-7]<<48) \
-+ |((uint64_t)(b)[-6]<<40)|((uint64_t)(b)[-5]<<32) \
-+ |((uint64_t)(b)[-4]<<24)|((uint64_t)(b)[-3]<<16) \
-+ |((uint64_t)(b)[-2]<<8)|((uint64_t)(b)[-1]))
-+#define GET_SHORT(b) (b+=2,((b)[-2]<<8)|(b)[-1])
-+
-+static int read_header(struct chd *);
-+static int read_map(struct chd *);
-+
-+
-+
-+void
-+chd_close(struct chd *chd)
-+{
-+ fclose(chd->f);
-+ free(chd->name);
-+ free(chd->map);
-+ free(chd->buf);
-+ free(chd->hbuf);
-+ free(chd);
-+}
-+
-+
-+
-+struct chd *
-+chd_open(const char *name, int *errp)
-+{
-+ struct chd *chd;
-+ FILE *f;
-+
-+ if ((f=fopen(name, "rb")) == NULL) {
-+ if (errp)
-+ *errp = CHD_ERR_OPEN;
-+ return NULL;
-+ }
-+
-+ if ((chd=malloc(sizeof(*chd))) == NULL) {
-+ if (errp)
-+ *errp = CHD_ERR_NOMEM;
-+ return NULL;
-+ }
-+ chd->f = f;
-+ if ((chd->name=strdup(name)) == NULL) {
-+ if (errp)
-+ *errp = CHD_ERR_NOMEM;
-+ chd_close(chd);
-+ return NULL;
-+ }
-+ chd->error = 0;
-+ chd->map = NULL;
-+ chd->buf = NULL;
-+ chd->hno = -1;
-+ chd->hbuf = NULL;
-+
-+ if (read_header(chd) < 0) {
-+ if (errp)
-+ *errp = chd->error;
-+ chd_close(chd);
-+ return NULL;
-+ }
-+
-+ return chd;
-+}
-+
-+
-+
-+int
-+chd_read_hunk(struct chd *chd, int idx, char *b)
-+{
-+ int i, n, err;
-+
-+ if (idx < 0 || idx > chd->total_hunks) {
-+ chd->error = CHD_ERR_INVAL;
-+ return -1;
-+ }
-+
-+ if (chd->map == NULL) {
-+ if (read_map(chd) < 0)
-+ return -1;
-+ }
-+
-+ if (chd->map[idx].length > chd->hunk_len) {
-+ chd->error = CHD_ERR_NOTSUP;
-+ return -1;
-+ }
-+
-+ switch (chd->map[idx].flags & CHD_MAP_TYPE_MASK) {
-+ case CHD_MAP_TYPE_COMPRESSED:
-+ /* XXX: CHD_COMP_NONE? */
-+ if (chd->compression != CHD_COMP_ZLIB
-+ && chd->compression != CHD_COMP_ZLIB_PLUS) {
-+ chd->error = CHD_ERR_NOTSUP;
-+ return -1;
-+ }
-+
-+ if (chd->buf == NULL) {
-+ if ((chd->buf=malloc(chd->hunk_len)) == NULL) {
-+ chd->error = CHD_ERR_NOMEM;
-+ return -1;
-+ }
-+ chd->z.avail_in = 0;
-+ chd->z.zalloc = Z_NULL;
-+ chd->z.zfree = Z_NULL;
-+ chd->z.opaque = NULL;
-+ err = inflateInit2(&chd->z, -MAX_WBITS);
-+ }
-+ else
-+ err = inflateReset(&chd->z);
-+ if (err != Z_OK) {
-+ chd->error = CHD_ERR_ZLIB;
-+ return -1;
-+ }
-+
-+ if (fseek(chd->f, chd->map[idx].offset, SEEK_SET) == -1) {
-+ chd->error = CHD_ERR_SEEK;
-+ return -1;
-+ }
-+ if ((n=fread(chd->buf, 1, chd->map[idx].length, chd->f)) < 0) {
-+ chd->error = CHD_ERR_READ;
-+ return -1;
-+ }
-+
-+ chd->z.next_in = chd->buf;
-+ chd->z.avail_in = n;
-+ chd->z.next_out = b;
-+ chd->z.avail_out = chd->hunk_len;
-+ /* XXX: should use Z_FINISH, but that returns Z_BUF_ERROR */
-+ if ((err=inflate(&chd->z, 0)) != Z_OK && err != Z_STREAM_END) {
-+ chd->error = CHD_ERR_ZLIB;
-+ return -1;
-+ }
-+ /* XXX: chd->z.avail_out should be 0 */
-+ n = chd->hunk_len - chd->z.avail_out;
-+ break;
-+
-+ case CHD_MAP_TYPE_UNCOMPRESSED:
-+ if (fseek(chd->f, chd->map[idx].offset, SEEK_SET) == -1) {
-+ chd->error = CHD_ERR_SEEK;
-+ return -1;
-+ }
-+ /* XXX: use chd->hunk_len instead? */
-+ if ((n=fread(b, 1, chd->map[idx].length, chd->f)) < 0) {
-+ chd->error = CHD_ERR_READ;
-+ return -1;
-+ }
-+ break;
-+
-+ case CHD_MAP_TYPE_MINI:
-+ b[0] = (chd->map[idx].offset >> 56) & 0xff;
-+ b[1] = (chd->map[idx].offset >> 48) & 0xff;
-+ b[2] = (chd->map[idx].offset >> 40) & 0xff;
-+ b[3] = (chd->map[idx].offset >> 32) & 0xff;
-+ b[4] = (chd->map[idx].offset >> 24) & 0xff;
-+ b[5] = (chd->map[idx].offset >> 16) & 0xff;
-+ b[6] = (chd->map[idx].offset >> 8) & 0xff;
-+ b[7] = chd->map[idx].offset & 0xff;
-+ n = chd->hunk_len;
-+ for (i=8; i<n; i++)
-+ b[i] = b[i-8];
-+ break;
-+
-+ case CHD_MAP_TYPE_SELF_HUNK:
-+ /* XXX: check CRC here too? */
-+ return chd_read_hunk(chd, chd->map[idx].offset, b);
-+
-+ case CHD_MAP_TYPE_PARENT_HUNK:
-+ chd->error = CHD_ERR_NOTSUP;
-+ return -1;
-+
-+ default:
-+ chd->error = CHD_ERR_NOTSUP; /* XXX: wrong error */
-+ return -1;
-+ }
-+
-+ if ((chd->map[idx].flags & CHD_MAP_FL_NOCRC) == 0) {
-+ if (crc32(0, b, n) != chd->map[idx].crc) {
-+ chd->error = CHD_ERR_CRC;
-+ return -1;
-+ }
-+ }
-+
-+ return n;
-+}
-+
-+
-+
-+int
-+chd_read_range(struct chd *chd, char *b, int off, int len)
-+{
-+ int i, s, n;
-+ int copied, o2, l2;
-+
-+ /* XXX: error handling */
-+
-+ s = off/chd->hunk_len;
-+ n = (off+len+chd->hunk_len-1)/chd->hunk_len - s;
-+
-+ copied = 0;
-+ o2 = off % chd->hunk_len;
-+ l2 = chd->hunk_len - o2;
-+
-+ for (i=0; i<n; i++) {
-+ if (i == 1) {
-+ o2 = 0;
-+ l2 = chd->hunk_len;
-+ }
-+ if (i == n-1) {
-+ if (l2 > len-copied)
-+ l2 = len-copied;
-+ }
-+ if (o2 == 0 && l2 == chd->hunk_len && s+i != chd->hno) {
-+ if (chd_read_hunk(chd, s+i, b+copied) < 0)
-+ return -1;
-+ copied += chd->hunk_len;
-+ }
-+ else {
-+ if (chd->hbuf == NULL)
-+ if ((chd->hbuf=malloc(chd->hunk_len)) == NULL) {
-+ chd->error = CHD_ERR_NOMEM;
-+ return -1;
-+ }
-+ if (s+i != chd->hno) {
-+ if (chd_read_hunk(chd, s+i, chd->hbuf) < 0)
-+ return -1;
-+ chd->hno = s+i;
-+ }
-+ memcpy(b+copied, chd->hbuf+o2, l2);
-+ copied += l2;
-+ }
-+ }
-+
-+ return len;
-+}
-+
-+
-+
-+static int
-+read_header(struct chd *chd)
-+{
-+ uint32_t len;
-+
-+ unsigned char b[MAX_HEADERLEN], *p;
-+
-+ if (fread(b, TAG_AND_LEN, 1, chd->f) != 1) {
-+ chd->error = CHD_ERR_READ;
-+ return -1;
-+ }
-+
-+ if (memcmp(b, TAG, TAG_LEN) != 0) {
-+ chd->error = CHD_ERR_NO_CHD;
-+ return -1;
-+ }
-+
-+ p = b+TAG_LEN;
-+ len = GET_LONG(p);
-+ if (len > MAX_HEADERLEN) {
-+ chd->error = CHD_ERR_NO_CHD;
-+ return -1;
-+ }
-+ if (fread(p, len-TAG_AND_LEN, 1, chd->f) != 1) {
-+ chd->error = CHD_ERR_READ;
-+ return -1;
-+ }
-+
-+ chd->hdr_length = len;
-+ chd->version = GET_LONG(p);
-+ chd->flags = GET_LONG(p);
-+ chd->compression = GET_LONG(p);
-+
-+ if (chd->version > 3) {
-+ chd->error = CHD_ERR_VERSION;
-+ return -1;
-+ }
-+ /* XXX: check chd->hdr_length against expected value for version */
-+
-+ if (chd->version < 3) {
-+ chd->hunk_len = GET_LONG(p);
-+ chd->total_hunks = GET_LONG(p);
-+ p += 12; /* skip c/h/s */
-+ memcpy(chd->md5, p, sizeof(chd->md5));
-+ p += sizeof(chd->md5);
-+ memcpy(chd->parent_md5, p, sizeof(chd->parent_md5));
-+ p += sizeof(chd->parent_md5);
-+
-+ if (chd->version == 1)
-+ chd->hunk_len *= 512;
-+ else
-+ chd->hunk_len *= GET_LONG(p);
-+ chd->total_len = chd->hunk_len * chd->total_hunks;
-+ chd->meta_offset = 0;
-+ memset(chd->sha1, 0, sizeof(chd->sha1));
-+ memset(chd->parent_sha1, 0, sizeof(chd->parent_sha1));
-+ }
-+ else {
-+ chd->total_hunks = GET_LONG(p);
-+ chd->total_len = GET_QUAD(p);
-+ chd->meta_offset = GET_QUAD(p);
-+ memcpy(chd->md5, p, sizeof(chd->md5));
-+ p += sizeof(chd->md5);
-+ memcpy(chd->parent_md5, p, sizeof(chd->parent_md5));
-+ p += sizeof(chd->parent_md5);
-+ chd->hunk_len = GET_LONG(p);
-+ memcpy(chd->sha1, p, sizeof(chd->sha1));
-+ p += sizeof(chd->sha1);
-+ }
-+
-+ return 0;
-+}
-+
-+
-+
-+static int
-+read_map(struct chd *chd)
-+{
-+ unsigned char b[MAP_ENTRY_SIZE_V3], *p;
-+ int i, len;
-+ uint64_t v;
-+
-+ if ((chd->map=malloc(sizeof(*chd->map)*chd->total_hunks)) == NULL) {
-+ chd->error = CHD_ERR_NOMEM;
-+ return -1;
-+ }
-+
-+ if (chd->version < 3)
-+ len = MAP_ENTRY_SIZE_V12;
-+ else
-+ len = MAP_ENTRY_SIZE_V3;
-+
-+ for (i=0; i<chd->total_hunks; i++) {
-+ if (fread(b, len, 1, chd->f) != 1) {
-+ chd->error = CHD_ERR_READ;
-+ return -1;
-+ }
-+ p = b;
-+
-+ if (i == 1832)
-+ chd->version = 3;
-+
-+ if (chd->version < 3) {
-+ v = GET_QUAD(p);
-+ chd->map[i].offset = v & 0xFFFFFFFFFFFLL;
-+ chd->map[i].crc = 0;
-+ chd->map[i].length = v >> 44;
-+ chd->map[i].flags = CHD_MAP_FL_NOCRC
-+ | (chd->map[i].length == chd->hunk_len
-+ ? CHD_MAP_TYPE_UNCOMPRESSED : CHD_MAP_TYPE_COMPRESSED);
-+ }
-+ else {
-+ chd->map[i].offset = GET_QUAD(p);
-+ chd->map[i].crc = GET_LONG(p);
-+ chd->map[i].length = GET_SHORT(p);
-+ chd->map[i].flags = GET_SHORT(p);
-+ }
-+ }
-+
-+ return 0;
-+}
diff --git a/emulators/gens/patches/patch-ag b/emulators/gens/patches/patch-ag
deleted file mode 100644
index 33da962b5c9..00000000000
--- a/emulators/gens/patches/patch-ag
+++ /dev/null
@@ -1,99 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/util/chd.h.orig 2004-08-15 11:35:14.000000000 +0200
-+++ src/gens/util/chd.h
-@@ -0,0 +1,94 @@
-+#ifndef HAD_CHD_H
-+
-+/*
-+ NiH: chd.h,v 1.3 2004/06/25 23:31:08 dillo Exp
-+
-+ chd.h -- accessing chd files
-+ Copyright (C) 2004 Dieter Baron and Thomas Klausner
-+
-+ This file is part of ckmame, a program to check rom sets for MAME.
-+ The authors can be contacted at <nih@giga.or.at>
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License, version 2, as
-+ published by the Free Software Foundation.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with this program; if not, write to the Free Software
-+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-+*/
-+
-+#include <stdio.h>
-+#include <zlib.h>
-+
-+#define CHD_ERR_NONE 0 /* N no error */
-+#define CHD_ERR_OPEN 1 /* S cannot open file */
-+#define CHD_ERR_READ 2 /* S read error */
-+#define CHD_ERR_NO_CHD 3 /* N not a CHD file */
-+#define CHD_ERR_VERSION 4 /* N unsupported version */
-+#define CHD_ERR_INVAL 5 /* N invalid argument */
-+#define CHD_ERR_SEEK 6 /* S seek error */
-+#define CHD_ERR_NOTSUP 7 /* N unsupported chd feature */
-+#define CHD_ERR_ZLIB 8 /* Z zlib error */
-+#define CHD_ERR_CRC 9 /* N CRC mismatch */
-+#define CHD_ERR_NOMEM 10 /* N out of memory */
-+
-+#define CHD_MAP_TYPE_COMPRESSED 0x01
-+#define CHD_MAP_TYPE_UNCOMPRESSED 0x02
-+#define CHD_MAP_TYPE_MINI 0x03
-+#define CHD_MAP_TYPE_SELF_HUNK 0x04
-+#define CHD_MAP_TYPE_PARENT_HUNK 0x05
-+#define CHD_MAP_TYPE_MASK 0x0f
-+#define CHD_MAP_FL_NOCRC 0x10
-+
-+#define CHD_COMP_NONE 0x0
-+#define CHD_COMP_ZLIB 0x1
-+#define CHD_COMP_ZLIB_PLUS 0x2
-+
-+
-+
-+struct chd_map_entry {
-+ uint64_t offset; /* offse t within the file of the data */
-+ uint32_t crc; /* 32-bit CRC of the data */
-+ uint16_t length; /* length of the data */
-+ uint16_t flags; /* misc flags */
-+};
-+
-+struct chd {
-+ FILE *f;
-+ char *name;
-+ int error;
-+
-+ uint32_t hdr_length; /* length of header data */
-+ uint32_t version; /* drive format version */
-+ uint32_t flags; /* flags field */
-+ uint32_t compression; /* compression type */
-+ uint32_t hunk_len; /* number of bytes per hunk */
-+ uint32_t total_hunks; /* total # of hunks represented */
-+ uint64_t total_len; /* logical size of the data */
-+ uint64_t meta_offset; /* offset in file of first metadata */
-+ uint8_t md5[16]; /* MD5 checksum of raw data */
-+ uint8_t parent_md5[16]; /* MD5 checksum of parent file */
-+ uint8_t sha1[20]; /* SHA1 checksum of raw data */
-+ uint8_t parent_sha1[20]; /* SHA1 checksum of parent file */
-+
-+ struct chd_map_entry *map; /* hunk map */
-+ char *buf; /* decompression buffer */
-+ z_stream z; /* decompressor */
-+ int hno; /* hunk currently in hbuf */
-+ char *hbuf; /* hunk data buffer */
-+};
-+
-+
-+
-+void chd_close(struct chd *);
-+struct chd *chd_open(const char *, int *);
-+int chd_read_hunk(struct chd *, int, char *);
-+int chd_read_range(struct chd *, char *, int, int);
-+
-+#endif /* chd.h */
diff --git a/emulators/gens/patches/patch-ah b/emulators/gens/patches/patch-ah
deleted file mode 100644
index 0ba4e635e86..00000000000
--- a/emulators/gens/patches/patch-ah
+++ /dev/null
@@ -1,65 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/util/rom.c.orig 2004-05-18 22:33:59.000000000 +0200
-+++ src/gens/util/rom.c
-@@ -17,6 +17,7 @@
- #include "ccnet.h"
- #include "misc.h"
- #include "unzip.h"
-+#include "chd.h"
- #include "wave.h"
- #include "gym.h"
- #include <assert.h>
-@@ -168,6 +169,7 @@ Detect_Format (char *Name)
- FILE *f;
- unzFile zf;
- unz_file_info zinf;
-+ struct chd *cf;
- int i;
- char buf[1024], zname[256];
-
-@@ -225,6 +227,19 @@ Detect_Format (char *Name)
- gzread (f, buf, 1024);
- gzclose (f);
- }
-+ else if (!stricmp (".chd", &Name[strlen (Name) -4]))
-+ {
-+ char *p;
-+ int n;
-+
-+ cf = chd_open(Name, NULL);
-+ if (cf == NULL)
-+ return -1;
-+
-+ chd_read_range(cf, buf, 0, 1024);
-+
-+ chd_close(cf);
-+ }
- else
- {
- strcpy (zname, Name);
-@@ -389,7 +404,7 @@ Get_Rom ()
- GtkWidget *widget;
- gint res;
- char Name[2048];
-- gchar *filename;
-+ gchar *filename = NULL;
- int sys;
-
- widget =
-@@ -403,9 +418,12 @@ Get_Rom ()
- }
- gtk_widget_destroy (widget);
-
-- strncpy (Name, filename, 2048);
-- g_free (filename);
-- Free_Rom (Game);
-+ if (filename)
-+ {
-+ strncpy (Name, filename, 2048);
-+ g_free (filename);
-+ Free_Rom (Game);
-+ }
-
- sys = Detect_Format (Name);
-
diff --git a/emulators/gens/patches/patch-ai b/emulators/gens/patches/patch-ai
deleted file mode 100644
index e7a66ab6d74..00000000000
--- a/emulators/gens/patches/patch-ai
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/util/unzip.h.orig 2004-03-14 15:33:14.000000000 +0100
-+++ src/gens/util/unzip.h
-@@ -59,6 +59,10 @@ typedef voidp unzFile;
- #endif
-
-
-+#ifndef OF
-+# define OF(args) args
-+#endif
-+
- #define UNZ_OK (0)
- #define UNZ_END_OF_LIST_OF_FILE (-100)
- #define UNZ_ERRNO (Z_ERRNO)
diff --git a/emulators/gens/patches/patch-aj b/emulators/gens/patches/patch-aj
deleted file mode 100644
index 5e584b3e632..00000000000
--- a/emulators/gens/patches/patch-aj
+++ /dev/null
@@ -1,158 +0,0 @@
-$NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
-
---- src/gens/emulator/g_main.c.orig Tue May 18 22:34:00 2004
-+++ src/gens/emulator/g_main.c Sun Aug 22 13:28:23 2004
-@@ -55,6 +55,23 @@
- int SegaCD_Accurate = 0;
- int Kaillera_Client_Running = 0;
-
-+int NbRerecord=0;
-+char MovieFileName[1024];
-+int MoviePlaying=0;
-+int FrameCount=0;
-+unsigned MovieLastFrame=0;
-+
-+FILE *MovieFile;
-+
-+struct type_MovieFrame
-+{
-+ char P1;
-+ char P2;
-+ char PX;
-+};
-+
-+struct type_MovieFrame *MovieData = NULL;
-+
- static int Gens_Running = 0;
-
- void
-@@ -394,6 +411,13 @@
-
- break;
-
-+ case SDLK_q:
-+ if (KMOD_CTRL & mod)
-+ {
-+ close_gens ();
-+ }
-+ break;
-+
- case SDLK_v:
- if (KMOD_CTRL & mod)
- {
-@@ -429,14 +453,14 @@
- case SDL_JOYAXISMOTION:
- if (event.jaxis.axis < 2)
- {
-- if (event.jaxis.value < -500)
-+ if (event.jaxis.value < -10922)
- {
- joystate[0x100 * event.jaxis.which +
- ((event.jaxis.axis == 0) ? 0x3 : 0x1)] = 1;
- joystate[0x100 * event.jaxis.which +
- ((event.jaxis.axis == 0) ? 0x4 : 0x2)] = 0;
- }
-- else if (event.jaxis.value > 500)
-+ else if (event.jaxis.value > 10922)
- {
- joystate[0x100 * event.jaxis.which +
- ((event.jaxis.axis == 0) ? 0x4 : 0x2)] = 1;
-@@ -661,11 +685,11 @@
- int
- main (int argc, char *argv[])
- {
-- Init_Genesis_Bios ();
--
- char sdlbuf[32];
- GtkWidget *widget;
-
-+ Init_Genesis_Bios ();
-+
- add_pixmap_directory (DATADIR);
- gtk_init (&argc, &argv);
- gens_window = create_gens_window ();
-@@ -849,4 +873,84 @@
- }
-
- return (0);
-+}
-+
-+void PlayMovie()
-+{
-+ if(MoviePlaying) {
-+ StopMovie();
-+ return;
-+ }
-+ if(Change_File_L_MV(MovieFileName, State_Dir)==0)
-+ return;
-+ if (Genesis_Started)
-+ {
-+ Reset_Genesis();
-+ }
-+ else if (_32X_Started)
-+ {
-+ Reset_32X();
-+ }
-+ FrameCount=0;
-+ if(LoadMovieFromFile(MovieFile,MovieFileName)==0)
-+ return;
-+ MESSAGE_NUM_L("Playing movie from start: %d rerecords","Playing movie from start: %d rerecords",NbRerecord,1500);
-+ MoviePlaying=1;
-+}
-+
-+int LoadMovieFromFile(FILE *MovieFile,char* FileName)
-+{
-+ MovieFile=fopen(FileName,"r+b");
-+ if(MovieFile==NULL)
-+ {
-+ MESSAGE_L("Error loading movie:disk error","Error loading movie:disk error", 2000);
-+ return 0;
-+ }
-+
-+ fseek(MovieFile,0,SEEK_END);
-+ MovieLastFrame=(ftell(MovieFile)-64)/3;
-+
-+ MovieData = malloc(sizeof(struct type_MovieFrame)*MovieLastFrame);
-+ if(!MovieData)
-+ {
-+ MESSAGE_L("Memory error allocating movie", "Memory error allocating movie", 2000);
-+ return 0;
-+ }
-+ fseek(MovieFile,64,SEEK_SET);
-+
-+ if(fread(MovieData, sizeof(*MovieData), MovieLastFrame, MovieFile) < MovieLastFrame)
-+ {
-+ MESSAGE_L("Error loading movie:file read","Error loading movie:file read", 2000);
-+ return 0;
-+ }
-+
-+ fseek(MovieFile,16,SEEK_SET);
-+ fread((char*)&NbRerecord,sizeof(NbRerecord),1,MovieFile);
-+
-+ fclose(MovieFile);
-+ MovieFile=NULL;
-+
-+ return 1;
-+}
-+void ReadInMovie(unsigned frame, char *p1, char *p2, char *px)
-+{
-+ if(frame>MovieLastFrame)
-+ {
-+ MESSAGE_NUM_L("Overflow error reading frame : %d","Overflow error reading frame : %d",frame,2000);
-+ return;
-+ }
-+ *p1=MovieData[frame].P1;
-+ *p2=MovieData[frame].P2;
-+ *px=MovieData[frame].PX;
-+}
-+
-+void
-+StopMovie(void)
-+{
-+ if (!MoviePlaying)
-+ return;
-+
-+ MoviePlaying = 0;
-+ free(MovieData);
-+ MovieData = NULL;
- }
diff --git a/emulators/gens/patches/patch-ak b/emulators/gens/patches/patch-ak
deleted file mode 100644
index 57c601eaf11..00000000000
--- a/emulators/gens/patches/patch-ak
+++ /dev/null
@@ -1,57 +0,0 @@
-$NetBSD: patch-ak,v 1.2 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/gtkui/glade/interface.c.orig 2004-05-19 21:49:28.000000000 +0200
-+++ src/gens/gtkui/glade/interface.c
-@@ -159,6 +159,7 @@ create_gens_window (void)
- GtkWidget *reset_z80;
- GtkWidget *separator8;
- GtkWidget *perfect_synchro;
-+ GtkWidget *play_movie;
- GtkWidget *item8;
- GtkWidget *image2798;
- GtkWidget *item8_menu;
-@@ -486,10 +487,13 @@ create_gens_window (void)
- gtk_container_add (GTK_CONTAINER (item15_menu), separator16);
- gtk_widget_set_sensitive (separator16, FALSE);
-
-- quit = gtk_image_menu_item_new_with_mnemonic ("Quit");
-+ quit = gtk_image_menu_item_new_with_mnemonic ("_Quit");
- gtk_widget_set_name (quit, "quit");
- gtk_widget_show (quit);
- gtk_container_add (GTK_CONTAINER (item15_menu), quit);
-+ gtk_widget_add_accelerator (quit, "activate", accel_group,
-+ GDK_Q, GDK_CONTROL_MASK,
-+ GTK_ACCEL_VISIBLE);
-
- image2789 = gtk_image_new_from_stock ("gtk-quit", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image2789, "image2789");
-@@ -966,6 +970,11 @@ create_gens_window (void)
- gtk_widget_show (perfect_synchro);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), perfect_synchro);
-
-+ play_movie = gtk_check_menu_item_new_with_mnemonic ("Play Movie");
-+ gtk_widget_set_name (play_movie, "play_movie");
-+ gtk_widget_show (play_movie);
-+ gtk_container_add (GTK_CONTAINER (menuitem3_menu), play_movie);
-+
- item8 = gtk_image_menu_item_new_with_mnemonic ("Sound");
- gtk_widget_set_name (item8, "item8");
- gtk_widget_show (item8);
-@@ -1498,6 +1507,9 @@ create_gens_window (void)
- g_signal_connect ((gpointer) perfect_synchro, "activate",
- G_CALLBACK (on_perfect_synchro_activate),
- NULL);
-+ g_signal_connect ((gpointer) play_movie, "activate",
-+ G_CALLBACK (on_play_movie_activate),
-+ NULL);
- g_signal_connect ((gpointer) enable_sound, "activate",
- G_CALLBACK (on_enable_sound_activate),
- NULL);
-@@ -1713,6 +1725,7 @@ create_gens_window (void)
- GLADE_HOOKUP_OBJECT (gens_window, reset_z80, "reset_z80");
- GLADE_HOOKUP_OBJECT (gens_window, separator8, "separator8");
- GLADE_HOOKUP_OBJECT (gens_window, perfect_synchro, "perfect_synchro");
-+ GLADE_HOOKUP_OBJECT (gens_window, play_movie, "play_movie");
- GLADE_HOOKUP_OBJECT (gens_window, item8, "item8");
- GLADE_HOOKUP_OBJECT (gens_window, image2798, "image2798");
- GLADE_HOOKUP_OBJECT (gens_window, item8_menu, "item8_menu");
diff --git a/emulators/gens/patches/patch-am b/emulators/gens/patches/patch-am
deleted file mode 100644
index ec864a4b887..00000000000
--- a/emulators/gens/patches/patch-am
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-am,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/emulator/g_main.h.orig 2004-04-15 22:22:49.000000000 +0200
-+++ src/gens/emulator/g_main.h
-@@ -21,6 +21,9 @@ extern int Country_Order[3];
- extern int Kaillera_Client_Running;
- extern int Intro_Style;
- extern int SegaCD_Accurate;
-+extern int MoviePlaying;
-+extern int FrameCount;
-+extern unsigned MovieLastFrame;
- extern int Active;
-
- extern POINT Window_Pos;
-@@ -41,6 +44,10 @@ void SetWindowText(const char *text);
- int Set_Render(int Full, int Num, int Force);
- int Change_68K_Type(int hWnd, int Num, int Reset_SND);
- //extern void Read_To_68K_Space(int adr);
-+int LoadMovieFromFile(FILE *MovieFile,char* FileName);
-+void PlayMovie(void);
-+void StopMovie(void);
-+void ReadInMovie(unsigned frame, char *p1, char *p2, char *px);
-
- void End_All(void);
- void Sleep(int i);
diff --git a/emulators/gens/patches/patch-an b/emulators/gens/patches/patch-an
deleted file mode 100644
index 5a9adb1f309..00000000000
--- a/emulators/gens/patches/patch-an
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-an,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/emulator/gens.c.orig 2004-05-18 22:34:00.000000000 +0200
-+++ src/gens/emulator/gens.c
-@@ -2424,7 +2424,7 @@ Init_SegaCD (char *iso_name)
- Z80_Reset ();
- Reset_VDP ();
- LC89510_Reset ();
-- Init_RS_GFX ();
-+ //Init_RS_GFX (); /* XXX: why? */
-
- if (CPU_Mode)
- {
-@@ -2545,7 +2545,7 @@ Reset_SegaCD ()
- Z80_Reset ();
- LC89510_Reset ();
- Reset_VDP ();
-- Init_RS_GFX ();
-+ //Init_RS_GFX (); /* XXX: why? */
- Reset_PCM ();
- YM2612_Reset ();
-
diff --git a/emulators/gens/patches/patch-ao b/emulators/gens/patches/patch-ao
deleted file mode 100644
index 2b5d89da7a3..00000000000
--- a/emulators/gens/patches/patch-ao
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/gtkui/glade/callbacks.c.orig 2004-05-18 22:36:26.000000000 +0200
-+++ src/gens/gtkui/glade/callbacks.c
-@@ -49,7 +49,10 @@ on_open_rom_activate (
- // if ((Check_If_Kaillera_Running())) return 0;
- if (GYM_Playing) Stop_Play_GYM();
- if (Get_Rom() != -1)
-+ {
-+ StopMovie();
- sync_gens_ui();
-+ }
- }
-
-
-@@ -64,6 +67,7 @@ on_close_rom_activate (
- if (Full_Screen) Set_Render( 0, -1, 1);
- }
- Free_Rom(Game);
-+ StopMovie();
- }
-
-
-@@ -480,6 +484,11 @@ on_perfect_synchro_activate (
- {Change_SegaCD_Synchro();}
-
- void
-+on_play_movie_activate (GtkMenuItem *menuitem,
-+ gpointer user_data)
-+{PlayMovie();}
-+
-+void
- on_enable_sound_activate (GtkMenuItem *menuitem,
- gpointer user_data)
- {Change_Sound();}
diff --git a/emulators/gens/patches/patch-ap b/emulators/gens/patches/patch-ap
deleted file mode 100644
index 9cfa62e7214..00000000000
--- a/emulators/gens/patches/patch-ap
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/gtkui/glade/callbacks.h.orig 2004-03-14 15:33:41.000000000 +0100
-+++ src/gens/gtkui/glade/callbacks.h
-@@ -93,6 +93,10 @@ on_vsync_activate (
- gpointer user_data);
-
- void
-+on_play_movie_activate (GtkMenuItem *menuitem,
-+ gpointer user_data);
-+
-+void
- on_stretch_activate (GtkMenuItem *menuitem,
- gpointer user_data);
-
diff --git a/emulators/gens/patches/patch-aq b/emulators/gens/patches/patch-aq
deleted file mode 100644
index 36597893820..00000000000
--- a/emulators/gens/patches/patch-aq
+++ /dev/null
@@ -1,112 +0,0 @@
-$NetBSD: patch-aq,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/sdllayer/g_sdldraw.c.orig 2004-08-15 11:46:04.000000000 +0200
-+++ src/gens/sdllayer/g_sdldraw.c
-@@ -462,7 +462,11 @@ Update_Emulation (void)
- Write_Sound_Buffer (NULL);
- }
-
-- Update_Controllers ();
-+ if (MoviePlaying)
-+ MoviePlayingStuff();
-+ else
-+ Update_Controllers();
-+ FrameCount++;
-
- if (Frame_Number++ < Frame_Skip)
- {
-@@ -487,7 +491,12 @@ Update_Emulation (void)
- //{
- Write_Sound_Buffer (NULL);
- //WP = (WP + 1) & (Sound_Segs - 1);
-- Update_Controllers ();
-+ if (MoviePlaying)
-+ MoviePlayingStuff();
-+ else
-+ Update_Controllers();
-+ FrameCount++;
-+
-
- //if (WP != RP)
- //{
-@@ -518,13 +527,21 @@ Update_Emulation (void)
-
- for (; Frame_Number > 1; Frame_Number--)
- {
-- Update_Controllers ();
-+ if (MoviePlaying)
-+ MoviePlayingStuff();
-+ else
-+ Update_Controllers();
-+ FrameCount++;
- Update_Frame_Fast ();
- }
-
- if (Frame_Number)
- {
-- Update_Controllers ();
-+ if (MoviePlaying)
-+ MoviePlayingStuff();
-+ else
-+ Update_Controllers();
-+ FrameCount++;
- Update_Frame ();
- Flip ();
- }
-@@ -540,7 +557,12 @@ Update_Emulation (void)
- int
- Update_Emulation_One (void)
- {
-- Update_Controllers ();
-+ if (MoviePlaying)
-+ MoviePlayingStuff();
-+ else
-+ Update_Controllers();
-+ FrameCount++;
-+
- Update_Frame ();
- Flip ();
-
-@@ -686,3 +708,42 @@ Take_Shot ()
- surface->h, surface->w * 2);
- return 0;
- }
-+
-+void
-+MoviePlayingStuff()
-+{
-+ char PadData[3]; //Modif
-+
-+ if(FrameCount >= MovieLastFrame)
-+ {
-+ MoviePlaying=0;
-+ sprintf(Str_Tmp, "Movie finished", Current_State);
-+ Put_Info(Str_Tmp, 2000);
-+ return;
-+ }
-+ ReadInMovie(FrameCount,&PadData[0],&PadData[1],&PadData[2]);
-+ Controller_1_Up=(PadData[0]&1);
-+ Controller_1_Down=(PadData[0]&2)>>1;
-+ Controller_1_Left=(PadData[0]&4)>>2;
-+ Controller_1_Right=(PadData[0]&8)>>3;
-+ Controller_1_A=(PadData[0]&16)>>4;
-+ Controller_1_B=(PadData[0]&32)>>5;
-+ Controller_1_C=(PadData[0]&64)>>6;
-+ Controller_1_Start=(PadData[0]&128)>>7;
-+ Controller_2_Up=(PadData[1]&1);
-+ Controller_2_Down=(PadData[1]&2)>>1;
-+ Controller_2_Left=(PadData[1]&4)>>2;
-+ Controller_2_Right=(PadData[1]&8)>>3;
-+ Controller_2_A=(PadData[1]&16)>>4;
-+ Controller_2_B=(PadData[1]&32)>>5;
-+ Controller_2_C=(PadData[1]&64)>>6;
-+ Controller_2_Start=(PadData[1]&128)>>7;
-+ Controller_1_X=(PadData[2]&1);
-+ Controller_1_Y=(PadData[2]&2)>>1;
-+ Controller_1_Z=(PadData[2]&4)>>2;
-+ Controller_1_Mode=(PadData[2]&8)>>3;
-+ Controller_2_X=(PadData[2]&16)>>4;
-+ Controller_2_Y=(PadData[2]&32)>>5;
-+ Controller_2_Z=(PadData[2]&64)>>6;
-+ Controller_2_Mode=(PadData[2]&128)>>7;
-+}
diff --git a/emulators/gens/patches/patch-ar b/emulators/gens/patches/patch-ar
deleted file mode 100644
index 0880f97ce12..00000000000
--- a/emulators/gens/patches/patch-ar
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ar,v 1.1 2004/08/15 12:13:53 dillo Exp $
-
---- src/gens/sdllayer/g_sdldraw.h.orig 2004-03-14 15:34:21.000000000 +0100
-+++ src/gens/sdllayer/g_sdldraw.h
-@@ -4,6 +4,8 @@
- #include <time.h>
- #include <SDL.h>
-
-+#include "io.h"
-+
- extern clock_t Last_Time;
- extern clock_t New_Time;
- extern clock_t Used_Time;
-@@ -40,6 +42,7 @@ int Show_Genesis_Screen(void);
- int Flip(void);
- void Restore_Primary(void);
- int Take_Shot();
-+void MoviePlayingStuff();
- void End_DDraw(void);
- void Put_Info(char *,int);
- extern SDL_Surface *surface;
diff --git a/emulators/gens/patches/patch-as b/emulators/gens/patches/patch-as
deleted file mode 100644
index c921cbfbf0d..00000000000
--- a/emulators/gens/patches/patch-as
+++ /dev/null
@@ -1,67 +0,0 @@
-$NetBSD: patch-as,v 1.2 2004/08/22 11:37:28 kristerw Exp $
-
---- src/gens/util/save.c.orig Tue May 18 22:33:59 2004
-+++ src/gens/util/save.c Sun Aug 22 13:24:38 2004
-@@ -101,8 +101,8 @@
-
- if (filename)
- {
-- g_free (filename);
- strcpy (Dest, filename);
-+ g_free (filename);
- return 1;
- }
- return 0;
-@@ -130,8 +130,37 @@
-
- if (filename)
- {
-+ strcpy (Dest, filename);
- g_free (filename);
-+ return 1;
-+ }
-+ return 0;
-+}
-+
-+int
-+Change_File_L_MV (char *Dest, char *Dir)
-+{
-+
-+ gchar *filename = NULL;
-+ GtkWidget *widget;
-+ gint res;
-+ widget =
-+ create_file_chooser_dialog ("Load gens movie file",
-+ GTK_FILE_CHOOSER_ACTION_OPEN);
-+ addGmvFilter (widget);
-+// fileselection_set_dir (fd.filesel, Rom_Dir);
-+ /* addStateFilter (widget); */
-+ res = gtk_dialog_run (GTK_DIALOG (widget));
-+ if (res == GTK_RESPONSE_OK)
-+ {
-+ filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
-+ }
-+ gtk_widget_destroy (widget);
-+
-+ if (filename)
-+ {
- strcpy (Dest, filename);
-+ g_free (filename);
- return 1;
- }
- return 0;
-@@ -268,11 +297,12 @@
- int
- Save_State (char *Name)
- {
-- if (Name == NULL)
-- return 0;
- FILE *f;
- unsigned char *buf;
- int len;
-+
-+ if (Name == NULL)
-+ return 0;
-
- buf = State_Buffer;
- if ((f = fopen (Name, "wb")) == NULL)
diff --git a/emulators/gens/patches/patch-at b/emulators/gens/patches/patch-at
deleted file mode 100644
index 3bdf6bc639f..00000000000
--- a/emulators/gens/patches/patch-at
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-at,v 1.1 2004/08/21 14:16:32 dillo Exp $
-
---- src/gens/emulator/ui_proxy.c.orig 2004-05-18 22:34:00.000000000 +0200
-+++ src/gens/emulator/ui_proxy.c
-@@ -55,6 +55,10 @@ system_reset ()
- {
- Reset_SegaCD ();
- }
-+ if (MoviePlaying)
-+ {
-+ StopMovie();
-+ }
- }
-
- int
diff --git a/emulators/gens/patches/patch-au b/emulators/gens/patches/patch-au
deleted file mode 100644
index 773c9d979b5..00000000000
--- a/emulators/gens/patches/patch-au
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-au,v 1.1 2004/08/22 11:37:28 kristerw Exp $
-
---- src/gens/sdllayer/g_sdlsound.c.orig Sun Aug 22 13:22:13 2004
-+++ src/gens/sdllayer/g_sdlsound.c Sun Aug 22 13:23:10 2004
-@@ -53,6 +53,7 @@
- int
- Init_Sound (void)
- {
-+ SDL_AudioSpec spec;
- int i;
-
- if (Sound_Initialised)
-@@ -122,8 +123,6 @@
- }
-
- pMsndOut = (unsigned char *) malloc (Seg_Lenght << 2);
--
-- SDL_AudioSpec spec;
-
- spec.freq = Sound_Rate;
- spec.format = AUDIO_S16SYS;
diff --git a/emulators/gens/patches/patch-av b/emulators/gens/patches/patch-av
deleted file mode 100644
index 88b77d243f9..00000000000
--- a/emulators/gens/patches/patch-av
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-av,v 1.1 2004/08/22 11:37:28 kristerw Exp $
-
---- src/gens/util/gym.c.orig Sun Aug 22 13:26:20 2004
-+++ src/gens/util/gym.c Sun Aug 22 13:26:57 2004
-@@ -159,6 +159,9 @@
- int
- Start_Play_GYM (void)
- {
-+ gchar *filename = NULL;
-+ GtkWidget *widget;
-+ gint res;
- char Name[1024];
-
- if (Game || !(Sound_Enable))
-@@ -185,9 +188,6 @@
-
- memset (Name, 0, 1024);
-
-- gchar *filename = NULL;
-- GtkWidget *widget;
-- gint res;
- widget =
- create_file_chooser_dialog ("Load GYM file",
- GTK_FILE_CHOOSER_ACTION_OPEN);
diff --git a/emulators/gnuboy-sdl/DESCR b/emulators/gnuboy-sdl/DESCR
deleted file mode 100644
index 1da77948b17..00000000000
--- a/emulators/gnuboy-sdl/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Gnuboy is a portable program for emulating the Nintendo GameBoy Color
-software platform. This is the SDL port, with joystick support.
diff --git a/emulators/gnuboy-sdl/Makefile b/emulators/gnuboy-sdl/Makefile
deleted file mode 100644
index d0a4ad0de86..00000000000
--- a/emulators/gnuboy-sdl/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 18:02:47 jlam Exp $
-
-DISTNAME= gnuboy-1.0.3
-PKGNAME= ${DISTNAME:S/-/-sdl-/}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://gnuboy.unix-fu.org/src/
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://gnuboy.unix-fu.org/
-COMMENT= SDL port of Gameboy emulator
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-sdl
-
-.include "../../devel/SDL/buildlink3.mk"
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy-sdl
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy-sdl
- ${INSTALL_PROGRAM} ${WRKSRC}/sdlgnuboy ${PREFIX}/bin/gnuboy-sdl
- ${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \
- ${PREFIX}/share/examples/gnuboy-sdl/
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \
- ${PREFIX}/share/doc/gnuboy-sdl/
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gnuboy-sdl/PLIST b/emulators/gnuboy-sdl/PLIST
deleted file mode 100644
index 973160f1d24..00000000000
--- a/emulators/gnuboy-sdl/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/26 17:05:05 dillo Exp $
-bin/gnuboy-sdl
-share/doc/gnuboy-sdl/CHANGES
-share/doc/gnuboy-sdl/CONFIG
-share/doc/gnuboy-sdl/CREDITS
-share/doc/gnuboy-sdl/FAQ
-share/doc/gnuboy-sdl/HACKING
-share/doc/gnuboy-sdl/LIBERTY
-share/doc/gnuboy-sdl/README
-share/doc/gnuboy-sdl/README.old
-share/doc/gnuboy-sdl/WHATSNEW
-share/examples/gnuboy-sdl/sample.rc
-@dirrm share/examples/gnuboy-sdl
-@dirrm share/doc/gnuboy-sdl
diff --git a/emulators/gnuboy-sdl/distinfo b/emulators/gnuboy-sdl/distinfo
deleted file mode 100644
index f198141b08d..00000000000
--- a/emulators/gnuboy-sdl/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (gnuboy-1.0.3.tar.gz) = 4c371445b6599c6636d08ba9c5de7bb9fbf78437
-RMD160 (gnuboy-1.0.3.tar.gz) = dfaf927fe2d4e03f39d83079b7dd3aa02c8983b9
-Size (gnuboy-1.0.3.tar.gz) = 187627 bytes
-SHA1 (patch-aa) = 266f39882e2aa3cc3350a6080ecc6e8738c92160
diff --git a/emulators/gnuboy-sdl/patches/patch-aa b/emulators/gnuboy-sdl/patches/patch-aa
deleted file mode 100644
index dd114909e6b..00000000000
--- a/emulators/gnuboy-sdl/patches/patch-aa
+++ /dev/null
@@ -1,70 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/07/26 17:05:05 dillo Exp $
-
---- sys/sdl/sdl.c.orig 2001-09-17 18:40:14.000000000 +0200
-+++ sys/sdl/sdl.c
-@@ -441,6 +441,8 @@ static int sound = 1;
- static int samplerate = 44100;
- static int stereo = 1;
- static volatile int audio_done;
-+static SDL_sem *pcm_rsem, *pcm_wsem;
-+static int atexit_done = 0;
-
- rcvar_t pcm_exports[] =
- {
-@@ -453,8 +455,16 @@ rcvar_t pcm_exports[] =
-
- static void audio_callback(void *blah, byte *stream, int len)
- {
-+ SDL_SemWait(pcm_rsem);
- memcpy(stream, pcm.buf, len);
-- audio_done = 1;
-+ SDL_SemPost(pcm_wsem);
-+}
-+
-+
-+static void audio_atexit(void)
-+{
-+ if (pcm_wsem)
-+ SDL_SemPost(pcm_rsem);
- }
-
-
-@@ -466,6 +476,13 @@ void pcm_init()
- if (!sound) return;
-
- SDL_InitSubSystem(SDL_INIT_AUDIO);
-+ /* XXX: check for NULL */
-+ pcm_rsem = SDL_CreateSemaphore(0);
-+ pcm_wsem = SDL_CreateSemaphore(0);
-+ if (!atexit_done) {
-+ atexit(audio_atexit);
-+ atexit_done = 1;
-+ }
- as.freq = samplerate;
- as.format = AUDIO_U8;
- as.channels = 1 + stereo;
-@@ -491,16 +508,20 @@ int pcm_submit()
- {
- if (!pcm.buf) return 0;
- if (pcm.pos < pcm.len) return 1;
-- while (!audio_done)
-- SDL_Delay(4);
-- audio_done = 0;
-+ SDL_SemPost(pcm_rsem);
-+ SDL_SemWait(pcm_wsem);
- pcm.pos = 0;
- return 1;
- }
-
- void pcm_close()
- {
-- if (sound) SDL_CloseAudio();
-+ if (sound) {
-+ SDL_CloseAudio();
-+ SDL_DestroySemaphore(pcm_rsem);
-+ SDL_DestroySemaphore(pcm_wsem);
-+ pcm_rsem = pcm_wsem = 0;
-+ }
- }
-
-
diff --git a/emulators/gnuboy/DESCR b/emulators/gnuboy/DESCR
deleted file mode 100644
index bde513ae6a6..00000000000
--- a/emulators/gnuboy/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-gnuboy is a portable program for emulating the Nintendo GameBoy Color
-software platform.
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile
deleted file mode 100644
index 85751ac2cf6..00000000000
--- a/emulators/gnuboy/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:50 jlam Exp $
-
-DISTNAME= gnuboy-1.0.3
-PKGREVISION= 1
-CATEGORIES= emulators games
-MASTER_SITES= http://gnuboy.unix-fu.org/src/
-
-MAINTAINER= njl@sdf.lonestar.org
-HOMEPAGE= http://gnuboy.unix-fu.org/
-COMMENT= Gameboy emulator
-
-GNU_CONFIGURE= yes
-
-INSTALLATION_DIRS= bin
-
-.include "../../mk/x11.buildlink3.mk"
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy
- ${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \
- ${PREFIX}/share/examples/gnuboy/
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \
- ${PREFIX}/share/doc/gnuboy/
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gnuboy/PLIST b/emulators/gnuboy/PLIST
deleted file mode 100644
index 6b22fd6c06a..00000000000
--- a/emulators/gnuboy/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/02/16 21:41:08 salo Exp $
-bin/xgnuboy
-share/doc/gnuboy/CHANGES
-share/doc/gnuboy/CONFIG
-share/doc/gnuboy/CREDITS
-share/doc/gnuboy/FAQ
-share/doc/gnuboy/HACKING
-share/doc/gnuboy/LIBERTY
-share/doc/gnuboy/README
-share/doc/gnuboy/README.old
-share/doc/gnuboy/WHATSNEW
-share/examples/gnuboy/sample.rc
-@dirrm share/examples/gnuboy
-@dirrm share/doc/gnuboy
diff --git a/emulators/gnuboy/distinfo b/emulators/gnuboy/distinfo
deleted file mode 100644
index 9f93f19e65e..00000000000
--- a/emulators/gnuboy/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (gnuboy-1.0.3.tar.gz) = 4c371445b6599c6636d08ba9c5de7bb9fbf78437
-RMD160 (gnuboy-1.0.3.tar.gz) = dfaf927fe2d4e03f39d83079b7dd3aa02c8983b9
-Size (gnuboy-1.0.3.tar.gz) = 187627 bytes
-SHA1 (patch-aa) = d99a316e40d1249685204f23e66e3709cefc03e3
-SHA1 (patch-ab) = 0941dc1827ed998ee6ff66014239bb30f85124fa
-SHA1 (patch-ac) = 491bad4bd58f99fb72210cda5a6801f48d6c17d8
-SHA1 (patch-ad) = cac88fded5d8422824faf57d8d32ab571a611fc1
diff --git a/emulators/gnuboy/patches/patch-aa b/emulators/gnuboy/patches/patch-aa
deleted file mode 100644
index 7fe9103acbb..00000000000
--- a/emulators/gnuboy/patches/patch-aa
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2003/02/14 20:06:01 salo Exp $
-
---- Makefile.in.orig Tue Jul 3 12:31:18 2001
-+++ Makefile.in
-@@ -20,6 +20,8 @@ SYS_DEFS = @DEFS@ @ENDIAN@ @ASM@ @SYS_DE
- SYS_OBJS = sys/nix/nix.o $(ASM_OBJS)
- SYS_INCS = -I/usr/local/include @XINCS@ -I./sys/nix
-
-+OSS_LIB = @OSS_LIB@
-+
- FB_OBJS = @FB_OBJS@ @JOY@ @SOUND@
- FB_LIBS =
-
-@@ -31,20 +33,20 @@ SDL_LIBS = @SDL_LIBS@
- SDL_CFLAGS = @SDL_CFLAGS@
-
- X11_OBJS = sys/x11/xlib.o sys/x11/keymap.o @JOY@ @SOUND@
--X11_LIBS = @XLIBS@ -lX11 -lXext
-+X11_LIBS = -Wl,-R${X11BASE}/lib @XLIBS@ -lX11 -lXext
-
- all: $(TARGETS)
-
- include Rules
-
- fbgnuboy: $(OBJS) $(SYS_OBJS) $(FB_OBJS)
-- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(FB_OBJS) -o $@ $(FB_LIBS)
-+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(FB_OBJS) -o $@ $(FB_LIBS) $(OSS_LIB)
-
- sgnuboy: $(OBJS) $(SYS_OBJS) $(SVGA_OBJS)
-- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SVGA_OBJS) -o $@ $(SVGA_LIBS)
-+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SVGA_OBJS) -o $@ $(SVGA_LIBS) $(OSS_LIB)
-
- sdlgnuboy: $(OBJS) $(SYS_OBJS) $(SDL_OBJS)
-- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SDL_OBJS) -o $@ $(SDL_LIBS)
-+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SDL_OBJS) -o $@ $(SDL_LIBS) $(OSS_LIB)
-
- sys/sdl/sdl.o: sys/sdl/sdl.c
- $(MYCC) $(SDL_CFLAGS) -c $< -o $@
-@@ -53,11 +55,11 @@ sys/sdl/keymap.o: sys/sdl/keymap.c
- $(MYCC) $(SDL_CFLAGS) -c $< -o $@
-
- xgnuboy: $(OBJS) $(SYS_OBJS) $(X11_OBJS)
-- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(X11_OBJS) -o $@ $(X11_LIBS)
-+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(X11_OBJS) -o $@ $(X11_LIBS) $(OSS_LIB)
-
- install: all
-- $(INSTALL) -d $(bindir)
-- $(INSTALL) -m 755 $(TARGETS) $(bindir)
-+ $(INSTALL) -d $(prefix)$(bindir)
-+ $(INSTALL) -m 755 $(TARGETS) $(prefix)$(bindir)
-
- clean:
- rm -f *gnuboy gmon.out *.o sys/*.o sys/*/*.o asm/*/*.o
diff --git a/emulators/gnuboy/patches/patch-ab b/emulators/gnuboy/patches/patch-ab
deleted file mode 100644
index 844be7893a9..00000000000
--- a/emulators/gnuboy/patches/patch-ab
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/02/14 20:06:01 salo Exp $
-
---- configure.in.orig Sun Sep 23 21:09:31 2001
-+++ configure.in
-@@ -53,6 +53,11 @@ OpenBSD)
- SYS_DEFS=-DIS_OBSD
- AC_CHECK_HEADERS(soundcard.h, [SOUND=sys/oss/oss.o])
- ;;
-+NetBSD)
-+SYS_DEFS=-DIS_NBSD
-+AC_CHECK_HEADERS(soundcard.h, [SOUND=sys/oss/oss.o])
-+OSS_LIB="$OSS_LIB -lossaudio"
-+;;
- esac
-
- test "$SOUND" || SOUND=sys/dummy/nosound.o
-@@ -251,6 +256,7 @@ AC_SUBST(SDL_LIBS)
- AC_SUBST(TARGETS)
- AC_SUBST(XINCS)
- AC_SUBST(XLIBS)
-+AC_SUBST(OSS_LIB)
-
- AC_CONFIG_HEADER(sys/nix/config.h)
- AC_OUTPUT(Makefile)
diff --git a/emulators/gnuboy/patches/patch-ac b/emulators/gnuboy/patches/patch-ac
deleted file mode 100644
index e39c78c42b3..00000000000
--- a/emulators/gnuboy/patches/patch-ac
+++ /dev/null
@@ -1,72 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2003/02/14 20:06:02 salo Exp $
-
---- configure.orig Tue Nov 6 03:03:13 2001
-+++ configure
-@@ -2499,6 +2499,59 @@ fi
- done
-
- ;;
-+NetBSD)
-+SYS_DEFS=-DIS_NBSD
-+
-+for ac_header in soundcard.h
-+do
-+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-+echo "$as_me:2508: checking for $ac_header" >&5
-+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-+if eval "test \"\${$as_ac_Header+set}\" = set"; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ cat >conftest.$ac_ext <<_ACEOF
-+#line 2514 "configure"
-+#include "confdefs.h"
-+#include <$ac_header>
-+_ACEOF
-+if { (eval echo "$as_me:2518: \"$ac_cpp conftest.$ac_ext\"") >&5
-+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-+ ac_status=$?
-+ egrep -v '^ *\+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:2524: \$? = $ac_status" >&5
-+ (exit $ac_status); } >/dev/null; then
-+ if test -s conftest.err; then
-+ ac_cpp_err=$ac_c_preproc_warn_flag
-+ else
-+ ac_cpp_err=
-+ fi
-+else
-+ ac_cpp_err=yes
-+fi
-+if test -z "$ac_cpp_err"; then
-+ eval "$as_ac_Header=yes"
-+else
-+ echo "$as_me: failed program was:" >&5
-+ cat conftest.$ac_ext >&5
-+ eval "$as_ac_Header=no"
-+fi
-+rm -f conftest.err conftest.$ac_ext
-+fi
-+echo "$as_me:2543: result: `eval echo '${'$as_ac_Header'}'`" >&5
-+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
-+if test `eval echo '${'$as_ac_Header'}'` = yes; then
-+ cat >>confdefs.h <<EOF
-+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-+EOF
-+ SOUND=sys/oss/oss.o
-+fi
-+done
-+
-+OSS_LIB="$OSS_LIB -lossaudio"
-+;;
- esac
-
- test "$SOUND" || SOUND=sys/dummy/nosound.o
-@@ -3679,6 +3732,7 @@ s,@SDL_LIBS@,$SDL_LIBS,;t t
- s,@TARGETS@,$TARGETS,;t t
- s,@XINCS@,$XINCS,;t t
- s,@XLIBS@,$XLIBS,;t t
-+s,@OSS_LIB@,$OSS_LIB,;t t
- CEOF
-
- EOF
diff --git a/emulators/gnuboy/patches/patch-ad b/emulators/gnuboy/patches/patch-ad
deleted file mode 100644
index 97a22fba461..00000000000
--- a/emulators/gnuboy/patches/patch-ad
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2003/02/14 20:06:02 salo Exp $
-
---- sys/oss/oss.c.orig Sun Sep 23 14:01:10 2001
-+++ sys/oss/oss.c
-@@ -7,6 +7,12 @@ char *strdup();
- #include <sys/stat.h>
- #include <fcntl.h>
-
-+#ifdef IS_NBSD
-+#include "sys/ioctl.h"
-+#include "soundcard.h"
-+#define DSP_DEVICE "/dev/audio"
-+#endif
-+
- #ifdef IS_FBSD
- #include "machine/soundcard.h"
- #define DSP_DEVICE "/dev/dsp"
diff --git a/emulators/gpsim-devel/DESCR b/emulators/gpsim-devel/DESCR
deleted file mode 100644
index 133d585a41b..00000000000
--- a/emulators/gpsim-devel/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-PIC simulator that supports X, stimulii, and modules
diff --git a/emulators/gpsim-devel/Makefile b/emulators/gpsim-devel/Makefile
deleted file mode 100644
index 738f63d484e..00000000000
--- a/emulators/gpsim-devel/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/09/19 09:10:23 bouyer Exp $
-#
-
-DISTNAME= gpsim-20050905
-CATEGORIES= emulators
-MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/
-
-MAINTAINER= bouyer@NetBSD.org
-HOMEPAGE= http://www.dattalo.com/gnupic/gpsim.html
-COMMENT= PIC emulator with X interface
-
-GNU_CONFIGURE= YES
-USE_LANGUAGES= c c++
-
-USE_TOOLS+= bison gmake lex pkg-config
-USE_LIBTOOL= YES
-
-GCC_REQD+= 3.0
-
-USE_GNU_READLINE= # rl_callback_read_char, rl_copy_text,
-# rl_callback_handler_remove, rl_forced_update_display,
-# rl_callback_handler_install
-
-CONFLICTS= eXdbm-[0-9]* gpsim-[0-9]*
-
-.include "../../devel/popt/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-.include "../../x11/gtk2+extra/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim-devel/PLIST b/emulators/gpsim-devel/PLIST
deleted file mode 100644
index 3d51af13bea..00000000000
--- a/emulators/gpsim-devel/PLIST
+++ /dev/null
@@ -1,84 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/09/07 20:17:46 bouyer Exp $
-bin/gpsim
-include/eXdbm/eXdbm.h
-include/eXdbm/eXdbmErrors.h
-include/eXdbm/eXdbmTypes.h
-include/gpsim/12bit-instructions.h
-include/gpsim/12bit-processors.h
-include/gpsim/14bit-instructions.h
-include/gpsim/14bit-processors.h
-include/gpsim/14bit-registers.h
-include/gpsim/14bit-tmrs.h
-include/gpsim/16bit-instructions.h
-include/gpsim/16bit-processors.h
-include/gpsim/16bit-registers.h
-include/gpsim/16bit-tmrs.h
-include/gpsim/attributes.h
-include/gpsim/bit.h
-include/gpsim/bitlog.h
-include/gpsim/breakpoints.h
-include/gpsim/bytelog.h
-include/gpsim/cmd_gpsim.h
-include/gpsim/cmd_manager.h
-include/gpsim/cod.h
-include/gpsim/eeprom.h
-include/gpsim/errors.h
-include/gpsim/exports.h
-include/gpsim/expr.h
-include/gpsim/gpsim_classes.h
-include/gpsim/gpsim_def.h
-include/gpsim/gpsim_interface.h
-include/gpsim/gpsim_object.h
-include/gpsim/gpsim_time.h
-include/gpsim/fopen-path.h
-include/gpsim/i2c-ee.h
-include/gpsim/icd.h
-include/gpsim/intcon.h
-include/gpsim/interface.h
-include/gpsim/ioports.h
-include/gpsim/lxt_write.h
-include/gpsim/modules.h
-include/gpsim/operator.h
-include/gpsim/p12x.h
-include/gpsim/p16x5x.h
-include/gpsim/p16f62x.h
-include/gpsim/p16x6x.h
-include/gpsim/p16x7x.h
-include/gpsim/p16x8x.h
-include/gpsim/p16f87x.h
-include/gpsim/p17c75x.h
-include/gpsim/p18x.h
-include/gpsim/packages.h
-include/gpsim/pic-instructions.h
-include/gpsim/pic-packages.h
-include/gpsim/pic-processor.h
-include/gpsim/pic-registers.h
-include/gpsim/picdis.h
-include/gpsim/pie.h
-include/gpsim/pir.h
-include/gpsim/processor.h
-include/gpsim/program_files.h
-include/gpsim/protocol.h
-include/gpsim/pthread-wrap.h
-include/gpsim/registers.h
-include/gpsim/sim_context.h
-include/gpsim/ssp.h
-include/gpsim/stimuli.h
-include/gpsim/stimulus_orb.h
-include/gpsim/symbol.h
-include/gpsim/symbol_orb.h
-include/gpsim/tmr0.h
-include/gpsim/trace.h
-include/gpsim/trace_orb.h
-include/gpsim/trigger.h
-include/gpsim/ttoken.h
-include/gpsim/uart.h
-include/gpsim/value.h
-include/gpsim/xref.h
-lib/libgpsim_eXdbm.la
-lib/libgpsim.la
-lib/libgpsimcli.la
-lib/libgpsim_modules.la
-lib/libgpsimgui.la
-@dirrm include/eXdbm
-@dirrm include/gpsim
diff --git a/emulators/gpsim-devel/buildlink3.mk b/emulators/gpsim-devel/buildlink3.mk
deleted file mode 100644
index 5e2a961c37e..00000000000
--- a/emulators/gpsim-devel/buildlink3.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.2 2005/09/07 20:17:46 bouyer Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-GPSIM_BUILDLINK3_MK:= ${GPSIM_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= gpsim
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpsim}
-BUILDLINK_PACKAGES+= gpsim
-
-.if !empty(GPSIM_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.gpsim+= gpsim>=20050905
-BUILDLINK_RECOMMENDED.gpsim+= gpsim>=20050905
-BUILDLINK_PKGSRCDIR.gpsim?= ../../emulators/gpsim-devel
-.endif # GPSIM_BUILDLINK3_MK
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
-
-.include "../../x11/gtk2/buildlink3.mk"
diff --git a/emulators/gpsim-devel/distinfo b/emulators/gpsim-devel/distinfo
deleted file mode 100644
index 84fd8d3840e..00000000000
--- a/emulators/gpsim-devel/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/09/07 20:17:46 bouyer Exp $
-
-SHA1 (gpsim-20050905.tar.gz) = 46e7d0d69695961aca4324d8d3267181bd641081
-RMD160 (gpsim-20050905.tar.gz) = 1b717f0e51440c4e2db72a4bdfb90d2e8d5e4a3d
-Size (gpsim-20050905.tar.gz) = 2027957 bytes
-SHA1 (patch-aa) = f7d1c04b216ecabaf3071f92c97c7436a54f1e87
diff --git a/emulators/gpsim-devel/patches/patch-aa b/emulators/gpsim-devel/patches/patch-aa
deleted file mode 100644
index 1786f99bc2a..00000000000
--- a/emulators/gpsim-devel/patches/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/09/07 20:17:46 bouyer Exp $
-
---- gui/Makefile.in.orig 2005-08-31 17:03:41.000000000 +0200
-+++ gui/Makefile.in 2005-09-02 12:59:20.000000000 +0200
-@@ -235,9 +235,9 @@
-
- libgpsimgui_la_LDFLAGS = @X_LDFLAGS@ @Y_LDFLAGS@
- pixmapdir = $(datadir)/gpsim
--AM_CFLAGS = -D DATADIR=\"~/.gpsim/\"
--AM_CXXFLAGS = -D DATADIR=\"~/.gpsim/\"
--AM_CPPFLAGS = -D DATADIR=\"~/.gpsim/\"
-+AM_CFLAGS = -DDATADIR=\"~/.gpsim/\"
-+AM_CXXFLAGS = -DDATADIR=\"~/.gpsim/\"
-+AM_CPPFLAGS = -DDATADIR=\"~/.gpsim/\"
- all: all-am
-
- .SUFFIXES:
diff --git a/emulators/gpsim-oscilloscope/DESCR b/emulators/gpsim-oscilloscope/DESCR
deleted file mode 100644
index 7d5f934d915..00000000000
--- a/emulators/gpsim-oscilloscope/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This is an oscilloscope module for gpsim. The module provide 8 probes, which
-you have to connect to nodes. For now the graphic interface doesn't
-update its display dynamically, it provides 2 input boxes in which have to
-enter the start and end cycles to draw.
diff --git a/emulators/gpsim-oscilloscope/Makefile b/emulators/gpsim-oscilloscope/Makefile
deleted file mode 100644
index e81901d4290..00000000000
--- a/emulators/gpsim-oscilloscope/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/09/19 09:10:23 bouyer Exp $
-#
-
-DISTNAME= oscilloscope-0.1.2
-PKGNAME= gpsim-${DISTNAME}
-CATEGORIES= emulators
-MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/
-
-MAINTAINER= bouyer@NetBSD.org
-COMMENT= Oscilloscope module for gpsim
-
-GNU_CONFIGURE= YES
-USE_BUILDLINK3= YES
-USE_LANGUAGES= c c++
-
-USE_LIBTOOL= YES
-
-GCC_REQD+= 3.0
-
-EGDIR= ${PREFIX}/share/examples/gpsim-oscilloscope
-post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- cd ${WRKSRC}/examples; \
- ${INSTALL_DATA} tst_txdot.asm ${EGDIR}; \
- ${INSTALL_DATA} tst_txdot.stc ${EGDIR};
-
-.include "../../emulators/gpsim-devel/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim-oscilloscope/PLIST b/emulators/gpsim-oscilloscope/PLIST
deleted file mode 100644
index 12105eaf874..00000000000
--- a/emulators/gpsim-oscilloscope/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/09/07 20:21:37 bouyer Exp $
-lib/libgpsim_oscilloscope.la
-share/examples/gpsim-oscilloscope/tst_txdot.asm
-share/examples/gpsim-oscilloscope/tst_txdot.stc
-@dirrm share/examples/gpsim-oscilloscope
diff --git a/emulators/gpsim-oscilloscope/distinfo b/emulators/gpsim-oscilloscope/distinfo
deleted file mode 100644
index 814b995f708..00000000000
--- a/emulators/gpsim-oscilloscope/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/09/07 20:21:37 bouyer Exp $
-
-SHA1 (oscilloscope-0.1.2.tar.gz) = 3ab26a7cb7568a25ac4cd22bf925e0f2bb0affbf
-RMD160 (oscilloscope-0.1.2.tar.gz) = a96e429975a566ac4979d9c11596c321456181e2
-Size (oscilloscope-0.1.2.tar.gz) = 623813 bytes
diff --git a/emulators/gpsim-ptyusart/DESCR b/emulators/gpsim-ptyusart/DESCR
deleted file mode 100644
index 9cee24eae9e..00000000000
--- a/emulators/gpsim-ptyusart/DESCR
+++ /dev/null
@@ -1,19 +0,0 @@
-This is a serial module for gpsim, connecting the virtual Rx/Tx lines
-to a pseudo-tty (pty). You can then use your usual serial tools (cu, tip,
-minicom, etc ...) on this pty as you would do on a real serial port on
-your Unix workstation.
-Included is an example loopback program for a pic18f (that is, it will
-just echo back what you send it). tstloopback.c can be used along with
-cu or tip (or possibly minicom) to copy an arbitrary file though the
-serial port and the pic, which allows to check for data corruption
-(if you notice that 0x11 and 0x13 characters get lost, check for
-the XON/XOFF status of your pty :)
-
-This module has been developed for gpsim from CVS 20040816:
-http://www-asim.lip6.fr/~bouyer/pic/gpsim-20040826.tar.gz
-
-For now this has only been tested on NetBSD. It should work without
-much troubles on others BSDs. More work is needed for other unix-like
-operating systems (probably require a usart_external.cc per pty style).
-
-Please address comments, bug-fixes or updates to Manuel.Bouyer@lip6.fr
diff --git a/emulators/gpsim-ptyusart/Makefile b/emulators/gpsim-ptyusart/Makefile
deleted file mode 100644
index d35fe66e14d..00000000000
--- a/emulators/gpsim-ptyusart/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/09/19 09:10:23 bouyer Exp $
-#
-
-DISTNAME= ptyusart-0.3.2
-PKGNAME= gpsim-${DISTNAME}
-CATEGORIES= emulators
-MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/
-
-MAINTAINER= bouyer@NetBSD.org
-COMMENT= Pseudo-tty module for gpsim
-
-ONLY_FOR_PLATFORM= NetBSD-*-*
-
-GNU_CONFIGURE= YES
-USE_BUILDLINK3= YES
-USE_LANGUAGES= c c++
-
-USE_LIBTOOL= YES
-
-GCC_REQD+= 3.0
-
-EGDIR= ${PREFIX}/share/examples/gpsim-ptyusart
-post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- cd ${WRKSRC}/examples; \
- ${INSTALL_DATA} tst_txdot.asm ${EGDIR}; \
- ${INSTALL_DATA} tst_txrx.asm ${EGDIR}; \
- ${INSTALL_DATA} tst_txrx.stc ${EGDIR}; \
- ${INSTALL_DATA} tstloopback.c ${EGDIR};
-
-.include "../../emulators/gpsim-devel/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim-ptyusart/PLIST b/emulators/gpsim-ptyusart/PLIST
deleted file mode 100644
index 74bfbee6bb1..00000000000
--- a/emulators/gpsim-ptyusart/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/09/07 20:23:12 bouyer Exp $
-lib/libgpsim_ptyusart.la
-share/examples/gpsim-ptyusart/tst_txdot.asm
-share/examples/gpsim-ptyusart/tst_txrx.asm
-share/examples/gpsim-ptyusart/tst_txrx.stc
-share/examples/gpsim-ptyusart/tstloopback.c
-@dirrm share/examples/gpsim-ptyusart
diff --git a/emulators/gpsim-ptyusart/distinfo b/emulators/gpsim-ptyusart/distinfo
deleted file mode 100644
index 9b945c22236..00000000000
--- a/emulators/gpsim-ptyusart/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/09/07 20:23:12 bouyer Exp $
-
-SHA1 (ptyusart-0.3.2.tar.gz) = cf2a8bf2fefac2dd52661e976b6991f45b8c3e76
-RMD160 (ptyusart-0.3.2.tar.gz) = 3d08f6b2c46f3879b87748b38238903ccc346a1b
-Size (ptyusart-0.3.2.tar.gz) = 629491 bytes
diff --git a/emulators/gpsim/DESCR b/emulators/gpsim/DESCR
deleted file mode 100644
index 133d585a41b..00000000000
--- a/emulators/gpsim/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-PIC simulator that supports X, stimulii, and modules
diff --git a/emulators/gpsim/Makefile b/emulators/gpsim/Makefile
deleted file mode 100644
index c23ba7233be..00000000000
--- a/emulators/gpsim/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2005/05/22 20:07:58 jlam Exp $
-#
-
-DISTNAME= gpsim-0.21.2
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.dattalo.com/gnupic/
-
-MAINTAINER= snoonan@tbearsiberians.com
-HOMEPAGE= http://www.dattalo.com/gnupic/gpsim.html
-COMMENT= PIC emulator with X interface
-
-GNU_CONFIGURE= YES
-USE_LANGUAGES= c c++
-
-USE_TOOLS+= gmake
-USE_LIBTOOL= YES
-
-USE_GNU_READLINE= # rl_callback_read_char, rl_copy_text,
-# rl_callback_handler_remove, rl_forced_update_display,
-# rl_callback_handler_install
-
-CONFLICTS= eXdbm-[0-9]*
-
-.include "../../devel/popt/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-.include "../../x11/gtk+extra/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim/PLIST b/emulators/gpsim/PLIST
deleted file mode 100644
index cacf7a0fffb..00000000000
--- a/emulators/gpsim/PLIST
+++ /dev/null
@@ -1,65 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:30 jlam Exp $
-bin/gpsim
-include/eXdbm/eXdbm.h
-include/eXdbm/eXdbmErrors.h
-include/eXdbm/eXdbmTypes.h
-include/gpsim/12bit-instructions.h
-include/gpsim/12bit-processors.h
-include/gpsim/14bit-instructions.h
-include/gpsim/14bit-processors.h
-include/gpsim/14bit-registers.h
-include/gpsim/14bit-tmrs.h
-include/gpsim/16bit-instructions.h
-include/gpsim/16bit-processors.h
-include/gpsim/16bit-registers.h
-include/gpsim/16bit-tmrs.h
-include/gpsim/attribute.h
-include/gpsim/breakpoints.h
-include/gpsim/cod.h
-include/gpsim/eeprom.h
-include/gpsim/registers.h
-include/gpsim/gpsim_classes.h
-include/gpsim/gpsim_def.h
-include/gpsim/gpsim_interface.h
-include/gpsim/gpsim_time.h
-include/gpsim/fopen-path.h
-include/gpsim/icd.h
-include/gpsim/intcon.h
-include/gpsim/interface.h
-include/gpsim/ioports.h
-include/gpsim/lxt_write.h
-include/gpsim/modules.h
-include/gpsim/p12x.h
-include/gpsim/p16x5x.h
-include/gpsim/p16f62x.h
-include/gpsim/p16x6x.h
-include/gpsim/p16x7x.h
-include/gpsim/p16x8x.h
-include/gpsim/p16f87x.h
-include/gpsim/p17c75x.h
-include/gpsim/p18x.h
-include/gpsim/packages.h
-include/gpsim/pic-instructions.h
-include/gpsim/pic-packages.h
-include/gpsim/pic-processor.h
-include/gpsim/pic-registers.h
-include/gpsim/picdis.h
-include/gpsim/pie.h
-include/gpsim/pir.h
-include/gpsim/processor.h
-include/gpsim/stimuli.h
-include/gpsim/stimulus_orb.h
-include/gpsim/symbol.h
-include/gpsim/symbol_orb.h
-include/gpsim/tmr0.h
-include/gpsim/trace.h
-include/gpsim/trace_orb.h
-include/gpsim/uart.h
-include/gpsim/xref.h
-lib/libgpsim_eXdbm.la
-lib/libgpsim.la
-lib/libgpsimcli.la
-lib/libgpsim_modules.la
-lib/libgpsimgui.la
-@dirrm include/eXdbm
-@dirrm include/gpsim
diff --git a/emulators/gpsim/distinfo b/emulators/gpsim/distinfo
deleted file mode 100644
index 74d79490b36..00000000000
--- a/emulators/gpsim/distinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:18 agc Exp $
-
-SHA1 (gpsim-0.21.2.tar.gz) = 9c16a1288f0c83923395d01e9749d56a087707f9
-RMD160 (gpsim-0.21.2.tar.gz) = 8dea42dbc76bd4e2f137da8217453f8517b3444a
-Size (gpsim-0.21.2.tar.gz) = 721817 bytes
-SHA1 (patch-aa) = 3d548f5ed918f35384b3e813453d63b8adfceebc
-SHA1 (patch-ab) = 10c7ac1ced267081ec25180a53b6881c4dc4326e
-SHA1 (patch-ac) = 51b3a74c28157d97b43a7b101bd103a98ae46c2e
-SHA1 (patch-ad) = dcd0f4570e593a9523fd30025221fa49a92164bc
-SHA1 (patch-ae) = ba466ee447913ea80893470c6f769ca0c96b2ff9
-SHA1 (patch-af) = fd29b01c78458891928880af6f8cbf6df784d92c
diff --git a/emulators/gpsim/patches/patch-aa b/emulators/gpsim/patches/patch-aa
deleted file mode 100644
index 1978d4470f6..00000000000
--- a/emulators/gpsim/patches/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/04/26 22:34:17 snj Exp $
-
---- gui/Makefile.in.orig 2004-04-26 15:24:07.000000000 -0700
-+++ gui/Makefile.in 2004-04-26 15:24:23.000000000 -0700
-@@ -116,9 +116,9 @@ libgpsimgui_la_LDFLAGS = @X_LDFLAGS@ @Y_
-
- pixmapdir = $(datadir)/gpsim
-
--CFLAGS = @CFLAGS@ -D DATADIR=\"~/.gpsim/\"
--CXXFLAGS = @CXXFLAGS@ -D DATADIR=\"~/.gpsim/\"
--CPPFLAGS = @CPPFLAGS@ -D DATADIR=\"~/.gpsim/\"
-+CFLAGS = @CFLAGS@ -DDATADIR=\"~/.gpsim/\"
-+CXXFLAGS = @CXXFLAGS@ -DDATADIR=\"~/.gpsim/\"
-+CPPFLAGS = @CPPFLAGS@ -DDATADIR=\"~/.gpsim/\"
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES =
diff --git a/emulators/gpsim/patches/patch-ab b/emulators/gpsim/patches/patch-ab
deleted file mode 100644
index 0c3c2be25e3..00000000000
--- a/emulators/gpsim/patches/patch-ab
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/05/02 20:08:14 bouyer Exp $
-
---- src/16bit-registers.cc.orig 2004-04-29 23:30:57.000000000 +0200
-+++ src/16bit-registers.cc 2004-04-29 23:33:09.000000000 +0200
-@@ -1181,7 +1181,6 @@
-
- bool TXREG_16::is_empty(void)
- {
-- cout << "Txreg_16::empty\n";
- if(pir_set)
- return(pir_set->get_txif());
- return 0;
-@@ -1192,14 +1191,12 @@
- {
- if(pir_set)
- pir_set->set_txif();
-- cout << "Txreg_16::empty\n";
- }
-
- void TXREG_16::full(void)
- {
- if(pir_set)
- pir_set->clear_txif();
-- cout << "Txreg_16::full\n";
- }
-
- void TXREG_16::assign_pir_set(PIR_SET *new_pir_set)
diff --git a/emulators/gpsim/patches/patch-ac b/emulators/gpsim/patches/patch-ac
deleted file mode 100644
index 1ede5fb30e0..00000000000
--- a/emulators/gpsim/patches/patch-ac
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2004/05/02 20:08:14 bouyer Exp $
-
---- src/pir.cc.orig 2004-01-31 03:58:03.000000000 +0100
-+++ src/pir.cc 2004-04-29 23:32:37.000000000 +0200
-@@ -40,6 +40,14 @@
- }
-
-
-+void PIR1v1::set_txif(void)
-+{
-+ trace.register_write(address,value);
-+ value |= TXIF;
-+ if( value & pie->value )
-+ intcon->peripheral_interrupt();
-+}
-+
- void PIR1v1::clear_txif(void)
- {
- value &= ~TXIF;
-@@ -56,6 +64,14 @@
-
-
-
-+void PIR1v2::set_txif(void)
-+{
-+ trace.register_write(address,value);
-+ value |= TXIF;
-+ if( value & pie->value )
-+ intcon->peripheral_interrupt();
-+}
-+
- void PIR1v2::clear_txif(void)
- {
- value &= ~TXIF;
diff --git a/emulators/gpsim/patches/patch-ad b/emulators/gpsim/patches/patch-ad
deleted file mode 100644
index b94a48ee1e8..00000000000
--- a/emulators/gpsim/patches/patch-ad
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2004/05/02 20:08:14 bouyer Exp $
-
---- src/pir.h.orig 2004-02-07 03:50:52.000000000 +0100
-+++ src/pir.h 2004-04-29 23:32:37.000000000 +0200
-@@ -93,11 +93,7 @@
- put(get() | SSPIF);
- }
-
-- inline void set_txif(void)
-- {
-- put(get() | TXIF);
-- }
--
-+ void set_txif(void);
- inline void set_rcif(void)
- {
- put(get() | RCIF);
-@@ -178,11 +174,7 @@
- put(get() | SSPIF);
- }
-
-- inline void set_txif(void)
-- {
-- put(get() | TXIF);
-- }
--
-+ void set_txif(void);
- inline void set_rcif(void)
- {
- put(get() | RCIF);
-@@ -205,7 +197,7 @@
- void clear_txif(void);
- unsigned int get_rcif(void)
- {
-- return value & TXIF;
-+ return value & RCIF;
- }
- void clear_rcif(void);
-
diff --git a/emulators/gpsim/patches/patch-ae b/emulators/gpsim/patches/patch-ae
deleted file mode 100644
index 1148c1fae02..00000000000
--- a/emulators/gpsim/patches/patch-ae
+++ /dev/null
@@ -1,187 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2004/05/02 20:08:14 bouyer Exp $
-
---- src/uart.cc.orig 2004-01-31 03:58:04.000000000 +0100
-+++ src/uart.cc 2004-04-30 18:56:31.000000000 +0200
-@@ -139,11 +139,16 @@
- cout << "TXSTA - enabling transmitter\n";
- if(txreg) {
- cout << " TXSTA - does have a txreg\n";
-- if(txreg->is_empty())
- txreg->empty();
-- else
-+#if 0
-+ if(txreg->is_empty()) {
-+ txreg->empty();
-+ } else {
-+ cout << "start_transmitting1" << endl;
- start_transmitting();
- }
-+#endif
-+ }
- } else
- stop_transmitting();
- }
-@@ -431,47 +436,53 @@
- void _RCSTA::receive_a_bit(unsigned int bit)
- {
-
-- if(bit_count)
-- {
-+ // If we're waiting for the start bit and this isn't it then
-+ // we don't need to look any further
-+ // cout << "receive_a_bit state " << state << "bit " << bit << endl;
-+ if( state == RCSTA_MAYBE_START) {
-+ if (bit)
-+ state = RCSTA_WAITING_FOR_START;
-+ else
-+ state = RCSTA_RECEIVING;
-+ return;
-+ }
-+ if (bit_count == 0) {
-+ // we should now have the stop bit
-+ if (bit) {
-+ // got the stop bit
-+ // If the rxreg has data from a previous reception then
-+ // we have a receiver overrun error.
-+ // cout << "rcsta.rsr is full\n";
-+
-+ if((value & RX9) == 0)
-+ rsr >>= 1;
-+
-+ // copy the rsr to the fifo
-+ if(rcreg)
-+ rcreg->push( rsr & 0xff);
-+ //cout << "_RCSTA::receive_a_bit received 0x" << (rsr & 0xff) << endl;
-+
-+ } else {
-+ //not stop bit; discard the data and go back receiving
-+ }
-+ // If we're continuously receiving, then set up for the next byte.
-+ // FIXME -- may want to set a half bit delay before re-starting...
-+ if(value & CREN)
-+ start_receiving();
-+ else
-+ state = RCSTA_DISABLED;
-+ return;
-+ }
-
-- // If we're waiting for the start bit and this isn't it then
-- // we don't need to look any further
-- if( (state == RCSTA_WAITING_FOR_START) && bit)
-- return;
--
-- // Copy the bit into the Receive Shift Register
-- if(bit)
-- rsr |= 1<<9;
--
-- //cout << "Receive bit #" << bit_count << ": " << (rsr&(1<<9)) << '\n';
--
-- rsr >>= 1;
--
-- if(--bit_count == 0)
-- {
-- // rsr is full.
--
-- // If the rxreg has data from a previous reception then
-- // we have a receiver overrun error.
-- //cout << "rcsta.rsr is full\n";
--
-- if((value & RX9) == 0)
-- rsr >>= 1;
--
-- // copy the rsr to the fifo
-- if(rcreg)
-- rcreg->push( rsr & 0xff);
--
-- // If we're continuously receiving, then set up for the next byte.
-- // FIXME -- may want to set a half bit delay before re-starting...
-- if(value & CREN)
-- start_receiving();
-- else
-- state = RCSTA_DISABLED;
-
-- }
-+ // Copy the bit into the Receive Shift Register
-+ if(bit)
-+ rsr |= 1<<9;
-
-- }
-+ //cout << "Receive bit #" << bit_count << ": " << (rsr&(1<<9)) << '\n';
-+
-+ rsr >>= 1;
-+ bit_count--;
-
- }
-
-@@ -494,11 +505,11 @@
- // Is this a 9-bit data reception?
- if(value & RX9)
- {
-- bit_count = 10;
-+ bit_count = 9;
- }
- else
- {
-- bit_count = 9;
-+ bit_count = 8;
- }
-
- state = RCSTA_WAITING_FOR_START;
-@@ -526,11 +537,11 @@
- if(txsta && (txsta->value & _TXSTA::BRGH))
- set_callback_break(BRGH_FIRST_MID_SAMPLE);
- else
-- set_callback_break(BRGH_FIRST_MID_SAMPLE);
-+ set_callback_break(BRGL_FIRST_MID_SAMPLE);
-
- sample = 0;
-- state = RCSTA_WAITING_MID1;
--
-+ sample_state = RCSTA_WAITING_MID1;
-+ state = RCSTA_MAYBE_START;
- }
-
- void _RCSTA::callback(void)
-@@ -538,7 +549,7 @@
-
- //cout << "RCSTA callback " << (cycles.value) << '\n';
-
-- switch(state) {
-+ switch(sample_state) {
- case RCSTA_WAITING_MID1:
- if(uart_port->get_bit(rx_bit))
- sample++;
-@@ -548,7 +559,7 @@
- else
- set_callback_break(BRGL_SECOND_MID_SAMPLE - BRGL_FIRST_MID_SAMPLE);
-
-- state = RCSTA_WAITING_MID2;
-+ sample_state = RCSTA_WAITING_MID2;
-
- break;
-
-@@ -561,7 +572,7 @@
- else
- set_callback_break(BRGL_THIRD_MID_SAMPLE - BRGL_SECOND_MID_SAMPLE);
-
-- state = RCSTA_WAITING_MID3;
-+ sample_state = RCSTA_WAITING_MID3;
-
- break;
-
-@@ -573,13 +584,13 @@
- sample = 0;
-
- // If this wasn't the last bit then go ahead and set a break for the next bit.
-- if(state==RCSTA_WAITING_MID3) {
-+ if(state==RCSTA_RECEIVING) {
- if(txsta && (txsta->value & _TXSTA::BRGH))
- set_callback_break(TOTAL_BRGH_STATES -(BRGH_THIRD_MID_SAMPLE - BRGH_FIRST_MID_SAMPLE));
- else
- set_callback_break(TOTAL_BRGL_STATES -(BRGL_THIRD_MID_SAMPLE - BRGL_FIRST_MID_SAMPLE));
-
-- state = RCSTA_WAITING_MID1;
-+ sample_state = RCSTA_WAITING_MID1;
- }
-
- break;
diff --git a/emulators/gpsim/patches/patch-af b/emulators/gpsim/patches/patch-af
deleted file mode 100644
index cedbb30e9e5..00000000000
--- a/emulators/gpsim/patches/patch-af
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/05/02 20:08:14 bouyer Exp $
-
---- src/uart.h.orig 2003-12-31 19:04:42.000000000 +0100
-+++ src/uart.h 2004-05-02 20:32:52.000000000 +0200
-@@ -135,6 +135,7 @@
- enum {
- RCSTA_DISABLED,
- RCSTA_WAITING_FOR_START,
-+ RCSTA_MAYBE_START,
- RCSTA_WAITING_MID1,
- RCSTA_WAITING_MID2,
- RCSTA_WAITING_MID3,
-@@ -162,7 +163,7 @@
- unsigned int rsr;
- unsigned int bit_count;
- unsigned int rx_bit;
-- unsigned int sample,state;
-+ unsigned int sample,state, sample_state;
- guint64 future_cycle, last_cycle;
-
- _RCSTA(void);
diff --git a/emulators/gxemul/DESCR b/emulators/gxemul/DESCR
deleted file mode 100644
index 8ef0c801333..00000000000
--- a/emulators/gxemul/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-GXemul is a machine emulator. The initial goal was to write a simple
-64-bit MIPS emulator for running multiprocessor experiments with a
-microkernel, but the emulator can be used for many other things. While
-some simulators only simulate a CPU, GXemul also simulates other
-hardware components, making it possible to use the emulator to run
-unmodified operating systems, such as NetBSD, OpenBSD, or Linux.
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
deleted file mode 100644
index 54e1aa4e039..00000000000
--- a/emulators/gxemul/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2005/10/29 10:05:47 xtraeme Exp $
-#
-
-DISTNAME= gxemul-0.3.6.2
-CATEGORIES= emulators
-MASTER_SITES= http://gavare.se/gxemul/src/
-
-MAINTAINER= xtraeme@NetBSD.org
-HOMEPAGE= http://gavare.se/gxemul/
-COMMENT= Machine emulator
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-HAS_CONFIGURE= yes
-BUILD_TARGET= build
-
-INSTALLATION_DIRS= bin share/doc/${PKGBASE}
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1
-.for f in README HISTORY BUGS TODO RELEASE LICENSE
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE}
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
-PKG_SUPPORTED_OPTIONS= x11
-PKG_SUGGESTED_OPTIONS= x11
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mx11)
-GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
-SUBST_CLASSES= x11
-SUBST_STAGE.x11= post-patch
-SUBST_FILES.x11= configure
-SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g" \
- -e "s|/usr/X11R6|${X11BASE}|g"
-SUBST_MESSAGE.x11= "Fixing X linking flags."
-.endif
-
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gxemul/PLIST b/emulators/gxemul/PLIST
deleted file mode 100644
index a359fd3746c..00000000000
--- a/emulators/gxemul/PLIST
+++ /dev/null
@@ -1,64 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2005/10/08 22:27:03 xtraeme Exp $
-bin/gxemul
-man/man1/gxemul.1
-share/doc/gxemul/20040504-ultrix45-boot1.png
-share/doc/gxemul/20040504-ultrix45-boot1_small.gif
-share/doc/gxemul/20040710-openbsd-pmax.png
-share/doc/gxemul/20040710-openbsd-pmax_small.png
-share/doc/gxemul/20040711-sprite-1.png
-share/doc/gxemul/20040711-sprite-1_small.png
-share/doc/gxemul/20041018-mach_pmax.png
-share/doc/gxemul/20041018-mach_pmax_small.png
-share/doc/gxemul/20041024-netbsd-arc-installed.gif
-share/doc/gxemul/20041024-netbsd-arc-installed_small.gif
-share/doc/gxemul/20041024-openbsd-arc-installed.gif
-share/doc/gxemul/20041024-openbsd-arc-installed_small.gif
-share/doc/gxemul/20041129-redhat_mips.png
-share/doc/gxemul/20041129-redhat_mips_small.png
-share/doc/gxemul/20041212-debian_1.png
-share/doc/gxemul/20041212-debian_1_small.gif
-share/doc/gxemul/20041212-debian_2.png
-share/doc/gxemul/20041212-debian_2_small.gif
-share/doc/gxemul/20041213-debian_3.png
-share/doc/gxemul/20041213-debian_3_small.gif
-share/doc/gxemul/20041213-debian_4.png
-share/doc/gxemul/20041213-debian_4_small.gif
-share/doc/gxemul/20050317-example.png
-share/doc/gxemul/20050317-example_small.png
-share/doc/gxemul/20050413-netbsd-cobalt.png
-share/doc/gxemul/20050413-netbsd-cobalt_small.png
-share/doc/gxemul/20050427-netbsd-hpcmips-1.png
-share/doc/gxemul/20050427-netbsd-hpcmips-1_small.png
-share/doc/gxemul/20050427-netbsd-hpcmips-2.png
-share/doc/gxemul/20050427-netbsd-hpcmips-2_small.png
-share/doc/gxemul/20050617-openbsd-sgi.png
-share/doc/gxemul/20050617-openbsd-sgi_small.png
-share/doc/gxemul/20050622-netbsd-evbmips-malta.png
-share/doc/gxemul/20050622-netbsd-evbmips-malta_small.png
-share/doc/gxemul/20050626-netbsd-sgimips-netboot.png
-share/doc/gxemul/20050626-netbsd-sgimips-netboot_small.png
-share/doc/gxemul/20050817-sgi-o2-success-7.png
-share/doc/gxemul/20050817-sgi-o2-success-7_small.png
-share/doc/gxemul/20050817-sgi-o2-success-8.png
-share/doc/gxemul/20050817-sgi-o2-success-8_small.png
-share/doc/gxemul/20051007-netbsd-cats-installed.png
-share/doc/gxemul/20051007-netbsd-cats-installed_small.png
-share/doc/gxemul/20051007-openbsd-cats-installed.png
-share/doc/gxemul/20051007-openbsd-cats-installed_small.png
-share/doc/gxemul/BUGS
-share/doc/gxemul/HISTORY
-share/doc/gxemul/LICENSE
-share/doc/gxemul/README
-share/doc/gxemul/RELEASE
-share/doc/gxemul/TODO
-share/doc/gxemul/hello_mips.c
-share/doc/gxemul/hello_ppc.c
-share/doc/gxemul/maddr.gif
-share/doc/gxemul/openbsd-pmax-20040710.png
-share/doc/gxemul/openbsd-pmax-20040710_small.png
-share/doc/gxemul/sprite-20040711.png
-share/doc/gxemul/sprite-20040711_small.png
-share/doc/gxemul/test_disk.c
-share/doc/gxemul/ultrix4.5-20040706.png
-share/doc/gxemul/ultrix4.5-20040706_small.gif
-@dirrm share/doc/gxemul
diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo
deleted file mode 100644
index 6dbca54faba..00000000000
--- a/emulators/gxemul/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/10/29 10:05:47 xtraeme Exp $
-
-SHA1 (gxemul-0.3.6.2.tar.gz) = 37734493ddf574ef74c341042ee1cc403bc76488
-RMD160 (gxemul-0.3.6.2.tar.gz) = 235566f4ff9c721028158acce0307bfc4be16067
-Size (gxemul-0.3.6.2.tar.gz) = 1463747 bytes
diff --git a/emulators/hatari/DESCR b/emulators/hatari/DESCR
deleted file mode 100644
index 91a9c07ede5..00000000000
--- a/emulators/hatari/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-Hatari is an Atari ST emulator for systems supported by the SDL library.
-
-Hatari is based on two main sources:
-- The WinSTon sourcecode written by Paul Bates
- (http://www.sourceforge.net/projects/winston/)
-- The UAE's CPU core (http://www.freiburg.linux.de/~uae/)
-
-You need a copy of an Atari ST TOS ROM to use this program. Then run
-the program as follows: hatari --tos tos.image
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
deleted file mode 100644
index 885972ab786..00000000000
--- a/emulators/hatari/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2005/07/01 09:35:38 adam Exp $
-
-DISTNAME= hatari-0.70
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hatari/}
-
-MAINTAINER= cjep@NetBSD.org
-HOMEPAGE= http://hatari.sourceforge.net/
-COMMENT= Atari ST emulator
-
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hatari
- cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${PREFIX}/share/doc/hatari
- cd ${WRKSRC}/doc && ${INSTALL_DATA} *.txt *.html \
- ${PREFIX}/share/doc/hatari
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/hatari/PLIST b/emulators/hatari/PLIST
deleted file mode 100644
index 5c89d0aea57..00000000000
--- a/emulators/hatari/PLIST
+++ /dev/null
@@ -1,12 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2005/07/01 09:35:38 adam Exp $
-bin/hatari
-share/doc/hatari/authors.txt
-share/doc/hatari/changelog.txt
-share/doc/hatari/gpl.txt
-share/doc/hatari/keymap-sample.txt
-share/doc/hatari/manual.html
-share/doc/hatari/readme.txt
-share/doc/hatari/release-notes.txt
-share/hatari/tos.img
-@dirrm share/hatari
-@dirrm share/doc/hatari
diff --git a/emulators/hatari/distinfo b/emulators/hatari/distinfo
deleted file mode 100644
index c1a6a88ffad..00000000000
--- a/emulators/hatari/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/07/01 09:35:38 adam Exp $
-
-SHA1 (hatari-0.70.tar.gz) = 25c97d75f5a87b89105654f10db2957582bed790
-RMD160 (hatari-0.70.tar.gz) = d5db118d9d1ffe2d211b48259622556cd37ad5cc
-Size (hatari-0.70.tar.gz) = 521778 bytes
-SHA1 (patch-aa) = 1ebe2f92ee176cf5d5b1e4a7c5e2143b1d766ea8
diff --git a/emulators/hatari/patches/patch-aa b/emulators/hatari/patches/patch-aa
deleted file mode 100644
index e05603a66b1..00000000000
--- a/emulators/hatari/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/11/19 10:09:48 adam Exp $
-
---- src/includes/unzip.h.orig 2003-03-30 14:39:27.000000000 +0100
-+++ src/includes/unzip.h
-@@ -49,6 +49,14 @@
- #ifndef _unz_H
- #define _unz_H
-
-+#ifndef OF /* function prototypes */
-+# ifdef STDC
-+# define OF(args) args
-+# else
-+# define OF(args) ()
-+# endif
-+#endif
-+
- #ifdef __cplusplus
- extern "C" {
- #endif
diff --git a/emulators/hercules-images/DESCR b/emulators/hercules-images/DESCR
deleted file mode 100644
index 424eb4455e3..00000000000
--- a/emulators/hercules-images/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-The files contained in this package are used to IPL the Hercules
-emulator.
-
-Taken from the Hercules FAQ:
-
-3. Alternatively, you can download the mftr33.tar.gz package which
-contains a minimal MFT system on a 3330 image, with some minimal
-documentation. The configuration is that of a 370/145 with 2
-megabytes of main storage, running OS/MFT Release 21.0, with several
-volumes of pre-loaded DASD. 2 program partitions (P0 and P1) have
-been genned. There is no working TOD clock, and no SMF. Volume
-DLIB01 which is specified does not exist in the zipped file, but can
-be created using a plf file with the CDROM of OS/360. DLIB01 can be
-commented-out from the config (cnf) file if desired. The mftr33
-package also includes the IPL text and program for the standalone
-IBCDASD program as file "ibcdasdi.rdr" which can be used if desired.
diff --git a/emulators/hercules-images/Makefile b/emulators/hercules-images/Makefile
deleted file mode 100644
index 324839ac380..00000000000
--- a/emulators/hercules-images/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:14:41 agc Exp $
-
-DISTNAME= mftr33
-PKGNAME= hercules-images-20010222
-CATEGORIES= emulators
-MASTER_SITES= http://www.conmicro.cx/hercules/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.conmicro.cx/hercules/
-COMMENT= Images to IPL the Hercules emulator
-
-WRKSRC= ${WRKDIR}
-NO_BUILD= yes
-NO_CONFIGURE= yes
-EXTRACT_ONLY=
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/data/hercules
- cd ${PREFIX}/share/data/hercules && \
- (${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; dd if=/dev/zero bs=10k count=2) | ${PAX} -O -r
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/hercules-images/PLIST b/emulators/hercules-images/PLIST
deleted file mode 100644
index 6143c372be9..00000000000
--- a/emulators/hercules-images/PLIST
+++ /dev/null
@@ -1,18 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:48 zuntum Exp $
-share/data/hercules/mftipl.txt
-share/data/hercules/os360.cnf
-share/data/hercules/sysgen.txt
-share/data/hercules/listvtoc.prn
-share/data/hercules/nucmap.prn
-share/data/hercules/mftr33.plf
-share/data/hercules/mftr33.lst
-share/data/hercules/ibcdasdi.rdr
-share/data/hercules/ibcdmprs.rdr
-share/data/hercules/ieaipl00.rdr
-share/data/hercules/dlib01.plf
-share/data/hercules/init3330.txt
-share/data/hercules/init2311.txt
-share/data/hercules/mftr33.150
-share/data/hercules/work01.151
-share/data/hercules/work02.192
-@dirrm share/data/hercules
diff --git a/emulators/hercules-images/distinfo b/emulators/hercules-images/distinfo
deleted file mode 100644
index 541833232ca..00000000000
--- a/emulators/hercules-images/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (mftr33.tar.gz) = 2ff8d1694558cd08bc445851993fef6fb7e22466
-RMD160 (mftr33.tar.gz) = 6b5cbc18fede7311dfd6468e8e3a54e664c5041d
-Size (mftr33.tar.gz) = 1709790 bytes
diff --git a/emulators/hercules/DESCR b/emulators/hercules/DESCR
deleted file mode 100644
index f1c4ad5a983..00000000000
--- a/emulators/hercules/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Hercules is an open source software implementation of the mainframe
-System/370 and ESA/390 architectures, in addition to the new 64-bit
-z/Architecure. Hercules runs under Linux, Windows 98, Windows NT,
-Windows 2000, and NetBSD. Hercules was created by Roger Bowler and is
-maintained by Jay Maynard. Jan Jaeger designed and implemented many
-of the advanced features of Hercules, including dynamic
-reconfiguration, integrated console, interpretive execution, and
-z/Architecture support.
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
deleted file mode 100644
index 28880c92266..00000000000
--- a/emulators/hercules/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/05/22 20:07:58 jlam Exp $
-
-DISTNAME= hercules-2.11
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.conmicro.cx/hercules/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.conmicro.cx/hercules/
-COMMENT= S370 emulator
-
-DEPENDS+= hercules-images-[0-9]*:../../emulators/hercules-images
-
-USE_TOOLS+= gmake
-MAKEFILE= makefile
-MAKE_ENV+= HOST_ARCH=${MACHINE_ARCH}
-
-PTHREAD_OPTS+= require
-
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hercules
- ${INSTALL_DATA} ${WRKSRC}/hercules.cnf ${PREFIX}/share/examples/hercules/
- ${INSTALL_DATA} ${WRKSRC}/zzsa.cnf ${PREFIX}/share/examples/hercules/
-
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/hercules/PLIST b/emulators/hercules/PLIST
deleted file mode 100644
index e889f42714c..00000000000
--- a/emulators/hercules/PLIST
+++ /dev/null
@@ -1,24 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:46 zuntum Exp $
-bin/hercules
-bin/hercifc
-bin/dasdinit
-bin/dasdisup
-bin/dasdload
-bin/dasdls
-bin/dasdpdsu
-bin/tapecopy
-bin/tapelist
-bin/tapemap
-bin/tapesplit
-bin/cckd2ckd
-bin/cckdcdsk
-bin/ckd2cckd
-bin/cckdcomp
-bin/hetget
-bin/hetinit
-bin/hetmap
-bin/hetupd
-bin/dasdlist
-share/examples/hercules/hercules.cnf
-share/examples/hercules/zzsa.cnf
-@dirrm share/examples/hercules
diff --git a/emulators/hercules/distinfo b/emulators/hercules/distinfo
deleted file mode 100644
index a67bced3d72..00000000000
--- a/emulators/hercules/distinfo
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (hercules-2.11.tar.gz) = ec84388e29cfd070055afa5fc11a33c896f2333a
-RMD160 (hercules-2.11.tar.gz) = 113647be0bd80ecc52331319902a1140a81b56aa
-Size (hercules-2.11.tar.gz) = 616554 bytes
-SHA1 (patch-aa) = b2b9b1685730ab0ffb74c9d4a6dd027b925d0080
-SHA1 (patch-ab) = ea2802d8752411e964ba150d3a54f64a40fc2e70
-SHA1 (patch-ac) = 454ac972ad54f19f139033abe8ccabdbb0c3f88b
-SHA1 (patch-ad) = dab44fa2ee216a8250c40675211126f61039abf3
-SHA1 (patch-ae) = 14aafa5462a858e44c00ea6d43efd0f1cfef190e
-SHA1 (patch-af) = 759ad1ee2737ed8021b5a5fd956851677e99879a
-SHA1 (patch-ag) = 6dcec345641bdde0c617da10f57b6f2dd6b702ac
-SHA1 (patch-ah) = 06e03dc32c91ab5d3125a3b5489d15ef5c1e144c
-SHA1 (patch-aj) = b4beda52ced42d6d58f02b24c0eaf56109eab092
-SHA1 (patch-ak) = 5b594849074ac410f2b8c93f2df0dca874b4533a
-SHA1 (patch-al) = 60d90ed9c1476b8fcf0a905a8316f3aec9108169
-SHA1 (patch-am) = 4626f39156ac2beccd9911f795aff6f9fe7b997b
-SHA1 (patch-an) = 3c36e9745316ef84caf60ba66b541b7cc3007377
-SHA1 (patch-ao) = 4d389c21d36ab44565f8e90f90dad8acff24e747
diff --git a/emulators/hercules/patches/patch-aa b/emulators/hercules/patches/patch-aa
deleted file mode 100644
index 511ab3cce26..00000000000
--- a/emulators/hercules/patches/patch-aa
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2004/05/29 23:32:19 kristerw Exp $
-
-Set up compilation flags for NetBSD
-
---- makefile.orig Sat Feb 10 22:21:58 2001
-+++ makefile Tue May 8 18:57:45 2001
-@@ -9,5 +9,5 @@
- # overridden in the make command line, as in "PREFIX=/foo make install"
- # (the directory is only used when installing).
--DESTDIR = $(PREFIX)/usr/bin
-+DESTDIR = $(PREFIX)/bin
-
- # Standard flags for all architectures
-@@ -22,24 +22,26 @@
- # Handle host architecture if specified
- ifeq ($(HOST_ARCH),i386)
--CFLAGS += -O3 -malign-double -DNO_ASM_BYTESWAP
--endif
-+CFLAGS += -O3 -DNO_ASM_BYTESWAP
-+else
- ifeq ($(HOST_ARCH),i586)
--CFLAGS += -O3 -malign-double -march=pentium
--endif
-+CFLAGS += -O3
-+else
- ifeq ($(HOST_ARCH),i686)
--CFLAGS += -O3 -malign-double -march=pentiumpro
--endif
-+CFLAGS += -O3
-+else
- ifeq ($(HOST_ARCH),alpha)
- CFLAGS += -O2 -DNO_ASM_BYTESWAP
--endif
--ifeq ($(HOST_ARCH),other)
-+else
- CFLAGS += -O3 -DNO_ASM_BYTESWAP
--endif
-+endif # alpha
-+endif # i686
-+endif # i586
-+endif # i386
-
- # Uncomment these lines for NetBSD, with either the unproven-pthreads
- # or pth packages
--#CFLAGS += -I/usr/pkg/pthreads/include -I/usr/pkg/include
--#LFLAGS += -L/usr/pkg/pthreads/lib -R/usr/pkg/pthreads
--#LFLAGS += -L/usr/pkg/lib -R/usr/pkg/pthreads/lib
-+CFLAGS += -I${PREFIX}/include
-+LFLAGS += -L${PREFIX}/lib -R${PREFIX}/lib
-+LFLAGS += -L${PREFIX}/lib
-
- # Reverse the comments below to disable Compressed CKD Dasd support
diff --git a/emulators/hercules/patches/patch-ab b/emulators/hercules/patches/patch-ab
deleted file mode 100644
index 9619d8ed0e7..00000000000
--- a/emulators/hercules/patches/patch-ab
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $
-
-Linux tape handling.
-
---- tapedev.c 2001/02/19 11:50:37 1.1
-+++ tapedev.c 2001/02/19 11:57:16
-@@ -1149,7 +1149,11 @@
- dev->filename, strerror(errno));
- return 0;
- }
-+#if (defined(BSD) && BSD >= 199306)
-+ stat = (stblk.mt_dsreg << 16) | stblk.mt_erreg;
-+#else
- stat = stblk.mt_gstat;
-+#endif
-
- /* Display tape status */
- if (dev->ccwtrace || dev->ccwstep)
-@@ -1240,7 +1244,11 @@
- }
-
- /* Intervention required if no tape is mounted */
-+#if (defined(BSD) && BSD >= 199306)
-+ if (GMT_DR_OPEN(((stblk.mt_dsreg << 16) | stblk.mt_erreg)))
-+#else
- if (GMT_DR_OPEN(stblk.mt_gstat))
-+#endif
- {
- dev->sense[0] = SENSE_IR;
- dev->sense[1] = SENSE1_TAPE_TUB;
diff --git a/emulators/hercules/patches/patch-ac b/emulators/hercules/patches/patch-ac
deleted file mode 100644
index e45ea816b42..00000000000
--- a/emulators/hercules/patches/patch-ac
+++ /dev/null
@@ -1,79 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2004/06/13 14:03:28 agc Exp $
-
-Linux tape handling.
-
---- hercules.h 2004-06-13 14:44:50.000000000 +0100
-+++ hercules.h 2004-06-13 14:47:06.000000000 +0100
-@@ -34,6 +34,7 @@
- #include <byteswap.h>
- #endif
- #include <sys/types.h>
-+#include <sys/param.h>
- #include <sys/resource.h>
- #include <sys/stat.h>
- #include <sys/socket.h>
-@@ -110,6 +111,7 @@
- #define HAVE_STRUCT_TIMESPEC
- #endif
- #include <pthread.h>
-+#include <sched.h>
- #ifdef WIN32
- #undef DWORD
- #endif
-@@ -935,6 +937,56 @@
- #define CCKD_OPEN_RD 2
- #define CCKD_OPEN_RW 3
-
-+#if defined(BSD) && BSD >= 199306
-+struct mt_tape_info {
-+ BYTE t_type;
-+ const char *t_name;
-+};
-+
-+#define MT_TAPE_INFO \
-+{ \
-+ {MT_ISUNKNOWN, "Unknown type of tape device"}, \
-+ {MT_ISQIC02, "Generic QIC-02 tape streamer"} \
-+}
-+
-+/* Generic Mag Tape (device independent) status macros for examining
-+ * mt_gstat -- HP-UX compatible.
-+ * There is room for more generic status bits here, but I don't
-+ * know which of them are reserved. At least three or so should
-+ * be added to make this really useful.
-+ */
-+#define GMT_EOF(x) ((x) & 0x80000000)
-+#define GMT_BOT(x) ((x) & 0x40000000)
-+#define GMT_EOT(x) ((x) & 0x20000000)
-+#define GMT_SM(x) ((x) & 0x10000000) /* DDS setmark */
-+#define GMT_EOD(x) ((x) & 0x08000000) /* DDS EOD */
-+#define GMT_WR_PROT(x) ((x) & 0x04000000)
-+/* #define GMT_ ? ((x) & 0x02000000) */
-+#define GMT_ONLINE(x) ((x) & 0x01000000)
-+#define GMT_D_6250(x) ((x) & 0x00800000)
-+#define GMT_D_1600(x) ((x) & 0x00400000)
-+#define GMT_D_800(x) ((x) & 0x00200000)
-+/* #define GMT_ ? ((x) & 0x00100000) */
-+/* #define GMT_ ? ((x) & 0x00080000) */
-+#define GMT_DR_OPEN(x) ((x) & 0x00040000) /* door open (no tape) */
-+/* #define GMT_ ? ((x) & 0x00020000) */
-+#define GMT_IM_REP_EN(x) ((x) & 0x00010000) /* immediate report mode */
-+/* 16 generic status bits unused */
-+/* SCSI-tape specific definitions */
-+
-+/* Bitfield shifts in the status */
-+#define MT_ST_BLKSIZE_SHIFT 0
-+#define MT_ST_BLKSIZE_MASK 0xffffff
-+#define MT_ST_DENSITY_SHIFT 24
-+#define MT_ST_DENSITY_MASK 0xff000000
-+
-+#define MTSETBLK 20 /* set block length (SCSI) */
-+
-+#define MT_ISUNKNOWN 0x01
-+#define MT_ISQIC02 0x02
-+
-+#endif
-+
- /*-------------------------------------------------------------------*/
- /* Global data areas in module config.c */
- /*-------------------------------------------------------------------*/
diff --git a/emulators/hercules/patches/patch-ad b/emulators/hercules/patches/patch-ad
deleted file mode 100644
index f2ecc9ddd9b..00000000000
--- a/emulators/hercules/patches/patch-ad
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $
-
-Linux tape handling.
-
---- hercifc.c 2001/02/19 12:08:31 1.1
-+++ hercifc.c 2001/02/19 12:08:42
-@@ -64,7 +64,11 @@
- sin = (struct sockaddr_in*)
- (oper == SIOCSIFADDR ? &ifreq.ifr_addr
- :oper == SIOCSIFDSTADDR ? &ifreq.ifr_dstaddr
-+#ifdef __NetBSD__
-+ :oper == SIOCSIFNETMASK ? &ifreq.ifr_broadaddr
-+#else
- :oper == SIOCSIFNETMASK ? &ifreq.ifr_netmask
-+#endif
- :NULL);
-
- /* Store the IP address into the structure */
diff --git a/emulators/hercules/patches/patch-ae b/emulators/hercules/patches/patch-ae
deleted file mode 100644
index d1b98f85d49..00000000000
--- a/emulators/hercules/patches/patch-ae
+++ /dev/null
@@ -1,58 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $
-
-Linux tape handling.
-
---- tapecopy.c 2001/02/19 12:10:13 1.1
-+++ tapecopy.c 2001/02/19 12:14:00
-@@ -113,6 +113,7 @@
- {
- int rc; /* Return code */
- struct mtget stblk; /* Area for MTIOCGET ioctl */
-+long gstat;
-
- rc = ioctl (devfd, MTIOCGET, (char*)&stblk);
- if (rc < 0)
-@@ -122,10 +123,15 @@
- return -1;
- }
-
-- print_status (devname, stblk.mt_gstat);
-+#if (defined(BSD) && BSD >= 199306)
-+ gstat = (stblk.mt_dsreg << 16) | stblk.mt_erreg;
-+#else
-+ gstat = stblk.mt_gstat;
-+#endif
-+ print_status (devname, gstat);
-
-- if (GMT_EOD(stblk.mt_gstat)) return 1;
-- if (GMT_EOT(stblk.mt_gstat)) return 1;
-+ if (GMT_EOD(gstat)) return 1;
-+ if (GMT_EOT(gstat)) return 1;
-
- return 0;
- } /* end function print_status */
-@@ -152,6 +158,7 @@
- long density; /* Tape density code */
- BYTE labelrec[81]; /* Standard label (ASCIIZ) */
- AWSTAPE_BLKHDR awshdr; /* AWSTAPE block header */
-+long gstat;
-
- /* The first argument is the tape device name */
- if (argc > 1 && argv[1] != NULL && strlen(argv[1]) > 5
-@@ -209,9 +216,14 @@
- else
- printf ("%s tape density code: 0x%lX\n", devname, density);
-
-- if (stblk.mt_gstat != 0)
-+#if (defined(BSD) && BSD >= 199306)
-+ gstat = (stblk.mt_dsreg << 16) | stblk.mt_erreg;
-+#else
-+ gstat = stblk.mt_gstat;
-+#endif
-+ if (gstat != 0)
- {
-- print_status (devname, stblk.mt_gstat);
-+ print_status (devname, gstat);
- }
-
- /* Set the tape device to process variable length blocks */
diff --git a/emulators/hercules/patches/patch-af b/emulators/hercules/patches/patch-af
deleted file mode 100644
index 19d73caae3d..00000000000
--- a/emulators/hercules/patches/patch-af
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-af,v 1.1 2001/02/22 11:34:59 agc Exp $
-
-> From Wofgang Solfrank (ws@tools.de)
-> What I discovered was a problem in ckddasd.c, where there are two lseeks
-> with an offset of -(CKDDASD_RECHDR_SIZE). Now CKDDASD_RECHDR_SIZE is
-> defined (in hercules.h) as sizeof(CKDDASD_RECHDR), which happens to be
-> an unsigned int. Since the offset in the lseek (and in the ckd_lseek
-> that is used as an interface routine to it) is of type off_t, i.e. 64-bit,
-> the unsigned is zero-extended to 64 bits, and thus the sign is lost.
-
---- ckddasd.c 2001/02/22 10:54:55 1.1
-+++ ckddasd.c 2001/02/22 10:55:26
-@@ -1663,7 +1663,7 @@
- }
-
- /* Backspace over end of track marker */
-- rc = ckd_lseek (dev, dev->fd, -(CKDDASD_RECHDR_SIZE), SEEK_CUR);
-+ rc = ckd_lseek (dev, dev->fd, (int) -(CKDDASD_RECHDR_SIZE), SEEK_CUR);
- if (rc == -1)
- {
- /* Handle seek error condition */
-@@ -1813,7 +1813,7 @@
- }
-
- /* Backspace over end of track marker */
-- rc = ckd_lseek (dev, dev->fd, -(CKDDASD_RECHDR_SIZE), SEEK_CUR);
-+ rc = ckd_lseek (dev, dev->fd, (int) -(CKDDASD_RECHDR_SIZE), SEEK_CUR);
- if (rc == -1)
- {
- /* Handle seek error condition */
diff --git a/emulators/hercules/patches/patch-ag b/emulators/hercules/patches/patch-ag
deleted file mode 100644
index a4dca77392d..00000000000
--- a/emulators/hercules/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2004/05/29 23:32:19 kristerw Exp $
-
---- cpu.c.orig Sat Feb 10 11:48:23 2001
-+++ cpu.c Sun May 30 01:10:44 2004
-@@ -743,7 +743,7 @@
- {
- #define CPU_PRIORITY 15 /* CPU thread priority */
-
--#ifndef WIN32
-+#if 0
- /* Set CPU thread priority */
- if (setpriority(PRIO_PROCESS, 0, CPU_PRIORITY))
- logmsg ("HHC621I CPU thread set priority failed: %s\n",
diff --git a/emulators/hercules/patches/patch-ah b/emulators/hercules/patches/patch-ah
deleted file mode 100644
index df0474a03f5..00000000000
--- a/emulators/hercules/patches/patch-ah
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2004/06/13 14:03:28 agc Exp $
-
-Silence some compiler warnings
-
---- featall.h 2004/06/13 13:54:33 1.1
-+++ featall.h 2004/06/13 13:55:55
-@@ -20,11 +20,11 @@
- #define OPTION_NO_INLINE_DAT /* Performance option */
- #undef OPTION_NO_INLINE_VSTORE /* Performance option */
- #undef OPTION_NO_LINUX_INTERRUPT_PATCH /* Linux performance */
--#undef OPTION_FOOTPRINT_BUFFER 256 /* Size must be a power of 2 */
-+#undef OPTION_FOOTPRINT_BUFFER /* (256) Size must be a power of 2 */
- #undef OPTION_INSTRUCTION_COUNTING /* First use trace and count */
- #define OPTION_CKD_KEY_TRACING /* Trace CKD search keys */
- #define OPTION_NO_DEVICE_THREAD /* Separate threads for I/O */
--#undef OPTION_CMPSC_DEBUGLVL 3 /* 1=Exp 2=Comp 3=Both debug */
-+#undef OPTION_CMPSC_DEBUGLVL /* (3) 1=Exp 2=Comp 3=Both debug */
-
- #define FEATURE_ALD_FORMAT 0
-
diff --git a/emulators/hercules/patches/patch-aj b/emulators/hercules/patches/patch-aj
deleted file mode 100644
index 2d4c961a452..00000000000
--- a/emulators/hercules/patches/patch-aj
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2001/03/23 16:20:56 agc Exp $
-
-Patch from Wofgang Solfrank:
-
-"Change the timeout value from 1 usec to 10 msec in the timer thread.
-At least with unproven-pthreads, the comment above that is wrong
-when stating that a 1 usec timeout would be stretched to the next
-system clock tick."
-
---- timer.c.orig Thu Feb 8 20:02:41 2001
-+++ timer.c Fri Mar 23 16:01:53 2001
-@@ -319,7 +319,7 @@
- /* Calculate instructions/millisecond for this CPU */
- regs->mipsrate =
- (regs->instcount - regs->prevcount) / msecctr;
-- regs->siosrate = regs->siocount;
-+ regs->siosrate = regs->siocount * 1000 / msecctr;
-
- /* Save the instruction counter */
- regs->prevcount = regs->instcount;
-@@ -336,7 +336,7 @@
- /* Sleep for one system clock tick by specifying a one-microsecond
- delay, which will get stretched out to the next clock tick */
- tv.tv_sec = 0;
-- tv.tv_usec = 1;
-+ tv.tv_usec = 10000;
- select (0, NULL, NULL, NULL, &tv);
-
- } /* end while */
diff --git a/emulators/hercules/patches/patch-ak b/emulators/hercules/patches/patch-ak
deleted file mode 100644
index 1517dd688fa..00000000000
--- a/emulators/hercules/patches/patch-ak
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ak,v 1.2 2004/06/13 14:03:28 agc Exp $
-
-Patch from Wolfgang Solfrank:
-
-Disabling the O_SYNC option when opening printer or punch.
-
-
---- printer.c.orig Sun Jan 28 18:05:41 2001
-+++ printer.c Fri Mar 23 16:01:53 2001
-@@ -149,7 +149,7 @@
- if (dev->fd < 0 && !IS_CCW_SENSE(code))
- {
- rc = open (dev->filename,
-- O_WRONLY | O_CREAT | O_TRUNC | O_SYNC,
-+ O_WRONLY | O_CREAT | O_TRUNC,
- S_IRUSR | S_IWUSR | S_IRGRP);
- if (rc < 0)
- {
diff --git a/emulators/hercules/patches/patch-al b/emulators/hercules/patches/patch-al
deleted file mode 100644
index d0d46903ffa..00000000000
--- a/emulators/hercules/patches/patch-al
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-al,v 1.1 2001/03/23 16:20:56 agc Exp $
-
-Patch from Wolfgang Solfrank:
-
-A minor correction to the computation of the SIO rate.
-
---- console.c.orig Sun Feb 11 03:52:30 2001
-+++ console.c Fri Mar 23 16:01:53 2001
-@@ -1257,7 +1257,8 @@
- } /* end for(dev) */
-
- /* Wait for a file descriptor to become ready */
--#ifdef WIN32
-+#ifndef __notdef__
-+/*#ifdef WIN32*/
- {
- struct timeval tv={0,500000}; /* half a second */
- rc = select ( maxfd+1, &readset, NULL, NULL, &tv );
diff --git a/emulators/hercules/patches/patch-am b/emulators/hercules/patches/patch-am
deleted file mode 100644
index b73123135e7..00000000000
--- a/emulators/hercules/patches/patch-am
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-am,v 1.1 2001/03/23 16:20:56 agc Exp $
-
-Patch from Wolfgang Solfrank:
-
-Disabling the O_SYNC option when opening printer or punch.
-
---- cardpch.c.orig Sun Jan 28 18:05:38 2001
-+++ cardpch.c Fri Mar 23 16:01:53 2001
-@@ -155,9 +155,9 @@
- {
- rc = open (dev->filename,
- #ifdef WIN32
-- O_WRONLY | O_CREAT | O_TRUNC | O_SYNC | O_BINARY,
-+ O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
- #else /* WIN32 */
-- O_WRONLY | O_CREAT | O_TRUNC | O_SYNC,
-+ O_WRONLY | O_CREAT | O_TRUNC,
- #endif /* WIN32 */
- S_IRUSR | S_IWUSR | S_IRGRP);
- if (rc < 0)
diff --git a/emulators/hercules/patches/patch-an b/emulators/hercules/patches/patch-an
deleted file mode 100644
index 777dfa88dcc..00000000000
--- a/emulators/hercules/patches/patch-an
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-an,v 1.1 2001/05/11 11:17:39 dmcmahill Exp $
-
-regparm is only for i386
-
---- features.h.orig Thu Feb 1 17:56:32 2001
-+++ features.h Tue May 8 18:47:14 2001
-@@ -71,6 +71,11 @@
- #define ARCH_MODE ARCH_370
-
-+#ifdef __i386__
- #define DEF_INST(_name) \
- __attribute__ ((regparm(3))) void s370_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#else
-+#define DEF_INST(_name) \
-+void s370_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#endif
-
- #define ARCH_DEP(_name) \
-@@ -130,6 +135,11 @@
- #define ARCH_MODE ARCH_390
-
-+#ifdef __i386__
- #define DEF_INST(_name) \
- __attribute__ ((regparm(3))) void s390_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#else
-+#define DEF_INST(_name) \
-+void s390_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#endif
-
- #define ARCH_DEP(_name) \
-@@ -212,6 +222,11 @@
- #define SSGROUP_BIT ASCE_G
-
-+#ifdef __i386__
- #define DEF_INST(_name) \
- __attribute__ ((regparm(3))) void z900_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#else
-+#define DEF_INST(_name) \
-+void z900_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#endif
-
- #define ARCH_DEP(_name) \
-@@ -268,6 +283,11 @@
- #define SSGROUP_BIT ASCE_G
-
-+#ifdef __i386__
- #define DEF_INST(_name) \
- __attribute__ ((regparm(3))) void z964_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#else
-+#define DEF_INST(_name) \
-+void z964_ ## _name (BYTE inst[], int execflag, REGS *regs)
-+#endif
-
- #define ARCH_DEP(_name) \
diff --git a/emulators/hercules/patches/patch-ao b/emulators/hercules/patches/patch-ao
deleted file mode 100644
index 688e7cbf57f..00000000000
--- a/emulators/hercules/patches/patch-ao
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2001/05/11 11:17:40 dmcmahill Exp $
-
-regparm is only for i386
-
---- opcode.h.orig Sat Feb 10 08:46:27 2001
-+++ opcode.h Tue May 8 18:48:56 2001
-@@ -70,5 +70,9 @@
-
-
-+#ifdef __i386__
- typedef __attribute__ ((regparm(3))) void (*zz_func) (BYTE inst[], int execflag, REGS *regs);
-+#else
-+typedef void (*zz_func) (BYTE inst[], int execflag, REGS *regs);
-+#endif
-
- extern zz_func opcode_table[][GEN_MAXARCH];
diff --git a/emulators/ia64sim/DESCR b/emulators/ia64sim/DESCR
deleted file mode 100644
index 7e2b4181f88..00000000000
--- a/emulators/ia64sim/DESCR
+++ /dev/null
@@ -1,15 +0,0 @@
-IA64 ISA simulator, Alpha release, version 0.1
-----------------------------------------------
-
-This source distribution is placed in the public domain by its author,
-Jason Papadopoulos. You may use it for any purpose, free of charge,
-without having to notify anyone. I disclaim any responsibility for any
-errors, inconsistencies, and inaccuracies with real-world hardware
-implementations of the IA64 instruction set. If you build a mission-
-critical system based only on this simulator and something goes wrong,
-it's your own damned fault.
-
-Optionally, please be nice and tell me if you find this source to be
-useful. Again optionally, if you add to the functionality present here
-please consider making those additions public too, so that others may
-benefit from your work.
diff --git a/emulators/ia64sim/Makefile b/emulators/ia64sim/Makefile
deleted file mode 100644
index 2c521530c89..00000000000
--- a/emulators/ia64sim/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/10/23 14:35:33 rillig Exp $
-
-DISTNAME= ia64sim
-PKGNAME= ia64sim-0.3
-CATEGORIES= emulators
-MASTER_SITES= http://www.glue.umd.edu/~jasonp/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.glue.umd.edu/~jasonp/
-COMMENT= IA64 simulator (Intel(R) Architecture 64)
-
-USE_TOOLS+= gmake
-DIST_SUBDIR= ${PKGNAME_NOREV}
-
-MAKEFILE= makefile.unx
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${PREFIX}/bin/ia64sim
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ia64sim/PLIST b/emulators/ia64sim/PLIST
deleted file mode 100644
index c7354713b8b..00000000000
--- a/emulators/ia64sim/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:51 zuntum Exp $
-bin/ia64sim
diff --git a/emulators/ia64sim/distinfo b/emulators/ia64sim/distinfo
deleted file mode 100644
index bb7e36ad1bb..00000000000
--- a/emulators/ia64sim/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (ia64sim-0.3/ia64sim.zip) = 8ec70627716bfcc59f7083f76655bb3ee09aa89f
-RMD160 (ia64sim-0.3/ia64sim.zip) = 20610c120d8eff5564555b50494de627a88de67b
-Size (ia64sim-0.3/ia64sim.zip) = 91846 bytes
-SHA1 (patch-aa) = ec595d6964bdc9df6ad5501e320523466af3b0cf
-SHA1 (patch-ab) = 27d7bd7c7e6b0603fa731850b83aa47145defed8
-SHA1 (patch-ac) = 42b237f44e4dde9be1897a83ffe97cf5ccf3f8d4
-SHA1 (patch-ad) = e1e97c022d64c1729a8c4ca836695148808804d6
diff --git a/emulators/ia64sim/patches/patch-aa b/emulators/ia64sim/patches/patch-aa
deleted file mode 100644
index 08c1f2bb5fd..00000000000
--- a/emulators/ia64sim/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/12/10 12:59:03 agc Exp $
-
---- makefile.unx 1999/12/10 12:46:49 1.1
-+++ makefile.unx 1999/12/10 12:47:03
-@@ -18,7 +18,7 @@
- OBJDIR = obj
- INCDIR = include
- CC = gcc
--CFLAGS = -O3 -m486 -fomit-frame-pointer -s -I$(INCDIR)
-+CFLAGS = -O3 -fomit-frame-pointer -s -I$(INCDIR)
-
- ASMSRCS= assemble.c bundle.c asmfunc.c jumptbl.c decode.c
-
diff --git a/emulators/ia64sim/patches/patch-ab b/emulators/ia64sim/patches/patch-ab
deleted file mode 100644
index 668d9acc226..00000000000
--- a/emulators/ia64sim/patches/patch-ab
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/02/18 23:24:59 kristerw Exp $
-
---- include/ia64.h.orig Thu Feb 19 00:15:01 2004
-+++ include/ia64.h Thu Feb 19 00:16:20 2004
-@@ -35,7 +35,7 @@
- 0<=lo,hi<=63 and lo<=hi */
-
- #define BITS(x,lo,hi) ( \
-- (uint32)(x##.q >> lo) & \
-+ (uint32)(x.q >> lo) & \
- ( (1<<(hi-lo+1)) - 1 ) \
- )
-
-@@ -69,8 +69,8 @@
- uint8 b[8];
- } qword;
-
--#define HI(x) (x##.d[1])
--#define LO(x) (x##.d[0])
-+#define HI(x) (x.d[1])
-+#define LO(x) (x.d[0])
-
- typedef struct {
- qword dat;
diff --git a/emulators/ia64sim/patches/patch-ac b/emulators/ia64sim/patches/patch-ac
deleted file mode 100644
index 6ded469165d..00000000000
--- a/emulators/ia64sim/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.1 1999/12/10 13:55:15 soren Exp $
-
---- asm/assemble.c.orig Fri Dec 10 14:50:49 1999
-+++ asm/assemble.c Fri Dec 10 14:50:58 1999
-@@ -280,7 +280,7 @@
- break;
-
- case 'i': /* signed immediate */
-- imm = strtoll(inptr, &throwaway, 0);
-+ imm = strtoq(inptr, &throwaway, 0);
- if( isdigit(refptr[3]) )
- maxbits = (refptr[2]-'0')*10 + (refptr[3]-'0');
- else
-@@ -294,7 +294,7 @@
- break;
-
- case 'u': /* unsigned immediate */
-- imm = strtoll(inptr, &throwaway, 0);
-+ imm = strtoq(inptr, &throwaway, 0);
- maxbits = (refptr[2]-'0');
- if(maxbits==6)
- index = 65; /* <-- some ops need 1-64, not 0-63 */
diff --git a/emulators/ia64sim/patches/patch-ad b/emulators/ia64sim/patches/patch-ad
deleted file mode 100644
index 70b42b7e30d..00000000000
--- a/emulators/ia64sim/patches/patch-ad
+++ /dev/null
@@ -1,102 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2001/02/20 11:33:53 wiz Exp $
-
---- ia64sim.c.orig Wed Mar 8 04:54:20 2000
-+++ ia64sim.c
-@@ -98,7 +98,7 @@
- stop(); /* Clear pending register hazzards */
- }
- else {
-- i1 = strtoll(first+1, &junk, 0);
-+ i1 = strtoq(first+1, &junk, 0);
- if(*junk) {
- printf("3syntax error\n");
- return;
-@@ -138,7 +138,7 @@
- }
- }
- else {
-- i1 = strtoll(first, &junk, 0);
-+ i1 = strtoq(first, &junk, 0);
- if(*junk) {
- printf("6syntax error\n");
- return;
-@@ -159,7 +159,7 @@
- size2 = sizeof(uint64);
- }
- else {
-- i2 = strtoll(second+1, &junk, 0);
-+ i2 = strtoq(second+1, &junk, 0);
- if(*junk) {
- printf("7syntax error\n");
- return;
-@@ -200,7 +200,7 @@
- }
- }
- else {
-- i2 = strtoll(second, &junk, 0);
-+ i2 = strtoq(second, &junk, 0);
- if(*junk) {
- printf("Asyntax error\n");
- return;
-@@ -289,7 +289,7 @@
-
- base = strtok(NULL, tokens);
- if(base) {
-- temp = strtoll(base, &junk, 0);
-+ temp = strtoq(base, &junk, 0);
- if(*junk) {
- printf("2syntax error\n");
- return;
-@@ -355,7 +355,7 @@
- }
- if(!second) base = 0;
- else {
-- base = strtoll(second, &junk, 0) & ~15;
-+ base = strtoq(second, &junk, 0) & ~15;
- if(*junk) {
- printf("Invalid base address\n");
- return;
-@@ -397,7 +397,7 @@
- }
- if(!second) base = 0;
- else {
-- base = strtoll(second, &junk, 0) & ~15;
-+ base = strtoq(second, &junk, 0) & ~15;
- if(*junk) {
- printf("Invalid base address\n");
- return;
-@@ -436,13 +436,13 @@
- return;
- }
-
-- base = strtoll(second, &junk, 0) & ~15;
-+ base = strtoq(second, &junk, 0) & ~15;
- if(*junk) {
- printf("Invalid base address\n");
- return;
- }
-
-- module_size = strtoll(third, &junk, 0) & ~15;
-+ module_size = strtoq(third, &junk, 0) & ~15;
- if(*junk) {
- printf("Invalid length\n");
- return;
-@@ -512,7 +512,7 @@
- printf("Break point address is required\n");
- return;
- }
-- break_address = strtoll(first,&junk,0) & ~15;
-+ break_address = strtoq(first,&junk,0) & ~15;
- if(*junk) {
- printf("Invalid break point address\n");
- return;
-@@ -556,6 +556,9 @@
- while(1) {
- printf("IA64sim>> ");
- gets(cmd);
-+
-+ if (feof(stdin))
-+ return 0;
-
- nextchar = cmd;
- while(*nextchar) *nextchar++ = tolower(*nextchar);
diff --git a/emulators/libspectrum/DESCR b/emulators/libspectrum/DESCR
deleted file mode 100644
index c807411d126..00000000000
--- a/emulators/libspectrum/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-libspectrum is a library designed to make the input and output of some
-ZX Spectrum emulator files slightly easier. It is intended to be usable
-on Unix variants, Win32 and MacOSX.
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile
deleted file mode 100644
index 4f42e1e3e2f..00000000000
--- a/emulators/libspectrum/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/07/16 01:19:10 jlam Exp $
-
-DISTNAME= libspectrum-0.2.2
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
-
-MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://fuse-emulator.sourceforge.net/libspectrum.php
-COMMENT= ZX Spectrum emulator file format library
-
-USE_TOOLS+= perl
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-
-DOCDIR= ${PREFIX}/share/doc/libspectrum
-
-post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/libspectrum.txt ${DOCDIR}
-
-.include "../../archivers/bzip2/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../security/libgcrypt/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libspectrum/PLIST b/emulators/libspectrum/PLIST
deleted file mode 100644
index 4215f220f59..00000000000
--- a/emulators/libspectrum/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2004/09/22 08:09:30 jlam Exp $
-include/libspectrum.h
-lib/libspectrum.la
-man/man3/libspectrum.3
-share/doc/libspectrum/libspectrum.txt
-@dirrm share/doc/libspectrum
diff --git a/emulators/libspectrum/buildlink3.mk b/emulators/libspectrum/buildlink3.mk
deleted file mode 100644
index 6243bf0027c..00000000000
--- a/emulators/libspectrum/buildlink3.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/10/03 00:14:40 tv Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBSPECTRUM_BUILDLINK3_MK:= ${LIBSPECTRUM_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= libspectrum
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspectrum}
-BUILDLINK_PACKAGES+= libspectrum
-
-.if !empty(LIBSPECTRUM_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.libspectrum+= libspectrum>=0.2.2
-BUILDLINK_RECOMMENDED.libspectrum+= libspectrum>=0.2.2nb1
-BUILDLINK_PKGSRCDIR.libspectrum?= ../../emulators/libspectrum
-.endif # LIBSPECTRUM_BUILDLINK3_MK
-
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../security/libgcrypt/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/libspectrum/distinfo b/emulators/libspectrum/distinfo
deleted file mode 100644
index 4fc41f87476..00000000000
--- a/emulators/libspectrum/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (libspectrum-0.2.2.tar.gz) = 09217bfa89c2778c71a93bc1c0aea0604ed6e0f0
-RMD160 (libspectrum-0.2.2.tar.gz) = b28bfbcae5e70d228436e16eb2f795611a42964c
-Size (libspectrum-0.2.2.tar.gz) = 386960 bytes
diff --git a/emulators/linuxppc_lib/DESCR b/emulators/linuxppc_lib/DESCR
deleted file mode 100644
index 36175e17af1..00000000000
--- a/emulators/linuxppc_lib/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-These libraries are part of the Linux compatibility options
-for NetBSD/powerpc.
-
-The kernel option `COMPAT_LINUX' needs to be in your kernel config
-file for this to work as well.
diff --git a/emulators/linuxppc_lib/Makefile b/emulators/linuxppc_lib/Makefile
deleted file mode 100644
index 2f94d139d5a..00000000000
--- a/emulators/linuxppc_lib/Makefile
+++ /dev/null
@@ -1,85 +0,0 @@
-# $NetBSD: Makefile,v 1.24 2005/07/15 18:27:49 jlam Exp $
-
-DISTNAME= linuxppc_lib-2000.4.6
-CATEGORIES= emulators
-MASTER_SITES+= ftp://ftp.linuxppc.org/linuxppc-halloween/software/
-MASTER_SITES+= http://linuxppc.org/software/java/dl/motif/
-RPMFILES= glibc-2.1.3-15f.ppc.rpm glib-1.2.8-3.ppc.rpm \
- libjpeg-6b-13.ppc.rpm libpng-1.0.5-3.ppc.rpm \
- libstdc++-2.10.0-2n.ppc.rpm libtermcap-2.0.8-20.ppc.rpm \
- libtiff-3.5.5-2.ppc.rpm XFree86-libs-3.3.6-20b.ppc.rpm \
- zlib-1.1.3-6.ppc.rpm ldconfig-1.9.5-16.ppc.rpm \
- libjpeg6a-6a-5.ppc.rpm xpm-3.4k-1.ppc.rpm \
- ncurses-5.0-12.ppc.rpm readline-2.2.1-7a.ppc.rpm
-DISTFILES+= ${RPMFILES}
-DISTFILES+= openmotif-2.1.30-3_MLI_jdk.tar.gz
-
-MAINTAINER= p99dreyf@criens.u-psud.fr
-HOMEPAGE= http://www.linuxppc.org/
-COMMENT= Libraries to run Linux binaries on NetBSD/powerpc (includes X11)
-
-BUILD_DEPENDS+= rpm2pkg-1.2:../../pkgtools/rpm2pkg
-
-CONFLICTS= suse_base-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-1.5[U-Z]-powerpc NetBSD-1.5Z[A-Z]-powerpc \
- NetBSD-1.6*-powerpc NetBSD-[2-9]*-powerpc
-
-WRKSRC= ${WRKDIR}/${DISTNAME}
-SHLIB_HANDLING= NO
-CHECK_SHLIBS= NO
-DIST_SUBDIR= linuxppc_lib
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-USE_TOOLS+= gtar
-
-EMUL_LINUX= emul/linux
-LINUX_LDCONFIG= ${PREFIX}/${EMUL_LINUX}/sbin/ldconfig
-RPM2PKG= rpm2pkg
-SORT= sort
-RPMARGS+= -i usr/man -i usr/doc -i usr/info
-.for TEMP in ${RPMFILES}
-RPMARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP}
-.endfor
-
-do-extract:
- ${MKDIR} ${WRKSRC}
-
-do-build: #do nothing
-
-do-install:
- ${RM} -f ${WRKDIR}/PLIST_DYNAMIC
- ${INSTALL_DATA_DIR} ${PREFIX}/${EMUL_LINUX}
- ${INSTALL_DATA_DIR} /${EMUL_LINUX}
- ${RPM2PKG} -d ${PREFIX} -f ${WRKDIR}/PLIST_DYNAMIC -p emul/linux ${RPMARGS}
-
- # Fix Linux's ldd paths (ldd is a shell script on Linux)
- ${SED} 's|^\(TEXTDOMAINDIR=\)\(/usr/share/locale\)|\1${PREFIX}/${EMUL_LINUX}\2|; \
- s|^\(RTLD=\)\(/lib/ld.so.1\)|\1${PREFIX}/${EMUL_LINUX}\2|' \
- ${PREFIX}/${EMUL_LINUX}/usr/bin/ldd > \
- ${PREFIX}/${EMUL_LINUX}/usr/bin/ldd.new
- ${MV} ${PREFIX}/${EMUL_LINUX}/usr/bin/ldd.new \
- ${PREFIX}/${EMUL_LINUX}/usr/bin/ldd
- ${CHMOD} 755 ${PREFIX}/${EMUL_LINUX}/usr/bin/ldd
-
- # Unpack shared libraries for OpenMotif
- cd ${PREFIX}/${EMUL_LINUX}/usr/X11R6 ; ${GTAR} -x 'lib/*.so*' \
- -zvf ${DISTDIR}/${DIST_SUBDIR}/openmotif-2.1.30-3_MLI_jdk.tar.gz | \
- ${SED} -e "s|^|${EMUL_LINUX}/usr/X11R6/|" >> ${WRKDIR}/PLIST_DYNAMIC
-
- # Make the link /usr/pkg/emul/linux -> /emul/linux
- ${TEST} -f /emul/linux/lib/ld.so.1 || ( ${RMDIR} /${EMUL_LINUX} && \
- ${LN} -sf ${PREFIX}/${EMUL_LINUX} /${EMUL_LINUX} )
-
- # Create ld.so.conf and ld.so.cache. (uses Linux's ldconfig)
- ${TOUCH} ${PREFIX}/${EMUL_LINUX}/etc/ld.so.cache~
- ${CP} ${FILESDIR}/ld.so.conf ${PREFIX}/${EMUL_LINUX}/etc/ld.so.conf
- ${LINUX_LDCONFIG} -r ${PREFIX}/${EMUL_LINUX} -v | \
- ${SED} -n '/^\/.*:$$/h; /(changed)$$/{G; \
- s|[[:blank:]]\([^ ]\{1,\}\) =>.*\n/\(.*\):$$|${EMUL_LINUX}/\2/\1|p;}' \
- >> ${WRKDIR}/PLIST_DYNAMIC
- ${ECHO} "${EMUL_LINUX}/etc/ld.so.conf" >> ${WRKDIR}/PLIST_DYNAMIC
- ${SORT} -r ${WRKDIR}/PLIST_DYNAMIC > ${WRKDIR}/PLIST_DYNAMIC.sorted
- ${MV} ${WRKDIR}/PLIST_DYNAMIC.sorted ${WRKDIR}/PLIST_DYNAMIC
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/linuxppc_lib/distinfo b/emulators/linuxppc_lib/distinfo
deleted file mode 100644
index 04664f01a67..00000000000
--- a/emulators/linuxppc_lib/distinfo
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (linuxppc_lib/glibc-2.1.3-15f.ppc.rpm) = 8a73a18041c6b1f41556dc974752dab55f2e125c
-RMD160 (linuxppc_lib/glibc-2.1.3-15f.ppc.rpm) = 7b6a7e784d9aac080abfaa83b3ef2665fd749da0
-Size (linuxppc_lib/glibc-2.1.3-15f.ppc.rpm) = 9503167 bytes
-SHA1 (linuxppc_lib/glib-1.2.8-3.ppc.rpm) = f067429860346dafb3c348eed8d59d370feb671b
-RMD160 (linuxppc_lib/glib-1.2.8-3.ppc.rpm) = d67d41fd8a72a19dd077995d5d6129eb5f9877e1
-Size (linuxppc_lib/glib-1.2.8-3.ppc.rpm) = 142829 bytes
-SHA1 (linuxppc_lib/libjpeg-6b-13.ppc.rpm) = a6b91fcc3348bb6625a70c843478d73dc2032e41
-RMD160 (linuxppc_lib/libjpeg-6b-13.ppc.rpm) = 8454c628897a303eeb1b5500352855555590bb48
-Size (linuxppc_lib/libjpeg-6b-13.ppc.rpm) = 125558 bytes
-SHA1 (linuxppc_lib/libpng-1.0.5-3.ppc.rpm) = 92a88a28142bf0698c3a71f82d40ebf86b8d97dc
-RMD160 (linuxppc_lib/libpng-1.0.5-3.ppc.rpm) = f1a15dda95fca48d0bb05807c6dab5e52d8fbaeb
-Size (linuxppc_lib/libpng-1.0.5-3.ppc.rpm) = 116067 bytes
-SHA1 (linuxppc_lib/libstdc++-2.10.0-2n.ppc.rpm) = a8cb630e24a180a0c2fce1fa13e444dab9660fc3
-RMD160 (linuxppc_lib/libstdc++-2.10.0-2n.ppc.rpm) = a63fa3107f393a10e9881d0fc46ea49fe382d2c7
-Size (linuxppc_lib/libstdc++-2.10.0-2n.ppc.rpm) = 1110869 bytes
-SHA1 (linuxppc_lib/libtermcap-2.0.8-20.ppc.rpm) = 84673baa788a90c00ce4a6f52a5bcba80cf9a19c
-RMD160 (linuxppc_lib/libtermcap-2.0.8-20.ppc.rpm) = d0437e1b8598d02f3c5630fb4faf2ede17a61d76
-Size (linuxppc_lib/libtermcap-2.0.8-20.ppc.rpm) = 57125 bytes
-SHA1 (linuxppc_lib/libtiff-3.5.5-2.ppc.rpm) = d406ae6353300a0b21c01282a5d2148c63ec05aa
-RMD160 (linuxppc_lib/libtiff-3.5.5-2.ppc.rpm) = 483c61188a6cd2e7aeaf11c14fac87072585456e
-Size (linuxppc_lib/libtiff-3.5.5-2.ppc.rpm) = 204823 bytes
-SHA1 (linuxppc_lib/XFree86-libs-3.3.6-20b.ppc.rpm) = 3ed6da7dca7b4fc5ac81acbbbefd0ccfd7b8472a
-RMD160 (linuxppc_lib/XFree86-libs-3.3.6-20b.ppc.rpm) = d91efda504df84ceeeebd01be4e332638904b3b2
-Size (linuxppc_lib/XFree86-libs-3.3.6-20b.ppc.rpm) = 939474 bytes
-SHA1 (linuxppc_lib/zlib-1.1.3-6.ppc.rpm) = 9a813540e080c5c621b2abb0ada4f48ea274bf09
-RMD160 (linuxppc_lib/zlib-1.1.3-6.ppc.rpm) = 0da794b1ee885717ff541ffc562c012156c42d42
-Size (linuxppc_lib/zlib-1.1.3-6.ppc.rpm) = 30894 bytes
-SHA1 (linuxppc_lib/ldconfig-1.9.5-16.ppc.rpm) = 785b2e72bc8cc51ddded7f746f1e4712aeca773b
-RMD160 (linuxppc_lib/ldconfig-1.9.5-16.ppc.rpm) = a92546b1b4d990f7a91743cf79fee7ca415b5bd2
-Size (linuxppc_lib/ldconfig-1.9.5-16.ppc.rpm) = 124309 bytes
-SHA1 (linuxppc_lib/libjpeg6a-6a-5.ppc.rpm) = 633da2a887d03c43acb7ddf9d66b6139c240cccd
-RMD160 (linuxppc_lib/libjpeg6a-6a-5.ppc.rpm) = 39da6439cd0058cfa7184d3b420d3e7fe57f0c11
-Size (linuxppc_lib/libjpeg6a-6a-5.ppc.rpm) = 62388 bytes
-SHA1 (linuxppc_lib/xpm-3.4k-1.ppc.rpm) = 94e080372f65d3dc91570175334d43273e1c216a
-RMD160 (linuxppc_lib/xpm-3.4k-1.ppc.rpm) = e66c42fc168a9b7ea2e388e6505d78d2f758a42f
-Size (linuxppc_lib/xpm-3.4k-1.ppc.rpm) = 73072 bytes
-SHA1 (linuxppc_lib/ncurses-5.0-12.ppc.rpm) = 1d5863dfc29473472bda89d237bafd84de602df4
-RMD160 (linuxppc_lib/ncurses-5.0-12.ppc.rpm) = 987b45dec71db60bbdefddb45aabfeb6dc8c8fa7
-Size (linuxppc_lib/ncurses-5.0-12.ppc.rpm) = 808456 bytes
-SHA1 (linuxppc_lib/readline-2.2.1-7a.ppc.rpm) = 29458422f6991affc2d88c5eba9c0f7f2c9d796b
-RMD160 (linuxppc_lib/readline-2.2.1-7a.ppc.rpm) = 91b32ac137fd03353931fa1768a917430a026c73
-Size (linuxppc_lib/readline-2.2.1-7a.ppc.rpm) = 145051 bytes
-SHA1 (linuxppc_lib/openmotif-2.1.30-3_MLI_jdk.tar.gz) = b9af158b947829d0bbe2831842ff4f4b4a7313a0
-RMD160 (linuxppc_lib/openmotif-2.1.30-3_MLI_jdk.tar.gz) = d6aea78941bbffc662c6d540908e3fbf986f684c
-Size (linuxppc_lib/openmotif-2.1.30-3_MLI_jdk.tar.gz) = 2631074 bytes
-SHA1 (patch-aa) = 04840c534103f659fce4c00b5a6d63f79e03bf08
diff --git a/emulators/linuxppc_lib/files/ld.so.conf b/emulators/linuxppc_lib/files/ld.so.conf
deleted file mode 100644
index eb2ad0fd4f7..00000000000
--- a/emulators/linuxppc_lib/files/ld.so.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-/lib
-/usr/lib
-/usr/X11R6/lib
diff --git a/emulators/linuxppc_lib/patches/patch-aa b/emulators/linuxppc_lib/patches/patch-aa
deleted file mode 100644
index d9934bc5e88..00000000000
--- a/emulators/linuxppc_lib/patches/patch-aa
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/01/23 22:29:48 manu Exp $
---- etc/ld.so.conf.orig Sun Jan 14 22:29:50 2001
-+++ etc/ld.so.conf Sun Jan 14 22:30:05 2001
-@@ -0,0 +1,4 @@
-+/lib
-+/usr/lib
-+/usr/local/lib
-+/usr/X11R6/lib
diff --git a/emulators/lrmi/DESCR b/emulators/lrmi/DESCR
deleted file mode 100644
index 5c6acd0589c..00000000000
--- a/emulators/lrmi/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-LRMI is a library for calling real mode BIOS routines under Linux.
diff --git a/emulators/lrmi/Makefile b/emulators/lrmi/Makefile
deleted file mode 100644
index ff8f7c83889..00000000000
--- a/emulators/lrmi/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/11/08 16:50:51 tv Exp $
-#
-
-DISTNAME= lrmi-0.8
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lrmi/}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://sourceforge.net/projects/lrmi/
-COMMENT= Wrapper to the i386 vm86 mode
-
-ONLY_FOR_PLATFORM= *-*-i386
-NOT_FOR_PLATFORM+= Interix-*-* # cannot call real mode from Windows
-
-MAKEFILE= Makefile.bsd
-INSTALLATION_DIRS= bin include lib
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/vbe.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/liblrmi.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${PREFIX}/lib
- ${INSTALL_PROGRAM} ${WRKSRC}/vbetest ${PREFIX}/bin
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/lrmi/PLIST b/emulators/lrmi/PLIST
deleted file mode 100644
index f648ea7911c..00000000000
--- a/emulators/lrmi/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2005/04/05 10:41:28 wiz Exp $
-bin/vbetest
-include/lrmi.h
-include/vbe.h
-lib/liblrmi.a
-lib/liblrmi.so
diff --git a/emulators/lrmi/buildlink3.mk b/emulators/lrmi/buildlink3.mk
deleted file mode 100644
index 2eaa9c79882..00000000000
--- a/emulators/lrmi/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2005/04/05 10:42:07 wiz Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LRMI_BUILDLINK3_MK:= ${LRMI_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= lrmi
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlrmi}
-BUILDLINK_PACKAGES+= lrmi
-
-.if !empty(LRMI_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.lrmi+= lrmi>=0.8nb1
-BUILDLINK_PKGSRCDIR.lrmi?= ../../emulators/lrmi
-.endif # LRMI_BUILDLINK3_MK
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/lrmi/distinfo b/emulators/lrmi/distinfo
deleted file mode 100644
index 7fb852677b4..00000000000
--- a/emulators/lrmi/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (lrmi-0.8.tar.gz) = e01ba74b5343551b8d717c2fa9c365cb11d1ab48
-RMD160 (lrmi-0.8.tar.gz) = 680c7f7e6599f71b942edef10846991e1c1ce14b
-Size (lrmi-0.8.tar.gz) = 9347 bytes
-SHA1 (patch-aa) = 93dbadd844e48a36ebc77139ca47da3789fb6a41
diff --git a/emulators/lrmi/patches/patch-aa b/emulators/lrmi/patches/patch-aa
deleted file mode 100644
index ee7b31bab3e..00000000000
--- a/emulators/lrmi/patches/patch-aa
+++ /dev/null
@@ -1,130 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2003/10/06 11:14:14 drochner Exp $
-
---- lrmi.c.orig Wed May 14 05:18:12 2003
-+++ lrmi.c Mon Oct 6 13:03:05 2003
-@@ -211,12 +211,26 @@ LRMI_free_real(void *m)
- #define DEFAULT_STACK_SIZE 0x1000
- #define RETURN_TO_32_INT 255
-
-+#if defined(__NetBSD__) && defined(SA_SIGINFO)
-+struct gregset_overlay {
-+ int gs, fs, es, ds;
-+ int edi, esi, ebp, esp, ebx, edx, ecx, eax;
-+ int _trapno, _err;
-+ int eip, cs, eflags, uesp, ss;
-+};
-+#endif
-+
- #if defined(__linux__)
- #define CONTEXT_REGS context.vm.regs
- #define REG(x) x
- #elif defined(__NetBSD__)
-+#if defined(SA_SIGINFO)
-+#define CONTEXT_REGS (*(struct gregset_overlay *)&context.vm.substr.regs)
-+#define REG(x) x
-+#else
- #define CONTEXT_REGS context.vm.substr.regs
- #define REG(x) vmsc.sc_ ## x
-+#endif /* SA_SIGINFO */
- #elif defined(__FreeBSD__)
- #define CONTEXT_REGS context.vm.uc
- #define REG(x) uc_mcontext.mc_ ## x
-@@ -237,7 +251,8 @@ static struct {
- #if defined(__NetBSD__) || defined(__FreeBSD__)
- int success;
- jmp_buf env;
-- void *old_sighandler;
-+ struct sigaction old_sighandler;
-+ int sh_installed;
- int vret;
- #endif
- } context = { 0 };
-@@ -808,10 +823,22 @@ run_vm86(void)
- #elif defined(__NetBSD__) || defined(__FreeBSD__)
- #if defined(__NetBSD__)
- static void
--vm86_callback(int sig, int code, struct sigcontext *sc)
-+vm86_callback(int sig,
-+#if defined(SA_SIGINFO)
-+ siginfo_t *info, void *vctx
-+#else
-+ int code, struct sigcontext *sc
-+#endif
-+ )
- {
- /* Sync our context with what the kernel develivered to us. */
-+#if defined(SA_SIGINFO)
-+ int code = info->si_trap;
-+ ucontext_t *ctx = vctx;
-+ memcpy(&CONTEXT_REGS, &ctx->uc_mcontext.__gregs, sizeof(CONTEXT_REGS));
-+#else
- memcpy(&CONTEXT_REGS, sc, sizeof(*sc));
-+#endif
-
- switch (VM86_TYPE(code)) {
- case VM86_INTx:
-@@ -850,7 +877,11 @@ vm86_callback(int sig, int code, struct
- }
-
- /* ...and sync our context back to the kernel. */
-+#if defined(SA_SIGINFO)
-+ memcpy(&ctx->uc_mcontext.__gregs, &CONTEXT_REGS, sizeof(CONTEXT_REGS));
-+#else
- memcpy(sc, &CONTEXT_REGS, sizeof(*sc));
-+#endif
- }
- #elif defined(__FreeBSD__)
- static void
-@@ -899,34 +930,44 @@ vm86_callback(int sig, int code, struct
- static int
- run_vm86(void)
- {
-- if (context.old_sighandler) {
-+ struct sigaction sa;
-+ int res;
-+
-+ if (context.sh_installed) {
- #ifdef LRMI_DEBUG
- fprintf(stderr, "run_vm86: callback already installed\n");
- #endif
- return (0);
- }
-
-+ memset(&sa, 0, sizeof(sa));
-+#if defined(__NetBSD__) && defined(SA_SIGINFO)
-+ sa.sa_sigaction = vm86_callback;
-+ sa.sa_flags = SA_SIGINFO;
-+#else
-+ sa.sa_handler = (void (*)(int))vm86_callback;
-+#endif
- #if defined(__NetBSD__)
-- context.old_sighandler = signal(SIGURG, (void (*)(int))vm86_callback);
-+ res = sigaction(SIGURG, &sa, &context.old_sighandler);
- #elif defined(__FreeBSD__)
-- context.old_sighandler = signal(SIGBUS, (void (*)(int))vm86_callback);
-+ res = sigaction(SIGBUS, &sa, &context.old_sighandler);
- #endif
-
-- if (context.old_sighandler == (void *)-1) {
-- context.old_sighandler = NULL;
-+ if (res < 0) {
- #ifdef LRMI_DEBUG
- fprintf(stderr, "run_vm86: cannot install callback\n");
- #endif
- return (0);
- }
-+ context.sh_installed = 1;
-
- if (setjmp(context.env)) {
- #if defined(__NetBSD__)
-- (void) signal(SIGURG, context.old_sighandler);
-+ sigaction(SIGURG, &context.old_sighandler, 0);
- #elif defined(__FreeBSD__)
-- (void) signal(SIGBUS, context.old_sighandler);
-+ sigaction(SIGBUS, &context.old_sighandler, 0);
- #endif
-- context.old_sighandler = NULL;
-+ context.sh_installed = 0;
-
- if (context.success)
- return (1);
diff --git a/emulators/m1/DESCR b/emulators/m1/DESCR
deleted file mode 100644
index a44b7dbec98..00000000000
--- a/emulators/m1/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-M1 is an arcade video and pinball game sound emulator by R. Belmont.
-The emulator is available for both Windows and Linux and features
-full stereo sound at sample rates up to 48000 Hz. Over 1000 games
-are supported.
-
-This package contains the Linux binary.
diff --git a/emulators/m1/Makefile b/emulators/m1/Makefile
deleted file mode 100644
index e7fe2652523..00000000000
--- a/emulators/m1/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/09/28 20:52:20 rillig Exp $
-#
-
-DISTNAME= m1074b2-lnx
-PKGNAME= m1-0.7.4c
-CATEGORIES= emulators audio
-MASTER_SITES= http://www.emuhype.com/files/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.emuhype.com/index.phtml?s=misc&ss=index
-COMMENT= Arcade video and pinball game sound emulator (Linux binary)
-
-DEPENDS+= suse_base>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-WRKSRC= ${WRKDIR}/m1-0.7.4
-NO_BUILD= yes
-CHECK_SHLIBS= no
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/m1 ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/m1
- ${INSTALL_DATA} ${WRKSRC}/m1.txt ${PREFIX}/share/doc/m1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/m1
- ${INSTALL_DATA} ${WRKSRC}/m1.ini ${PREFIX}/share/examples/m1
-
-.include "../../emulators/suse_linux/Makefile.application"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/m1/PLIST b/emulators/m1/PLIST
deleted file mode 100644
index 06f6c1099e2..00000000000
--- a/emulators/m1/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/29 23:19:48 wiz Exp $
-bin/m1
-share/doc/m1/m1.txt
-share/examples/m1/m1.ini
-@dirrm share/examples/m1
-@dirrm share/doc/m1
diff --git a/emulators/m1/distinfo b/emulators/m1/distinfo
deleted file mode 100644
index 68cf53db700..00000000000
--- a/emulators/m1/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (m1074b2-lnx.tar.bz2) = 842ec3a3f5b56fe3352d06e169af58d2ab9b3690
-RMD160 (m1074b2-lnx.tar.bz2) = 4247a7f4db7eafb7331e82335502c2ab43b7742d
-Size (m1074b2-lnx.tar.bz2) = 705948 bytes
diff --git a/emulators/minivmac/DESCR b/emulators/minivmac/DESCR
deleted file mode 100644
index 3c33bc3d85e..00000000000
--- a/emulators/minivmac/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Mini vMac is a minor spin off of the program vMac. Its goal is to
-provide the simplest usable emulation of a Macintosh, instead of the
-fastest or most usable emulation. It can serve as a programmers
-introduction to vMac, having only about one tenth as much source code.
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile
deleted file mode 100644
index 689ecc162b4..00000000000
--- a/emulators/minivmac/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2005/06/16 06:57:51 jlam Exp $
-
-DISTNAME= minivmac-0.1.7.src
-PKGNAME= minivmac-0.1.7
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minivmac/}
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= kei@NetBSD.org
-HOMEPAGE= http://minivmac.sourceforge.net/
-COMMENT= Miniature Macintosh emulator
-
-WRKSRC= ${WRKDIR}/minivmac
-
-SCRIPTS_ENV+= CC="${CC}"
-
-DOCDIR= ${PREFIX}/share/doc/html/minivmac
-
-INSTALLATION_DIRS= bin
-
-.include "../../mk/x11.buildlink3.mk"
-
-do-build:
- cd ${WRKSRC}/tool/bash; ${SETENV} ${SCRIPTS_ENV} ${SH} build
-
-do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/minivmac/PLIST b/emulators/minivmac/PLIST
deleted file mode 100644
index 0fe37c9b2a4..00000000000
--- a/emulators/minivmac/PLIST
+++ /dev/null
@@ -1,12 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2003/05/18 13:55:28 jmc Exp $
-bin/minivmac
-share/doc/html/minivmac/about.html
-share/doc/html/minivmac/build.html
-share/doc/html/minivmac/credits.html
-share/doc/html/minivmac/license.html
-share/doc/html/minivmac/todo.html
-share/doc/html/minivmac/autoquit.html
-share/doc/html/minivmac/contents.html
-share/doc/html/minivmac/default.html
-share/doc/html/minivmac/manual.html
-@dirrm share/doc/html/minivmac
diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo
deleted file mode 100644
index e149c478501..00000000000
--- a/emulators/minivmac/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (minivmac-0.1.7.src.tgz) = 761b56ec9d4dbc2a3b200dd40a9c44b93913e308
-RMD160 (minivmac-0.1.7.src.tgz) = 132ddc014d74f0c60be5357f69f4528f0c86db97
-Size (minivmac-0.1.7.src.tgz) = 93155 bytes
-SHA1 (patch-aa) = c1f992d7277edb53c88d6b973cfe1046c5633434
diff --git a/emulators/minivmac/patches/patch-aa b/emulators/minivmac/patches/patch-aa
deleted file mode 100644
index aa56bda2f8b..00000000000
--- a/emulators/minivmac/patches/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $
-
---- tool/bash/build.orig Thu Jul 18 03:09:52 2002
-+++ tool/bash/build Mon Oct 14 03:49:09 2002
-@@ -32,17 +32,17 @@
-
- # what compiler to use and what options
-
--CallC="gcc -c"
-+CallC="${CC} -c -I${X11BASE}/include"
- CallC="${CallC} -Wall -Wmissing-prototypes -Wstrict-prototypes"
- CallC="${CallC} -O3"
-
- # what linker to use and what options
-
--LinkLine="gcc"
-+LinkLine="${CC}"
-
- # what libraries to link with
-
--LinkLibs="-L/usr/X11R6/lib -lXext -lX11"
-+LinkLibs="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11"
-
- # set this to 1 for more speed if you have a PowerPC computer,
- # or other processor with big endian addressing that can
diff --git a/emulators/mmix/DESCR b/emulators/mmix/DESCR
deleted file mode 100644
index 0b2a9c4dcfc..00000000000
--- a/emulators/mmix/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Simulators for MMIX, a RISC machine designed by Professor Donald Knuth
-to replace MIX in the ultimate editions of his monumental opus
-``The Art of Computer Programming''.
-
-The programs are described in
-
- MMIXware by Donald E. Knuth
- Lecture Notes in Computer Science 1750 (Springer Verlag, Heidelberg, 1999).
diff --git a/emulators/mmix/Makefile b/emulators/mmix/Makefile
deleted file mode 100644
index 1535fcd6f01..00000000000
--- a/emulators/mmix/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/06/16 06:57:51 jlam Exp $
-
-DISTNAME= mmix-20030622
-PKGREVISION= 1
-CATEGORIES= emulators devel lang
-MASTER_SITES= http://www-cs-faculty.stanford.edu/~knuth/programs/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www-cs-faculty.stanford.edu/~knuth/mmix.html
-COMMENT= Simulators for Knuth's MMIX RISC architecture
-
-BUILD_DEPENDS+= cweb-[0-9]*:../../devel/cweb
-
-WRKSRC= ${WRKDIR}
-BUILD_TARGET= all doc
-
-INSTALLATION_DIRS= bin
-
-do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} abstime mmix mmixal \
- mmmix mmotype ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mmix
- cd ${WRKSRC} && ${INSTALL_DATA} README *.ps \
- ${PREFIX}/share/doc/mmix
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mmix
- cd ${WRKSRC} && ${INSTALL_DATA} *.mms *.mmix *.mmconfig \
- ${PREFIX}/share/examples/mmix
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/mmix/PLIST b/emulators/mmix/PLIST
deleted file mode 100644
index 0299afd805b..00000000000
--- a/emulators/mmix/PLIST
+++ /dev/null
@@ -1,69 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2002/03/17 17:06:19 fredb Exp $
-bin/abstime
-bin/mmix
-bin/mmixal
-bin/mmmix
-bin/mmotype
-share/doc/mmix/README
-share/doc/mmix/mmix-doc.ps
-share/doc/mmix/mmix-sim-intro.ps
-share/doc/mmix/mmixal-intro.ps
-share/examples/mmix/copy.mms
-share/examples/mmix/cp.mms
-share/examples/mmix/crypto.mms
-share/examples/mmix/crypto1.mms
-share/examples/mmix/crypto2.mms
-share/examples/mmix/deluxe.mmconfig
-share/examples/mmix/echo.mms
-share/examples/mmix/fftswap.mms
-share/examples/mmix/fib.mms
-share/examples/mmix/fibgo.mms
-share/examples/mmix/fibsub.mms
-share/examples/mmix/halves.mmix
-share/examples/mmix/halves.mms
-share/examples/mmix/harm.mms
-share/examples/mmix/hello.mms
-share/examples/mmix/hptest.mms
-share/examples/mmix/inout.mms
-share/examples/mmix/iotest.mms
-share/examples/mmix/iotest1.mms
-share/examples/mmix/iotest2.mms
-share/examples/mmix/number1.mms
-share/examples/mmix/permu-heap.mms
-share/examples/mmix/permu-langdon.mms
-share/examples/mmix/permu-plain.mms
-share/examples/mmix/permu-st.mms
-share/examples/mmix/phi.mms
-share/examples/mmix/plain.mmconfig
-share/examples/mmix/popup.mms
-share/examples/mmix/primes.mmconfig
-share/examples/mmix/primes.mmix
-share/examples/mmix/primes.mms
-share/examples/mmix/primes6.mms
-share/examples/mmix/primesf.mms
-share/examples/mmix/primesfx.mms
-share/examples/mmix/primessf.mms
-share/examples/mmix/primesx.mmconfig
-share/examples/mmix/primesx.mms
-share/examples/mmix/pushtest.mms
-share/examples/mmix/saddle1.mms
-share/examples/mmix/saddle2.mms
-share/examples/mmix/silly.mms
-share/examples/mmix/sim.mms
-share/examples/mmix/sort.mms
-share/examples/mmix/sortx.mms
-share/examples/mmix/strcpy.mms
-share/examples/mmix/sub1.mms
-share/examples/mmix/sub2.mms
-share/examples/mmix/test.mmconfig
-share/examples/mmix/test.mmix
-share/examples/mmix/test.mms
-share/examples/mmix/test1.mmconfig
-share/examples/mmix/test1.mmix
-share/examples/mmix/test2.mmconfig
-share/examples/mmix/test2.mmix
-share/examples/mmix/traffic.mms
-share/examples/mmix/valid.mms
-share/examples/mmix/zero.mms
-@dirrm share/examples/mmix
-@dirrm share/doc/mmix
diff --git a/emulators/mmix/distinfo b/emulators/mmix/distinfo
deleted file mode 100644
index 15a402f93fa..00000000000
--- a/emulators/mmix/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (mmix-20030622.tar.gz) = 6e953ba5767879b96e08f9eb58a4a0a900a56f43
-RMD160 (mmix-20030622.tar.gz) = 288e1d6779264077ff3e7a431af461e9e33142c5
-Size (mmix-20030622.tar.gz) = 304746 bytes
-SHA1 (patch-aa) = 927eabd1b0d1180fb909ca943b511fa325601c7e
diff --git a/emulators/mmix/patches/patch-aa b/emulators/mmix/patches/patch-aa
deleted file mode 100644
index e735d1b3719..00000000000
--- a/emulators/mmix/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/12 21:52:14 jtb Exp $
-
---- Makefile.orig Sat Jul 29 17:59:18 2000
-+++ Makefile
-@@ -6,7 +6,7 @@
- # In fact, CWEB 3.61 is recommended for making hardcopy or PDF documentation.
-
- # If you prefer optimization to debugging, change -g to something like -O:
--CFLAGS = -g
-+#CFLAGS = -g
-
- # Uncomment the second line if you use pdftex to bypass .dvi files:
- PDFTEX = dvipdfm
diff --git a/emulators/netbsd32_compat14/DEINSTALL b/emulators/netbsd32_compat14/DEINSTALL
deleted file mode 100644
index 9e432e1c8c7..00000000000
--- a/emulators/netbsd32_compat14/DEINSTALL
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
- COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}
-
- # clean up the symlink
- ${RM} -f /emul/aout
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat14/DESCR b/emulators/netbsd32_compat14/DESCR
deleted file mode 100644
index 13b88772c16..00000000000
--- a/emulators/netbsd32_compat14/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.4, on a 32-bit
-platform, running on a 64-bit host.. You still need the options COMPAT_14
-and COMPAT_NETBSD32 in your kernel configuration (and probably others; see
-options(4) for more information) to make use of NetBSD 1.4 binaries.
diff --git a/emulators/netbsd32_compat14/INSTALL b/emulators/netbsd32_compat14/INSTALL
deleted file mode 100644
index bba96f36602..00000000000
--- a/emulators/netbsd32_compat14/INSTALL
+++ /dev/null
@@ -1,51 +0,0 @@
-# $NetBSD: INSTALL,v 1.3 2005/01/11 05:12:56 hamajima Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- # Only create the symlink on certain platform/object combinations. Note
- # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
- #
- create_emul_symlink=0
- case ${MACHINE_ARCH} in
- sparc64 | x86_64)
- create_emul_symlink=1
- ;;
- esac
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=aout
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat14/Makefile b/emulators/netbsd32_compat14/Makefile
deleted file mode 100644
index 48afb0fdb62..00000000000
--- a/emulators/netbsd32_compat14/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2005/09/28 20:52:20 rillig Exp $
-#
-
-DISTNAME= compat14-${MACHINE32_ARCH}-${VERSION}
-PKGNAME= netbsd32_compat14-${VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
-COMMENT= 32-bit shared libraries for NetBSD 1.4 (and earlier) compatibility
-
-VERSION= 1.4.3.1
-PKGREVISION= 1
-
-.if ${MACHINE_ARCH} == "sparc64"
-MACHINE32_ARCH= sparc
-DEPENDS+= netbsd32_compat15>=1.0:../../emulators/netbsd32_compat15
-.elif ${MACHINE_ARCH} == "x86_64"
-MACHINE32_ARCH= i386
-DEPENDS+= netbsd32_compat16>=1.0:../../emulators/netbsd32_compat16
-.else
-MACHINE32_ARCH= ${MACHINE_ARCH}
-.endif
-
-ONLY_FOR_PLATFORM= NetBSD-*-sparc64
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
- if [ -d ${WRKDIR}/X11R6/lib ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
- ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
- fi
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/netbsd32_compat14/PLIST b/emulators/netbsd32_compat14/PLIST
deleted file mode 100644
index cb003ee56c3..00000000000
--- a/emulators/netbsd32_compat14/PLIST
+++ /dev/null
@@ -1,39 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:02 zuntum Exp $
-${COMPAT_LIBDIR}/libamu.so.1.1
-${COMPAT_LIBDIR}/libbfd.so.3.0
-${COMPAT_LIBDIR}/libbz2.so.0.0
-${COMPAT_LIBDIR}/libc.so.12.40.2
-${COMPAT_LIBDIR}/libcrypt.so.0.0
-${COMPAT_LIBDIR}/libcurses.so.2.2
-${COMPAT_LIBDIR}/libedit.so.2.2
-${COMPAT_LIBDIR}/libg2c.so.0.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0.0
-${COMPAT_LIBDIR}/libkvm.so.5.0
-${COMPAT_LIBDIR}/libm.so.0.1
-${COMPAT_LIBDIR}/libntp.so.0.0
-${COMPAT_LIBDIR}/libobjc.so.0.0
-${COMPAT_LIBDIR}/libossaudio.so.0.0
-${COMPAT_LIBDIR}/libpcap.so.0.0
-${COMPAT_LIBDIR}/libposix.so.0.1
-${COMPAT_LIBDIR}/libresolv.so.1.0
-${COMPAT_LIBDIR}/libskey.so.0.0
-${COMPAT_LIBDIR}/libstdc++.so.2.0
-${COMPAT_LIBDIR}/libtelnet.so.1.0
-${COMPAT_LIBDIR}/libtermcap.so.0.0
-${COMPAT_LIBDIR}/libtermlib.so.0.0
-${COMPAT_LIBDIR}/libutil.so.5.0
-${COMPAT_LIBDIR}/libwrap.so.0.0
-${COMPAT_LIBDIR}/libz.so.0.1
-${COMPAT_XLIBDIR}/libICE.so.6.3
-${COMPAT_XLIBDIR}/libPEX5.so.6.0
-${COMPAT_XLIBDIR}/libSM.so.6.0
-${COMPAT_XLIBDIR}/libX11.so.6.1
-${COMPAT_XLIBDIR}/libXIE.so.6.0
-${COMPAT_XLIBDIR}/libXaw.so.6.1
-${COMPAT_XLIBDIR}/libXext.so.6.3
-${COMPAT_XLIBDIR}/libXi.so.6.0
-${COMPAT_XLIBDIR}/libXmu.so.6.0
-${COMPAT_XLIBDIR}/libXp.so.6.2
-${COMPAT_XLIBDIR}/libXt.so.6.0
-${COMPAT_XLIBDIR}/libXtst.so.6.1
-${COMPAT_XLIBDIR}/liboldX.so.6.0
diff --git a/emulators/netbsd32_compat14/PLIST.x86_64 b/emulators/netbsd32_compat14/PLIST.x86_64
deleted file mode 100644
index 39ea1bb8128..00000000000
--- a/emulators/netbsd32_compat14/PLIST.x86_64
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.x86_64,v 1.1 2005/02/21 21:08:50 veego Exp $
-${COMPAT_LIBDIR}/libi386.so.0.2
-${COMPAT_LIBDIR}/libkeycap.so.0.0
diff --git a/emulators/netbsd32_compat14/distinfo b/emulators/netbsd32_compat14/distinfo
deleted file mode 100644
index f4096425118..00000000000
--- a/emulators/netbsd32_compat14/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (compat14-i386-1.4.3.1.tar.gz) = 7c00ede3cf18bfc437e9262f0e583bde5f134004
-RMD160 (compat14-i386-1.4.3.1.tar.gz) = 7e1aba3308a3efec20384a1170f4b7b2d5e7ac72
-Size (compat14-i386-1.4.3.1.tar.gz) = 1646083 bytes
-SHA1 (compat14-sparc-1.4.3.1.tar.gz) = 9c0e46ced11f1f56fde79158edebb12898ea4ffa
-Size (compat14-sparc-1.4.3.1.tar.gz) = 1831758 bytes
diff --git a/emulators/netbsd32_compat15/DEINSTALL b/emulators/netbsd32_compat15/DEINSTALL
deleted file mode 100644
index ce3a679ff7a..00000000000
--- a/emulators/netbsd32_compat15/DEINSTALL
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:09:38 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
- COMPAT_LIBEXECDIR=@COMPAT_LIBEXECDIR@
- COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_LIBEXECDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}
-
- # clean up the symlink
- ${RM} -f /emul/netbsd32
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat15/DESCR b/emulators/netbsd32_compat15/DESCR
deleted file mode 100644
index 6896be8f4a9..00000000000
--- a/emulators/netbsd32_compat15/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.5, on a 32-bit
-platform, running on a 64-bit host.. You still need the options COMPAT_15
-and COMPAT_NETBSD32 in your kernel configuration (and probably others; see
-options(4) for more information) to make use of NetBSD 1.5 binaries.
diff --git a/emulators/netbsd32_compat15/INSTALL b/emulators/netbsd32_compat15/INSTALL
deleted file mode 100644
index aa33aa31b15..00000000000
--- a/emulators/netbsd32_compat15/INSTALL
+++ /dev/null
@@ -1,50 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 19:09:38 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- # Only create the symlink on certain platform/object combinations. Note
- # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
- #
- create_emul_symlink=0
- if [ "${MACHINE_ARCH}" = "sparc64" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=netbsd32
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat15/Makefile b/emulators/netbsd32_compat15/Makefile
deleted file mode 100644
index 5ab6c76b18e..00000000000
--- a/emulators/netbsd32_compat15/Makefile
+++ /dev/null
@@ -1,65 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/09/28 20:52:21 rillig Exp $
-#
-
-.if ${MACHINE_ARCH} == "sparc64"
-MACHINE32_ARCH= sparc
-.else
-MACHINE32_ARCH= ${MACHINE_ARCH}
-.endif
-
-DISTNAME= compat15-${MACHINE32_ARCH}
-PKGNAME= netbsd32_compat15-1.0
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.5/index.html
-COMMENT= 32-bit shared libraries for NetBSD 1.5 (and earlier) compatibility
-
-CONFLICTS= netbsd32_compat16-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-*-sparc64
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_LIBEXECDIR=${COMPAT_LIBEXECDIR}
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
-FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-EMULSUBDIR= emul/netbsd32
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-COMPAT_LIBEXECDIR= ${EMULSUBDIR}/usr/libexec
-COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
-
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_LIBEXECDIR=${COMPAT_LIBEXECDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
-
-# XXX using pax to copy symlinks properly.
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- (cd ${WRKDIR}/lib; pax -rwv lib*.so* ${PREFIX}/${COMPAT_LIBDIR}; \
- ${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/${COMPAT_LIBDIR}/lib*.so*; \
- ${CHMOD} 555 ${PREFIX}/${COMPAT_LIBDIR}/lib*.so* )
- if [ -d ${WRKDIR}/X11R6/lib ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
- (cd ${WRKDIR}/X11R6/lib; pax -rwv lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
- ${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/${COMPAT_XLIBDIR}/lib*.so*; \
- ${CHMOD} 555 ${PREFIX}/${COMPAT_XLIBDIR}/lib*.so* ) \
- fi
- if [ -d ${WRKDIR}/libexec ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBEXECDIR}; \
- (cd ${WRKDIR}/libexec; pax -rwv ld.*so ${PREFIX}/${COMPAT_LIBEXECDIR}; \
- ${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/${COMPAT_LIBEXECDIR}/ld.*so; \
- ${CHMOD} 555 ${PREFIX}/${COMPAT_LIBEXECDIR}/ld.*so ) \
- fi
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/netbsd32_compat15/PLIST b/emulators/netbsd32_compat15/PLIST
deleted file mode 100644
index ab9b057c1c1..00000000000
--- a/emulators/netbsd32_compat15/PLIST
+++ /dev/null
@@ -1,117 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:06 zuntum Exp $
-${COMPAT_LIBDIR}/libamu.so.1
-${COMPAT_LIBDIR}/libamu.so.1.1
-${COMPAT_LIBDIR}/libasn1.so.2
-${COMPAT_LIBDIR}/libasn1.so.2.0
-${COMPAT_LIBDIR}/libbz2.so.0
-${COMPAT_LIBDIR}/libbz2.so.0.0
-${COMPAT_LIBDIR}/libc.so.12
-${COMPAT_LIBDIR}/libc.so.12.62.1
-${COMPAT_LIBDIR}/libcom_err.so.3
-${COMPAT_LIBDIR}/libcom_err.so.3.0
-${COMPAT_LIBDIR}/libcrypt.so.0
-${COMPAT_LIBDIR}/libcrypt.so.0.0
-${COMPAT_LIBDIR}/libcrypto.so.0
-${COMPAT_LIBDIR}/libcrypto.so.0.2
-${COMPAT_LIBDIR}/libcurses.so.3
-${COMPAT_LIBDIR}/libcurses.so.3.6
-${COMPAT_LIBDIR}/libdes.so.5
-${COMPAT_LIBDIR}/libdes.so.5.1
-${COMPAT_LIBDIR}/libedit.so.2
-${COMPAT_LIBDIR}/libedit.so.2.3
-${COMPAT_LIBDIR}/libg2c.so.0
-${COMPAT_LIBDIR}/libg2c.so.0.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0.0
-${COMPAT_LIBDIR}/libgssapi.so.0
-${COMPAT_LIBDIR}/libgssapi.so.0.4
-${COMPAT_LIBDIR}/libhdb.so.4
-${COMPAT_LIBDIR}/libhdb.so.4.1
-${COMPAT_LIBDIR}/libipsec.so.2
-${COMPAT_LIBDIR}/libipsec.so.2.0
-${COMPAT_LIBDIR}/libkadm.so.4
-${COMPAT_LIBDIR}/libkadm.so.4.0
-${COMPAT_LIBDIR}/libkadm5clnt.so.5
-${COMPAT_LIBDIR}/libkadm5clnt.so.5.1
-${COMPAT_LIBDIR}/libkadm5srv.so.6
-${COMPAT_LIBDIR}/libkadm5srv.so.6.0
-${COMPAT_LIBDIR}/libkafs.so.4
-${COMPAT_LIBDIR}/libkafs.so.4.0
-${COMPAT_LIBDIR}/libkdb.so.4
-${COMPAT_LIBDIR}/libkdb.so.4.0
-${COMPAT_LIBDIR}/libkrb.so.4
-${COMPAT_LIBDIR}/libkrb.so.4.0
-${COMPAT_LIBDIR}/libkrb5.so.11
-${COMPAT_LIBDIR}/libkrb5.so.11.1
-${COMPAT_LIBDIR}/libkstream.so.1
-${COMPAT_LIBDIR}/libkstream.so.1.0
-${COMPAT_LIBDIR}/libkvm.so.5
-${COMPAT_LIBDIR}/libkvm.so.5.1
-${COMPAT_LIBDIR}/libm.so.0
-${COMPAT_LIBDIR}/libm.so.0.1
-${COMPAT_LIBDIR}/libmenu.so.1
-${COMPAT_LIBDIR}/libmenu.so.1.0
-${COMPAT_LIBDIR}/libobjc.so.0
-${COMPAT_LIBDIR}/libobjc.so.0.0
-${COMPAT_LIBDIR}/libossaudio.so.0
-${COMPAT_LIBDIR}/libossaudio.so.0.0
-${COMPAT_LIBDIR}/libpcap.so.1
-${COMPAT_LIBDIR}/libpcap.so.1.1
-${COMPAT_LIBDIR}/libposix.so.0
-${COMPAT_LIBDIR}/libposix.so.0.1
-${COMPAT_LIBDIR}/libresolv.so.1
-${COMPAT_LIBDIR}/libresolv.so.1.0
-${COMPAT_LIBDIR}/libroken.so.8
-${COMPAT_LIBDIR}/libroken.so.8.1
-${COMPAT_LIBDIR}/libskey.so.1
-${COMPAT_LIBDIR}/libskey.so.1.0
-${COMPAT_LIBDIR}/libsl.so.1
-${COMPAT_LIBDIR}/libsl.so.1.0
-${COMPAT_LIBDIR}/libss.so.3
-${COMPAT_LIBDIR}/libss.so.3.0
-${COMPAT_LIBDIR}/libssl.so.1
-${COMPAT_LIBDIR}/libssl.so.1.0
-${COMPAT_LIBDIR}/libstdc++.so.2
-${COMPAT_LIBDIR}/libstdc++.so.2.0
-${COMPAT_LIBDIR}/libtelnet.so.3
-${COMPAT_LIBDIR}/libtelnet.so.3.0
-${COMPAT_LIBDIR}/libtermcap.so.0
-${COMPAT_LIBDIR}/libtermcap.so.0.4
-${COMPAT_LIBDIR}/libtermlib.so.0
-${COMPAT_LIBDIR}/libtermlib.so.0.4
-${COMPAT_LIBDIR}/libusb.so.0
-${COMPAT_LIBDIR}/libusb.so.0.0
-${COMPAT_LIBDIR}/libutil.so.5
-${COMPAT_LIBDIR}/libutil.so.5.2
-${COMPAT_LIBDIR}/libwrap.so.0
-${COMPAT_LIBDIR}/libwrap.so.0.2
-${COMPAT_LIBDIR}/libz.so.0
-${COMPAT_LIBDIR}/libz.so.0.2
-${COMPAT_XLIBDIR}/libICE.so.6
-${COMPAT_XLIBDIR}/libICE.so.6.3
-${COMPAT_XLIBDIR}/libPEX5.so.6
-${COMPAT_XLIBDIR}/libPEX5.so.6.0
-${COMPAT_XLIBDIR}/libSM.so.6
-${COMPAT_XLIBDIR}/libSM.so.6.0
-${COMPAT_XLIBDIR}/libX11.so.6
-${COMPAT_XLIBDIR}/libX11.so.6.1
-${COMPAT_XLIBDIR}/libXIE.so.6
-${COMPAT_XLIBDIR}/libXIE.so.6.0
-${COMPAT_XLIBDIR}/libXaw.so.6
-${COMPAT_XLIBDIR}/libXaw.so.6.1
-${COMPAT_XLIBDIR}/libXext.so.6
-${COMPAT_XLIBDIR}/libXext.so.6.3
-${COMPAT_XLIBDIR}/libXi.so.6
-${COMPAT_XLIBDIR}/libXi.so.6.0
-${COMPAT_XLIBDIR}/libXmu.so.6
-${COMPAT_XLIBDIR}/libXmu.so.6.0
-${COMPAT_XLIBDIR}/libXp.so.6
-${COMPAT_XLIBDIR}/libXp.so.6.2
-${COMPAT_XLIBDIR}/libXt.so.6
-${COMPAT_XLIBDIR}/libXt.so.6.0
-${COMPAT_XLIBDIR}/libXtst.so.6
-${COMPAT_XLIBDIR}/libXtst.so.6.1
-${COMPAT_XLIBDIR}/liboldX.so.6
-${COMPAT_XLIBDIR}/liboldX.so.6.0
-${COMPAT_LIBEXECDIR}/ld.so
-${COMPAT_LIBEXECDIR}/ld.elf_so
diff --git a/emulators/netbsd32_compat15/distinfo b/emulators/netbsd32_compat15/distinfo
deleted file mode 100644
index 909fecd70f1..00000000000
--- a/emulators/netbsd32_compat15/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/05/25 12:01:21 wiz Exp $
-
-SHA1 (compat15-sparc.tar.gz) = 1abd33e4de7127e27da0b64d915cb7ba53cff2a9
-RMD160 (compat15-sparc.tar.gz) = bfa676c116947596019d1cfa9a132502e8248193
-Size (compat15-sparc.tar.gz) = 2562164 bytes
diff --git a/emulators/netbsd32_compat16/DEINSTALL b/emulators/netbsd32_compat16/DEINSTALL
deleted file mode 100644
index bdf500b2920..00000000000
--- a/emulators/netbsd32_compat16/DEINSTALL
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:11:57 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_EMULSUBDIR=@COMPAT_EMULSUBDIR@
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_EMULSUBDIR} 2>/dev/null || ${TRUE}
-
- # clean up the symlink
- ${RM} -f /emul/netbsd32
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat16/DESCR b/emulators/netbsd32_compat16/DESCR
deleted file mode 100644
index aa17c646fc6..00000000000
--- a/emulators/netbsd32_compat16/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.6, on a 32-bit
-platform, running on a 64-bit host.. You still need the options COMPAT_15
-and COMPAT_NETBSD32 in your kernel configuration (and probably others; see
-options(4) for more information) to make use of NetBSD 1.6 binaries.
diff --git a/emulators/netbsd32_compat16/INSTALL b/emulators/netbsd32_compat16/INSTALL
deleted file mode 100644
index 5aff595eed5..00000000000
--- a/emulators/netbsd32_compat16/INSTALL
+++ /dev/null
@@ -1,51 +0,0 @@
-# $NetBSD: INSTALL,v 1.3 2005/01/11 05:12:56 hamajima Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- # Only create the symlink on certain platform/object combinations. Note
- # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
- #
- create_emul_symlink=0
- case ${MACHINE_ARCH} in
- sparc64 | x86_64)
- create_emul_symlink=1
- ;;
- esac
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout
- # if it doesn't already exist. Warn if we can't do this.
- #
- emul=netbsd32
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \
- != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]
- then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]
- then
- ${CAT} <<EOF
-==============================================================================
- IMPORTANT: You must create a symbolic link from /emul/$emul
- to ${PKG_PREFIX}/emul/$emul in order for this package to work
- properly.
-
- (It seems there is something else located at /emul/$emul.)
-==============================================================================
-EOF
- else
- ${MKDIR} -p /emul
- ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
- fi
-
- # Regenerate the shared library cache. This should work on either
- # a.out or on ELF with the 1.5 release.
- #
- ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
- ;;
-esac
diff --git a/emulators/netbsd32_compat16/Makefile b/emulators/netbsd32_compat16/Makefile
deleted file mode 100644
index ccd55d93f0f..00000000000
--- a/emulators/netbsd32_compat16/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/09/28 20:52:21 rillig Exp $
-#
-
-.if ${MACHINE_ARCH} == "sparc64"
-MACHINE32_ARCH= sparc
-.elif ${MACHINE_ARCH} == "x86_64"
-MACHINE32_ARCH= i386
-.else
-MACHINE32_ARCH= ${MACHINE_ARCH}
-.endif
-
-.if ${MACHINE32_ARCH} == "sparc"
-DISTNAME= compat16-${MACHINE32_ARCH}
-.else
-DISTNAME= compat16-${MACHINE32_ARCH}-1.6.0
-.endif
-PKGNAME= netbsd32_compat16-1.0
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.6/index.html
-COMMENT= 32-bit shared libraries for NetBSD 1.6 (and earlier) compatibility
-
-CONFLICTS= netbsd32_compat15-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-[2-9]*-sparc64
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64
-
-NO_MTREE= yes
-NO_BUILD= yes
-SHLIB_HANDLING= NO
-USE_PKGINSTALL= YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
-
-FILES_SUBST+= COMPAT_EMULSUBDIR=${COMPAT_EMULSUBDIR}
-FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
-FILES_SUBST+= LDCONFIG=${LDCONFIG}
-
-.include "../../mk/bsd.prefs.mk"
-
-EMULSUBDIR= emul/netbsd32
-COMPAT_LIBDIR= ${PREFIX}/${EMULSUBDIR}/usr/lib
-COMPAT_LIBEXECDIR= ${PREFIX}/${EMULSUBDIR}/usr/libexec
-COMPAT_XLIBDIR= ${PREFIX}/${EMULSUBDIR}/usr/X11R6/lib
-
-PLIST_SUBST+= COMPAT_EMULSUBDIR=${EMULSUBDIR}
-
-# XXX using pax to copy symlinks properly.
-do-install:
- ${INSTALL_DATA_DIR} ${COMPAT_LIBDIR}
- ${INSTALL_DATA_DIR} ${COMPAT_XLIBDIR}
- ${INSTALL_DATA_DIR} ${COMPAT_LIBEXECDIR}
- (cd ${WRKDIR}/usr/lib; pax -rwv lib*.so* i18n/lib*.so* ${COMPAT_LIBDIR})
- (cd ${WRKDIR}/usr/X11R6/lib; pax -rwv lib*.so* ${COMPAT_XLIBDIR})
- (cd ${WRKDIR}/usr/libexec; pax -rwv ld.*so ${COMPAT_LIBEXECDIR})
- ${CHOWN} ${ROOT_USER}:${ROOT_GROUP} \
- ${COMPAT_LIBDIR}/lib*.so* ${COMPAT_LIBDIR}/i18n/lib*.so* \
- ${COMPAT_XLIBDIR}/lib*.so* ${COMPAT_LIBEXECDIR}/ld.*so
- ${CHMOD} 555 ${COMPAT_LIBDIR}/lib*.so* ${COMPAT_LIBDIR}/i18n/lib*.so* \
- ${COMPAT_XLIBDIR}/lib*.so* ${COMPAT_LIBEXECDIR}/ld.*so
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/netbsd32_compat16/PLIST b/emulators/netbsd32_compat16/PLIST
deleted file mode 100644
index 806a3d81870..00000000000
--- a/emulators/netbsd32_compat16/PLIST
+++ /dev/null
@@ -1,128 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2005/02/21 21:18:28 veego Exp $
-${COMPAT_EMULSUBDIR}/usr/lib/libamu.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libamu.so.2.1
-${COMPAT_EMULSUBDIR}/usr/lib/libasn1.so.6
-${COMPAT_EMULSUBDIR}/usr/lib/libasn1.so.6.0
-${COMPAT_EMULSUBDIR}/usr/lib/libbz2.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libbz2.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libc.so.12
-${COMPAT_EMULSUBDIR}/usr/lib/libc.so.12.83
-${COMPAT_EMULSUBDIR}/usr/lib/libcdk.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libcdk.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libcom_err.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libcom_err.so.4.1
-${COMPAT_EMULSUBDIR}/usr/lib/libcrypt.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libcrypt.so.0.0
-${COMPAT_EMULSUBDIR}/usr/lib/libcrypto.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libcrypto.so.1.1
-${COMPAT_EMULSUBDIR}/usr/lib/libcurses.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libcurses.so.5.0
-${COMPAT_EMULSUBDIR}/usr/lib/libdes.so.6
-${COMPAT_EMULSUBDIR}/usr/lib/libdes.so.6.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libBIG5.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libBIG5.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libEUC.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libEUC.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libEUCTW.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libEUCTW.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libISO2022.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libISO2022.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libMSKanji.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libMSKanji.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libUTF8.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/i18n/libUTF8.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libedit.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libedit.so.2.6
-${COMPAT_EMULSUBDIR}/usr/lib/libform.so.3
-${COMPAT_EMULSUBDIR}/usr/lib/libform.so.3.0
-${COMPAT_EMULSUBDIR}/usr/lib/libgnumalloc.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libgnumalloc.so.0.0
-${COMPAT_EMULSUBDIR}/usr/lib/libgssapi.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libgssapi.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libhdb.so.8
-${COMPAT_EMULSUBDIR}/usr/lib/libhdb.so.8.0
-${COMPAT_EMULSUBDIR}/usr/lib/libintl.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libintl.so.0.0
-${COMPAT_EMULSUBDIR}/usr/lib/libipsec.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libipsec.so.2.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm.so.5.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm5clnt.so.7
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm5clnt.so.7.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm5srv.so.8
-${COMPAT_EMULSUBDIR}/usr/lib/libkadm5srv.so.8.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkafs.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libkafs.so.5.1
-${COMPAT_EMULSUBDIR}/usr/lib/libkdb.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libkdb.so.5.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkrb.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libkrb.so.5.1
-${COMPAT_EMULSUBDIR}/usr/lib/libkrb5.so.18
-${COMPAT_EMULSUBDIR}/usr/lib/libkrb5.so.18.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkstream.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libkstream.so.2.0
-${COMPAT_EMULSUBDIR}/usr/lib/libkvm.so.5
-${COMPAT_EMULSUBDIR}/usr/lib/libkvm.so.5.1
-${COMPAT_EMULSUBDIR}/usr/lib/libm.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libm.so.0.1
-${COMPAT_EMULSUBDIR}/usr/lib/libmenu.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libmenu.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libobjc.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libobjc.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libossaudio.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libossaudio.so.0.0
-${COMPAT_EMULSUBDIR}/usr/lib/libpcap.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libpcap.so.1.2
-${COMPAT_EMULSUBDIR}/usr/lib/libpci.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libpci.so.0.0
-${COMPAT_EMULSUBDIR}/usr/lib/libposix.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libposix.so.0.1
-${COMPAT_EMULSUBDIR}/usr/lib/libresolv.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libresolv.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libroken.so.12
-${COMPAT_EMULSUBDIR}/usr/lib/libroken.so.12.2
-${COMPAT_EMULSUBDIR}/usr/lib/libskey.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libskey.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libsl.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libsl.so.2.0
-${COMPAT_EMULSUBDIR}/usr/lib/libss.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libss.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libssl.so.2
-${COMPAT_EMULSUBDIR}/usr/lib/libssl.so.2.1
-${COMPAT_EMULSUBDIR}/usr/lib/libstdc++.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libstdc++.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libtelnet.so.4
-${COMPAT_EMULSUBDIR}/usr/lib/libtelnet.so.4.0
-${COMPAT_EMULSUBDIR}/usr/lib/libtermcap.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libtermcap.so.0.5
-${COMPAT_EMULSUBDIR}/usr/lib/libtermlib.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libtermlib.so.0.5
-${COMPAT_EMULSUBDIR}/usr/lib/libusbhid.so.1
-${COMPAT_EMULSUBDIR}/usr/lib/libusbhid.so.1.0
-${COMPAT_EMULSUBDIR}/usr/lib/libutil.so.6
-${COMPAT_EMULSUBDIR}/usr/lib/libutil.so.6.0
-${COMPAT_EMULSUBDIR}/usr/lib/libwrap.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libwrap.so.0.2
-${COMPAT_EMULSUBDIR}/usr/lib/libz.so.0
-${COMPAT_EMULSUBDIR}/usr/lib/libz.so.0.2
-${COMPAT_EMULSUBDIR}/usr/libexec/ld.elf_so
-${COMPAT_EMULSUBDIR}/usr/libexec/ld.so
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libICE.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libICE.so.6.3
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libSM.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libSM.so.6.0
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libX11.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXaw.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXaw.so.6.1
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXext.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXi.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXi.so.6.0
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXmu.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXp.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXp.so.6.2
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXt.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXt.so.6.0
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXtst.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXtst.so.6.1
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/liboldX.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/liboldX.so.6.0
diff --git a/emulators/netbsd32_compat16/PLIST.sparc64 b/emulators/netbsd32_compat16/PLIST.sparc64
deleted file mode 100644
index 06f9c71c957..00000000000
--- a/emulators/netbsd32_compat16/PLIST.sparc64
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST.sparc64,v 1.1 2005/02/21 21:18:28 veego Exp $
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libPEX5.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libPEX5.so.6.0
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libX11.so.6.1
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXIE.so.6
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXIE.so.6.0
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXext.so.6.3
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXmu.so.6.0
diff --git a/emulators/netbsd32_compat16/PLIST.x86_64 b/emulators/netbsd32_compat16/PLIST.x86_64
deleted file mode 100644
index cf2e1c1f795..00000000000
--- a/emulators/netbsd32_compat16/PLIST.x86_64
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.x86_64,v 1.1 2005/02/21 21:18:28 veego Exp $
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libX11.so.6.2
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXext.so.6.4
-${COMPAT_EMULSUBDIR}/usr/X11R6/lib/libXmu.so.6.2
diff --git a/emulators/netbsd32_compat16/distinfo b/emulators/netbsd32_compat16/distinfo
deleted file mode 100644
index 9136ff9988e..00000000000
--- a/emulators/netbsd32_compat16/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (compat16-sparc.tar.bz2) = f5cb874b06e2664582bf06680a952cf7bb571aaa
-Size (compat16-sparc.tar.bz2) = 2550861 bytes
-SHA1 (compat16-i386-1.6.0.tar.bz2) = 04c2fc19591941bb4ae79a2a909e5871b37dc33a
-RMD160 (compat16-i386-1.6.0.tar.bz2) = 175e64b53435ae1c2af3a143f3001ba6df7dad20
-Size (compat16-i386-1.6.0.tar.bz2) = 2478593 bytes
diff --git a/emulators/openmsx/DESCR b/emulators/openmsx/DESCR
deleted file mode 100644
index 28d8cd721cc..00000000000
--- a/emulators/openmsx/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-openMSX, the open source MSX emulator that tries to achieve near-perfect
-emulation by using a novel emulation model.
-
-Hardware emulated:
-
- o almost all MSX systems, except for some details.
- o Different CPU clock speeds, including those for the Panasonic
- MSX2+ machines.
- o Almost all known cartridge mapper types via autodetection or the
- included ROM database.
- o Many MSX storage (disk/SRAM) systems.
- o kanji JIS ROM 1 and 2.
- o Mouse and joystick (with option to use the keyboard as joystick).
- o rensha turbo auto fire support.
-
-And more!
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
deleted file mode 100644
index 78996851ea8..00000000000
--- a/emulators/openmsx/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/08/27 12:04:04 xtraeme Exp $
-#
-
-DISTNAME= openmsx-0.5.2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openmsx/}
-
-MAINTAINER= xtraeme@NetBSD.org
-HOMEPAGE= http://openmsx.sourceforge.net/
-COMMENT= MSX emulator that aims for perfection
-
-USE_TOOLS+= gmake
-USE_LANGUAGES= c c++
-HAS_CONFIGURE= yes
-
-MAKEFILE= GNUmakefile
-CONFIGURE_ENV+= OPENMSX_FLAVOUR=pkgsrc
-MAKE_ENV+= OPENMSX_FLAVOUR=pkgsrc
-
-post-extract:
- @${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
- @${ECHO_MSG} "OPENMSX_STRIP:=true" > \
- ${WRKSRC}/build/flavour-pkgsrc.mk
-
-SUBST_CLASSES= prefix
-SUBST_STAGE.prefix= post-patch
-SUBST_FILES.prefix= build/custom.mk
-SUBST_SED.prefix= -e "s,/opt/openMSX,${PREFIX}/openmsx,"
-SUBST_MESSAGE.prefix= "Fixing installation directory."
-
-post-build:
- @( \
- ${ECHO} "#!${SH}"; \
- ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@' \
- ) > ${WRKSRC}/openmsx.sh
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/SDL_image/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../lang/tcl/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/openmsx/PLIST b/emulators/openmsx/PLIST
deleted file mode 100644
index 75a3bc935f2..00000000000
--- a/emulators/openmsx/PLIST
+++ /dev/null
@@ -1,485 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2005/08/27 12:04:04 xtraeme Exp $
-bin/openmsx
-openmsx/bin/openmsx
-openmsx/doc/AUTHORS
-openmsx/doc/GPL
-openmsx/doc/README
-openmsx/doc/after-bussum-FAQ.txt
-openmsx/doc/cbios.txt
-openmsx/doc/commands.txt
-openmsx/doc/exampleconfigs.xml
-openmsx/doc/manual/cartnotfound.png
-openmsx/doc/manual/compile.html
-openmsx/doc/manual/faq.html
-openmsx/doc/manual/index.html
-openmsx/doc/manual/manual-minty.css
-openmsx/doc/manual/manual-purple.css
-openmsx/doc/manual/manual.css
-openmsx/doc/manual/nocartfound.png
-openmsx/doc/manual/setup.html
-openmsx/doc/manual/user.html
-openmsx/doc/release-history.txt
-openmsx/doc/release-notes.txt
-openmsx/doc/using-diskmanipulator.txt
-openmsx/share/extensions/Checkmark_FM_Stereo_PAK/hardwareconfig.xml
-openmsx/share/extensions/Checkmark_FM_Stereo_PAK/roms/SHA1SUMS
-openmsx/share/extensions/Konami_EC-702/hardwareconfig.xml
-openmsx/share/extensions/Konami_EC-702/roms/SHA1SUMS
-openmsx/share/extensions/Konami_SD-Snatcher_Sound_Cartridge/hardwareconfig.xml
-openmsx/share/extensions/Konami_Snatcher_Sound_Cartridge/hardwareconfig.xml
-openmsx/share/extensions/MegaRAM_Disk/hardwareconfig.xml
-openmsx/share/extensions/MegaRAM_Disk/roms/SHA1SUMS
-openmsx/share/extensions/Microsol_CDX-2/hardwareconfig.xml
-openmsx/share/extensions/Microsol_CDX-2/roms/SHA1SUMS
-openmsx/share/extensions/Panasonic_FS-CA1/hardwareconfig.xml
-openmsx/share/extensions/Panasonic_FS-CA1/roms/SHA1SUMS
-openmsx/share/extensions/Philips_NMS_1205/hardwareconfig.xml
-openmsx/share/extensions/Philips_NMS_1205/roms/SHA1SUMS
-openmsx/share/extensions/Sony_HBD-F1/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBD-F1/roms/SHA1SUMS
-openmsx/share/extensions/Sony_HBI-55/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBK-30/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBK-30/roms/SHA1SUMS
-openmsx/share/extensions/Toshiba_HX-MU900/hardwareconfig.xml
-openmsx/share/extensions/Toshiba_HX-MU900/roms/SHA1SUMS
-openmsx/share/extensions/audio/hardwareconfig.xml
-openmsx/share/extensions/audio2/hardwareconfig.xml
-openmsx/share/extensions/debugdevice/hardwareconfig.xml
-openmsx/share/extensions/fmpac/hardwareconfig.xml
-openmsx/share/extensions/fmpac/roms/SHA1SUMS
-openmsx/share/extensions/gfx9000/hardwareconfig.xml
-openmsx/share/extensions/ide/hardwareconfig.xml
-openmsx/share/extensions/ide/roms/SHA1SUMS
-openmsx/share/extensions/mbstereo/hardwareconfig.xml
-openmsx/share/extensions/mbstereo/roms/SHA1SUMS
-openmsx/share/extensions/megaram/hardwareconfig.xml
-openmsx/share/extensions/moonsound/hardwareconfig.xml
-openmsx/share/extensions/moonsound/roms/SHA1SUMS
-openmsx/share/extensions/msxdos2/hardwareconfig.xml
-openmsx/share/extensions/msxdos2/roms/SHA1SUMS
-openmsx/share/extensions/pac/hardwareconfig.xml
-openmsx/share/extensions/ram1mb/hardwareconfig.xml
-openmsx/share/extensions/ram2mb/hardwareconfig.xml
-openmsx/share/extensions/ram4mb/hardwareconfig.xml
-openmsx/share/extensions/ram512k/hardwareconfig.xml
-openmsx/share/extensions/rs232/hardwareconfig.xml
-openmsx/share/extensions/rs232/roms/SHA1SUMS
-openmsx/share/extensions/scc+/hardwareconfig.xml
-openmsx/share/extensions/scc/hardwareconfig.xml
-openmsx/share/extensions/slotexpander/hardwareconfig.xml
-openmsx/share/init.tcl
-openmsx/share/keymaps/keymap.default
-openmsx/share/keymaps/keymap.rus2eng
-openmsx/share/machines/Boosted_MSX2_EN/README
-openmsx/share/machines/Boosted_MSX2_EN/hardwareconfig.xml
-openmsx/share/machines/Boosted_MSX2_EN/roms/README
-openmsx/share/machines/C-BIOS_MSX1/hardwareconfig.xml
-openmsx/share/machines/C-BIOS_MSX1/roms/cbios_main_msx1.rom
-openmsx/share/machines/C-BIOS_MSX2+/hardwareconfig.xml
-openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_main_msx2+.rom
-openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_music.rom
-openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_sub.rom
-openmsx/share/machines/C-BIOS_MSX2/hardwareconfig.xml
-openmsx/share/machines/C-BIOS_MSX2/roms/cbios_main_msx2.rom
-openmsx/share/machines/C-BIOS_MSX2/roms/cbios_sub.rom
-openmsx/share/machines/Canon_V-20/hardwareconfig.xml
-openmsx/share/machines/Canon_V-20/roms/SHA1SUMS
-openmsx/share/machines/Daewoo_CPC-300/hardwareconfig.xml
-openmsx/share/machines/Daewoo_CPC-300/roms/SHA1SUMS
-openmsx/share/machines/Daewoo_CPC-400S/hardwareconfig.xml
-openmsx/share/machines/Daewoo_CPC-400S/roms/SHA1SUMS
-openmsx/share/machines/Daewoo_DPC-100/hardwareconfig.xml
-openmsx/share/machines/Daewoo_DPC-100/roms/SHA1SUMS
-openmsx/share/machines/Daewoo_DPC-180/hardwareconfig.xml
-openmsx/share/machines/Daewoo_DPC-180/roms/SHA1SUMS
-openmsx/share/machines/Daewoo_DPC-200/hardwareconfig.xml
-openmsx/share/machines/Daewoo_DPC-200/roms/SHA1SUMS
-openmsx/share/machines/Goldstar_FC-200/hardwareconfig.xml
-openmsx/share/machines/Goldstar_FC-200/roms/SHA1SUMS
-openmsx/share/machines/Gradiente_Expert_1.0/hardwareconfig.xml
-openmsx/share/machines/Gradiente_Expert_1.0/roms/SHA1SUMS
-openmsx/share/machines/Gradiente_Expert_1.1/hardwareconfig.xml
-openmsx/share/machines/Gradiente_Expert_1.1/roms/SHA1SUMS
-openmsx/share/machines/Gradiente_Expert_DDPlus/hardwareconfig.xml
-openmsx/share/machines/Gradiente_Expert_DDPlus/roms/SHA1SUMS
-openmsx/share/machines/Gradiente_Expert_Plus/hardwareconfig.xml
-openmsx/share/machines/Gradiente_Expert_Plus/roms/SHA1SUMS
-openmsx/share/machines/JVC_HC-7GB/hardwareconfig.xml
-openmsx/share/machines/JVC_HC-7GB/roms/SHA1SUMS
-openmsx/share/machines/Mitsubishi_ML-F80/hardwareconfig.xml
-openmsx/share/machines/Mitsubishi_ML-F80/roms/SHA1SUMS
-openmsx/share/machines/Mitsubishi_ML-FX1/hardwareconfig.xml
-openmsx/share/machines/Mitsubishi_ML-FX1/roms/SHA1SUMS
-openmsx/share/machines/National_CF-1200/hardwareconfig.xml
-openmsx/share/machines/National_CF-1200/roms/SHA1SUMS
-openmsx/share/machines/National_CF-2000/hardwareconfig.xml
-openmsx/share/machines/National_CF-2000/roms/SHA1SUMS
-openmsx/share/machines/National_CF-2700/hardwareconfig.xml
-openmsx/share/machines/National_CF-2700/roms/SHA1SUMS
-openmsx/share/machines/National_CF-3000/hardwareconfig.xml
-openmsx/share/machines/National_CF-3000/roms/SHA1SUMS
-openmsx/share/machines/National_CF-3300/hardwareconfig.xml
-openmsx/share/machines/National_CF-3300/roms/SHA1SUMS
-openmsx/share/machines/National_FS-1300/hardwareconfig.xml
-openmsx/share/machines/National_FS-1300/roms/SHA1SUMS
-openmsx/share/machines/National_FS-4000/hardwareconfig.xml
-openmsx/share/machines/National_FS-4000/roms/SHA1SUMS
-openmsx/share/machines/National_FS-4500/hardwareconfig.xml
-openmsx/share/machines/National_FS-4500/roms/SHA1SUMS
-openmsx/share/machines/National_FS-4600/hardwareconfig.xml
-openmsx/share/machines/National_FS-4600/roms/SHA1SUMS
-openmsx/share/machines/National_FS-4700/hardwareconfig.xml
-openmsx/share/machines/National_FS-4700/roms/SHA1SUMS
-openmsx/share/machines/National_FS-5000/hardwareconfig.xml
-openmsx/share/machines/National_FS-5000/roms/SHA1SUMS
-openmsx/share/machines/National_FS-5500F1/hardwareconfig.xml
-openmsx/share/machines/National_FS-5500F1/roms/SHA1SUMS
-openmsx/share/machines/National_FS-5500F2/hardwareconfig.xml
-openmsx/share/machines/National_FS-5500F2/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1F/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1F/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1FM/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1FM/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1FX/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1FX/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1GT/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1GT/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1MK2/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1MK2/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1ST/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1ST/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1WSX/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1WSX/roms/SHA1SUMS
-openmsx/share/machines/Panasonic_FS-A1WX/hardwareconfig.xml
-openmsx/share/machines/Panasonic_FS-A1WX/roms/SHA1SUMS
-openmsx/share/machines/Philips_NMS_8220/hardwareconfig.xml
-openmsx/share/machines/Philips_NMS_8220/roms/SHA1SUMS
-openmsx/share/machines/Philips_NMS_8245/hardwareconfig.xml
-openmsx/share/machines/Philips_NMS_8245/roms/SHA1SUMS
-openmsx/share/machines/Philips_NMS_8250/hardwareconfig.xml
-openmsx/share/machines/Philips_NMS_8250/roms/SHA1SUMS
-openmsx/share/machines/Philips_NMS_8255/hardwareconfig.xml
-openmsx/share/machines/Philips_NMS_8255/roms/SHA1SUMS
-openmsx/share/machines/Philips_VG_8020-20/hardwareconfig.xml
-openmsx/share/machines/Philips_VG_8020-20/roms/SHA1SUMS
-openmsx/share/machines/Philips_VG_8020/hardwareconfig.xml
-openmsx/share/machines/Philips_VG_8020/roms/SHA1SUMS
-openmsx/share/machines/Philips_VG_8230/hardwareconfig.xml
-openmsx/share/machines/Philips_VG_8230/roms/SHA1SUMS
-openmsx/share/machines/Philips_VG_8235/hardwareconfig.xml
-openmsx/share/machines/Philips_VG_8235/roms/SHA1SUMS
-openmsx/share/machines/SHA1SUMS
-openmsx/share/machines/Sanyo_MPC100/hardwareconfig.xml
-openmsx/share/machines/Sanyo_MPC100/roms/SHA1SUMS
-openmsx/share/machines/Sanyo_PHC-35J/hardwareconfig.xml
-openmsx/share/machines/Sanyo_PHC-35J/roms/SHA1SUMS
-openmsx/share/machines/Sanyo_PHC-70FD/hardwareconfig.xml
-openmsx/share/machines/Sanyo_PHC-70FD/roms/SHA1SUMS
-openmsx/share/machines/Sanyo_PHC-70FD2/hardwareconfig.xml
-openmsx/share/machines/Sanyo_PHC-70FD2/roms/SHA1SUMS
-openmsx/share/machines/Sharp_Epcom_HotBit_1.1/hardwareconfig.xml
-openmsx/share/machines/Sharp_Epcom_HotBit_1.1/roms/SHA1SUMS
-openmsx/share/machines/Sharp_Epcom_HotBit_1.2/hardwareconfig.xml
-openmsx/share/machines/Sharp_Epcom_HotBit_1.2/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-101P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-201P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-201P/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-501P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-501P/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-75P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-75P/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F1/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F1/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F1II/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F1II/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F1XD/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F1XD/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F500P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F500P/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F700D/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F700D/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F900/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F900/roms/SHA1SUMS
-openmsx/share/machines/Sony_HB-F9P/hardwareconfig.xml
-openmsx/share/machines/Sony_HB-F9P/roms/SHA1SUMS
-openmsx/share/machines/Spectravideo_SVI-728/hardwareconfig.xml
-openmsx/share/machines/Spectravideo_SVI-728/roms/SHA1SUMS
-openmsx/share/machines/Toshiba_HX-10/hardwareconfig.xml
-openmsx/share/machines/Toshiba_HX-10/roms/SHA1SUMS
-openmsx/share/machines/msx1
-openmsx/share/machines/msx2
-openmsx/share/machines/msx2plus
-openmsx/share/machines/turbor
-openmsx/share/scripts/cheat.tcl
-openmsx/share/scripts/convert_hardwareconfig.py
-openmsx/share/scripts/convert_hardwareconfig2.py
-openmsx/share/scripts/cpuregs.tcl
-openmsx/share/scripts/cycle.tcl
-openmsx/share/scripts/disasm.tcl
-openmsx/share/scripts/load_icons.tcl
-openmsx/share/scripts/multi_screenshot.tcl
-openmsx/share/scripts/save_debuggable.tcl
-openmsx/share/scripts/showmem.tcl
-openmsx/share/scripts/stack.tcl
-openmsx/share/scripts/toggle_freq.tcl
-openmsx/share/scripts/trainers.tcl
-openmsx/share/settings.xml
-openmsx/share/skins/ConsoleBackground.png
-openmsx/share/skins/ConsoleBackground1.png
-openmsx/share/skins/ConsoleBackground2.png
-openmsx/share/skins/ConsoleBackground3.png
-openmsx/share/skins/ConsoleBackground4.png
-openmsx/share/skins/ConsoleBackground5.png
-openmsx/share/skins/ConsoleBackground6.png
-openmsx/share/skins/ConsoleBackgroundBlue.png
-openmsx/share/skins/ConsoleBackgroundGrey.png
-openmsx/share/skins/ConsoleFont.png
-openmsx/share/skins/ConsoleFont1.png
-openmsx/share/skins/ConsoleFontRave.png
-openmsx/share/skins/ConsoleFontRaveL.png
-openmsx/share/skins/ConsoleFontRaveLShaded.png
-openmsx/share/skins/ConsoleFontRaveShaded.png
-openmsx/share/skins/ConsoleFontShaded.png
-openmsx/share/skins/led-off.png
-openmsx/share/skins/led.png
-openmsx/share/skins/none/skin.tcl
-openmsx/share/skins/set1/caps-off.png
-openmsx/share/skins/set1/caps-on.png
-openmsx/share/skins/set1/code-off.png
-openmsx/share/skins/set1/code-on.png
-openmsx/share/skins/set1/fdd-off.png
-openmsx/share/skins/set1/fdd-on.png
-openmsx/share/skins/set1/kana-off.png
-openmsx/share/skins/set1/kana-on.png
-openmsx/share/skins/set1/pause-off.png
-openmsx/share/skins/set1/pause-on.png
-openmsx/share/skins/set1/power-off.png
-openmsx/share/skins/set1/power-on.png
-openmsx/share/skins/set1/skin.tcl
-openmsx/share/skins/set1/turbo-off.png
-openmsx/share/skins/set1/turbo-on.png
-openmsx/share/skins/set2/caps-off.png
-openmsx/share/skins/set2/caps-on.png
-openmsx/share/skins/set2/fdd-off.png
-openmsx/share/skins/set2/fdd-on.png
-openmsx/share/skins/set2/kana-off.png
-openmsx/share/skins/set2/kana-on.png
-openmsx/share/skins/set2/pause-off.png
-openmsx/share/skins/set2/pause-on.png
-openmsx/share/skins/set2/power-off.png
-openmsx/share/skins/set2/power-on.png
-openmsx/share/skins/set2/skin.tcl
-openmsx/share/skins/set2/turbo-off.png
-openmsx/share/skins/set2/turbo-on.png
-openmsx/share/skins/set4/caps-off.png
-openmsx/share/skins/set4/caps-on.png
-openmsx/share/skins/set4/fdd-off.png
-openmsx/share/skins/set4/fdd-on.png
-openmsx/share/skins/set4/kana-off.png
-openmsx/share/skins/set4/kana-on.png
-openmsx/share/skins/set4/pause-off.png
-openmsx/share/skins/set4/pause-on.png
-openmsx/share/skins/set4/power-off.png
-openmsx/share/skins/set4/power-on.png
-openmsx/share/skins/set4/skin.tcl
-openmsx/share/skins/set4/turbo-off.png
-openmsx/share/skins/set4/turbo-on.png
-openmsx/share/softwaredb.xml
-openmsx/share/systemroms/.cvsignore
-openmsx/share/systemroms/README
-@dirrm openmsx/share/systemroms
-@dirrm openmsx/share/skins/set4
-@dirrm openmsx/share/skins/set2
-@dirrm openmsx/share/skins/set1
-@dirrm openmsx/share/skins/none
-@dirrm openmsx/share/skins
-@dirrm openmsx/share/scripts
-@dirrm openmsx/share/machines/Toshiba_HX-10/roms
-@dirrm openmsx/share/machines/Toshiba_HX-10
-@dirrm openmsx/share/machines/Spectravideo_SVI-728/roms
-@dirrm openmsx/share/machines/Spectravideo_SVI-728
-@dirrm openmsx/share/machines/Sony_HB-F9P/roms
-@dirrm openmsx/share/machines/Sony_HB-F9P
-@dirrm openmsx/share/machines/Sony_HB-F900/roms
-@dirrm openmsx/share/machines/Sony_HB-F900
-@dirrm openmsx/share/machines/Sony_HB-F700D/roms
-@dirrm openmsx/share/machines/Sony_HB-F700D
-@dirrm openmsx/share/machines/Sony_HB-F500P/roms
-@dirrm openmsx/share/machines/Sony_HB-F500P
-@dirrm openmsx/share/machines/Sony_HB-F1XD/roms
-@dirrm openmsx/share/machines/Sony_HB-F1XD
-@dirrm openmsx/share/machines/Sony_HB-F1II/roms
-@dirrm openmsx/share/machines/Sony_HB-F1II
-@dirrm openmsx/share/machines/Sony_HB-F1/roms
-@dirrm openmsx/share/machines/Sony_HB-F1
-@dirrm openmsx/share/machines/Sony_HB-75P/roms
-@dirrm openmsx/share/machines/Sony_HB-75P
-@dirrm openmsx/share/machines/Sony_HB-501P/roms
-@dirrm openmsx/share/machines/Sony_HB-501P
-@dirrm openmsx/share/machines/Sony_HB-201P/roms
-@dirrm openmsx/share/machines/Sony_HB-201P
-@dirrm openmsx/share/machines/Sony_HB-101P
-@dirrm openmsx/share/machines/Sharp_Epcom_HotBit_1.2/roms
-@dirrm openmsx/share/machines/Sharp_Epcom_HotBit_1.2
-@dirrm openmsx/share/machines/Sharp_Epcom_HotBit_1.1/roms
-@dirrm openmsx/share/machines/Sharp_Epcom_HotBit_1.1
-@dirrm openmsx/share/machines/Sanyo_PHC-70FD2/roms
-@dirrm openmsx/share/machines/Sanyo_PHC-70FD2
-@dirrm openmsx/share/machines/Sanyo_PHC-70FD/roms
-@dirrm openmsx/share/machines/Sanyo_PHC-70FD
-@dirrm openmsx/share/machines/Sanyo_PHC-35J/roms
-@dirrm openmsx/share/machines/Sanyo_PHC-35J
-@dirrm openmsx/share/machines/Sanyo_MPC100/roms
-@dirrm openmsx/share/machines/Sanyo_MPC100
-@dirrm openmsx/share/machines/Philips_VG_8235/roms
-@dirrm openmsx/share/machines/Philips_VG_8235
-@dirrm openmsx/share/machines/Philips_VG_8230/roms
-@dirrm openmsx/share/machines/Philips_VG_8230
-@dirrm openmsx/share/machines/Philips_VG_8020/roms
-@dirrm openmsx/share/machines/Philips_VG_8020-20/roms
-@dirrm openmsx/share/machines/Philips_VG_8020-20
-@dirrm openmsx/share/machines/Philips_VG_8020
-@dirrm openmsx/share/machines/Philips_NMS_8255/roms
-@dirrm openmsx/share/machines/Philips_NMS_8255
-@dirrm openmsx/share/machines/Philips_NMS_8250/roms
-@dirrm openmsx/share/machines/Philips_NMS_8250
-@dirrm openmsx/share/machines/Philips_NMS_8245/roms
-@dirrm openmsx/share/machines/Philips_NMS_8245
-@dirrm openmsx/share/machines/Philips_NMS_8220/roms
-@dirrm openmsx/share/machines/Philips_NMS_8220
-@dirrm openmsx/share/machines/Panasonic_FS-A1WX/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1WX
-@dirrm openmsx/share/machines/Panasonic_FS-A1WSX/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1WSX
-@dirrm openmsx/share/machines/Panasonic_FS-A1ST/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1ST
-@dirrm openmsx/share/machines/Panasonic_FS-A1MK2/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1MK2
-@dirrm openmsx/share/machines/Panasonic_FS-A1GT/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1GT
-@dirrm openmsx/share/machines/Panasonic_FS-A1FX/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1FX
-@dirrm openmsx/share/machines/Panasonic_FS-A1FM/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1FM
-@dirrm openmsx/share/machines/Panasonic_FS-A1F/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1F
-@dirrm openmsx/share/machines/Panasonic_FS-A1/roms
-@dirrm openmsx/share/machines/Panasonic_FS-A1
-@dirrm openmsx/share/machines/National_FS-5500F2/roms
-@dirrm openmsx/share/machines/National_FS-5500F2
-@dirrm openmsx/share/machines/National_FS-5500F1/roms
-@dirrm openmsx/share/machines/National_FS-5500F1
-@dirrm openmsx/share/machines/National_FS-5000/roms
-@dirrm openmsx/share/machines/National_FS-5000
-@dirrm openmsx/share/machines/National_FS-4700/roms
-@dirrm openmsx/share/machines/National_FS-4700
-@dirrm openmsx/share/machines/National_FS-4600/roms
-@dirrm openmsx/share/machines/National_FS-4600
-@dirrm openmsx/share/machines/National_FS-4500/roms
-@dirrm openmsx/share/machines/National_FS-4500
-@dirrm openmsx/share/machines/National_FS-4000/roms
-@dirrm openmsx/share/machines/National_FS-4000
-@dirrm openmsx/share/machines/National_FS-1300/roms
-@dirrm openmsx/share/machines/National_FS-1300
-@dirrm openmsx/share/machines/National_CF-3300/roms
-@dirrm openmsx/share/machines/National_CF-3300
-@dirrm openmsx/share/machines/National_CF-3000/roms
-@dirrm openmsx/share/machines/National_CF-3000
-@dirrm openmsx/share/machines/National_CF-2700/roms
-@dirrm openmsx/share/machines/National_CF-2700
-@dirrm openmsx/share/machines/National_CF-2000/roms
-@dirrm openmsx/share/machines/National_CF-2000
-@dirrm openmsx/share/machines/National_CF-1200/roms
-@dirrm openmsx/share/machines/National_CF-1200
-@dirrm openmsx/share/machines/Mitsubishi_ML-FX1/roms
-@dirrm openmsx/share/machines/Mitsubishi_ML-FX1
-@dirrm openmsx/share/machines/Mitsubishi_ML-F80/roms
-@dirrm openmsx/share/machines/Mitsubishi_ML-F80
-@dirrm openmsx/share/machines/JVC_HC-7GB/roms
-@dirrm openmsx/share/machines/JVC_HC-7GB
-@dirrm openmsx/share/machines/Gradiente_Expert_Plus/roms
-@dirrm openmsx/share/machines/Gradiente_Expert_Plus
-@dirrm openmsx/share/machines/Gradiente_Expert_DDPlus/roms
-@dirrm openmsx/share/machines/Gradiente_Expert_DDPlus
-@dirrm openmsx/share/machines/Gradiente_Expert_1.1/roms
-@dirrm openmsx/share/machines/Gradiente_Expert_1.1
-@dirrm openmsx/share/machines/Gradiente_Expert_1.0/roms
-@dirrm openmsx/share/machines/Gradiente_Expert_1.0
-@dirrm openmsx/share/machines/Goldstar_FC-200/roms
-@dirrm openmsx/share/machines/Goldstar_FC-200
-@dirrm openmsx/share/machines/Daewoo_DPC-200/roms
-@dirrm openmsx/share/machines/Daewoo_DPC-200
-@dirrm openmsx/share/machines/Daewoo_DPC-180/roms
-@dirrm openmsx/share/machines/Daewoo_DPC-180
-@dirrm openmsx/share/machines/Daewoo_DPC-100/roms
-@dirrm openmsx/share/machines/Daewoo_DPC-100
-@dirrm openmsx/share/machines/Daewoo_CPC-400S/roms
-@dirrm openmsx/share/machines/Daewoo_CPC-400S
-@dirrm openmsx/share/machines/Daewoo_CPC-300/roms
-@dirrm openmsx/share/machines/Daewoo_CPC-300
-@dirrm openmsx/share/machines/Canon_V-20/roms
-@dirrm openmsx/share/machines/Canon_V-20
-@dirrm openmsx/share/machines/C-BIOS_MSX2/roms
-@dirrm openmsx/share/machines/C-BIOS_MSX2+/roms
-@dirrm openmsx/share/machines/C-BIOS_MSX2+
-@dirrm openmsx/share/machines/C-BIOS_MSX2
-@dirrm openmsx/share/machines/C-BIOS_MSX1/roms
-@dirrm openmsx/share/machines/C-BIOS_MSX1
-@dirrm openmsx/share/machines/Boosted_MSX2_EN/roms
-@dirrm openmsx/share/machines/Boosted_MSX2_EN
-@dirrm openmsx/share/machines
-@dirrm openmsx/share/keymaps
-@dirrm openmsx/share/extensions/slotexpander
-@dirrm openmsx/share/extensions/scc+
-@dirrm openmsx/share/extensions/scc
-@dirrm openmsx/share/extensions/rs232/roms
-@dirrm openmsx/share/extensions/rs232
-@dirrm openmsx/share/extensions/ram512k
-@dirrm openmsx/share/extensions/ram4mb
-@dirrm openmsx/share/extensions/ram2mb
-@dirrm openmsx/share/extensions/ram1mb
-@dirrm openmsx/share/extensions/pac
-@dirrm openmsx/share/extensions/msxdos2/roms
-@dirrm openmsx/share/extensions/msxdos2
-@dirrm openmsx/share/extensions/moonsound/roms
-@dirrm openmsx/share/extensions/moonsound
-@dirrm openmsx/share/extensions/megaram
-@dirrm openmsx/share/extensions/mbstereo/roms
-@dirrm openmsx/share/extensions/mbstereo
-@dirrm openmsx/share/extensions/ide/roms
-@dirrm openmsx/share/extensions/ide
-@dirrm openmsx/share/extensions/gfx9000
-@dirrm openmsx/share/extensions/fmpac/roms
-@dirrm openmsx/share/extensions/fmpac
-@dirrm openmsx/share/extensions/debugdevice
-@dirrm openmsx/share/extensions/audio2
-@dirrm openmsx/share/extensions/audio
-@dirrm openmsx/share/extensions/Toshiba_HX-MU900/roms
-@dirrm openmsx/share/extensions/Toshiba_HX-MU900
-@dirrm openmsx/share/extensions/Sony_HBK-30/roms
-@dirrm openmsx/share/extensions/Sony_HBK-30
-@dirrm openmsx/share/extensions/Sony_HBI-55
-@dirrm openmsx/share/extensions/Sony_HBD-F1/roms
-@dirrm openmsx/share/extensions/Sony_HBD-F1
-@dirrm openmsx/share/extensions/Philips_NMS_1205/roms
-@dirrm openmsx/share/extensions/Philips_NMS_1205
-@dirrm openmsx/share/extensions/Panasonic_FS-CA1/roms
-@dirrm openmsx/share/extensions/Panasonic_FS-CA1
-@dirrm openmsx/share/extensions/Microsol_CDX-2/roms
-@dirrm openmsx/share/extensions/Microsol_CDX-2
-@dirrm openmsx/share/extensions/MegaRAM_Disk/roms
-@dirrm openmsx/share/extensions/MegaRAM_Disk
-@dirrm openmsx/share/extensions/Konami_Snatcher_Sound_Cartridge
-@dirrm openmsx/share/extensions/Konami_SD-Snatcher_Sound_Cartridge
-@dirrm openmsx/share/extensions/Konami_EC-702/roms
-@dirrm openmsx/share/extensions/Konami_EC-702
-@dirrm openmsx/share/extensions/Checkmark_FM_Stereo_PAK/roms
-@dirrm openmsx/share/extensions/Checkmark_FM_Stereo_PAK
-@dirrm openmsx/share/extensions
-@dirrm openmsx/share
-@dirrm openmsx/doc/manual
-@dirrm openmsx/doc
-@dirrm openmsx/bin
-@dirrm openmsx
diff --git a/emulators/openmsx/distinfo b/emulators/openmsx/distinfo
deleted file mode 100644
index a75f84ac242..00000000000
--- a/emulators/openmsx/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/08/27 12:04:04 xtraeme Exp $
-
-SHA1 (openmsx-0.5.2.tar.gz) = 558e4a10702d55880b3acbe723af3ee7fb24c201
-RMD160 (openmsx-0.5.2.tar.gz) = 6ebc541df38de8e3e414a561447149bc216d2efb
-Size (openmsx-0.5.2.tar.gz) = 1612903 bytes
diff --git a/emulators/openmsx/files/platform-netbsd.mk b/emulators/openmsx/files/platform-netbsd.mk
deleted file mode 100644
index b39f282c0af..00000000000
--- a/emulators/openmsx/files/platform-netbsd.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-# Configuration file for NetBSD.
-
-# Does platform support symlinks?
-USE_SYMLINK:=true
-
-# Default compiler.
-OPENMSX_CXX?=$(CXX)
-
-# File name extension of executables.
-EXEEXT:=
-
-CXXFLAGS+= -D_REENTRANT -D_THREAD_SAFE
-LINK_FLAGS+= -pthread
-
-# Probe Overrides
-# ===============
-
-MMAP_PREHEADER:=<sys/types.h>
-SYS_MMAN_PREHEADER:=<sys/types.h>
-SYS_SOCKET_PREHEADER:=<sys/types.h>
-
-SDL_CFLAGS:=`sdl-config --cflags 2>> $(LOG)`
-
-SDL_LDFLAGS:=`sdl-config --libs 2>> $(LOG)`
-SDL_RESULT:=`sdl-config --version`
-
-PNG_CFLAGS:=
-
-PNG_LDFLAGS:=-lpng
-PNG_RESULT:=yes
diff --git a/emulators/osf1_lib/DESCR b/emulators/osf1_lib/DESCR
deleted file mode 100644
index 8b8e53cbad6..00000000000
--- a/emulators/osf1_lib/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-DEC Tru64/OSF1 compatibility package based upon the Tru64/OSF1
-shared libraries provided by Compaq to support running Netscape on
-Linux/Alpha.
-
-This package supports running Tru64/OSF1 binaries that do not make use
-of MACH system calls.
-
-Note that this is not a complete set of Tru64/OSF1 shared libraries,
-but rather the minimal set required to run netscape.
diff --git a/emulators/osf1_lib/INSTALL b/emulators/osf1_lib/INSTALL
deleted file mode 100644
index 52061de287b..00000000000
--- a/emulators/osf1_lib/INSTALL
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-# $NetBSD: INSTALL,v 1.1 2001/10/31 23:53:11 zuntum Exp $
-
-emul=osf1
-if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
-
-cat <<EOF
-==============================================================================
-
-Do not forget to include COMPAT_OSF1 in your kernel configuration
-file. (OSF/1 binaries require this option in order to work.)
-EOF
-
-if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /emul/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /emul/$emul.)
- EOF
- else
- mkdir -p /emul
- ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
-fi
-
-cat <<EOF
-
-==============================================================================
-EOF
diff --git a/emulators/osf1_lib/Makefile b/emulators/osf1_lib/Makefile
deleted file mode 100644
index 49cb5965c2f..00000000000
--- a/emulators/osf1_lib/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/06/01 18:02:47 jlam Exp $
-
-DISTNAME= netscape-4.7-3.alpha
-PKGNAME= osf1_lib-1.1
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.digital.com/pub/DEC/Linux-Alpha-Tools/netscape/
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= eric@cirr.com
-HOMEPAGE= http://www.support.compaq.com/alpha-tools/software/index.html
-COMMENT= DEC/Compaq OSF-1/Tru64 compatibility package for netscape
-
-RPM2PKG= ${LOCALBASE}/sbin/rpm2pkg
-BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg
-
-ONLY_FOR_PLATFORM= NetBSD-*-alpha
-
-RESTRICTED= "COMPAQ Licensed Software"
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-
-WRKSRC= ${WRKDIR}
-EMULSUBDIR= emul/osf1
-EMULDIR= ${PREFIX}/${EMULSUBDIR}
-
-EXTRACT_ONLY= # empty
-NO_CONFIGURE= yes
-NO_BUILD= yes
-
-RPMARGS= -i usr/lib -i usr/bin ${DISTDIR}/${DISTFILES}
-
-CHECK_SHLIBS= no
-SHLIB_HANDLING= no
-
-.include "../../mk/x11.buildlink3.mk"
-
-do-install:
- ${RM} -f ${WRKDIR}/PLIST_DYNAMIC
- ${INSTALL_DATA_DIR} ${EMULDIR}
- ${RPM2PKG} -d ${PREFIX} -p ${EMULSUBDIR} ${RPMARGS}
- ${TOUCH} ${EMULDIR}/etc/hosts
- (cd ${EMULDIR}; ${MKDIR} usr/lib/X11)
- (cd ${EMULDIR}/usr/lib/X11; ${LN} -fs ${X11BASE}/lib/X11/locale .)
-
-post-install:
- PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/osf1_lib/PLIST b/emulators/osf1_lib/PLIST
deleted file mode 100644
index a6a44eb5b6b..00000000000
--- a/emulators/osf1_lib/PLIST
+++ /dev/null
@@ -1,31 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/22 15:33:53 wiz Exp $
-emul/osf1/etc/hosts
-emul/osf1/etc/sia/OSFC2_matrix.conf
-emul/osf1/etc/sia/bsd_matrix.conf
-emul/osf1/etc/sia/matrix.conf
-emul/osf1/etc/sia/siainitgood
-emul/osf1/etc/svc.conf
-emul/osf1/sbin/loader
-emul/osf1/usr/lib/X11/locale
-emul/osf1/usr/shlib/LICENSE
-emul/osf1/usr/shlib/libICE.so
-emul/osf1/usr/shlib/libSM.so
-emul/osf1/usr/shlib/libX11.so
-emul/osf1/usr/shlib/libXext.so
-emul/osf1/usr/shlib/libXm.so
-emul/osf1/usr/shlib/libXmu.so
-emul/osf1/usr/shlib/libXt.so
-emul/osf1/usr/shlib/libc.so
-emul/osf1/usr/shlib/libcxx.so
-emul/osf1/usr/shlib/libdnet_stub.so
-emul/osf1/usr/shlib/libexc.so
-emul/osf1/usr/shlib/libm.so
-emul/osf1/usr/shlib/libots.so
-@dirrm emul/osf1/usr/lib/X11
-@dirrm emul/osf1/usr/lib
-@dirrm emul/osf1/usr/shlib
-@dirrm emul/osf1/usr
-@dirrm emul/osf1/sbin
-@dirrm emul/osf1/etc/sia
-@dirrm emul/osf1/etc
-@dirrm emul/osf1
diff --git a/emulators/osf1_lib/distinfo b/emulators/osf1_lib/distinfo
deleted file mode 100644
index 82371e78468..00000000000
--- a/emulators/osf1_lib/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/05/25 12:11:28 wiz Exp $
-
-SHA1 (netscape-4.7-3.alpha.rpm) = b337f3d714333cb911ddcbc0d4a1672429c52a8b
-RMD160 (netscape-4.7-3.alpha.rpm) = 356daa132b52b557b96d525abe4541ae433cd73a
-Size (netscape-4.7-3.alpha.rpm) = 16589970 bytes
diff --git a/emulators/p11/DESCR b/emulators/p11/DESCR
deleted file mode 100644
index a93db4b7299..00000000000
--- a/emulators/p11/DESCR
+++ /dev/null
@@ -1,18 +0,0 @@
-P11 s a PDP11 emulator, which currently emulates the following configuration:
- - a KDJ11A processor (including fpp)
- - one or more RL-controllers (RLV12) with up to 4 RL02 each
- - one or more RHV?? controllers with up to 8 RP06 each
- - an RK11-controller with 22-bit addressing (hey ever saw one?)
- - a MRV12 option (boot-rom/maintenance and display register)
- - one or more KL11A controllers with up to 4 serial lines each
- - a standard printer interface
- - a read only TM11 tape
- - a DEQNA ethernet adapter
- - a toy clock
-
-On a 900MHz Athlon under FreeBSD 5.0 a 'make build; make installsrc' of
-2.11BSD takes around 2:24 hours - this is several times faster than
-a real KDJ11A (if /usr is mounted async,noaccesstime).
-Floating point speed is in the order of 10 times the original.
-
-P11 successfully runs RSX11M-PLUS, UN*X Version 5/6/7, 2.11BSD, RT-4 and XXDP.
diff --git a/emulators/p11/Makefile b/emulators/p11/Makefile
deleted file mode 100644
index 0a16cb8dc4e..00000000000
--- a/emulators/p11/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/05/22 20:07:58 jlam Exp $
-#
-
-DISTNAME= p11-2.10a
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/cats/usr/harti/p11/
-
-MAINTAINER= tech-pkg@NetBSD.org
-COMMENT= PDP11 emulator
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-begemot=${PREFIX}
-USE_LIBTOOL= yes
-USE_TOOLS+= gmake
-
-# override MAKEFLAGS in the build and install stages
-do-build:
- cd ${WRKSRC} && ${GMAKE} ${BUILD_TARGET} MAKEFLAGS=
-
-do-install:
- cd ${WRKSRC} && ${GMAKE} ${INSTALL_TARGET} MAKEFLAGS=
-
-.include "../../devel/libbegemot/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/p11/PLIST b/emulators/p11/PLIST
deleted file mode 100644
index ba1167708f4..00000000000
--- a/emulators/p11/PLIST
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/16 16:09:22 agc Exp $
-bin/p11
-libexec/p11/epp_bpf
-libexec/p11/epp_fifo
-libexec/p11/epp_tun
-libexec/p11/fmt
-libexec/p11/lp_file
-libexec/p11/tty_fifo
-libexec/p11/tty_file
-libexec/p11/tty_net
-libexec/p11/tty_pty
-libexec/p11/tty_tty
-libexec/p11/tty_xterm
-share/p11/COPYRIGHT
-share/p11/boot.rom
-share/p11/mon.help
-share/p11/p11conf
-@dirrm share/p11
-@dirrm libexec/p11
diff --git a/emulators/p11/distinfo b/emulators/p11/distinfo
deleted file mode 100644
index caffadb7e98..00000000000
--- a/emulators/p11/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (p11-2.10a.tar.gz) = 2d3b7860d9df1136c192d94220693dcc1a4e461b
-RMD160 (p11-2.10a.tar.gz) = df09fcf60d300c67e175d917f550d25f2a8efdfc
-Size (p11-2.10a.tar.gz) = 303572 bytes
diff --git a/emulators/palmosemulator/DESCR b/emulators/palmosemulator/DESCR
deleted file mode 100644
index 682f720f7c1..00000000000
--- a/emulators/palmosemulator/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Palm OS Emulator is an emulator for hardware capable of running the Palm OS
-operating system, with an X based interface.
-
-To use the emulator you must obtain a ROM image of the Palm OS operating
-system. If you have a Palm OS device, you can extract the ROM image directly.
-
-Read "UsingPalmOSEmulator.pdf" for details of how to extract ROM images and
-how to use the emulator. Run "pose" to start the emulator.
diff --git a/emulators/palmosemulator/Makefile b/emulators/palmosemulator/Makefile
deleted file mode 100644
index 9e8999e33d6..00000000000
--- a/emulators/palmosemulator/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2005/07/16 01:19:10 jlam Exp $
-#
-
-DISTNAME= emulator_src_${POSE_VERSION}
-PKGNAME= palmosemulator-${POSE_VERSION}
-PKGREVISION= 5
-CATEGORIES= emulators x11
-MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- emulator-skins-19.tar.gz
-
-MAINTAINER= dsainty@NetBSD.org
-HOMEPAGE= http://www.palmos.com/dev/tools/emulator/
-COMMENT= Palm OS Emulator
-
-POSE_VERSION= 3.5
-
-DIST_SUBDIR= ${PKGBASE}
-
-# Source is under sources/ directory, skins are not...
-SITES_emulator-skins-19.tar.gz= http://www.palmos.com/dev/tools/emulator/
-
-#LICENSE= GPL
-
-WRKSRC= ${WRKDIR}/Emulator_Src_${POSE_VERSION}
-POSE_BUILD_DIR= ${WRKSRC}/BuildUnix
-POSE_SHARE_DIR= ${PREFIX}/share/palmosemulator
-POSE_SKINS_DIR= ${POSE_SHARE_DIR}/skins
-WRKSRC_SKINS= ${WRKDIR}/Skins_v1.9
-CPPFLAGS+= -DFLTK_1_0_COMPAT
-
-CONFIGURE_DIRS= ${POSE_BUILD_DIR}
-BUILD_DIRS= ${POSE_BUILD_DIR}
-
-USE_TOOLS+= gmake perl
-
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-fltk=${BUILDLINK_PREFIX.fltk}
-CONFIGURE_ENV+= PACKAGE_SKINS_DIR=${POSE_SKINS_DIR}
-
-# Assumes too much about how to build va_list's from scratch
-NOT_FOR_PLATFORM= *-*-powerpc
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${POSE_BUILD_DIR}/pose ${PREFIX}/bin/pose
- ${INSTALL_DATA_DIR} ${POSE_SHARE_DIR}
- ${INSTALL_DATA_DIR} ${POSE_SHARE_DIR}/docs
- ${INSTALL_DATA_DIR} ${POSE_SHARE_DIR}/scripting
- ${FIND} ${WRKSRC}/Docs -type f -print | \
- while read i; do \
- ${INSTALL_DATA} "$$i" ${POSE_SHARE_DIR}/docs; \
- done
- for lang in Python Perl; do \
- ddir="${POSE_SHARE_DIR}/scripting/$$lang"; \
- ${INSTALL_SCRIPT_DIR} "$$ddir"; \
- ${FIND} "${WRKSRC}/Scripting/$$lang" -type f -print | \
- while read i; do \
- case "$$i" in \
- *.pl) ${INSTALL_SCRIPT} "$$i" "$$ddir";; \
- *) ${INSTALL_DATA} "$$i" "$$ddir";; \
- esac; \
- done; \
- done
- ${INSTALL_DATA} ${WRKSRC_SKINS}/ReadMe.txt ${POSE_SHARE_DIR}/docs/ReadMe_skins.txt
- ${INSTALL_DATA_DIR} ${POSE_SHARE_DIR}/prc
- ${INSTALL_DATA} ${WRKSRC}/ROMTransfer/Source/ROM_Transfer.prc ${POSE_SHARE_DIR}/prc
- ${INSTALL_DATA_DIR} ${POSE_SKINS_DIR}
- ${FIND} ${WRKSRC_SKINS} \( -name "*.skin" -o -name "*.jpg" \) -print |\
- while read i; do \
- ${INSTALL_DATA} "$$i" ${POSE_SKINS_DIR}; \
- done
-
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../x11/fltk/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/palmosemulator/PLIST b/emulators/palmosemulator/PLIST
deleted file mode 100644
index 305fa970cbf..00000000000
--- a/emulators/palmosemulator/PLIST
+++ /dev/null
@@ -1,106 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2003/01/05 03:31:25 dsainty Exp $
-bin/pose
-share/palmosemulator/docs/12rollin.pdf
-share/palmosemulator/docs/13hewgil.pdf
-share/palmosemulator/docs/Debugger.html
-share/palmosemulator/docs/POSER Profiler.rtf
-share/palmosemulator/docs/ReadMe_skins.txt
-share/palmosemulator/docs/UsingPalmOSEmulator.pdf
-share/palmosemulator/docs/_Bugs.txt
-share/palmosemulator/docs/_Building.txt
-share/palmosemulator/docs/_Contributing.txt
-share/palmosemulator/docs/_Credits.txt
-share/palmosemulator/docs/_GPL.txt
-share/palmosemulator/docs/_News.txt
-share/palmosemulator/docs/_OldNews.txt
-share/palmosemulator/docs/_ReadMe.txt
-share/palmosemulator/docs/_ToDo.txt
-share/palmosemulator/prc/ROM_Transfer.prc
-share/palmosemulator/scripting/Perl/EmFunctions.pm
-share/palmosemulator/scripting/Perl/EmRPC.pm
-share/palmosemulator/scripting/Perl/EmSysTraps.pm
-share/palmosemulator/scripting/Perl/EmUtils.pm
-share/palmosemulator/scripting/Perl/FormSpy.pl
-share/palmosemulator/scripting/Perl/HostControl.pm
-share/palmosemulator/scripting/Perl/HostControlTest.pl
-share/palmosemulator/scripting/Perl/ListDatabases.pl
-share/palmosemulator/scripting/Perl/ListOpenDatabases.pl
-share/palmosemulator/scripting/Perl/MakeSysTraps.pl
-share/palmosemulator/scripting/Perl/PoserRPC.pl
-share/palmosemulator/scripting/Perl/SkipStartup.pl
-share/palmosemulator/scripting/Python/Poser.py
-share/palmosemulator/scripting/Python/SysTraps.py
-share/palmosemulator/scripting/Python/Test.py
-share/palmosemulator/skins/HandEra330.skin
-share/palmosemulator/skins/HandEra330Cards.skin
-share/palmosemulator/skins/HandEra330Cards_16.jpg
-share/palmosemulator/skins/HandEra330Cards_32.jpg
-share/palmosemulator/skins/HandEra330_16.jpg
-share/palmosemulator/skins/HandEra330_32.jpg
-share/palmosemulator/skins/Palm_III.skin
-share/palmosemulator/skins/Palm_III_16.jpg
-share/palmosemulator/skins/Palm_III_32.jpg
-share/palmosemulator/skins/Palm_IIIc.skin
-share/palmosemulator/skins/Palm_IIIc_16.jpg
-share/palmosemulator/skins/Palm_IIIc_32.jpg
-share/palmosemulator/skins/Palm_IIIe.skin
-share/palmosemulator/skins/Palm_IIIe_16.jpg
-share/palmosemulator/skins/Palm_IIIe_32.jpg
-share/palmosemulator/skins/Palm_IIIx.skin
-share/palmosemulator/skins/Palm_IIIx_16.jpg
-share/palmosemulator/skins/Palm_IIIx_32.jpg
-share/palmosemulator/skins/Palm_Pilot.skin
-share/palmosemulator/skins/Palm_Pilot_16.jpg
-share/palmosemulator/skins/Palm_Pilot_32.jpg
-share/palmosemulator/skins/Palm_V.skin
-share/palmosemulator/skins/Palm_VII.skin
-share/palmosemulator/skins/Palm_VII_16.jpg
-share/palmosemulator/skins/Palm_VII_32.jpg
-share/palmosemulator/skins/Palm_VIIx.skin
-share/palmosemulator/skins/Palm_VIIx_16.jpg
-share/palmosemulator/skins/Palm_VIIx_32.jpg
-share/palmosemulator/skins/Palm_V_16.jpg
-share/palmosemulator/skins/Palm_V_32.jpg
-share/palmosemulator/skins/Palm_i705.skin
-share/palmosemulator/skins/Palm_i705_16.jpg
-share/palmosemulator/skins/Palm_i705_32.jpg
-share/palmosemulator/skins/Palm_m100.skin
-share/palmosemulator/skins/Palm_m100_16.jpg
-share/palmosemulator/skins/Palm_m100_32.jpg
-share/palmosemulator/skins/Palm_m130.skin
-share/palmosemulator/skins/Palm_m130_16.jpg
-share/palmosemulator/skins/Palm_m130_32.jpg
-share/palmosemulator/skins/Palm_m500.skin
-share/palmosemulator/skins/Palm_m500_16.jpg
-share/palmosemulator/skins/Palm_m500_32.jpg
-share/palmosemulator/skins/Palm_m505.skin
-share/palmosemulator/skins/Palm_m505_16.jpg
-share/palmosemulator/skins/Palm_m505_32.jpg
-share/palmosemulator/skins/Palm_m515.skin
-share/palmosemulator/skins/Palm_m515_16.jpg
-share/palmosemulator/skins/Palm_m515_32.jpg
-share/palmosemulator/skins/Pilot.skin
-share/palmosemulator/skins/Pilot_16.jpg
-share/palmosemulator/skins/Pilot_32.jpg
-share/palmosemulator/skins/Symbol_1500.skin
-share/palmosemulator/skins/Symbol_1500_16.jpg
-share/palmosemulator/skins/Symbol_1500_32.jpg
-share/palmosemulator/skins/Symbol_1700.skin
-share/palmosemulator/skins/Symbol_1700_16.jpg
-share/palmosemulator/skins/Symbol_1700_32.jpg
-share/palmosemulator/skins/TRGpro.skin
-share/palmosemulator/skins/TRGpro_16.jpg
-share/palmosemulator/skins/TRGpro_32.jpg
-share/palmosemulator/skins/Workpad.skin
-share/palmosemulator/skins/Workpad_16.jpg
-share/palmosemulator/skins/Workpad_32.jpg
-share/palmosemulator/skins/Workpad_c3.skin
-share/palmosemulator/skins/Workpad_c3_16.jpg
-share/palmosemulator/skins/Workpad_c3_32.jpg
-@dirrm share/palmosemulator/skins
-@dirrm share/palmosemulator/scripting/Python
-@dirrm share/palmosemulator/scripting/Perl
-@dirrm share/palmosemulator/scripting
-@dirrm share/palmosemulator/prc
-@dirrm share/palmosemulator/docs
-@dirrm share/palmosemulator
diff --git a/emulators/palmosemulator/distinfo b/emulators/palmosemulator/distinfo
deleted file mode 100644
index 24c860ffcda..00000000000
--- a/emulators/palmosemulator/distinfo
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (palmosemulator/emulator_src_3.5.tar.gz) = 2debd7690736397d0af41f7b2d482df65391fc65
-RMD160 (palmosemulator/emulator_src_3.5.tar.gz) = fbb6761e4c43ecc9fb20d90d2ae0ec6ccf1c3f27
-Size (palmosemulator/emulator_src_3.5.tar.gz) = 3162363 bytes
-SHA1 (palmosemulator/emulator-skins-19.tar.gz) = 70b0497061d6877a4e3c6a378fa647c64fe3e019
-RMD160 (palmosemulator/emulator-skins-19.tar.gz) = 9b4e16f50b1d2b9ad9b17e3a104c34a983d0a4ba
-Size (palmosemulator/emulator-skins-19.tar.gz) = 2443913 bytes
-SHA1 (patch-aa) = eef35ce5c3d91bf56903bb48c0c78bd333591fcc
-SHA1 (patch-ab) = 8e097f4c45ad9e5402a9d4019cfb86137ada9732
-SHA1 (patch-ac) = c00a821d390ab92b28a01a47e7934eed4261fe6f
-SHA1 (patch-ad) = 6ad0beceb03bed0f51383331715a160b16c04ffd
-SHA1 (patch-ae) = eff843f8603b14791d3363a13634fb482e996ee5
-SHA1 (patch-af) = 746c83222cd847d6383fe9484ac81366b083ad22
-SHA1 (patch-ag) = 9d4fba5f8bef808b8a00b71484c308da613d8140
-SHA1 (patch-ah) = e3a79fa2c376711ea6479907cca923d1e872683e
-SHA1 (patch-ai) = 0cbff6b3080ee9aa7e366ba4ba368d93f0560e04
-SHA1 (patch-aj) = 958f070f7bc19f6a4c2f12a9d0ba280ed64136cb
-SHA1 (patch-ak) = d693bd15c982c95663f9f595fdcad6f80d5c2477
-SHA1 (patch-al) = 50342df4bb9d020f0b72be608d0656351dae4463
-SHA1 (patch-am) = 2790c8b567a94d86bced52d59cf62b4448b62731
-SHA1 (patch-an) = 93e326e3ab9f532d5bab1cc987c179e8337a823d
diff --git a/emulators/palmosemulator/patches/patch-aa b/emulators/palmosemulator/patches/patch-aa
deleted file mode 100644
index b06e7edc9ca..00000000000
--- a/emulators/palmosemulator/patches/patch-aa
+++ /dev/null
@@ -1,107 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/12/31 06:59:54 dsainty Exp $
-
---- SrcShared/omnithread/omnithread.h.orig Sat Mar 30 01:11:07 2002
-+++ SrcShared/omnithread/omnithread.h Sat Nov 23 23:43:30 2002
-@@ -64,102 +64,8 @@
- //
-
-
--#if defined(__arm__) && defined(__atmos__)
- #include <omnithread/posix.h>
-
--#elif defined(__alpha__) && defined(__osf1__)
--#include <omnithread/posix.h>
--
--#elif defined(__powerpc__) && defined(__aix__)
--#include <omnithread/posix.h>
--
--#elif defined(__hpux__)
--#include <omnithread/posix.h>
--
--#elif defined(__WIN32__)
--#include <omnithread/nt.h>
--
--#ifdef _MSC_VER
--
--// Using MSVC++ to compile. If compiling library as a DLL,
--// define _OMNITHREAD_DLL. If compiling as a statuc library, define
--// _WINSTATIC
--// If compiling an application that is to be statically linked to omnithread,
--// define _WINSTATIC (if the application is to be dynamically linked,
--// there is no need to define any of these macros).
--
--#if defined (_OMNITHREAD_DLL) && defined(_WINSTATIC)
--#error "Both _OMNITHREAD_DLL and _WINSTATIC are defined."
--#elif defined(_OMNITHREAD_DLL)
--#define _OMNITHREAD_NTDLL_ __declspec(dllexport)
--#elif !defined(_WINSTATIC)
--#define _OMNITHREAD_NTDLL_ __declspec(dllimport)
--#elif defined(_WINSTATIC)
--#define _OMNITHREAD_NTDLL_
--#endif
-- // _OMNITHREAD_DLL && _WINSTATIC
--
--#else
--
--// Not using MSVC++ to compile
--#define _OMNITHREAD_NTDLL_
--
--#endif
-- // _MSC_VER
--
--#elif defined(__sun__)
--#include <omnithread/solaris.h>
--
--#elif defined(__sunos__)
--#if __OSVERSION__ != 5
--// XXX Workaround for SUN C++ compiler (seen on 4.2) Template.DB code
--// regeneration bug. See omniORB2/CORBA_sysdep.h for details.
--#if !defined(__SUNPRO_CC) || __OSVERSION__ != '5'
--#error "Only SunOS 5.x or later is supported."
--#endif
--#endif
--#ifdef UsePthread
--#include <omnithread/posix.h>
--#else
--#include <omnithread/solaris.h>
--#endif
--
--#elif defined(__linux__)
--#include <omnithread/posix.h>
--
--#elif defined(__nextstep__)
--#include <omnithread/mach.h>
--
--#elif defined(__VMS)
--#include <omnithread/posix.h>
--
--#elif defined(__SINIX__)
--#include <omnithread/posix.h>
--
--#elif defined(__osr5__)
--#include <omnithread/posix.h>
--
--#elif defined(__irix__)
--#include <omnithread/posix.h>
--
--#elif defined(macintosh)
--#include <null_thread.h>
--
--#elif defined(__QNXNTO__)
--#include <omnithread/posix.h>
--
--#elif defined(__svr4__)
--#include <omnithread/posix.h>
--
--#elif defined(__FreeBSD__)
--#include <omnithread/posix.h>
--
--#elif defined(__bsdi__)
--#include <omnithread/posix.h>
--
--#else
--#error "No implementation header file"
--#endif
-
- #if !defined(__WIN32__)
- #define _OMNITHREAD_NTDLL_
diff --git a/emulators/palmosemulator/patches/patch-ab b/emulators/palmosemulator/patches/patch-ab
deleted file mode 100644
index 498fcd01671..00000000000
--- a/emulators/palmosemulator/patches/patch-ab
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/01/05 03:31:25 dsainty Exp $
-
-Use the libjpeg package, instead of a local copy, and pass through the skins
-directory.
-
---- BuildUnix/configure.orig Sat Nov 23 23:54:59 2002
-+++ BuildUnix/configure Sun Nov 24 00:57:08 2002
-@@ -3180,6 +3180,11 @@
- THREAD_LIBS="-lpthread"
- ;;
-
-+*-netbsd*)
-+ THREAD_FLAGS="-D_REENTRANT -DPthreadDraftVersion=10"
-+ THREAD_LIBS="-lpthread"
-+ ;;
-+
- *-nto*)
- THREAD_FLAGS="-D_REENTRANT -DPthreadDraftVersion=10"
- THREAD_LIBS=""
-@@ -3598,7 +3603,7 @@
-
-
- save_LIBS="$LIBS"
--LIBS="-lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
-+LIBS="-ljpeg -lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
-
- ac_ext=C
- # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-@@ -3853,6 +3858,7 @@
- s%@CXXCPP@%$CXXCPP%g
- s%@GLLIB@%$GLLIB%g
- s%@AR@%$AR%g
-+s%@PACKAGE_SKINS_DIR@%$PACKAGE_SKINS_DIR%g
- s%@POSER_CFLAGS@%$POSER_CFLAGS%g
- s%@POSER_CXXFLAGS@%$POSER_CXXFLAGS%g
- s%@THREAD_FLAGS@%$THREAD_FLAGS%g
diff --git a/emulators/palmosemulator/patches/patch-ac b/emulators/palmosemulator/patches/patch-ac
deleted file mode 100644
index 02299d92502..00000000000
--- a/emulators/palmosemulator/patches/patch-ac
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2002/12/31 06:59:54 dsainty Exp $
-
---- SrcShared/Skins.cpp.orig Sat Mar 30 01:11:17 2002
-+++ SrcShared/Skins.cpp Sun Nov 24 02:01:04 2002
-@@ -1163,6 +1163,11 @@
- if (!scanDir.Exists ())
- scanDir = EmDirRef (EmDirRef::GetEmulatorDirectory (), "skins");
-
-+#ifdef PACKAGE_SKINS_DIR
-+ if (!scanDir.Exists ())
-+ scanDir = EmDirRef (PACKAGE_SKINS_DIR);
-+#endif
-+
- #if PLATFORM_UNIX
- // On Unix, also look in the /usr/local/share/pose and /usr/share/pose directories.
-
diff --git a/emulators/palmosemulator/patches/patch-ad b/emulators/palmosemulator/patches/patch-ad
deleted file mode 100644
index 615e209a33d..00000000000
--- a/emulators/palmosemulator/patches/patch-ad
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2003/01/05 03:31:25 dsainty Exp $
-
-Use the libjpeg package, instead of a local copy, and pass through the skins
-directory.
-
---- BuildUnix/Makefile.in.orig Sat Mar 30 01:11:21 2002
-+++ BuildUnix/Makefile.in Sun Nov 24 02:24:49 2002
-@@ -70,6 +70,7 @@
- GLLIB = @GLLIB@
- MAKEINFO = @MAKEINFO@
- PACKAGE = @PACKAGE@
-+PACKAGE_SKINS_FLAGS = -DPACKAGE_SKINS_DIR="\"@PACKAGE_SKINS_DIR@\""
- POSER_CFLAGS = @POSER_CFLAGS@
- POSER_CXXFLAGS = @POSER_CXXFLAGS@
- RANLIB = @RANLIB@
-@@ -78,16 +79,16 @@
- THREAD_SRC = @THREAD_SRC@
- VERSION = @VERSION@
-
--SUBDIRS = Gzip jpeg espws-2.0
-+SUBDIRS = Gzip espws-2.0
-
- SUFFIXES = .cpp
-
- VPATH = $(srcdir)/../SrcUnix: $(srcdir)/../SrcShared: $(srcdir)/../SrcShared/Hardware: $(srcdir)/../SrcShared/Hardware/TRG: $(srcdir)/../SrcShared/omnithread: $(srcdir)/../SrcShared/Palm/Platform/Core/System/Src: $(srcdir)/../SrcShared/Patches: $(srcdir)/../SrcShared/UAE:
-
-
--CFLAGS = $(POSER_CFLAGS) $(LOCAL_CFLAGS) $(FLAGS) $(THREAD_FLAGS) $(X_CFLAGS)
--CXXFLAGS = $(POSER_CXXFLAGS) $(LOCAL_CFLAGS) $(FLAGS) $(THREAD_FLAGS) $(X_CFLAGS)
--INCLUDES = -I$(srcdir)/../SrcShared -I$(srcdir)/../SrcShared/Hardware -I$(srcdir)/../SrcShared/Hardware/TRG -I$(srcdir)/../SrcShared/Palm/Device -I$(srcdir)/../SrcShared/Palm/Platform -I$(srcdir)/../SrcShared/Palm/Platform/Core/Hardware/IncsPrv -I$(srcdir)/../SrcShared/Palm/Platform/Core/System/IncsPrv -I$(srcdir)/../SrcShared/Palm/Platform/Incs -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/Hardware -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/System -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/UI -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Libraries -I$(srcdir)/../SrcShared/Gzip -I$(srcdir)/../SrcShared/jpeg -I$(srcdir)/../SrcShared/omnithread -I$(srcdir)/../SrcShared/Patches -I$(srcdir)/../SrcShared/UAE -I$(srcdir)/../SrcUnix -I$(srcdir)/../SrcUnix/espws-2.0
-+CFLAGS = $(POSER_CFLAGS) $(LOCAL_CFLAGS) $(FLAGS) $(THREAD_FLAGS) $(PACKAGE_SKINS_FLAGS) $(X_CFLAGS)
-+CXXFLAGS = $(POSER_CXXFLAGS) $(LOCAL_CFLAGS) $(FLAGS) $(THREAD_FLAGS) $(PACKAGE_SKINS_FLAGS) $(X_CFLAGS)
-+INCLUDES = -I$(srcdir)/../SrcShared -I$(srcdir)/../SrcShared/Hardware -I$(srcdir)/../SrcShared/Hardware/TRG -I$(srcdir)/../SrcShared/Palm/Device -I$(srcdir)/../SrcShared/Palm/Platform -I$(srcdir)/../SrcShared/Palm/Platform/Core/Hardware/IncsPrv -I$(srcdir)/../SrcShared/Palm/Platform/Core/System/IncsPrv -I$(srcdir)/../SrcShared/Palm/Platform/Incs -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/Hardware -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/System -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/UI -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Libraries -I$(srcdir)/../SrcShared/Gzip -I$(srcdir)/../SrcShared/omnithread -I$(srcdir)/../SrcShared/Patches -I$(srcdir)/../SrcShared/UAE -I$(srcdir)/../SrcUnix -I$(srcdir)/../SrcUnix/espws-2.0
-
- SRC_UNIX = EmApplicationFltk.cpp EmApplicationFltk.h EmCommonUnix.h EmDirRefUnix.cpp EmDirRefUnix.h EmDlgFltk.cpp EmDlgFltk.h EmDocumentUnix.cpp EmDocumentUnix.h EmFileRefUnix.cpp EmFileRefUnix.h EmMenusFltk.cpp EmMenusFltk.h EmPixMapUnix.cpp EmPixMapUnix.h EmTransportSerialUnix.cpp EmTransportSerialUnix.h EmTransportUSBUnix.cpp EmTransportUSBUnix.h EmWindowFltk.cpp EmWindowFltk.h Platform_Unix.cpp jconfig.h
-
-@@ -115,7 +116,7 @@
- @SOLARIS_FALSE@SRC_THREAD = posix.cpp
-
- bin_PROGRAMS = pose
--pose_LDADD = $(srcdir)/Gzip/libposergzip.a $(srcdir)/jpeg/libposerjpeg.a $(srcdir)/espws-2.0/libposerespws.a -lfltk -L/usr/local/lib $(X_LIBS) -lXext -lX11 $(THREAD_LIBS) $(GLLIB) -lm
-+pose_LDADD = $(srcdir)/Gzip/libposergzip.a $(srcdir)/espws-2.0/libposerespws.a -lfltk -ljpeg $(X_LIBS) -lXext -lX11 $(THREAD_LIBS) $(GLLIB) -lm
- pose_SOURCES = $(SRC_UNIX) $(SRC_UNIX_GEN) $(SRC_SHARED) $(SRC_SHARED_HARDWARE) $(SRC_PATCHES) $(SRC_TRG) $(SRC_UAE) $(SRC_PALM) $(SRC_THREAD)
- CLEANFILES = ResStrings.cpp EmDlgFltkFactory.h EmDlgFltkFactory.cpp config.cache config.log
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-@@ -222,7 +223,7 @@
- @SOLARIS_FALSE@EmTRGSD.o cpudefs.o cpuemu.o cpustbl.o readcpu.o Crc.o \
- @SOLARIS_FALSE@posix.o
- pose_DEPENDENCIES = $(srcdir)/Gzip/libposergzip.a \
--$(srcdir)/jpeg/libposerjpeg.a $(srcdir)/espws-2.0/libposerespws.a
-+$(srcdir)/espws-2.0/libposerespws.a
- pose_LDFLAGS =
- CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
- CXXLD = $(CXX)
diff --git a/emulators/palmosemulator/patches/patch-ae b/emulators/palmosemulator/patches/patch-ae
deleted file mode 100644
index cfea6fd87c2..00000000000
--- a/emulators/palmosemulator/patches/patch-ae
+++ /dev/null
@@ -1,167 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2003/01/05 03:31:25 dsainty Exp $
-
-Without the first hunk of this patch, ROM transfers tend to not get very far
-due to consistently lost characters.
-
-The remainder corrects an assumption in the code that 0 is an invalid file
-handle, and registers NetBSD-style tty device names.
-
---- SrcUnix/EmTransportSerialUnix.cpp.orig Sat Mar 30 01:11:19 2002
-+++ SrcUnix/EmTransportSerialUnix.cpp Sun Nov 24 05:42:39 2002
-@@ -220,7 +220,7 @@
- // Programming Mini-Howto") says to turn off these for "raw" (as opposed to
- // "canonical") mode.
-
-- io.c_lflag &= ~(ICANON | ECHO | ISIG);
-+ io.c_lflag &= ~(ICANON | ECHO | ISIG | IEXTEN);
-
- // The UNIX Programming FAQ (<www://www.faqs.org/faqs/unix-faq/programmer/faq/>)
- // recommends just setting all the c_iflags and c_oflags to zero.
-@@ -541,6 +541,20 @@
- #ifdef __QNXNTO__
- results.push_back ("/dev/ser1");
- results.push_back ("/dev/ser2");
-+#elif __FreeBSD__
-+ results.push_back ("/dev/pilot");
-+ results.push_back ("/dev/cuaa0");
-+ results.push_back ("/dev/cuaa1");
-+ results.push_back ("/dev/cuaa2");
-+ results.push_back ("/dev/cuaa3");
-+#elif __NetBSD__
-+ results.push_back ("/dev/pilot");
-+ results.push_back ("/dev/tty00");
-+ results.push_back ("/dev/tty01");
-+ results.push_back ("/dev/tty02");
-+ results.push_back ("/dev/tty03");
-+ results.push_back ("/dev/ttyU0");
-+ results.push_back ("/dev/ttyU1");
- #else
- results.push_back ("/dev/ttyS0");
- results.push_back ("/dev/ttyS1");
-@@ -596,9 +610,9 @@
- EmHostTransportSerial::EmHostTransportSerial (void) :
- fReadThread (NULL),
- fWriteThread (NULL),
-- fCommHandle (0),
-- fCommSignalPipeA (0),
-- fCommSignalPipeB (0),
-+ fCommHandle (-1),
-+ fCommSignalPipeA (-1),
-+ fCommSignalPipeB (-1),
- fTimeToQuit (false),
- fDataMutex (),
- fDataCondition (&fDataMutex),
-@@ -626,9 +640,9 @@
- {
- EmAssert (fReadThread == NULL);
- EmAssert (fWriteThread == NULL);
-- EmAssert (fCommHandle == 0);
-- EmAssert (fCommSignalPipeA == 0);
-- EmAssert (fCommSignalPipeB == 0);
-+ EmAssert (fCommHandle == -1);
-+ EmAssert (fCommSignalPipeA == -1);
-+ EmAssert (fCommSignalPipeB == -1);
- }
-
-
-@@ -662,9 +676,9 @@
-
- fCommHandle = open(portName.c_str (), O_RDWR | O_NOCTTY | O_NDELAY);
-
-- if (fCommHandle <= 0)
-+ if (fCommHandle < 0)
- {
-- fCommHandle = 0;
-+ fCommHandle = -1;
-
- return errno;
- }
-@@ -694,7 +708,7 @@
-
- ErrCode EmHostTransportSerial::CreateCommThreads (const EmTransportSerial::ConfigSerial& /*config*/)
- {
-- if (fCommHandle)
-+ if (fCommHandle != -1)
- {
- PRINTF ("EmTransportSerial::HostOpen: Creating serial port handler threads...");
-
-@@ -734,40 +748,41 @@
- {
- // If never created, nothing to destroy.
-
-- if (!fCommSignalPipeA)
-+ if (fCommSignalPipeA == -1)
- return errNone;
-
- // Signal the threads to quit.
-
-- fDataMutex.lock ();
--
-- fTimeToQuit = true;
--
-- int dummy = 0;
-- write (fCommSignalPipeB, &dummy, sizeof (dummy)); // Signals CommRead.
--
-- fDataCondition.broadcast (); // Signals CommWrite.
-- fDataMutex.unlock ();
-+ if((fCommSignalPipeA != -1) && (fCommSignalPipeB != -1))
-+ {
-+ fDataMutex.lock();
-
-- // Wait for the threads to quit.
-+ fTimeToQuit = true;
-
-- if (fReadThread)
-- {
-- fReadThread->join (NULL);
-- fWriteThread->join (NULL);
-- }
-+ int dummy = 0;
-+ write(fCommSignalPipeB, &dummy, sizeof (dummy)); // Signals CommRead.
-
-- // Thread objects delete themselves, so set our references to NULL.
-+ fDataCondition.broadcast(); // Signals CommWrite.
-+ fDataMutex.unlock();
-
-- fReadThread = NULL;
-- fWriteThread = NULL;
-+ // Wait for the threads to quit.
-
-- // Close the signal pipe.
-+ if (fReadThread)
-+ {
-+ fReadThread->join (NULL);
-+ fWriteThread->join (NULL);
-+ }
-
-- close (fCommSignalPipeA);
-- close (fCommSignalPipeB);
-+ // Thread objects delete themselves, so set our references to NULL.
-+ fReadThread = NULL;
-+ fWriteThread = NULL;
-+
-+ // Close the signal pipe.
-+ close (fCommSignalPipeA);
-+ close (fCommSignalPipeB);
-
-- fCommSignalPipeA = fCommSignalPipeB = 0;
-+ fCommSignalPipeA = fCommSignalPipeB = -1;
-+ }
-
- return errNone;
- }
-@@ -787,9 +802,11 @@
-
- ErrCode EmHostTransportSerial::CloseCommPort (void)
- {
-- (void) close (fCommHandle);
--
-- fCommHandle = 0;
-+ if(fCommHandle != -1)
-+ {
-+ int result = close(fCommHandle);
-+ fCommHandle = -1;
-+ }
-
- return errNone;
- }
diff --git a/emulators/palmosemulator/patches/patch-af b/emulators/palmosemulator/patches/patch-af
deleted file mode 100644
index 3432e0cf510..00000000000
--- a/emulators/palmosemulator/patches/patch-af
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2002/12/31 06:59:57 dsainty Exp $
-
-Without this patch and with non-preemptive threads, the emulator hangs on the
-first stylus event (mouse click). Even worse, it hangs with the mouse
-grabbed. Strategies for reducing the number of calls to yield() may improve
-emulation performance.
-
---- SrcShared/Hardware/EmCPU68K.cpp.orig Sun Nov 24 17:47:03 2002
-+++ SrcShared/Hardware/EmCPU68K.cpp Sun Nov 24 17:34:23 2002
-@@ -136,6 +136,7 @@
- if (sleeping || ((++counter & 0x7FFF) == 0)) \
- { \
- this->CycleSlowly (sleeping); \
-+ omni_thread::yield(); \
- } \
- } \
- }
diff --git a/emulators/palmosemulator/patches/patch-ag b/emulators/palmosemulator/patches/patch-ag
deleted file mode 100644
index 9de2d9f3462..00000000000
--- a/emulators/palmosemulator/patches/patch-ag
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2002/12/31 06:59:57 dsainty Exp $
-
-This patch prevents the emulator from grabbing the mouse. It isn't clear why
-the emulator does grab the mouse, a fairly bad-mannered thing for an
-application to do.
-
-There doesn't appear to be any actual reason for doing so, and if the emulator
-hangs for any reason with the mouse grab in-force, it tends to disable the
-entire X session.
-
---- SrcShared/EmWindow.cpp.orig Sun Dec 1 16:05:17 2002
-+++ SrcShared/EmWindow.cpp Sun Dec 1 16:05:00 2002
-@@ -229,11 +229,6 @@
- if (down && (fCurrentButton == kElement_None))
- {
- what = ::SkinTestPoint (where);
--
-- if ((what != kElement_Frame) && (what != kElement_None))
-- {
-- this->HostMouseCapture ();
-- }
- }
-
- // If the pen is up, or if we were already in the progress of tracking
-@@ -288,11 +283,6 @@
- fCurrentButton = what;
- else
- fCurrentButton = kElement_None;
--
-- if (fCurrentButton == kElement_None)
-- {
-- this->HostMouseRelease ();
-- }
- }
-
-
diff --git a/emulators/palmosemulator/patches/patch-ah b/emulators/palmosemulator/patches/patch-ah
deleted file mode 100644
index 5d3d2c095b9..00000000000
--- a/emulators/palmosemulator/patches/patch-ah
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2003/01/05 03:31:25 dsainty Exp $
-
-Use the libjpeg package, instead of a local copy.
-
---- BuildUnix/Makefile.am.orig Sat Mar 30 01:11:19 2002
-+++ BuildUnix/Makefile.am Wed Jan 1 17:27:26 2003
-@@ -4,7 +4,7 @@
- ## All rights reserved.
- ## ======================================================================================
-
--SUBDIRS = Gzip jpeg espws-2.0
-+SUBDIRS = Gzip espws-2.0
-
- SUFFIXES = .cpp
-
-@@ -37,7 +37,6 @@
- INCLUDES += -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Core/UI
- INCLUDES += -I$(srcdir)/../SrcShared/Palm/Platform/Incs/Libraries
- INCLUDES += -I$(srcdir)/../SrcShared/Gzip
--INCLUDES += -I$(srcdir)/../SrcShared/jpeg
- INCLUDES += -I$(srcdir)/../SrcShared/omnithread
- INCLUDES += -I$(srcdir)/../SrcShared/Patches
- INCLUDES += -I$(srcdir)/../SrcShared/UAE
-@@ -403,10 +402,10 @@
- bin_PROGRAMS = pose
-
- pose_LDADD = $(srcdir)/Gzip/libposergzip.a
--pose_LDADD += $(srcdir)/jpeg/libposerjpeg.a
- pose_LDADD += $(srcdir)/espws-2.0/libposerespws.a
-+pose_LDADD += -ljpeg
- pose_LDADD += -lfltk
--pose_LDADD += -L/usr/local/lib $(X_LIBS) -lXext -lX11 $(THREAD_LIBS) $(GLLIB) -lm
-+pose_LDADD += $(X_LIBS) -lXext -lX11 $(THREAD_LIBS) $(GLLIB) -lm
-
- pose_SOURCES = $(SRC_UNIX) $(SRC_UNIX_GEN) $(SRC_SHARED) $(SRC_SHARED_HARDWARE)
- pose_SOURCES += $(SRC_PATCHES) $(SRC_TRG) $(SRC_UAE) $(SRC_PALM) $(SRC_THREAD)
diff --git a/emulators/palmosemulator/patches/patch-ai b/emulators/palmosemulator/patches/patch-ai
deleted file mode 100644
index 1dd028779cb..00000000000
--- a/emulators/palmosemulator/patches/patch-ai
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2003/01/05 03:31:25 dsainty Exp $
-
-jinclude.h is not part of the libjpeg interface, and isn't available from the
-pkgsrc libjpeg installation. But we need to include <stdio.h> ourselves for
-the benefit of "jpeglib.h".
-
---- SrcShared/EmJPEG.h.orig Sat Mar 30 01:11:14 2002
-+++ SrcShared/EmJPEG.h Wed Jan 1 18:05:36 2003
-@@ -30,7 +30,7 @@
-
- extern "C"
- {
-- #include "jinclude.h"
-+ #include <stdio.h>
- #include "jpeglib.h"
- #include "jerror.h"
- }
diff --git a/emulators/palmosemulator/patches/patch-aj b/emulators/palmosemulator/patches/patch-aj
deleted file mode 100644
index 0baa7606953..00000000000
--- a/emulators/palmosemulator/patches/patch-aj
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2003/01/05 03:31:26 dsainty Exp $
-
-This patch changes the idle CPU wait time from 10ms to 100ms. For some reason
-the former saturates the CPU (on a Celeron 700 system), but with the latter
-the program idles at near 0%. This patch is probably not required for native
-threads.
-
---- SrcUnix/Platform_Unix.cpp.orig Sat Mar 30 01:11:19 2002
-+++ SrcUnix/Platform_Unix.cpp Sun Jan 5 15:01:21 2003
-@@ -598,7 +598,8 @@
- // Wait on an event instead of just calling Sleep(10) so that another
- // thread can wake us up before our time.
-
-- omni_thread::sleep( 0, 10000 ); // 10k nanoseconds = 1/100 sec
-+ // pkgsrc: updated 10k to 100k, makes a huge difference to CPU usage
-+ omni_thread::sleep( 0, 100000 ); // 10k nanoseconds = 1/100 sec
- }
-
-
diff --git a/emulators/palmosemulator/patches/patch-ak b/emulators/palmosemulator/patches/patch-ak
deleted file mode 100644
index b4821a504b1..00000000000
--- a/emulators/palmosemulator/patches/patch-ak
+++ /dev/null
@@ -1,85 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2004/03/20 20:21:22 kristerw Exp $
-
---- SrcShared/Hardware/EmRegs328.cpp.orig Sat Mar 20 17:48:57 2004
-+++ SrcShared/Hardware/EmRegs328.cpp Sat Mar 20 18:11:46 2004
-@@ -141,13 +141,13 @@
- 0x2400, // Word pllControl; // $200: PLL Control Register
- 0x0123, // Word pllFreqSel; // $202: PLL Frequency Select Register
- 0x0000, // Word pllTest; // $204: PLL Test Register
-- { 0 }, // Byte __filler44;
-+ 0, // Byte __filler44;
- 0x1F, // Byte pwrControl; // $207: Power Control Register
-
- { 0 }, // Byte ___filler3[0x300-0x208];
-
- 0x00, // Byte intVector; // $300: Interrupt Vector Register
-- { 0 }, // Byte ___filler4;
-+ 0, // Byte ___filler4;
- 0x0000, // Word intControl; // $302: Interrupt Control Register
- 0x00FF, // Word intMaskHi; // $304: Interrupt Mask Register/HIGH word
- 0xFFFF, // Word intMaskLo; // $306: Interrupt Mask Register/LOW word
-@@ -162,21 +162,21 @@
-
- 0x00, // Byte portADir; // $400: Port A Direction Register
- 0x00, // Byte portAData; // $401: Port A Data Register
-- { 0 }, // Byte ___filler5;
-+ 0, // Byte ___filler5;
- 0x00, // Byte portASelect; // $403: Port A Select Register
-
- { 0 }, // Byte ___filler6[4];
-
- 0x00, // Byte portBDir; // $408: Port B Direction Register
- 0x00, // Byte portBData; // $409: Port B Data Register
-- { 0 }, // Byte ___filler7;
-+ 0, // Byte ___filler7;
- 0x00, // Byte portBSelect; // $40B: Port B Select Register
-
- { 0 }, // Byte ___filler8[4];
-
- 0x00, // Byte portCDir; // $410: Port C Direction Register
- 0x00, // Byte portCData; // $411: Port C Data Register
-- { 0 }, // Byte ___filler9;
-+ 0, // Byte ___filler9;
- 0x00, // Byte portCSelect; // $413: Port C Select Register
-
- { 0 }, // Byte ___filler10[4];
-@@ -184,10 +184,10 @@
- 0x00, // Byte portDDir; // $418: Port D Direction Register
- 0x00, // Byte portDData; // $419: Port D Data Register
- 0xFF, // Byte portDPullupEn; // $41A: Port D Pull-up Enable
-- { 0 }, // Byte ___filler11;
-+ 0, // Byte ___filler11;
- 0x00, // Byte portDPolarity; // $41C: Port D Polarity Register
- 0x00, // Byte portDIntReqEn; // $41D: Port D Interrupt Request Enable
-- { 0 }, // Byte ___filler12;
-+ 0, // Byte ___filler12;
- 0x00, // Byte portDIntEdge; // $41F: Port D IRQ Edge Register
-
- 0x00, // Byte portEDir; // $420: Port E Direction Register
-@@ -213,7 +213,7 @@
-
- 0x00, // Byte portJDir; // $438: Port J Direction Register
- 0x00, // Byte portJData; // $439: Port J Data Register
-- { 0 }, // Byte ___filler19;
-+ 0, // Byte ___filler19;
- 0x00, // Byte portJSelect; // $43B: Port J Select Register
-
- { 0 }, // Byte ___filler19a[4];
-@@ -279,7 +279,7 @@
- { 0 }, // Byte ___filler28[0xA00-0x90A];
-
- 0x00000000, // DWord lcdStartAddr; // $A00: Screen Starting Address Register
-- { 0 }, // Byte ___filler29;
-+ 0, // Byte ___filler29;
- 0xFF, // Byte lcdPageWidth; // $A05: Virtual Page Width Register
- { 0 }, // Byte ___filler30[2];
- 0x03FF, // Word lcdScreenWidth; // $A08: Screen Width Register
-@@ -288,7 +288,7 @@
- 0x0000, // Word lcdCursorXPos; // $A18: Cursor X Position
- 0x0000, // Word lcdCursorYPos; // $A1A: Cursor Y Position
- 0x0101, // Word lcdCursorWidthHeight; // $A1C: Cursor Width and Height
-- { 0 }, // Byte ___filler32;
-+ 0, // Byte ___filler32;
- 0x7F, // Byte lcdBlinkControl; // $A1F: Blink Control Register
- 0x00, // Byte lcdPanelControl; // $A20: Panel Interface Control Register
- 0x00, // Byte lcdPolarity; // $A21: Polarity Config Register
diff --git a/emulators/palmosemulator/patches/patch-al b/emulators/palmosemulator/patches/patch-al
deleted file mode 100644
index 2e11fd04678..00000000000
--- a/emulators/palmosemulator/patches/patch-al
+++ /dev/null
@@ -1,65 +0,0 @@
-$NetBSD: patch-al,v 1.1 2004/03/20 20:21:22 kristerw Exp $
-
---- SrcShared/Hardware/EmRegsEZ.cpp.orig Sat Mar 20 20:22:20 2004
-+++ SrcShared/Hardware/EmRegsEZ.cpp Sat Mar 20 20:24:11 2004
-@@ -84,13 +84,13 @@
- 0x2430, // Word pllControl; // $200: PLL Control Register
- 0x0123, // Word pllFreqSel; // $202: PLL Frequency Select Register
- 0, // !!! ---> Marked as reserved in 1.4 Word pllTest; // $204: PLL Test Register (do not access)
-- { 0 }, // Byte ___filler44;
-+ 0, // Byte ___filler44;
- 0x1F, // Byte pwrControl; // $207: Power Control Register
-
- { 0 }, // Byte ___filler3[0x300-0x208];
-
- 0x00, // Byte intVector; // $300: Interrupt Vector Register
-- { 0 }, // Byte ___filler4;
-+ 0, // Byte ___filler4;
- 0x0000, // Word intControl; // $302: Interrupt Control Register
- 0x00FF, // Word intMaskHi; // $304: Interrupt Mask Register/HIGH word
- 0xFFFF, // Word intMaskLo; // $306: Interrupt Mask Register/LOW word
-@@ -183,7 +183,7 @@
- { 0 }, // Byte ___filler28[0xA00-0x90C];
-
- 0x00000000, // DWord lcdStartAddr; // $A00: Screen Starting Address Register
-- { 0 }, // Byte ___filler29;
-+ 0, // Byte ___filler29;
- 0xFF, // Byte lcdPageWidth; // $A05: Virtual Page Width Register
- { 0 }, // Byte ___filler30[2];
- 0x03FF, // Word lcdScreenWidth; // $A08: Screen Width Register
-@@ -192,17 +192,17 @@
- 0x0000, // Word lcdCursorXPos; // $A18: Cursor X Position
- 0x0000, // Word lcdCursorYPos; // $A1A: Cursor Y Position
- 0x0101, // Word lcdCursorWidthHeight; // $A1C: Cursor Width and Height
-- { 0 }, // Byte ___filler32;
-+ 0, // Byte ___filler32;
- 0x7F, // Byte lcdBlinkControl; // $A1F: Blink Control Register
- 0x00, // Byte lcdPanelControl; // $A20: Panel Interface Control Register
- 0x00, // Byte lcdPolarity; // $A21: Polarity Config Register
-- { 0 }, // Byte ___filler33;
-+ 0, // Byte ___filler33;
- 0x00, // Byte lcdACDRate; // $A23: ACD (M) Rate Control Register
-- { 0 }, // Byte ___filler34;
-+ 0, // Byte ___filler34;
- 0x00, // Byte lcdPixelClock; // $A25: Pixel Clock Divider Register
-- { 0 }, // Byte ___filler35;
-+ 0, // Byte ___filler35;
- 0x40, // Byte lcdClockControl; // $A27: Clocking Control Register
-- { 0 }, // Byte ___filler36;
-+ 0, // Byte ___filler36;
- 0xFF, // Byte lcdRefreshRateAdj; // $A29: Refresh Rate Adjustment Register
- { 0 }, // Byte ___filler2003[0xA2D-0xA2A];
- 0x00, // Byte lcdPanningOffset; // $A2D: Panning Offset Register
-@@ -210,10 +210,10 @@
- { 0 }, // Byte ___filler37[0xA31-0xA2E];
-
- 0xB9, // Byte lcdFrameRate; // $A31: Frame Rate Control Modulation Register
-- { 0 }, // Byte ___filler2004;
-+ 0, // Byte ___filler2004;
- 0x84, // Byte lcdGrayPalette; // $A33: Gray Palette Mapping Register
- 0x00, // Byte lcdReserved; // $A34: Reserved
-- { 0 }, // Byte ___filler2005;
-+ 0, // Byte ___filler2005;
- 0x0000, // Word lcdContrastControlPWM; // $A36: Contrast Control
-
- { 0 }, // Byte ___filler40[0xB00-0xA38];
diff --git a/emulators/palmosemulator/patches/patch-am b/emulators/palmosemulator/patches/patch-am
deleted file mode 100644
index 6e974b9091f..00000000000
--- a/emulators/palmosemulator/patches/patch-am
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-am,v 1.1 2004/03/20 20:21:22 kristerw Exp $
-
---- SrcShared/Hardware/EmRegsVZ.cpp.orig Sat Mar 20 20:28:32 2004
-+++ SrcShared/Hardware/EmRegsVZ.cpp Sat Mar 20 20:30:42 2004
-@@ -270,7 +270,7 @@
- { 0 }, // UInt8 ___filler28a[0xA00-0x91E];
-
- 0x00000000, // UInt32 lcdStartAddr; // $A00: Screen Starting Address Register
-- { 0 }, // UInt8 ___filler29;
-+ 0, // UInt8 ___filler29;
- 0xFF, // UInt8 lcdPageWidth; // $A05: Virtual Page Width Register
- { 0 }, // UInt8 ___filler30[2];
- 0x03F0, // UInt16 lcdScreenWidth; // $A08: Screen Width Register
-@@ -279,29 +279,29 @@
- 0x0000, // UInt16 lcdCursorXPos; // $A18: Cursor X Position
- 0x0000, // UInt16 lcdCursorYPos; // $A1A: Cursor Y Position
- 0x0101, // UInt16 lcdCursorWidthHeight; // $A1C: Cursor Width and Height
-- { 0 }, // UInt8 ___filler32;
-+ 0, // UInt8 ___filler32;
- 0x7F, // UInt8 lcdBlinkControl; // $A1F: Blink Control Register
- 0x00, // UInt8 lcdPanelControl; // $A20: Panel Interface Configuration Register
- 0x00, // UInt8 lcdPolarity; // $A21: Polarity Config Register
-- { 0 }, // UInt8 ___filler33;
-+ 0, // UInt8 ___filler33;
- 0x00, // UInt8 lcdACDRate; // $A23: ACD (M) Rate Control Register
-- { 0 }, // UInt8 ___filler34;
-+ 0, // UInt8 ___filler34;
- 0x00, // UInt8 lcdPixelClock; // $A25: Pixel Clock Divider Register
-- { 0 }, // UInt8 ___filler35;
-+ 0, // UInt8 ___filler35;
- 0x00, // UInt8 lcdClockControl; // $A27: Clocking Control Register
- 0x00FF, // UInt16 lcdRefreshRateAdj; // $A28: Refresh Rate Adjustment Register
-- { 0 }, // UInt8 ___filler37;
-+ 0, // UInt8 ___filler37;
- 0x00, // UInt8 lcdReserved1; // $A2B: Reserved
-- { 0 }, // UInt8 ___filler38;
-+ 0, // UInt8 ___filler38;
- 0x00, // UInt8 lcdPanningOffset; // $A2D: Panning Offset Register
-
- { 0 }, // UInt8 ___filler39[0xA31-0xA2E];
-
- 0x00, // UInt8 lcdFrameRate; // $A31: Frame Rate Control Modulation Register
-- { 0 }, // UInt8 ___filler2004;
-+ 0, // UInt8 ___filler2004;
- 0x84, // UInt8 lcdGrayPalette; // $A33: Gray Palette Mapping Register
- 0x00, // UInt8 lcdReserved2; // $A34: Reserved
-- { 0 }, // UInt8 ___filler2005;
-+ 0, // UInt8 ___filler2005;
- 0x0000, // UInt16 lcdContrastControlPWM; // $A36: Contrast Control
- 0x00, // UInt8 lcdRefreshModeControl; // $A38: Refresh Mode Control Register
- 0x62, // UInt8 lcdDMAControl; // $A39: DMA Control Register
diff --git a/emulators/palmosemulator/patches/patch-an b/emulators/palmosemulator/patches/patch-an
deleted file mode 100644
index a12161fb9a8..00000000000
--- a/emulators/palmosemulator/patches/patch-an
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-an,v 1.1 2004/08/16 12:36:38 dsainty Exp $
-
-Building POSE under gcc 3.3.3 with optimisation as default (g++ -O2) leads to
-a malfunction where POSE will go into an apparent infinite loop after the
-first pen operation.
-
-This appears to be due to pointer coordinate corruption, fixed by the patch
-below.
-
-The only user of the patched type coercion is
-SrcShared/Patches/EmPatchMgr.cpp, which says:
-
-PointType palmPen = pen;
-
-I haven't entirely traced this through, but I suspect that the palmPen
-coordinates are corrupted on the "pen up" event, leading the hosted Palm OS to
-believe the stylus is being perpetually dragged around the screen.
-
-The issue appears to be resolved by the below patch, which is a somewhat less
-dodgy (but only just!) implementation, and appears to be enough to convince
-the compiler to keep the target class uncorrupted.
-
-Another option is: EmPatchMgr.cpp: PointType palmPen = { pen.fX, pen.fY };
-
---- SrcShared/EmPoint.cpp.orig 2002-03-30 01:11:14.000000000 +1200
-+++ SrcShared/EmPoint.cpp 2004-08-16 00:11:31.000000000 +1200
-@@ -233,7 +233,7 @@
- #undef FOR_POINT
- #define FOR_POINT(cls, size, x, y) \
- EmPoint::operator cls() const \
-- { size pt[2]; pt[x] = fX; pt[y] = fY; return *(cls*) pt; }
-+ { union { size pt[2]; cls bar; } foo; foo.pt[x] = fX; foo.pt[y] = fY; return foo.bar; }
-
- POINT_LIST_XY_LONG
- POINT_LIST_YX_LONG
diff --git a/emulators/pcemu/DESCR b/emulators/pcemu/DESCR
deleted file mode 100644
index 02232e98497..00000000000
--- a/emulators/pcemu/DESCR
+++ /dev/null
@@ -1,19 +0,0 @@
-PC Emulator for Unix and X Windows
-
-As the title suggests, this is a Unix/X windows program which is
-designed to emulate a standard 8086 based PC.
-
-The emulator runs at about 8-10MHz 80286 speed on a Sun SparcStation
-10/40 (without the -mviking flag) and at about 6MHz 8088 speed on a
-33MHz 80486 box running Linux.
-
-I have included a Postscript representation of my project report. It's
-a bit out of date now, but it's the closest thing I've got to
-documentation! I'll do some kind of latex thing for the next
-release....
-
-The program rather hogs the cpu but unmapping the window (iconifying
-it) will put it to sleep.
-
-The author is:
-David Hedley, hedley@cs.bris.ac.uk
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile
deleted file mode 100644
index 3c4556bb419..00000000000
--- a/emulators/pcemu/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 18:02:47 jlam Exp $
-
-DISTNAME= pcemu1.01alpha
-PKGNAME= pcemu-1.01a
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ \
- ftp://ftp.interface-business.de/pub/outgoing/ \
- ftp://ftp.cs.bris.ac.uk/pub/users/hedley/
-
-MAINTAINER= eric@fox.phoenix.az.us
-COMMENT= 8086 PC emulator, by David Hedley
-
-MAKE_ENV+= FILESDIR=${FILESDIR}
-
-.include "../../mk/x11.buildlink3.mk"
-
-do-configure:
- cd ${WRKSRC}; \
- ${MKDIR} ${WRKSRC}/bootstrap; \
- sh < ${FILESDIR}/bootstrap.shar
-
-post-configure:
- ${SED} -e 's|/usr/local|${PREFIX}|g' < ${WRKSRC}/bootstrap/help.txt > \
- ${WRKSRC}/foo
- ${MV} ${WRKSRC}/foo ${WRKSRC}/bootstrap/help.txt
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/pcemu/PLIST b/emulators/pcemu/PLIST
deleted file mode 100644
index 325915b15a3..00000000000
--- a/emulators/pcemu/PLIST
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:14 zuntum Exp $
-bin/pcemu
-lib/pcemu/doc/BUGS
-lib/pcemu/doc/CHANGES
-lib/pcemu/doc/README
-lib/pcemu/doc/TODO
-lib/pcemu/doc/README.BSD
-lib/pcemu/doc/lredir.readme
-lib/pcemu/doc/report.ps.gz
-lib/pcemu/font/vga.pcf.Z
-lib/pcemu/font/fonts.dir
-lib/pcemu/C/vga50.com
-lib/pcemu/C/config.sys
-lib/pcemu/C/dumpdisk.exe
-lib/pcemu/C/lredir.exe
-lib/pcemu/C/emufs.sys
-lib/pcemu/DriveA
-@dirrm lib/pcemu/doc
-@dirrm lib/pcemu/font
-@dirrm lib/pcemu/C
-@dirrm lib/pcemu
diff --git a/emulators/pcemu/distinfo b/emulators/pcemu/distinfo
deleted file mode 100644
index 7848377a45a..00000000000
--- a/emulators/pcemu/distinfo
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/09/06 08:10:58 abs Exp $
-
-SHA1 (pcemu1.01alpha.tar.gz) = 4c0cf9b3b197e890fbc85dc85ca0d7c75eb145b3
-RMD160 (pcemu1.01alpha.tar.gz) = 2eb3ba91138d08946728a6dc1dee6482416c3a01
-Size (pcemu1.01alpha.tar.gz) = 316257 bytes
-SHA1 (patch-aa) = f53e918695b8929688b375c1af6f003b02ffa4ca
-SHA1 (patch-ab) = 6636736f76b956a2beb6490785b63f4a131c9c25
-SHA1 (patch-ac) = ba75ebd170b9847f982b045a3a618daaaa94f179
-SHA1 (patch-ad) = 5b4c50d591eb5060276015e8b178475de38293fd
-SHA1 (patch-ae) = c641955b80afabb688739fca411f3c31c2aa16a7
-SHA1 (patch-af) = d36be5e25896ebc66bb2cc11135d61053a7e57ff
-SHA1 (patch-ag) = 95ee8354783af38e43eb966a991c7a87823b7ce7
-SHA1 (patch-ah) = 37e8e4af38a4a66e4c5f3e57e682ca793b735732
-SHA1 (patch-ai) = 797d2d6b03f4c4b4e014bb1f8931313fddafd3a8
-SHA1 (patch-aj) = 6df6fb6fc9b8f9a9c551f5152325fde7aab986c6
-SHA1 (patch-ak) = e04ac57d8a51016bd1e449141a33a7c793b6aab0
diff --git a/emulators/pcemu/files/README.BSD b/emulators/pcemu/files/README.BSD
deleted file mode 100644
index 1fb4d2477d4..00000000000
--- a/emulators/pcemu/files/README.BSD
+++ /dev/null
@@ -1,158 +0,0 @@
-$NetBSD: README.BSD,v 1.2 2004/07/09 12:46:37 wiz Exp $
-This is an excerpt of what you can see with the standalone "system".
- -- Jörg
-
-1. This looks like PC, but where is DOS? How to get pcemu really running
-
-Pcemu is an emulator that emulates an 8086 CPU as well as a bunch of
-PC BIOS services, so it basically provides the functionality like an
-old PC/XT. Anyway, as with the XT too, the emulator requires something
-like an operating system to run with. Since we cannot ship MS-DOS or
-one of its variants along with this distribution (for legal reasons),
-you're now actually looking at a (sort of) "standalone operating system",
-just to get pcemu booted and running. All this system does is showing
-you this introduction.
-
-You will have to replace this mini-system by a physical image of a
-DOS boot floppy. The "system" currently running is booted from the
-file
-
- @@@PREFIX@@@/lib/pcemu/DriveA.
-
-It pretends to be the image of a 720 KB diskette, which has been
-chosen as the default bootfile size.
-
-In order to obtain the image of a bootable DOS floppy, do the following:
-
- Prepare a 720 KB floppy with a DOS system as you'd like
- to run it later. Include all the good stuff you don't want
- to miss there. Don't forget to put a simple text editor
- there, so you can modify your configuration files later.
-
- Put a copy of the file
-
- @@@PREFIX@@@/lib/pcemu/C/emufs.sys
-
- onto this diskette, and include a line like
-
- device = a:\emufs.sys @@@PREFIX@@@/lib/pcemu/C
-
- into the config.sys file on this diskette. This will
- provide you with an interface to the BSD file system from
- within your DOS session. (It actually pretends to be a
- network drive.) According to David Hedley, you are also
- advised to include the line
-
- stacks = 9, 512
-
- there to avoid stack overflow problems with the emulator.
-
- If you want to retain a copy of the standalone "system" you
- are currently looking at, move it away:
-
- # cd @@@PREFIX@@@/lib/pcemu; mv DriveA StandaloneA
-
- Now, make a copy of your disk by either:
-
- - under BSD, perform a
-
- # cp /dev/fd0.720 @@@PREFIX@@@/lib/pcemu/DriveA
-
- (the number after the fd may vary for drives other than
- the primary one), or
-
- - under DOS, copy the file
-
- @@@PREFIX@@@/lib/pcemu/C/dumpdisk.exe
-
- to your DOS system and execute it. This will dump the
- physical copy of either drive A or B to the file drivea
- in your current (DOS) working directory. You can then move
- this file to
-
- @@@PREFIX@@@/lib/pcemu/DriveA
-
- in your BSD system.
-
-Since pcemu needs to display the standard VGA font, you further need
-to tell your X server about the location of the font file. It has
-been put under
-
- @@@PREFIX@@@/lib/pcemu/font/
-
-along with the necessary information for the X server. All you need
-to do is to tell your X server about it. This can either be done
-as a server default by including the directory into the FontPath
-section of your XF86Config file (this is for XFree86, refer to
-the documentation if you're using another X server). Alternatively,
-you can run the command
-
- $ xset fp+ @@@PREFIX@@@/lib/pcemu/font
-
-when X11 is running to instruct your X server to append this directory
-to the font path. Should you wish to run pcemu across the network,
-remember that the fonts must be physically available at the server
-side, or you need to provide an X11 font server (xfs). Refer to
-the X11 documentation on how to setup this.
-
-
-That's all, now you should be able to run pcemu. Add required
-device = a:\emufs.sys /... lines to your config.sys as you
-need them. It's not wise to make the whole BSD hierarchy available
-since DOS does not provide multiuser protection.
-
-Should you wish to override some of the emulator defaults like
-size and location of the bootfile, you can do this by settig up a
-$HOME/.pcemurc file. Refer to sections 2. and 3. below.
-
-
-
-2. Information about this BSD port
-
-
-This `port' of pcemu, originally to FreeBSD, has been prepared by Jörg
-Wunsch. It is an only slightly modified version of David's code, a few
-problems have been fixed for the BSD compilation environment, and the
-location of the default boot file has been moved in order to get you
-started with just what you are reading now.
-
-The PostScript document David is mentioning under 3. below has
-been compressed and stored under
-
- @@@PREFIX@@@/lib/pcemu/doc/report.ps.gz.
-
-It is huge however, so if you don't care much for it you might wish
-to remove it later.
-
-Since i'm living in Germany with a German keyboard, i found the
-original X11 KeySym to PC scancode translation unacceptable. Several
-scancodes have been unreachable for me. Hence i decided to add another
-section to the .pcemurc file allowing to instruct pcemu of specific
-keyboard layout semantics. They consist of the keyword keymap,
-followed by the desired PC scancode, an equal sign, and the character
-that is generated for this key under X11 without any shift keys. (Note
-that no space is allowed on either side of the equal sign.) This way
-i won't get a German key mapping under DOS, but at least a valid keyboard
-layout where all the scan codes can actually be generated at all.
-
-The appropriate section of my .pcemurc file looks like:
-
-keymap 12=ß
-keymap 13='
-keymap 21=z
-keymap 26=]
-keymap 27=+
-keymap 39=\
-keymap 40=[
-keymap 41=^
-keymap 43=#
-keymap 44=y
-keymap 53=-
-keymap 86=<
-
-
-Once :-) i will have filed all my modifications back to David, and
-perhaps they will be included into the regular distribution as well.
-
-Should you wish to contact me regarding the FreeBSD port, you can
-reach me as joerg_wunsch@uriah.heep.sax.de.
diff --git a/emulators/pcemu/files/bootstrap.shar b/emulators/pcemu/files/bootstrap.shar
deleted file mode 100644
index 20a40e4e376..00000000000
--- a/emulators/pcemu/files/bootstrap.shar
+++ /dev/null
@@ -1,1087 +0,0 @@
-# $NetBSD: bootstrap.shar,v 1.1.1.1 1999/03/31 06:34:07 garbled Exp $
-# This is a shell archive. Save it in a file, remove anything before
-# this line, and then unpack it by entering "sh file". Note, it may
-# create directories; files and directories will be owned by you and
-# have default permissions.
-#
-# This archive contains:
-#
-# bootstrap/Makefile
-# bootstrap/crt0.S
-# bootstrap/display.c
-# bootstrap/help.txt
-# bootstrap/lcrt0.S
-# bootstrap/txt2asm.perl
-# bootstrap/xcrt0.S
-#
-echo x - bootstrap/Makefile
-sed 's/^X//' >bootstrap/Makefile << 'END-of-bootstrap/Makefile'
-XAS = as86
-XLD = ld86
-XCC = bcc
-XCFLAGS = -0
-XLDFLAGS = -0 ##-M
-X
-X
-X.SUFFIXES: .S .o
-X
-X.S.o:
-X $(AS) -o $@ $<
-X
-Xall: display.bin README.BSD
-X
-X# The .com file is only to shortcut the development cycles when
-X# modifying something, you won't have to reboot pcemu with the
-X# new image over and over again.
-X#
-X#all: display.com
-X
-Xdisplay.com: display.o text.o crt0.o
-X $(LD) $(LDFLAGS) -T 0x100 -o display.tmp crt0.o display.o text.o
-X dd if=display.tmp of=$@ ibs=32 skip=1
-X rm -f display.tmp
-X
-Xdisplay.bin: display.o text.o lcrt0.o xcrt0.o
-X $(LD) $(LDFLAGS) -T 0x7c00 -o display.tmp \
-X lcrt0.o display.o text.o xcrt0.o
-X dd if=display.tmp of=$@ ibs=32 skip=1 obs=720k conv=osync
-X rm -f display.tmp
-X
-X# o expand the tabs
-X# o translate german ISO characters into IBM437
-X# o finally convert all this into assembler .ascii/.byte pseudoinstr's
-X#
-Xtext.S: help.txt txt2asm.perl
-X expand < help.txt |\
-X tr '\344\366\374\304\326\334\337' '\204\224\201\216\231\232\341' |\
-X perl txt2asm.perl > $@
-X
-X# maintain the README.BSD from the help.txt
-X# looks magic, 'eh? :^)
-X# The readme consists of everything from section 1 up to before the
-X# headline of section 3. The highlighting characters will be removed.
-X#
-X# If you've never been using Perl before, don't worry. Let the lines
-X# below stand as they do. :-)
-XREADME.BSD: help.txt Makefile
-X perl -e 'print "This is an excerpt of what you can see with";\
-X print " the standalone \"system\".\n -- J\366rg\n\n\n";\
-X while(<>) {last if /^[\001-\010\013-\037]1\./;}\
-X do {tr[\001-\010\013-\037]//d; print;}\
-X while(($$_=<>) && !m/^[\001-\010\013-\037]3\./);' \
-X < help.txt > $@
-X
-Xreallyclean: clean
-X rm -f display.bin README.BSD
-X
-Xclean:
-X rm -f *.tmp *~ *.core *.o *.s display.com text.S
-X
-Xpack: all clean
-X rm -f ../../../files/bootstrapper.uu ../../../files/README.BSD
-X gzip --best --force display.bin
-X uuencode display.bin.gz display.bin.gz > ../../../files/bootstrapper.uu
-X cp -p README.BSD ../../../files/README.BSD
-X rm -f display.bin.gz README.BSD
-X
-X
-Xunpack:
-X rm -f display.bin README.BSD
-X uudecode ${FILESDIR}/bootstrapper.uu
-X gunzip --force display.bin.gz
-X sed -e 's|@@@PREFIX@@@|${PREFIX}|g' <${FILESDIR}/README.BSD> README.BSD
-END-of-bootstrap/Makefile
-echo x - bootstrap/crt0.S
-sed 's/^X//' >bootstrap/crt0.S << 'END-of-bootstrap/crt0.S'
-X ;; Hey Emacs, this is an -*- asm -*- file.
-X ;;
-X ;; crt0 -- prologue for simple DOS .com file
-X ;;
-X ;; also implements exit(), by calling the DOS exit service
-X
-X use16
-X
-X entry _begin
-X_begin: jmp .start
-X
-X extern _main
-X
-X public _exit
-X_exit:
-X_exit.code set 4
-X
-X push bp
-X mov bp, sp
-X mov al, _exit.code[bp]
-X mov ah, 0x4c ; dos service, exit w/ status
-X int 0x21
-X
-X_exit.1: ; not reached (hopefully)
-X jmp _exit.1
-X
-X
-X.start:
-X call _main
-X call _exit
-X
-END-of-bootstrap/crt0.S
-echo x - bootstrap/display.c
-sed 's/^X//' >bootstrap/display.c << 'END-of-bootstrap/display.c'
-X/*
-X * display -- a simple program to display static text in a more(1)-like
-X * manner. Designed to run with simple BIOS services on a i*86-PC.
-X *
-X * Purpose of the program: provide a simple method for pcemu to display
-X * a text when there is no DOS boot image installed. This program will
-X * run as the bootfile then.
-X *
-X * Author: Joerg Wunsch, 95/03/10
-X * Placed in the public domain. Neither kind of warranty applies.
-X *
-X * Thanks to Bruce Evans for his bcc compiler. Made my work much
-X * easier.
-X */
-X
-X#define MAXROW 23
-X#define MAXCOL 79
-X#asm
-Xmaxrow: set 23
-Xmaxcol: set 79
-Xnl: set 10
-X#endasm
-X
-X#define WHITE 7
-X#define BROWN 6
-X#define MAGENTA 5
-X#define RED 4
-X#define CYAN 3
-X#define GREEN 2
-X#define BLUE 1
-X#define BLACK 0
-X#define HIGH 8
-X/* convenience: */
-X#define YELLOW (BROWN|HIGH) /* foreground color */
-X#define GRAY WHITE /* background color */
-X
-X#define NOCHANGE (-1) /* do not change color; for setattrib() */
-X
-X/*
-X * We use a special highlighting scheme: embedded control characters
-X * in the text toggle the attribute selection.
-X *
-X * Define attributes used for highlighting.
-X * NB: do not parenthise the macro expansions below, they are used as
-X * complete parameter lists for setattrib()!
-X */
-X
-X#define REGULAR BLACK, GRAY /* ^R */
-X#define BOLD WHITE|HIGH, RED|HIGH /* ^B */
-X#define EMPHS BLUE, GRAY /* ^E */
-X#define DOUBLE YELLOW, BLACK /* ^D */
-X
-X#define C_REGULAR ('R' & 0x1f)
-X#define C_BOLD ('B' & 0x1f)
-X#define C_EMPHS ('E' & 0x1f)
-X#define C_DOUBLE ('D' & 0x1f)
-X
-X#define K_CUP ((0x48 << 8) + 0) /* extended ASCII, cursor up */
-X#define K_CDN ((0x50 << 8) + 0) /* extended ASCII, cursor down */
-X#define K_PREV ((0x49 << 8) + 0) /* extended ASCII, page up */
-X#define K_NEXT ((0x51 << 8) + 0) /* extended ASCII, page down */
-X
-X/*
-X * Glue to link to the BIOS services.
-X */
-X
-Xchar attrib;
-Xchar row, col;
-X
-X
-Xvoid scroll(nlines)
-Xint nlines; /* if nlines == 0, clear entire region */
-X{
-X#asm
-X push bp
-X mov bp, sp
-X
-X xor bh, bh ; page 0
-X mov dx, *(maxcol + (maxrow << 8)); bottom/right corner
-X xor cx, cx ; top/left corner
-X mov al, 4[bp] ; nlines
-X mov bh, _attrib
-X mov ah, *6 ; video bios, scroll (clear) region
-X test al, al ; scroll back?
-X jns _scroll.1 ; positive value -> forward
-X inc ah ; scroll backwards
-X neg al
-X_scroll.1:
-X int 0x10
-X
-X pop bp
-X#endasm
-X}
-X
-Xvoid gotoxy(x, y)
-Xint x;
-Xint y;
-X{
-X#asm
-X push bp
-X mov bp, sp
-X
-X mov dl, 4[bp] ; x
-X mov _col, dl
-X mov dh, 6[bp] ; y
-X mov _row, dh
-X xor bh, bh ; page 0
-X mov ah, *2 ; video bios, set cursor
-X int 0x10
-X
-X pop bp
-X#endasm
-X}
-X
-Xvoid putchar(c)
-Xint c;
-X{
-X#asm
-X push bp
-X mov bp, sp
-X
-X mov al, 4[bp] ; c
-X mov bl, _attrib
-X xor bh, bh ; always page 0
-X mov cx, *1 ; just one char
-X mov ah, *9 ; video bios, write char
-X int 0x10
-X
-X pop bp
-X#endasm
-X if(col < MAXCOL)
-X gotoxy(col + 1, row);
-X}
-X
-X
-Xvoid cls()
-X{
-X scroll(0);
-X}
-X
-X
-Xint getchar()
-X{
-X#asm
-X xor ah, ah ; kbd bios, get keystroke
-X int 0x16
-X#endasm
-X}
-X
-Xvoid setattrib(foreground, background)
-Xint foreground;
-Xint background;
-X{
-X int i;
-X if(foreground == -1)
-X i = attrib & 0xf;
-X else
-X i = foreground & 0xf;
-X if(background == -1)
-X i |= (attrib & 0xf0);
-X else
-X i |= ((background & 0xf) << 4);
-X attrib = i;
-X}
-X
-X
-X/*
-X * Some auxiliary functions
-X */
-X
-X/*
-X * print one line of text up to a newline or a null character
-X */
-X
-Xchar *printline(s)
-Xchar *s;
-X{
-X register char c;
-X
-X while((c = *s++) && c != '\n')
-X switch(c)
-X {
-X case C_REGULAR:
-X setattrib(REGULAR);
-X break;
-X
-X case C_BOLD:
-X setattrib(BOLD);
-X break;
-X
-X case C_EMPHS:
-X setattrib(EMPHS);
-X break;
-X
-X case C_DOUBLE:
-X setattrib(DOUBLE);
-X break;
-X
-X default:
-X putchar(c);
-X }
-X
-X if(c == 0) s--;
-X return s;
-X}
-X
-X
-X/*
-X * display a message on the bottom line; if msg == 0, clear bottom line
-X */
-X
-Xvoid more(msg)
-Xchar *msg;
-X{
-X int i;
-X
-X gotoxy(0, MAXROW + 1);
-X if(msg) {
-X setattrib(YELLOW, BLUE);
-X (void)printline(msg);
-X setattrib(REGULAR);
-X } else {
-X setattrib(WHITE, BLACK);
-X for(i = 0; i < MAXCOL; i++) putchar(' ');
-X setattrib(REGULAR);
-X }
-X}
-X
-X
-X/*
-X * go back for numlines newline chars, starting at current, but not before
-X * initial
-X */
-X
-Xchar *goback(initial, current, numlines)
-Xchar *initial;
-Xchar *current;
-Xint numlines;
-X{
-X current--;
-X
-X while(numlines && current > initial)
-X if(*--current == '\n')
-X numlines--;
-X if(*current == '\n')
-X current++;
-X return current;
-X}
-X
-X
-X/*
-X * the static text is maintained separately in an (automatically generated)
-X * .S file
-X */
-X
-Xextern char textstr[]; /* do not declare this "char *" - bcc breaks */
-X
-X
-Xint main()
-X{
-X char *cp, *cp1;
-X int c;
-X int lineno;
-X
-X lineno = 0;
-X cp = textstr;
-X setattrib(REGULAR);
-X cls();
-X for(;;) {
-X gotoxy(0, lineno);
-X cp = printline(cp);
-X if(*cp == 0) break;
-X lineno++;
-X if(lineno == MAXROW + 1) {
-X for(;;) {
-X more("--More--");
-X c = getchar();
-X more(0);
-X
-X if(c & 0xff) /* regular ASCII */
-X c &= 0xff; /* strip scancode */
-X
-X switch(c) {
-X case ' ': /* page forward */
-X case K_NEXT:
-X lineno = 0;
-X cls();
-X goto out;
-X
-X case 'd': /* half page forward */
-X scroll((MAXROW + 1) / 2);
-X lineno -= (MAXROW + 1) / 2;
-X goto out;
-X
-X case 'b': /* page backward */
-X case K_PREV:
-X cp = goback(textstr, cp, 2 * (MAXROW + 1));
-X lineno = 0;
-X cls();
-X goto out;
-X
-X case '\r': /* one more line */
-X case '\n':
-X case K_CDN:
-X lineno--;
-X scroll(1);
-X goto out;
-X
-X case K_CUP: /* one line less */
-X cp1 = goback(textstr, cp, 2);
-X cp = goback(textstr, cp1, MAXROW);
-X if(cp == textstr) /* start of text, redisplay all */
-X {
-X lineno = 0;
-X cls();
-X }
-X else
-X {
-X scroll(-1);
-X gotoxy(0, 0);
-X (void)printline(cp);
-X cp = cp1;
-X lineno--;
-X }
-X goto out;
-X
-X case '?':
-X case 'h':
-X more(
-X"space: next page, d: half page, b: back page, CR, DWN: nxt line, UP: prv line"
-X );
-X (void)getchar();
-X more(0);
-X break;
-X
-X case 'q': /* quit the game */
-X goto done;
-X }
-X }
-X }
-X out:;
-X }
-X done:
-X more("Hit any key to quit.");
-X (void)getchar();
-X more(0);
-X
-X return 0;
-X}
-X
-END-of-bootstrap/display.c
-echo x - bootstrap/help.txt
-sed 's/^X//' >bootstrap/help.txt << 'END-of-bootstrap/help.txt'
-XPC Emulator v1.01alpha (C) 1994 University of Bristol
-XPlease report comments, bugs etc to hedley@cs.bris.ac.uk
-X
-X
-XThis is David Hedley's PC Emulator.
-X
-X
-X0. Table of contents
-X
-X 0. Table of contents
-X 1. How to get pcemu really running
-X 2. Information about this BSD port
-X 3. David's original README
-X 4. Copyright notice
-X
-X
-X
-X1. This looks like PC, but where is DOS? How to get pcemu really running
-X
-XPcemu is an emulator that emulates an 8086 CPU as well as a bunch of
-XPC BIOS services, so it basically provides the functionality like an
-Xold PC/XT. Anyway, as with the XT too, the emulator requires something
-Xlike an operating system to run with. Since we cannot ship MS-DOS or
-Xone of its variants along with this distribution (for legal reasons),
-Xyou're now actually looking at a (sort of) "standalone operating system",
-Xjust to get pcemu booted and running. All this system does is show
-Xyou this introduction.
-X
-XYou will have to replace this mini-system by a physical image of a
-XDOS boot floppy. The "system" currently running is booted from the
-Xfile
-X
-X /usr/local/lib/pcemu/DriveA.
-X
-XIt pretends to be the image of a 720 KB diskette, which has been
-Xchosen as the default bootfile size.
-X
-XIn order to obtain the image of a bootable DOS floppy, do the following:
-X
-X Prepare a 720 KB floppy with a DOS system as you'd like
-X to run it later. Include all the good stuff you don't want
-X to miss there. Don't forget to put a simple text editor
-X there, so you can modify your configuration files later.
-X
-X Put a copy of the file
-X
-X /usr/local/lib/pcemu/C/emufs.sys
-X
-X onto this diskette, and include a line like
-X
-X device = a:\emufs.sys /usr/local/lib/pcemu/C
-X
-X into the config.sys file on this diskette. This will
-X provide you with an interface to the BSD file system from
-X within your DOS session. (It actually pretends to be a
-X network drive.) According to David Hedley, you are also
-X advised to include the line
-X
-X stacks = 9, 512
-X
-X there to avoid stack overflow problems with the emulator.
-X
-X If you want to retain a copy of the standalone "system" you
-X are currently looking at, move it away:
-X
-X # cd /usr/local/lib/pcemu; mv DriveA StandaloneA
-X
-X Now, make a copy of your disk by either:
-X
-X - under BSD, perform a
-X
-X # cp /dev/fd0.720 /usr/local/lib/pcemu/DriveA
-X
-X (the number after the fd may vary for drives other than
-X the primary one), or
-X
-X - under DOS, copy the file
-X
-X /usr/local/lib/pcemu/C/dumpdisk.exe
-X
-X to your DOS system and execute it. This will dump the
-X physical copy of either drive A or B to the file drivea
-X in your current (DOS) working directory. You can then move
-X this file to
-X
-X /usr/local/lib/pcemu/DriveA
-X
-X in your BSD system.
-X
-XSince pcemu needs to display the standard VGA font, you further need
-Xto tell your X server about the location of the font file. It has
-Xbeen put under
-X
-X /usr/local/lib/pcemu/font/
-X
-Xalong with the necessary information for the X server. All you need
-Xto do is to tell your X server about it. This can either be done
-Xas a server default by including the directory into the FontPath
-Xsection of your XF86Config file (this is for XFree86, refer to
-Xthe documentation if you're using another X server). Alternatively,
-Xyou can run the command
-X
-X $ xset fp+ /usr/local/lib/pcemu/font
-X
-Xwhen X11 is running to instruct your X server to append this directory
-Xto the font path. Should you wish to run pcemu across the network,
-Xremember that the fonts must be physically available at the server
-Xside, or you need to provide an X11 font server (xfs). Refer to
-Xthe X11 documentation on how to setup this.
-X
-X
-XThat's all, now you should be able to run pcemu. Add required
-Xdevice = a:\emufs.sys /... lines to your config.sys as you
-Xneed them. It's not wise to make the whole BSD hierarchy available
-Xsince DOS does not provide multiuser protection.
-X
-XShould you wish to override some of the emulator defaults like
-Xsize and location of the bootfile, you can do this by settig up a
-X$HOME/.pcemurc file. Refer to sections 2. and 3. below.
-X
-X
-X
-X2. Information about this BSD port
-X
-X
-XThis `port' of pcemu, originally to FreeBSD, has been prepared by Jörg
-XWunsch. It is an only slightly modified version of David's code, a few
-Xproblems have been fixed for the BSD compilation environment, and
-Xthe location of the default boot file has been moved in order to
-Xget you started with just what you are reading now.
-X
-XThe PostScript document David is mentioning under 3. below has
-Xbeen compressed and stored under
-X
-X /usr/local/lib/pcemu/doc/report.ps.gz.
-X
-XIt is huge however, so if you don't care much for it you might wish
-Xto remove it later.
-X
-XSince i'm living in Germany with a German keyboard, i found the
-Xoriginal X11 KeySym to PC scancode translation unacceptable. Several
-Xscancodes have been unreachable for me. Hence i decided to add another
-Xsection to the .pcemurc file allowing to instruct pcemu of specific
-Xkeyboard layout semantics. They consist of the keyword keymap,
-Xfollowed by the desired PC scancode, an equal sign, and the character
-Xthat is generated for this key under X11 without any shift keys. (Note
-Xthat no space is allowed on either side of the equal sign.) This way
-Xi won't get a German key mapping under DOS, but at least a valid keyboard
-Xlayout where all the scan codes can actually be generated at all.
-X
-XThe appropriate section of my .pcemurc file looks like:
-X
-Xkeymap 12=ß
-Xkeymap 13='
-Xkeymap 21=z
-Xkeymap 26=]
-Xkeymap 27=+
-Xkeymap 39=\
-Xkeymap 40=[
-Xkeymap 41=^
-Xkeymap 43=#
-Xkeymap 44=y
-Xkeymap 53=-
-Xkeymap 86=<
-X
-X
-XOnce :-) i will have filed all my modifications back to David, and
-Xperhaps they will be included into the regular distribution as well.
-X
-XShould you wish to contact me regarding the FreeBSD port, you can
-Xreach me as joerg_wunsch@uriah.heep.sax.de.
-X
-X
-X
-X
-X3. Here's David's original README file:
-X
-X
-X PC Emulator for Unix and X Windows
-X
-XAs the title suggests, this is a Unix/X windows program which is
-Xdesigned to emulate a standard 8086 based PC.
-X
-XIn its current form it runs most text based programs. The programs I have
-Xtried and found to work are as follows:
-X
-XMSDOS 5.0 MSDOS 6.2
-XWordPerfect 5.1 Borland C++ 2.0
-XTurbo Debugger 2.51 Turbo Assembler 2.51
-XBBCBasic 4.61 MSDOS QBasic
-XMSDOS GWBASIC Virtually all program that came with MSDOS 5
-XHitchhiker's Guide to the Galaxy PC Magazine's ANSI.COM
-XSemWare's QEdit 2.1 Norton Utils 4.50 Advanced Edition
-XNorton Utils 6.0 Xtree Professional 1.1
-XPowerMeter Utils Autoroute (ancient version)
-XMinitab 8.0 Microsoft Diagnostics
-X
-XThis is all the programs I could lay my hands on which were text based
-Xand could run on an 8086
-X
-XThe emulator runs at about 8-10MHz 80286 speed on a Sun SparcStation
-X10/40 (without the -mviking flag) and at about 6MHz 8088 speed on a
-X33MHz 80486 box running Linux.
-X
-XI have included a Postscript representation of my project report. It's
-Xa bit out of date now, but it's the closest thing I've got to
-Xdocumentation! I'll do some kind of latex thing for the next
-Xrelease....
-X
-XThe program rather hogs the cpu but unmapping the window (iconifying
-Xit) will put it to sleep.
-X
-XThe most recent version of this program will always be in ftp.cs.bris.ac.uk
-Xcurrently in the directory /users/hedley
-X
-XINSTALLING THE EMULATOR
-X
-XEdit the Makefile to change the OPTIONS, CFLAGS and XROOT to be
-Xappropriate for your system (I am assuming you are using GNU GCC,
-Xalthough any ANSI C compiler should work just as well). Ensure you are
-Xusing the best (speed) optimisations possible (e.g. -O2 -fomit-frame-poiner)
-X
-XEdit the file mytypes.h and ensure that the types for INT8, UINT8,
-XINT16, UINT16 etc are correct. Hopefully nothing need be changed in
-Xthis file, but you never can tell... I have assumed that 'char's are 8
-Xbit bytes, 'short's are 16 bit words and 'long's are 32 bit words. If
-Xyour compiler treats these differently to the above then you will have
-Xto edit this header file.
-X
-XType 'make' and go away and have a cup of tea! Compiling 'cpu.c' takes
-Xa while (and quite a bit of memory!).
-X
-XGet a floppy disk of the same size/type as you specified in the Makefile
-X(i.e. if you chose -DBOOT720, then you'll need a 3.5" 720k disk). Install
-XMSDOS on it. Copy the files 'config.sys', 'emufs.sys' and 'lredir.exe' from
-Xthe 'programs' directory onto this floppy disk. Shove it in your Unix box
-Xand type cp /dev/fd0 DriveA This should create a 720k (or whatever) file
-Xwhich the emulator can boot from. If you do not have access to a Unix box
-Xwith a floppy disk on it, then you can use the supplied 'dumpdisk' program
-Xto create a disk image. All you need is access to a PC. Simply put in a
-Xbootable MSDOS disk into the drive and type dumpdisk A (or dumpdisk B if in
-Xdrive B). The program will copy the entire disk to a file called
-X'drivea'. You must then transfer it to your Unix box...
-X
-XYou then need to convert the vga font (vga.bdf) into a font format
-Xyour X server can understand (either SNF or PCF) using either
-X'bdftosnf' or 'bdftopcf' and install the resulting font file somewhere
-Xwhere your X server can find it. Then type 'mkfontdir' to rebuild the
-Xfonts.dir file and then type 'xset fp rehash' to tell your X server
-Xabout the new font. If you type 'xlsfonts' you should see 'vga' as one
-Xof the fonts listed. If not, then something has gone wrong. I may or
-Xmay not be able to help - it depends on your local setup. The emulator
-Xwill run without the font as it uses the standard 8x16 X11 font -
-Xalthough most programs which use the extended character set will look
-Xpretty terrible. A warning will be displayed if the correct VGA font
-Xcannot be found. If you are using openwindows, you will have to type
-X'convertfont' and then 'bldfamily'
-X
-XYou should now be in a position to run the emulator
-X
-XBy default, the emulator requires the disk image called 'DriveA' to be in
-Xthe current directory or else it will complain. If you don't like this,
-Xthen you can change the file the emulator boots from by altering your
-X.pcemurc file (see below) or by changing the default at compile time (by
-Xmodifying the Makefile)
-X
-XOnce run, the emulator should come up with the usual MSDOS banner and
-Xrequest the current date and time (which should already be
-Xcorrect). You can now run PC programs, mount Unix directories as
-Xdrives etc. You will already have one drive redirection - drive C: is
-Xthe Unix root directory. To mount further directories as drives, you
-Xmust use the program 'lredir'. Consult the file 'lredir.readme' for
-Xinstructions...
-X
-X The .pcemurc file
-X
-XAt present this file allows a few things to be changed at run time. If this
-Xfile is found (either in the current directory or in your home directory),
-Xthen it is read and parsed and the values overwriting the equivalent
-Xcompile time options. Currently the only options supported at present are:
-X
-Xbootfile diskfile
-X
-Xwhere diskfile is the disk image you want to boot from (no quotes or
-Xanything are needed and the filename must not contain white spaces).
-X
-Xboottype type
-X
-Xwhere type is either 360, 720, 144 or 12. This tells the emulator the type
-Xof disk the disk image file represents (360k, 720k, 1.44MB, 1.2MB
-Xrespectively).
-X
-Xupdatespeed n
-X
-Xwhere n is an integer > 0
-XThis is the rate at which the screen memory gets checked for changes (and
-Xhence the update speed at which the screen gets updated for non-BIOS
-Xwrites). n is measured in internal interrupt ticks of which there are ~72.8
-Xper second (depends on the resolution of the system timer).
-X
-Xcursorspeed n
-X
-Xwhere n is an integer
-XThis specifies how fast the cursor should flash. Flashing the cursor can
-Xtake a fair amount of bandwidth and so on slow/heavily loaded networks it
-Xmay be best to slow down the cursor flashing. Setting n to 0 or less will
-Xdisable cursor flashing - the cursor will be permanently on.
-X
-XAn example .pcemurc file can be found in this directory.
-X
-XIf you have problems compiling or running the emulator, then please contact
-Xme giving details of what went wrong (along with your computer type
-Xetc).
-X
-XArchitectures tested:
-X
-XComputer OS Comments
-X-----------------------------------------------------------------------------
-XPC 486/33 Linux 0.99.14w Runs quite well. A bit pointless though :)
-XSun 3/60 SunOS 4.1.x Takes an age to compile and not really worth
-X the effort...
-XSparcStation 10 SunOS 4.1.3 Runs well. Takes > 20MB RAM to compile though
-XHP 755/99 HPUX Runs OK (>25MB RAM to compile...)
-XSun 4 Solaris 2.3 Runs OK
-XRS6000 ??? Had a few problems getting it to compile.
-X Getting there slowly though.
-XSGI Indigo IRIX 4.?.? Doesn't work if compiled with optimisation
-X using the standard compiler. Haven't tried
-X it using gcc yet...
-X
-XAs you can see this list is quite small. The main limiting factor is the range
-Xof machines I have access to. If anyone else can get it running on other
-Xarchitectures then please contact me!
-X
-XWarning: This program is not secure! Do not make is suid or sgid anything
-Xunless you wish to compromise the security of your system!
-X
-XEMULATOR LIMITATIONS etc
-X
-XSome parts of the PC architecture are emulated better than others. The
-XBIOS has been partly implemented - enough to get MSDOS to boot and to
-Xallow most programs to run. Anyhow, most decent programs bypass the
-XBIOS for screen access. BIOS Disk calls for drive A have been mostly
-Xemulated, although formatting doesn't work.
-X
-XSome of the hardware has been emulated but not much. Timer interrupts
-Xare generated by the system but there is now way (at present) to
-Xreprogram the timer. The Programmable Interrupt Controller has been
-Xemulated in part to respond to the End Of Interrupt command and reads
-Xfrom and writes to the mask register should work OK.
-X
-XNone of the VGA hardware has been emulated at present (apart from
-Xscreen updating) although this will change in the near future. Mode
-Xchanges must therefore be done through the BIOS.
-X
-XThe keyboard has been mostly emulated. The program converts X11
-Xkeysyms to raw PC scan codes and then generates an interrupt 9 as per
-Xusual. There is a BIOS routine which takes these scan codes and
-Xgenerates the correct BIOS ASCII/scan code pair. The keysyms used can
-Xbe found in the module 'xstuff.c'. In the future these keysyms will be
-Xread in from a file at run time.
-X
-XTHANKS
-X
-XThanks go to the following:
-X
-XAndy Norman at HPLabs, Bristol (ange@hpl.hewlett-packard.co.uk) for the HP
-Xport.
-XDieter Becker (becker@med-in.uni-sb.de) for help with the Solaris port
-XKlaas Esselink (esselin1@ksla.nl) for help with the RS6000 port
-X
-XPlease report bugs/comments etc to me (hedley@cs.bris.ac.uk) and I'll
-Xdo my best to sort them out (no guarantees though). After June 25th I
-Xwill be leaving University and will not be able to check email very
-Xfrequently - please be patient if you want a response - I will reply
-Xeventually.
-X
-XHave fun...
-X
-XDavid
-X
-X
-X
-X
-X4. And finally, the Copyright notice:
-X
-X
-XAll files, documentation etc with the exception of 'mfs.c',
-X'emufs.sys', 'emufs.S', 'lredir.exe', 'lredir.c' and 'lredir.readme'
-Xare Copyright (C) 1994 University of Bristol, England
-X
-XPermission is granted to use, copy, modify, and distribute this
-Xsoftware and its documentation for any non-commercial purpose,
-Xprovided that the above copyright notice appear in all copies and that
-Xboth that copyright notice and this permission notice appear in the
-Xsupporting documentation.
-X
-XBECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-XFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
-XWHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
-XPARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
-XEITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-XIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-XPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-XPROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
-XTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-X
-XIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-XWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-XREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
-XDAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
-XDAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
-X(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-XINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
-XTHE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
-XOR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-X
-X---------------------------------------------------------------------
-X
-X'mfs.c', 'emufs.sys' and 'emufs.S' are covered by the following
-Xnotice:
-X
-X Mach Operating System
-X Copyright (c) 1993,1992,1991,1990 Carnegie Mellon University
-X Copyright (c) 1991 IBM Corporation
-X All Rights Reserved.
-X
-X Permission to use, copy, modify and distribute this software and its
-X documentation is hereby granted, provided that both the copyright
-X notice and this permission notice appear in all copies of the
-X software, derivative works or modified versions, and any portions
-X thereof, and that both notices appear in supporting documentation,
-X and that the nema IBM not be used in advertising or publicity
-X pertaining to distribution of the software without specific, written
-X prior permission.
-X
-X CARNEGIE MELLON AND IBM ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS IS"
-X CONDITION. CARNEGIE MELLON AND IBM DISCLAIM ANY LIABILITY OF ANY KIND FOR
-X ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
-X
-X Carnegie Mellon requests users of this software to return to
-X
-X Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
-X School of Computer Science
-X Carnegie Mellon University
-X Pittsburgh PA 15213-3890
-X
-X any improvements or extensions that they make and grant Carnegie Mellon
-X the rights to redistribute these changes.
-X
-X--------------------------------------------------------------------
-X
-X'lredir' was written by Tim Bird (Tim_R_Bird@Novell.COM)
-X
-END-of-bootstrap/help.txt
-echo x - bootstrap/lcrt0.S
-sed 's/^X//' >bootstrap/lcrt0.S << 'END-of-bootstrap/lcrt0.S'
-X ;; Hey Emacs, this is an -*- asm -*- file
-X ;;
-X ;; lcrt0 -- C prologue for simple boot-loaded module
-X ;;
-X ;; Bootstraps a simple .com-style area 512 bytes off its
-X ;; own start address, by loading it via the BIOS int 0x13
-X ;; interface.
-X ;; Needs an epilogue counterpart to know about the end
-X ;; address.
-X
-XSECSPERTRACK: set 9 ; bump this for boot disk size != 720 KB
-X
-X use16
-X
-X .text
-X extern _main
-X
-X .data
-X extern .endfile
-X
-X .text
-X
-X entry .begin
-X.begin:
-X
-X mov ax, .endfile
-X mov bx, .startfile ; from epilogue
-X sub ax, bx ; # bytes to load
-X add ax, 511 ; round to full sectors
-X mov cl, 9
-X shr ax, cl ; make # sectors
-X
-X push cs
-X push cs
-X pop es
-X pop ds
-X
-X mov bx, .startfile ; load here
-X
-X mov si, ax ; sector count
-X mov cx, 2 ; starting cylinder/sector
-X mov dx, 0 ; starting head/drive A
-X.begin.loop:
-X mov ax, 1 + (2 << 8); read one sector
-X int 0x13 ; just do it
-X
-X add bx, 512
-X dec si
-X jz .begin.done
-X inc cl
-X cmp cl, SECSPERTRACK + 1
-X jne .begin.loop
-X mov cl, 1
-X inc dh
-X cmp dh, 1 + 1
-X jne .begin.loop
-X mov dh, 0
-X inc ch
-X jmp .begin.loop
-X
-X.begin.done:
-X call _main
-X int 0x19 ; reboot -> this will quit pcemu
-X
-X
-X ;; .blkb (.begin - $ + 512) ; cannot be done in as86
-X ;; XXX IF ANYTHING IS BEING CHANGED IN THIS FILE, ADJUST THE
-X ;; NUMBER BELOW! Link with -M and adjust the number so that,
-X ;; when linked to address 0x7c00, the symbol .startfile will
-X ;; be equal 0x7e00.
-X .blkb 443
-X
-X export .startfile
-X.startfile:
-X
-END-of-bootstrap/lcrt0.S
-echo x - bootstrap/txt2asm.perl
-sed 's/^X//' >bootstrap/txt2asm.perl << 'END-of-bootstrap/txt2asm.perl'
-X#!/usr/bin/perl
-X#
-X# Convert an input text into a sequence of .ascii or .byte assembler
-X# instructions. Cares to express any non-printable ASCII character
-X# as well as the double quote and backslashes as a hexadecimal .byte
-X# instruction.
-X#
-X
-X# print one line of input text
-Xsub pline
-X{
-X local($s) = @_;
-X local($i, $k, $ele, $c);
-X
-X # delete any null char to avoid confusion (we use null as the string
-X # delimiter)
-X $s =~ tr/\000//d;
-X
-X $i = 0;
-X #
-X # split the string into substrings of printable characters (where
-X # we can write a singe .ascii instruction for each of them)
-X #
-X foreach $ele (split(/[\001-\037\"\\\177-\377]/, $s)) {
-X next if length($ele) == 0; # split returns a null string for
-X # succeeding delimiters which dont wann see
-X
-X $k = index($s, $ele, $i); # see if there are any non-pritables
-X # just before the current substring
-X while($i < $k) { # if so, write a .byte for each
-X $c = substr($s, $i++, 1);
-X printf "\t.byte\t0x%02x\n", ord($c);
-X }
-X print "\t.ascii\t\"$ele\"\n"; # this substring
-X $i += length($ele);
-X }
-X while($i < length($s)) { # are there any non-printables left at end?
-X $c = substr($s, $i++, 1);
-X printf "\t.byte\t0x%02x\n", ord($c);
-X }
-X print "\t.byte\tnl\n"; # dont forget the final newline
-X}
-X
-X
-X#
-X# the asm file prologue:
-X#
-X# declare a synonym for newline, and define the entry symbol "_textstr"
-X#
-Xprint ".data\nnl:\tset\t0x0a\n.globl _textstr\n\n_textstr:\n";
-X
-X# process all lines now
-Xwhile($_ = <>) {
-X chop;
-X &pline($_);
-X}
-X
-X# the epilogue: terminate with a null byte
-Xprint "\t.byte\t0\n";
-END-of-bootstrap/txt2asm.perl
-echo x - bootstrap/xcrt0.S
-sed 's/^X//' >bootstrap/xcrt0.S << 'END-of-bootstrap/xcrt0.S'
-X ;; Hey Emacs, this is -*- asm -*- code
-X use16
-X .data ; ld86 places .data after .text
-X export .endfile
-X.endfile:
-END-of-bootstrap/xcrt0.S
-exit
-
diff --git a/emulators/pcemu/files/bootstrapper.uu b/emulators/pcemu/files/bootstrapper.uu
deleted file mode 100644
index 6c2b4a8d2c9..00000000000
--- a/emulators/pcemu/files/bootstrapper.uu
+++ /dev/null
@@ -1,250 +0,0 @@
-begin 644 display.bin.gz
-M'XL("/^,D2\"`V1I<W!L87DN8FEN`.W<;VP<Z7W8\3U9NK.G29PJA9,@13UV
-M4I"LR14IZ63=V;)O22[%S?&?N>1)0I-3AKNSW+&6.YN=65(TKHX3)T'N+D#Z
-M(FV!O@J*]FV1`$:KQ"_J($[0XNHWS8L&11,TP065*Q3HBX/C7&RIO]_O>69V
-M5]+9#F`4*/#]P"?NGYEGGGG^_YGUO?RM+U<^/_<GYQX]\SL?^./[/_1#SWU8
-MWK_^1[][IO)[E<J]9\Y\[4=^\0\J9[;R#SW\_2_\=3#ZW[_SS,,_^L+#,Z.W
-M_UWEX1\^^+/[WWK?UWZ\@O]?[;_^EXN/?F_[1Y?^TQMK9]_XU&MO?>G97_[*
-MZ=F'7_W&GWSMAW_V#^3K-UXY^VL?RM]ZX_C97[MR]ZW%1U\Z4WPA)_R#U^23
-MWWVF\J4/R(?RV8U7?BM_ZY/;V8_\EASZ]HZ\67S[I9W[__[1%[]Z]M7;=MJ-
-M5Y:^LG/_5Q^MKNH'BV]_[4/NTXV--]?.7GOT:/0#O_7:6S_UP<6W7U][]T$@
-M%_&OWUQ[5K_]H'[[?Q;?_CMK[^H!?_>-M6?U@-\Y^\?_PWWTQMJ[_^JUMUSH
-M/N`'!V^L_<V#E^\]5]G1:_^&QN;!UKT?J.S<^V!EY_XOV/M/Z=?WGI'WJ;VO
-MRJ'W?DC>_IR]_;`$(7=T_YQ$_,'Y^3/Y5^2__S[_3/X?YW\P_S</_OS-5\^N
-MO/[JV3>N/_JUM;_YY:_DS\GQGPQ&O_J&OAL])U^_+%_++4[%[-Z/N2C]\X=R
-M#?GR5[Z2_T.-@UWX?^J'CX[/WO^X7+.(_'_1#Q^\H)&33^[_@;Y=^HHFQ0_?
-M"^6#^.'JZIMK[[YD*?;NM>W*:_>+4_^%'CMQ^3=??5;B].R#O^=?O/&<1/BY
-M-]?>O_[ZVOOECT3F_?+5)UX]>_*G;Y9?O_JLW.>SDAME.%_\ZC<U!N]\^3=_
-MZ?57WRVN-J=7N_^##Q\=OZ-OO_1MNYEW[W]6(JB1>_7=-YZ3E'G?UW_EF3?7
-MWI'XOB-_KOU8)7_?UP?/?/G-7VK>_V]RY/T__?;K:]_0`/ZSO'MC[1N2M.^7
-M/UHDOO'FVC>^_K\J=NW[__K;O_C52N7KSS^CV7I_YMN:"N^<>^>1?&=?_/UG
-M[BU6=B0"$LOF_8<2N6<E%N[<KCOWKRMRBMS[.U8*WO[6ZJI]_!>5>V?&9W[5
-MG?G->S^JGWW3/OMM'YJ\^<2K[XX"%^KY;S_X1_<>/=JY_R\E)+D#O8E_^RV?
-M"FV-X*O?E/3RU]1+/;C[Y6L2W%_(=_?_\EMZ_'^5EP]NVW>W']Q8""J27K<>
-M+;Q/_W[FT<*/Z-^'#Q<^7,G_<.$G]<V//UHXHW^_^7#A;"7_[84/5/+?7_B-
-MZ_+)"X\6*L_(W[]ZN%!Y3OZ>]^__P\.O_].'7[_Y\,NS<NE#O?1G[=(_\VV-
-M]1>_^G[-Y\IZDH=1_S2\$Y^&>1K^_"C)JY5L$+7B%\-^?#</!]%A/!^V7PR[
-M4:_CWQV\&!Y$K3O^W<KN?+AZ8TN.E\-[25\^VM]Y,1P,C^U=96%A,QW&"PN5
-M,SLK8?UHU(OR=!@>+U47EZ+>H!N%LRMSX=(++UP.]_O)<3S,DOPT3#OA\C#)
-M\K1W/CBSTXNC+`Z'\2`=YF$K/3J*^WDF\1@=9F&<MS3FW;C=BT]?:F75`SFO
-M&K6JHSOG@R#8ZR99*/];C8Z3=KAN1\UDX414JG+4F<5JN!<=]&*]<"OMYWH!
-M.3WTGO9U^>52-5Q/3S02A[$D6"L^&DE<HU[O-!R.^OVD?U@>>K$:-OJ=='@4
-MY4G:#Z.#=)2'N49Q;1C'R\W54&^Q//Q2U<5;(IP.D\.D'_7"W7IM=;->'G*Y
-M&JZD@U/YMIN'_31/6G&@-[14/1_:O??2]([\F]R)Y:8US?+PI!L/8TN4[>:G
-MPS/?)?*2##OVL9P0]<.XR,&\&^7^76S?7%V\>B5<V=D/HRP\B7L]_1O)!?NM
-MKJ1;($F^W-ANAED\/)982OYE:2C%[R#*DI9=<#!,Y68EL+P;AQTY3Q,IZFEY
-ML/A'_2#MM>4V+MS<JX9AK7]Z$IW.V^62O&MGW=R36TGG[749TV$LY7HHX6;I
-M42RI+1GBPPO303R4O.@?AMEIEL='FA!RWQ:@7**9]%NQW$S8BOJ2N&'630;A
-M9G-!$DYR)$C[5B*2/`N/HV$22:D(HUXJH?D(29*UI10/$TEVS?!9R?NP%Q]*
-M/DHB9VD_FYL/3M/1C.1'7[(A:N4C2PK--8V5)+%4D$S+?=J9"S^:Y5&_K9>(
-MGXCZ1^>#SXZR?#HK#](TC]MRI^TB.S7A)&\L;OZ>VVEL=23KIB>:.!(A]WW2
-MSX=I>V3Y(-7DEGQ^DLC)W>@XMI2*!SUI*MS!1TD_6?`A'IQ*M`?=4\O9,#F2
-MAD(3*@HTX31.8:>7#@:G$ID]R:F/^CL(6Z/A4.K6N/!IM/P]=(;ID>9KT$EZ
-M\;AJGKLPRH87>JE<Z$(O.;A@]WUA=2A-2>V\1+HA23&,I<:V,XWR06QE8QRE
-M\.,7%\.7ES6?[L1Y+JW723>1$MN58G40Q_V@U4VSN*^E3$]LQYUHU,LM4AJ1
-M,$L^%^MEI"P-V_%0KY$>Y%'2?_PZ>H:U(9H&[O:E84U=84][/4O[%\<WMB.I
-M&TFY*&/HSG%%*[)0?&I+U+0,M:V6E.?[DBPU3&OH4)*ZT6_U1FT)T?(_#@_3
-MM!UF^:C3T?,E+OT9:1RD%$^&<91D=N?#6$)8M4.D$&L)DR\'(RV?67(TD/O*
-MM;^(VXE4N7$`>J+5=+V"U*+P*&TGG5-].]2FM),<CH:N-=3DS'QD)Y+!+M&2
-M-DZ3T1)K*O^_<SE8N2#_=K*JI-1$<RXM>%K63I_K6D62(H&LYW+)^>2%VK&V
-M7^&U,'KQ9\K0PZ=??N*BB;MH')YSMVUQLIN1^$S'QJI%DEEE*\_WK:,EI"L#
-M?0TS'G:L"KJPM0MQQ=(5#:TT90AZEI1+2WHK/G&6:<T.PUFI)67;\UAUB<KS
-M^W%^D@[OA&VM7-4Y:4A:+2GT6DWET,D>=MYB::6WEZ5E`%'[.,FD*LO115)K
-MI#6QGY+.TM:UI.NZ%KXP'SZ_='$B*:U4:2C1<9IH$=;12"IC!ZDB)YI04LV.
-M)GJ%>-S5%T$T7)G7TNY:,JNRTP5MHK$M6R@Y:7P[$HEQBS5NLN>ED$L#J4,K
-MZ:!>?/+6?E+*0/NI)>83X=%QZ!JOL%E>OC9Q[UOIB80?:?=51M9R5`N/-KQQ
-MHLDS<=6%<-37EDG*QGPHG8:./R17GQJK07A!BO>%3GNQJJW.=VI;)P.8U>3J
-MCXX.Y#)1)]=F4`MZIWU>HGJJG>.IMAJNY,A@1F.H`XC^1!AZQF`H#:8<*_<\
-M-Z\][!,W(>5VWMWWW[XI:(^.!II*U?AN/!7]/)VH%+Y-E>9`#FN-<LW(R0H9
-M:C#6$8T#*+NZ(D=<)KC[#6MR)^%R446M>IZS;Z+S$V$4-=.7J'!68C,7:H73
-M4M66`4Q+BK!VF;=\4RJA]:VH3:6B1-,ND:??:\H\)4.+R&A[XE)$ZHX;#;F!
-M13^.70LA"2J#@-.)"C-LAZ]<KTE^]W/7#G1&0TL-/2?05-#!H05_TT:#6FC\
-M2%@:`XF<=0=%:R_!V`UI!Y9KMQQHMVQ=CQ6)[S84T``NR,U-#<RDM,8R!LVT
-ML"43(_).ZHIN$3$_6M*[*&(O779B=_Z>MS$N+YI+OBA(2RH=;!S8H-@?7@XF
-M3GU[:$VICC**W)[H-=;D/G:BO'L^R.)6D4)V^7,WUZY>6;%.Q7<HL[F?]NC]
-MW-2YQ=4K\]+(=6R`$M@ETM9(YU'NOA,+2H>AH\P:L;ZKH\6=S5E"2,7NR_''
-M<>_4AJUV?SK(T`!U7B;9/\Z.GPK/W<UDG-`9?"Q\SYR1C#G18GQS:4GC6PS[
-MK(>0@;.,/1]+8FWU!P/IGXHNTZ=44%0O+2^#R`W?N^E()@RNQ\RZQ9#(E>"H
-M-4S=T*;HV.:#87P46R-FDYLB.!G;ZL!:<K"HY]+<1\=1TK/QG#_2Q2_(I(_6
-MIJLL,S9.\GUWY&[4XNCO9_;<W4YV7M-W=S)[]+#I+)+_==U,31)U-+#;K]H,
-M-\IG=-[1F[<YA%XW<S>NO?=!+YZZ;\W(=KN8$[6#]QK.5*LR@]2>.2N;QZF!
-MBQMT!NX.N](^:/64>.@T21+;+FK=E-[-23?MN<%)-Y%9R[#5G4A`23)M5[3Q
-MM9F(AE`DF'3<>3*2I-)/\KB8B3PE8[7['^HI.LDK&H]R"NAKFIL(!SIFMQ;^
-M\<:F&-7/E\/5MA\H2A659,^3PU"2/@K._=3Z]F;]0M62=-@Z7[1011Z&OHYF
-MX9F+DHYZK3.7Y,5!+".4JLW0]?,SW\-J0+F*\7/Z;D:CZ@JP7*4XKIBLZ-A-
-M)PUMC>]/_^;P,+PQZF>M;E6G06[^GO:E\&8]72^0%S8:3^1X6WAQ"5$L.;12
-M+<E1V(E/@G),95,_NU0GN:NS,M]@:BRD!1A(EMK-Q/WC9)CVM?C:V#IX6ML^
-M.9ER#5=Y(]JMZ8"\G%4%.N6PLIU'0YT/6DMN,]X3K:S%@%/FU=:,]BV==7:Y
-MDV9YLS5,!GE9H_Q@56>M\DYBI&>X`<8XF\9]C=[84'H+/Y/.I$3)R^^I]Y$K
-M7G`+5]5!5CW\G)^2RI6[(YD92HV.)>G=6LCD-*RE]W(TDHFHIG#B[N_(5GFT
-MQ`<V9BV&F<6<R770R<R1%/-CFSWWP^NQE*]^.6UT;W6][R"5GGH^3.0"(VM-
-MXZ!<9-+6Y^7XM'EJ"R([*V$F=4'+0Y@/HW[F\WC4CUJM>&"S6FUM]4ZB7E`<
-M.UE81GW)EU;76B.]H2,]83VVZ$HQ:$G%M88R:K>+OJ?LYHH.<+JR:8-G4^:I
-MOL+5#"E>V4`"[22MH+A32:13K5]9+/>?)ZW,K3V<ZB0T2[*\*)-RO/0%[?"<
-MO#B*!N?G`S<Y=W7*E=I,6\[)9)FWE;&?E_F33(8/^VXV:9UB-QK*Q$KNQGH4
-MR?;#N*_K-F75D8]T\=45/DUWS2B-J&9:UDTZN7ZOL9W=DA;0A=.7!D87::U.
-M^]BEY5!#NZ"R!2PCI1,V-XB-3H-$!I9:S+12318*:;('@W%EL-&V+AG*-741
-M5@\^CGI2=8ID#7RRNC7%8F5!TR5T94!?E5-+Z9#&]Z]K6[V>KZ1RV6$JPW_Y
-M)IP8WQR=/I'OXP5-F>.X3`J7+E[[\_+UI6LSQ>N+2]<^5[Z^<NUGR]<?O_:Q
-MXO6E%Z[]3/'Z\N*U?UR^7KKV:OGZTK6?+%]?OG9:O'[^TK6%XO75*]<^*4WU
-MMI;I%Q?FI%R/U\HTXFU+G:.BS74M8>96THOILVLJ98[6C08V-#EU@4BZ^0ES
-M>SPB',:'TKL-IU<8_=KKT_M(7;J6O)#:IR='?NK^>(=3=GZ!U5D]6D(]^]DT
-M'A[>/K'^Y*61Y%2WVHWC036+[E;;\7GKU`)K/=>E*$C_<>8]UJY=/DKF/3$]
-M\<Y.;A1H+=GO)W>M2MT,;R3]=GJBBSDU-W;+DUR7.T:'AW&FFP+%R#>RLR[<
-ME)NW,W0`<3B,COSR7I(%6H\/^Z[=\>O8.C0OYC"VG'T095;3W0J?+O06TS.;
-M14O;*P,KZ45277C5]2]W@K^6U-H]F]6Z=V'#2D,@N>5[$M_TIC;-<^LEF5\,
-MS"2!-ILZ*'J^NAB^%W?$E>K%X(8T6CLRN9>Z(V<L/>78Y738TXNN?.QCX<7J
-M8K`W&AY(N8L/-.V&\M'SCY_ECJA)QW<D#;<[)%A>7EG6)?OP<O7*TG>(U&?L
-M*'\/UV\LUYJ-E:<>_DHR],V#5I`BFZR=:T52^*SG\DD1K"=YJ]N5RC^4@G5]
-MI"V=KP[7HUYT]S349GDS.HP^)T-7.:2VU6Q45[8W@V9\=".R<OF9>EOR[>(3
-M:;0E95]JT'Z>]#*YN><79:!\+.V[Y)6>(;4KF#KDRM/RY68N-2G<&:8=M[@F
-MI7ZINA3L2!,]W(QU9<2=_(3:2$I[JLL-LW+-1(N8'Y/-!9M)/Y%>-KSZGB5A
-M,]'93"J=Q6H2'?:E.$H/-][]*MKEB9+8LM9!9^[2)'4C7>^3.W.5X\26U\KB
-M'&BI<<?K-$);&;?;XYKN\3Z+5@5MU6T@>W5A:7%S_7-RX$6I2-(?NSXJ"IL2
-M1E-&J:VFF]D$2XL7+B^&LT7'IQ%=.#I.;-VCTXL.YZRNE`%?<:%>O3H1:'#I
-MDOOTLE;:]&XYD=Q(^J.[6GM=0URVHI$-"S,W+)0!F@SOQC,MZW<DK3ZKE<F/
-MWFQV$T3A@90=C84<U-86HZ_K<0<VZY]Q+5*KEV9Q9B-YB4!CYEA7VG65,9B:
-MT'U$)DPSNIR4NBF+W&Y;0]5VZ*X_N1A=ZU:LM,:V#RH3,]]G%E5%NE/M]KOI
-MH8_`8&0Q&O6+WMSF8-8.AK.)]`))YU0W>I)\SO4O`XN_S5MZVJ:[\*U5D^GU
-M1%ETPXIDHC75TZ.>C"DRUTN%G7Q0G=J&#<9KI'Y79+R\<4'G=MD%MWL;!&<;
-M6\V]VL9&8^MZN+=>#^N;^QNUO>U=:>ZMTNK)FS*I]`M<.KSJ'[HIYO;.7F-[
-M2X8K*VL;M>M-UUWL;F_ON67L8'*`T7'3\V&QV#?;""/=1LE&1YI:Q53"+85<
-MW]H/KZ^LS`=13\OG8==&9MJNA"M^RJ-C+M?;6CMNDQ+?$<O$OM[/1L.X"#5P
-MH=IL4TO)K!7BN3`=Y,E1DOE1P2"5UD,'R[-Q];`:+FQ?#!<ZZ5&2+W0DU>.%
-M02K-VW!N(EDL28Y.\]-!G%6[;OW27;A<R[#O[.8;6WM7Y\-]^Q/(OTM7W+NE
-M*[:?;@O;Z5`S2?>V!W%GI,VSCLMM:J6U[B#VJ:\CDJ!<=G1UP:U]Z/*&K5/J
-M@*1:]=V?2V=;-9!XS>@(69<OY))7`ZU<!Z>Y;@[/2(H.<_^-Q$N_TH%Y9K<V
-MHXMY_LM+%\=?RD4Z@=];\CDC#7*46\7(M.1U9(+N"J/O-Z11.8[=6NKIY`:G
-M3K%BE[HZ6Y-II01FTWRI'9*2X8PN;\Q8=`Y36^JWU^X>99PPL,H21Q\)5RPN
-MFG0S4C>KK9DPEU.U-9'VMF<M?MN>O=`3K8&1%DAF=\/3C\S)U:[;(-UO_]DR
-M?[%!H=VC+F9<T*SU2S+%U,=-GR=K3#";5&7>Y>>9MJ\9+JPN2QWY^,7%^3()
-MM%&R+(["2]7G/ZK;CW?LLG/Z](*,CWH]WZOKPF'N'D`HRV`F]U@N$\U(/I9K
-M2C,^YV3NE`QU#7[&;4_IF3-%SS0ST3B,M^DF[KVJJWINVELL4MOP4!I]ZZ<L
-M)2;V,8K=%.L*?2UM:9'P.ZMWPEFI$+J$H.5USFTIN&YP:@5)"[);IY`X5\L-
-M)&F]=;W*97I+EY1M&CN.DY]W3^6>)MLXO2WH4>::L6PT&/0T[V:*W8J9HJW5
-M`EG&W`*RW>7JU`JU]?83\9"A:]C4_=E3U\AK7UGN1+M<=$$5LPJW95&F9!&+
-ML&;I5+Y=UF(D%=\=OCPW-=)UE:C<I=$EEF'LKF.1LK9*EU%E;#'C=D)FJK:M
-M80NMEC"VT*"+::Y?FLIHZP%OV5,*<F2QR"K%3G+0-77'AY%;99V55]6#=F?.
-MW:'_U"VZ!=,KRY8-.NVU*8"TO&XVW=Q:T^7<G96U.=\CN"^"&0DV3[-^9T:_
-M=^\&K<Z,WTJVBN(G:IDN8UI_[C<SK,NW.7/@9LY/1J6CXP&M7GN6'*[%N:,A
-M2`V9<9N6!Z.DYY9N;)VZ*M_XQ1&W_E"<Y]?AY8QNE'5GGKY[$8PW8?KQB<6U
-M6A1S'TPOL^O,3"XR9S+>G9%4GM'V1W<X)C9N=)XN/6S;PI%ZX@M]^1R.K?<=
-MZ@;KR3#59U,:ME^8#@/]HQ5K8@F[&_<&X8*6AW8\B/V`U>[`%MW<LK@KAT6M
-M#:P@%@_T%'=GN2`7EI"DVF736U=7[TIG4R[2+XQ[?1L-E0-HUT(4M5:&9Q(A
-M*8;E>H_&QE4#7:\(=$\]E]J@:]2V6E8+3Z*AC5"+";[?2-,JW/$;*M8#EYMI
-M@7\(Z2!V\\8R<\9C%>FJ^WZ^.S_=FUF62R8&,[Z::(@SXW(R<]!K=Z*CI'<Z
-MXZJ6SUW=47#CND@')4FQ(E?L^I0I'2R?%NNY[_7XE1OZ%>V6;P#"&==`S_C'
-M#6PP4>ZK3_8&PS#N9=;P^^9%6K4HZ5?'3;&N:-F37=IIS`=3#>S$4-&-'B>C
-MJ"UBYIXPTD>7=*/+#P2'0;'\Y'?6M+C;\O"<QDB.MH#+C3N_HAWEQ0`DE&&=
-MG'9P&K@G7XHCBTYYSB\928(^EFY%9Z63`QE,E#N7HTR7]%S;?2!%0O<=^^U`
-MD]E-.R92SSH+S6.+A"NT/MRHITOENB87^)(V5RVWEC7;-8ME,ET4>7VJ821A
-M6B-<9$NBC_YE@=_7E[&C"\+/"MP%K/AI'7=]A77_?H5OP7^V\J(NR&C,+?2A
-M]K,3.]Y[J;]VL9,\?7G_6(&5^,!ZD*)>%OV1'W3,Z%BEKXWQN!P4XQ&-ZY$.
-M2:0L%\O).A2WON:]EE_.:F,S54!T8<J>.-/IY,1NO*W29FXWQ4WNBN=KBE%T
-ME+M*E>C:>,--L^Q9-[>/.YKHDORX[JEUI!@4=;78E-_,^=J0V!JTWJL5"YF%
-M%YL:UFM&O9$^GB'MP\DPR8NBJO57OHJU"9HLU#IET10*5\H)GAYN.TS^.QO/
-MI$._W%LDBS18+P;!N?(9.FT4?.*YWK#XP';:IUN-R:=VRO%8.-O7AY=3?1)5
-M\D\F:*Y[T991AP<3]ZC!]G7<;`5%VU-;%4UL[4,7GW5=/=-AM\7/.C[]IXR;
-M?2+Q\GEQZ8H,G6W\O'3YLF;`TL6J&VQJ#YM-5^EB%J9]I!L.3=^<W7.Y&I&%
-MLQ+Z'0M>_EVJ7KZ\N:Q_+VXN2W77<;[;C+?8C@9:V]V22+^,;=]O^^F38KK*
-M]ZEPL5P5LK&)M1!Y.![Q9C+&U`TXFW_H!D$F131NW?$[%JZX9C9G";JV@V.-
-MDEW=K\@\+3P+R!WE`NJG_05](#C0HJ8I[N)Z%$<Z:[7)BSW>IDMH]F(X&DBN
-M)_I,F"1?>0%=-)7_/O_QB]6KNG2NVP>I5I:)48(?A:6]T>3V8_'(KY3EH26A
-M5*@L'7Z7)'3)5TRR,MN4[T3CAC<;-]V=GHRVJN&:_BDJDS]"E]=S]Q17)Y)1
-M6^0:.(F9-.GMDZ2=NSE\EFK\,VD\+L@4]#BQ!\TB+=#^H04=QMAHZ<`O*-@B
-MCL1)!@']R2MV?"QD/J`;V3J/UV,70WLD.?-/&TIAM/'68R=)2ST15#%D&=B^
-MD:OYMB]?Z\M0*+*G0:>[39L]^7&+:[XFG]W0]3G7AUM?46XVM\IYLUM=[)<M
-MDJ]0?CPY<#\0\-L;@53N0[?_V=;'^GJ^O&BIU-;'AII2?L?/`Y4+!B-[=$TK
-MJ'1E6B1JPY:V"JU\9`.86`>STG2M%,=ZTA-/6?&_40@6OI_T$?K+5Z]<N'3)
-M7\86-\/%Z@LO5)<NGX3AKB[`NG4$VP224::N)NAB46Y9[(>R+\X%N@A[Z<*5
-M<CU9WLM-7*XN5>^ZI7]=H-!2K\V23:Y<PZ]E4AM-_QL!*8%Y]SV[Q\E'^^).
-M1Y=1I3>=7/L-EQ8G+NWNR^["Q=_%XE/AQ<7-Y7"WMCD9$W<OP?I.^/'GG[_P
-MP@O^6NL[^S<GKVVA;;\<SG[JXO-/!"+1<4EQ>>*,9MJ+AE(\+T[&9_OE8+=Y
-M97%Q8@'^TY_^]-1=KFNG:OU[68`/?4US<]CBHM\UO:[[TUSKIK79NE:]7TF^
-MZXVPT6\GAZE_DG6W<5-2[]-5'YO5-,[L06Y=BDPZQ57]`Q.3RXS?-1[CI<IR
-M>E0LJU7E=H]CO8[M9GW7H&RNI:$=MEKA:6P%0;?PBN&Y#JNM4=`)HS:XKAAG
-M1Y&5`UV-UCZZ)Y%W,^E(6XYQ+Z9C>^U5CR*IL/K04N.Q-1D;4\G`0`>B-H_0
-MJ^KVM]O#LZ9%NP:;VD?3U?[)-D:ZJ8\$P0TWA7O1]??%8#-QCS!)-R1G?T3R
-MP][:LU#:<8R2MC9GV6&B@Q(W4`E&?:N?TYNU1Q+B45(L#&EP_J=1$VO7$HNS
-MQ2IYN-'8;.S5;!U<Q^+2@S5U%"CU+<^*3D_:D,F[L[[3[W[JHFZ>^R=S74JX
-M'<S`?K@S?LA(PM/%?&WGM9F3$Q?"N&]-B__UB9N=%$,T&WNE@8V!'YM'NZED
-M57_,T[4GF_7;MMMS*`\Z.!U$[E$]%Q,=/OAAA<O?JOMIT:J.I'1:F8V?-I8V
-M</P8BH;>.PV*^YT/R]F]6Q&RHM6>J$!5GX0^\61VWS[1%"O38IQT(S>:U&=V
-M)-%T3#$>MF2!GC1^],$_25+\6L:M2[C?9.G,2Y>29\?CY3E-/!T5%CNC;OP]
-M=/5BQWU\9-UVHQPHR40G'Z8]70$O?\I21C9QF>@6D;)!ZC:A->"ZO-SN3(3C
-M'^MT/R&2>8/,273`K6_=P*TX\RB2Q!_&A[K@,[T?LOVR)..6_[&4'JHK&M\A
-M*2=F"K.1Q=/6B7V.VQA2\FENG'EY^6RVG^7["5(_CF0(,])R7@TWT[;,=/WH
-MM5AG',:2\7'Q<*Y\,O0!QE:B_$98^0S1Q.-I6I#**$^O?OH5EDR7D?3ID.S4
-M%_3HI'AHR#\<4RZ_%$6C'&BZQ']!9[<RR@ILSF]7<:4D<@5>-XSUERI^,&R]
-MI=OHF+Y(,`Y_<F7)PJ@U5QJ-"^7Q4C`27[**J(]TCJ@#UND1G&X0MD<]6U[4
-M'Q%56S.Z0>!_O9>[K2>-2Q&.'S8&-OW4G4(K2'Y^/#'[E29M;[VV]7+SO#W=
-MVK^C:X3EX_,3/Y6J]=NGNFVO#R])`.L[&]%!-E_\<E2G*(?Q2]U!K]J-3WK2
-MM"W(W.Z.Y&.UE59'=^;*[=7UG<#V>(/5Q+;HEW6Z,PQG#^SO2T=Q>R'I5T?Z
-M^[:#:CMV)]IR9+DH4PP:[/>;+_<BR;=ZEL4R>+TCTW;W:NFE.UDOJO9[3PO`
-MCR[L_&#Z%Z_Z.]<+Q<]>BQ^\ZGK.TW[TZC;+=6<Y:*>ZCUU."E*W-GYDV]<Z
-M83X<1=)QYG%<#`QE#E:S7V_\]$@*U<7G)6J-H!CL]W3Z(<WCQ*]TK1'0KQ];
-MJ;7YHE0.&7OKQO&I-!FZ.&7SA(6B)]7Y@U1DK>7)Q(]Q(M\BZ=Z4=.)N`3<>
-M:*LMXPWWH(B4D'5[K$IZ#AU'V(-&[OFCR]7STI>T=?5<CW1+:F<>_XGL>7WZ
-M2+=-;,=J_K$GK36%Q[\=NJN/./I9X\Q1)Y-B/A],[&J56UQ-?3FQNS5^UYK>
-M^O)+3=8GC&/VG7\&/2\M\V'/GJ_?D5E78@^7V/.$EH76?DL]=;^-F?>_LG//
-M(9;/A[D15J"/B5C+:_L44J*F[UZ+INYPZ_S<"MVPE43ZB,!PD,H%`O]H=GN\
-MK^QV4%N/I;$]IA_9@E3D=H.2LL6+\N`@M02VA=+'3RP>[A^,[_2),'4PX!>7
-M7*<]<0]2));K*[7]9MV>(MC9W;ZNX_Y&4T9(*_6M9GTU7-NMU\/MM7!EO;9[
-MO3ZOQ^W6]8BM[?!&;7>WMK5W*UB3,=5$`'+4MGLLX>9>?6LOW*GORGAK3T);
-MOA76=G8D\-KR1CW<J-VHAG+02GUG+[BQ7M\*MS7X&PV)3U/&9W)"8RN\L=O8
-M*YYS6-G>N;7;N+Z^%ZYO;ZS6=Z55WEJ](%>W$X.=VNY>H][4>+S26)V^J8_6
-MFA+MCX8W&GOKV_M[9>3UYFI;M\*7&UNK\T&]H0%)G'9VZTV]?PF[L2DQKJ_.
-M2V16-O97)2[2=$H(6]M[;B0IA^UM6]($_M@B=(V,A+]9WY7TV]JK+3<V&G))
-MB72XUMC;DDN$FG:UT&*^(L-3N8G]W9WM9ET?N]4DE$`DP7<;S9>E!RH2]C/[
-MM3(@25T)8[.VM6(9I;&8R$B]W?#6]KX^=RSWO;$ZE2B:4/5PM;Y67]EKO"+9
-M*T?*99K[F_7`I7=SSQ)H8R/<JJ](?&N[M\)F??>5QHJEPVY]I];8U51:V=[=
-MU5"VMW258DO+1_T5S?W]K0V]S]WZ9_;E3IY2!O3LVG4I9YJ,$SD>W&C(935O
-M'L_V>3M%OK!LM\2[%=Y8WPXW:[?"S>W5QMHM7S`"N6*CN;?;D`R;+@^2F.-R
-M65O>UKM?EO@T+%H2$4T*2=A@M;99NUYO3F2_7?IZ?:N^6]N8#YL[]96&OI#O
-MI=!)+F^X])#Z\YE]S;_:1A%(6).,U!"T!+K,"K7V:2G;*DJ'7/NQ&AG,CJ_]
-M9,D+-[:;5LQ6:WLU#<K^+M?UZ-WZEJ17?55RI+:RLK\KE4J/T#,D-LU]J6:-
-M+9<I>K]6CQN[JV%1DZQPKM4:&_N[6KJ"R124*V]+$FJ05LHF,L0=T9R;MS(0
-M-M;D4BOK/O>"HK[ZC%N7K%BNRV&UU5<:5N=<PD@M:#9\FFS[$'PZ2A'[_JP4
-M!45/]>3S%T5GY9_RD:YF/"$I!U>!:V_U5Z2;^@SP=OE_-M"T.4LPV7&UK..Z
-M-"__7-1_EO2?Q7!%9L<R'8C#S5A"[4_T:T\Y>REL+&_*Q]+)^)^#!_9<PZX>
-ME(6[L>U1MZN!?#[1`3ZMUWM:IQ<^WND%C_\`3A_Q&<:2#KY#G0^G.SK?7TWT
-M<\'?JK^:Z`/=+"@HXR3CCUBFJO;+NM"MZ>I/)![[:4[F>G/MFJW3DT\"-X5)
-M._-EO^KBZ:Z>35S^O;K*^6!\JILR'466%7Y(9V-_C7Y;IS1)YA=C!Z.#7M+2
-M(4J@=ZW[)_ZG&%-/HQ<+[47B%[OPQ:\SYFT.F<O45'_ZJ^&6*6@YO5+;W:I?
-M;]2EI]G8V-ZR?D$C)^WV]@W7AULSHQ5+.H7F]MJ>]%!U;6P;>\VB;PRTT5IM
-M6!L>OF>8TIZN;-0:FU;?M;DL:VC1C5JS:>^*9N_&>FVON2UMP:ZT2,W]#>O0
-MUW:W-\<MX&-1<[?U6,WP6[<VTQIFY3.69;*Y'ZB/AEK>]7R9;?AO5B=3>R6U
-M7^/;3I-F4GE8=?*PEU::U97-_6I]=5]#:G53F2K))<LU[:8^?=S2'Q5_IQH<
-M[DC&90>CH4R7=VKATO,7ERXM7+KZPJ)&4`MIHLM7Q[&;M.CFO3XC806Y+&VG
-M_H?L^@2=UKK'+QBXQ3W7!%@B3%5KG5OZ"?WWJ>&4=M/O%,MD)"L*I[:.>\E1
-MN)P,V^&LO+J]>UM?O[0E]]?KZ>/E<T%0.5NI5,[I__G:YRN5#Q:O7ZM4/N1?
-MI_+Y3_C7G_Y"I?(1__K#\OF<_/V`_)>_5:E4_>N[\OK21)B?\*__ZA<JE17_
-M^JI\ON%??T%>[\M?C<=/R.O;_O-?D=>?]:__3%Z/?/BO2?C_Q']^5\+\HOQ]
-M3O[[S5^J5'[=O];X_#/Y6[5?W>ELJ5(]D!SJ5VZW>EGEMB[*5FX?IGEZ]U0^
-M2GN5V\/TI'([:^G:DWZCOV^IW):2I8_&R`>Q?^&.J"[)JUB:(LU5.6RH.Q7Z
-M_QIUN_CH*!W*.WT877*^4HW[;8L%````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-M````````````````````````````````````````````````````````````
-G````````````````````````````````````_I_ZORB<'5@`0`L`
-`
-end
diff --git a/emulators/pcemu/patches/patch-aa b/emulators/pcemu/patches/patch-aa
deleted file mode 100644
index 8a8af3f22ff..00000000000
--- a/emulators/pcemu/patches/patch-aa
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2000/09/24 19:29:56 hubertf Exp $
-
---- Makefile.orig Wed Jun 22 10:29:06 1994
-+++ Makefile
-@@ -49,16 +49,21 @@
- # been known to crash the emulator when running on certain machines (80x86
- # based PCs under Linux, and HPs running HPUX).
-
-+.include "Makefile.inc"
-+
- CC = gcc
--OPTIONS = -DBOOT720 -DBIG_ENDIAN -DALIGNED_ACCESS -DBIGCASE -DINLINE_FUNCTIONS
--XROOT = /usr/local/X11R5
--CFLAGS = -I$(XROOT)/include -O2 #-fomit-frame-pointer
-+#OPTIONS = -DBOOT720 -DBIG_ENDIAN -DALIGNED_ACCESS -DBIGCASE -DINLINE_FUNCTIONS
-+OPTIONS = -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS \
-+ -DBOOTFILE=\"${PREFIX}/lib/pcemu/DriveA\"
-+#XROOT = /usr/local/X11R5
-+XROOT = ${X11BASE}
-+CFLAGS = -I$(XROOT)/include -O2 -pipe #-fomit-frame-pointer
-
- # You may need to add -N to the LFLAGS if you get sporadic segmentation
- # faults. So far I have only needed to do this when compiling under Linux
- # as Xlib seems to be mysteriously writing to its text segment
-
--LFLAGS = -L$(XROOT)/lib
-+LFLAGS = -Wl,-R${XROOT}/lib -L$(XROOT)/lib
- LIBRARIES = -lXext -lX11
- OFILES = main.o cpu.o bios.o vga.o vgahard.o debugger.o xstuff.o \
- hardware.o mfs.o
-@@ -86,3 +91,28 @@
-
- clean:
- rm $(PROGNAME) *.o
-+
-+bootstrapper:
-+ (cd bootstrap; make unpack)
-+
-+#mode 0666 is required for DriveA, alas
-+install: pcemu bootstrapper
-+ -mkdir -p ${LOCALPREFIX}/lib/pcemu \
-+ ${LOCALPREFIX}/lib/pcemu/doc \
-+ ${LOCALPREFIX}/lib/pcemu/font \
-+ ${LOCALPREFIX}/lib/pcemu/C \
-+ ${LOCALPREFIX}/bin
-+ install -c -s -o bin -g bin pcemu ${LOCALPREFIX}/bin/
-+ install -c -m 666 bootstrap/display.bin \
-+ ${LOCALPREFIX}/lib/pcemu/DriveA
-+ install -c -m 644 BUGS CHANGES README TODO bootstrap/README.BSD \
-+ programs/lredir.readme \
-+ ${LOCALPREFIX}/lib/pcemu/doc/
-+ rm -f ${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
-+ gzip --best < report.ps > ${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
-+ rm -f ${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
-+ bdftopcf vga.bdf | compress > ${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
-+ mkfontdir ${LOCALPREFIX}/lib/pcemu/font
-+ install -c -m 644 programs/vga50.com programs/config.sys \
-+ programs/dumpdisk.exe programs/lredir.exe programs/emufs.sys \
-+ ${LOCALPREFIX}/lib/pcemu/C
diff --git a/emulators/pcemu/patches/patch-ab b/emulators/pcemu/patches/patch-ab
deleted file mode 100644
index 63ca983d882..00000000000
--- a/emulators/pcemu/patches/patch-ab
+++ /dev/null
@@ -1,70 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/07/09 12:45:23 wiz Exp $
-
---- cpu.c.orig 1994-06-22 16:24:50.000000000 +0200
-+++ cpu.c
-@@ -253,7 +253,7 @@ static INLINE2 void i_ ## name ## _axd16
-
-
- #define JumpCond(name, cond) \
--static INLINE2 void i_j ## name ## (void) \
-+static INLINE2 void i_j ## name (void) \
- { \
- register int tmp = (int)((INT8)GetMemInc(c_cs,ip)); \
- if (cond) ip = (WORD)(ip+tmp); \
-@@ -1127,6 +1127,7 @@ static INLINE2 void i_es(void)
-
- static INLINE2 void i_daa(void)
- {
-+ /* Opcode 0x27 */
- if (AF || ((*bregs[AL] & 0xf) > 9))
- {
- *bregs[AL] += 6;
-@@ -1300,6 +1301,30 @@ static INLINE2 void i_cs(void)
- c_ss = SegToMemPtr(SS);
- }
-
-+static INLINE2 void i_das(void)
-+{
-+ /* Opcode 0x2f */
-+ if (AF || ((*bregs[AL] & 0xf) > 9))
-+ {
-+ *bregs[AL] -= 6;
-+ AF = 1;
-+ }
-+ else
-+ AF = 0;
-+
-+ if (CF || (*bregs[AL] > 0x9f))
-+ {
-+ *bregs[AL] -= 0x60;
-+ CF = 1;
-+ }
-+ else
-+ CF = 0;
-+
-+ SetPF(*bregs[AL]);
-+ SetSFB(*bregs[AL]);
-+ SetZFB(*bregs[AL]);
-+}
-+
-
- /* most XOR instructions go here */
-
-@@ -4140,7 +4165,7 @@ static INLINE2 void i_notdone(void)
- {
- fprintf(stderr,"Error: Unimplemented opcode %02X at cs:ip = %04X:%04X\n",
- c_cs[ip-1],sregs[CS],ip-1);
-- exit(1);
-+/* exit(1); */
- }
-
-
-@@ -4218,7 +4243,7 @@ void execute(void)
- case 0x2c: i_sub_ald8(); break;
- case 0x2d: i_sub_axd16(); break;
- case 0x2e: i_cs(); break;
-- case 0x2f: i_notdone(); break;
-+ case 0x2f: i_das(); break;
- case 0x30: i_xor_br8(); break;
- case 0x31: i_xor_wr16(); break;
- case 0x32: i_xor_r8b(); break;
diff --git a/emulators/pcemu/patches/patch-ac b/emulators/pcemu/patches/patch-ac
deleted file mode 100644
index 2127ce91e7b..00000000000
--- a/emulators/pcemu/patches/patch-ac
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ac,v 1.5 2005/09/06 08:10:58 abs Exp $
-
---- mfs.c.orig 1994-06-22 09:24:51.000000000 -0500
-+++ mfs.c
-@@ -319,17 +319,24 @@ TODO:
- #include <errno.h>
- #include <sys/param.h>
- #include <stdlib.h>
-+#if !__STDC__
- #include <malloc.h>
-+#endif
-
--#ifdef SOLARIS
-+#if defined(SOLARIS) || (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900)
- #include <fcntl.h>
- #include <sys/statvfs.h>
- #endif
-
- #if defined(SGI) || defined(RS6000)
--#include <sys/statfs.h>
-+# include <sys/statfs.h>
- #else
--#include <sys/vfs.h>
-+# include <sys/param.h>
-+# if BSD >= 199103
-+# include <sys/mount.h>
-+# else
-+# include <sys/vfs.h>
-+# endif /* new BSD */
- #endif
-
-
-@@ -768,7 +775,7 @@ get_unix_attr(int mode, int attr)
- int
- get_disk_space(char *cwd, int *free, int *total)
- {
--#ifdef SOLARIS
-+#if defined(SOLARIS) || (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900)
- struct statvfs fsbuf;
- if (statvfs(cwd, &fsbuf) >= 0)
- #else
diff --git a/emulators/pcemu/patches/patch-ad b/emulators/pcemu/patches/patch-ad
deleted file mode 100644
index c254e2390af..00000000000
--- a/emulators/pcemu/patches/patch-ad
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2004/07/09 12:45:03 wiz Exp $
-
---- main.c.orig 1994-06-22 16:24:50.000000000 +0200
-+++ main.c
-@@ -39,6 +39,18 @@ void exit_emu(void)
- exit(0);
- }
-
-+static char *set_keymap(char *buf)
-+{
-+ char c;
-+ int code;
-+
-+ if(sscanf(buf, " %*s %i=%c", &code, &c) != 2)
-+ return "usage: keymap code=char";
-+ if(put_scan_table(code, (unsigned char)c))
-+ return "bad value for keymap";
-+ return 0;
-+}
-+
-
- void check_error(char *msg, int line)
- {
-@@ -89,6 +101,8 @@ void read_pcemurc(void)
- check_error(set_update_rate(strtol(value, NULL,10)), line);
- else if (strcasecmp(keyword,"cursorspeed") == 0)
- check_error(set_cursor_rate(strtol(value, NULL,10)), line);
-+ else if (strcasecmp(keyword,"keymap") == 0)
-+ check_error(set_keymap(buffer), line);
- else
- check_error("Syntax error in .pcemu file", line);
- }
diff --git a/emulators/pcemu/patches/patch-ae b/emulators/pcemu/patches/patch-ae
deleted file mode 100644
index 595dfe19be2..00000000000
--- a/emulators/pcemu/patches/patch-ae
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2004/07/09 12:45:03 wiz Exp $
-
---- programs/config.sys.orig 1994-06-22 16:29:25.000000000 +0200
-+++ programs/config.sys
-@@ -1,2 +1,3 @@
--device=emufs.sys /
-+device=\emufs.sys /usr/local/lib/pcemu/C
- stacks 9,512
-+
diff --git a/emulators/pcemu/patches/patch-af b/emulators/pcemu/patches/patch-af
deleted file mode 100644
index 7448d862e1e..00000000000
--- a/emulators/pcemu/patches/patch-af
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-af,v 1.3 2004/07/09 12:45:03 wiz Exp $
-
---- cpu.h.orig 1994-06-22 16:24:50.000000000 +0200
-+++ cpu.h
-@@ -113,13 +113,13 @@
- format and back again. Obviously there is nothing to do for little-endian
- machines... */
-
--#if defined(LITTLE_ENDIAN)
-+#if BYTE_ORDER == LITTLE_ENDIAN
- # define ChangeE(x) (WORD)(x)
- #else
- # define ChangeE(x) (WORD)(((x) << 8) | ((BYTE)((x) >> 8)))
- #endif
-
--#if defined(LITTLE_ENDIAN) && !defined(ALIGNED_ACCESS)
-+#if BYTE_ORDER == LITTLE_ENDIAN && !defined(ALIGNED_ACCESS)
- # define ReadWord(x) (*(x))
- # define WriteWord(x,y) (*(x) = (y))
- # define CopyWord(x,y) (*x = *y)
diff --git a/emulators/pcemu/patches/patch-ag b/emulators/pcemu/patches/patch-ag
deleted file mode 100644
index c69a5436e40..00000000000
--- a/emulators/pcemu/patches/patch-ag
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2001/10/25 20:50:39 agc Exp $
-
---- /dev/null Thu Oct 25 21:39:38 2001
-+++ Makefile.inc Thu Oct 25 21:42:36 2001
-@@ -0,0 +1,5 @@
-+#
-+# Makefile.inc
-+#
-+
-+LOCALPREFIX = ${PREFIX}
diff --git a/emulators/pcemu/patches/patch-ah b/emulators/pcemu/patches/patch-ah
deleted file mode 100644
index 8da1b630ccc..00000000000
--- a/emulators/pcemu/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2004/07/09 12:45:23 wiz Exp $
-
---- mfs_link.h.orig 1994-06-22 16:24:51.000000000 +0200
-+++ mfs_link.h
-@@ -41,7 +41,7 @@ extern unsigned char *memory;
-
-
- #define REGS vm86s.regs
--#define REG(reg) (REGS.##reg)
-+#define REG(reg) (REGS.reg)
-
- #define CF (1 << 0)
- #define TF (1 << 8)
diff --git a/emulators/pcemu/patches/patch-ai b/emulators/pcemu/patches/patch-ai
deleted file mode 100644
index 25e4257abf1..00000000000
--- a/emulators/pcemu/patches/patch-ai
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2004/07/09 12:45:03 wiz Exp $
-
---- mfs.h.orig 1994-06-22 16:24:51.000000000 +0200
-+++ mfs.h
-@@ -45,7 +45,9 @@ typedef unsigned char boolean_t;
-
- #include "mfs_link.h"
-
-+#if BSD < 199306 /* newer BSDs have it in <stdio.h> */
- extern char *sys_errlist[];
-+#endif
-
- #if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000)
- #define strerror(x) sys_errlist[x]
diff --git a/emulators/pcemu/patches/patch-aj b/emulators/pcemu/patches/patch-aj
deleted file mode 100644
index cf3b8241247..00000000000
--- a/emulators/pcemu/patches/patch-aj
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2004/07/09 12:45:03 wiz Exp $
-
---- xstuff.c.orig 1994-06-22 16:24:51.000000000 +0200
-+++ xstuff.c
-@@ -316,7 +316,7 @@ void flush_X(void)
- }
-
-
--static BYTE scan_table1[] =
-+static BYTE scan_table1[256 - 0x20] =
- {
- 0x39, 0x02,
- #ifdef KBUK /* double quotes, hash symbol */
-@@ -360,6 +360,7 @@ static BYTE scan_table1[] =
- #else
- 0x29,
- #endif
-+ 0
- };
-
-
-@@ -461,6 +462,16 @@ static unsigned translate(KeySym key)
- }
-
-
-+int put_scan_table(BYTE code, unsigned char c)
-+{
-+ /* interface to overload scan_table1 from .pcemurc */
-+ if(c < ' ' || c >= ' ' + sizeof scan_table1)
-+ return 1;
-+ scan_table1[c - ' '] = code;
-+ return 0;
-+}
-+
-+
- void process_Xevents(void)
- {
- #define KEY_BUFFER_SIZE 100
diff --git a/emulators/pcemu/patches/patch-ak b/emulators/pcemu/patches/patch-ak
deleted file mode 100644
index 8046d4ce982..00000000000
--- a/emulators/pcemu/patches/patch-ak
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2004/07/09 12:45:03 wiz Exp $
-
---- xstuff.h.orig 1994-06-22 16:24:51.000000000 +0200
-+++ xstuff.h
-@@ -17,6 +17,7 @@
-
- void start_X(void);
- void end_X(void);
-+int put_scan_table(BYTE, unsigned char);
- void process_Xevents(void);
- void flush_X(void);
-
diff --git a/emulators/peace/DESCR b/emulators/peace/DESCR
deleted file mode 100644
index 1f69eb1ac60..00000000000
--- a/emulators/peace/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-PEACE is a set of programs to run Win32 executables on NetBSD.
diff --git a/emulators/peace/MESSAGE b/emulators/peace/MESSAGE
deleted file mode 100644
index 45ccf744ec4..00000000000
--- a/emulators/peace/MESSAGE
+++ /dev/null
@@ -1,18 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2002/09/24 12:29:59 wiz Exp $
-
-To enable the kernel part of PEACE, run the following:
- # modload /usr/lkm/compat_pecoff.o
- # modload /usr/lkm/exec_pecoff.o
-or enable COMPAT_PECOFF in your kernel configuration.
-Then, run ${LOCALBASE}/emul/pecoff/usr/bin/peace-setup to
-initialize PEACE runtime.
-
-This version of PEACE requires TrueType fonts for GUI
-applications, and supports only TrueColor X server.
-
-You have to set the following environment variables:
- $DLLPATH $PEACE_FONTPATH $PEACE_LOCALE
-See http://chiharu.hauN.org/peace/install.html `Settings'
-
-===========================================================================
diff --git a/emulators/peace/Makefile b/emulators/peace/Makefile
deleted file mode 100644
index 3366414e035..00000000000
--- a/emulators/peace/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2005/06/09 14:25:49 kent Exp $
-#
-PEACE_VERSION= 0.0.20050609
-DISTNAME= peace-${PEACE_VERSION}
-SITES_peace-0.0.20050609.tar.gz=http://chiharu.hauN.org/peace/dist/
-CATEGORIES= emulators
-
-MAINTAINER= kent@NetBSD.org
-HOMEPAGE= http://chiharu.hauN.org/peace/
-COMMENT= Enable to run Win32 executables
-
-DISTFILES+= peace-${PEACE_VERSION}.tar.gz
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/}
-ONLY_FOR_PLATFORM= NetBSD-1.6Z[D-Z]*-* NetBSD-[2-9]*-*
-DEPENDS+= icu>=2.4nb1:../../textproc/icu
-# bin/showstack requires perl5 and cross-i386-netbsdpe
-# DEPENDS+= perl5:../../lang/perl5
-# DEPENDS+= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
-
-BUILD_DEPENDS= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
-BUILD_DEPENDS+= w32api>=2.5:../../devel/w32api
-BUILD_DEPENDS+= x11-links-*:../../pkgtools/x11-links
-
-CPPFLAGS+= -I${WRKDIR}/cross/i386-netbsdpe/include
-LDFLAGS= -L${WRKSRC}/lib
-PECOFFDIR= ${PREFIX}/emul/pecoff
-MAKE_FLAGS+= PECOFFDIR=${PECOFFDIR} \
- LOCALBASE=${LOCALBASE} \
- CROSSBASE=${CROSSBASE} \
- X11BASE=${X11BASE} \
- CHECK_DEPENDENTS=NO
-MAKE_COMMAND= ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
-
-do-install:
- ${INSTALL_PROGRAM_DIR} ${PECOFFDIR}/usr/libexec
- cd ${WRKSRC}/libexec/ld.pe_so && ${MAKE_COMMAND} install
- ${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/lib
- ${_PKG_SILENT}cd ${WRKSRC}/dll && ${MAKE_COMMAND} install
- ${_PKG_SILENT}cd ${WRKSRC}/bin && ${MAKE_COMMAND} install
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/peace/PLIST b/emulators/peace/PLIST
deleted file mode 100644
index 59a9ec5484e..00000000000
--- a/emulators/peace/PLIST
+++ /dev/null
@@ -1,38 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/08/28 15:23:57 kent Exp $
-emul/pecoff/usr/bin/peace-setup
-emul/pecoff/usr/bin/regcomserver
-emul/pecoff/usr/bin/regimport
-emul/pecoff/usr/bin/regutil
-emul/pecoff/usr/bin/showstack
-emul/pecoff/usr/lib/advapi32.dll
-emul/pecoff/usr/lib/avifil32.dll
-emul/pecoff/usr/lib/comctl32.dll
-emul/pecoff/usr/lib/comdlg32.dll
-emul/pecoff/usr/lib/ddraw.dll
-emul/pecoff/usr/lib/dinput.dll
-emul/pecoff/usr/lib/dsound.dll
-emul/pecoff/usr/lib/gdi32.dll
-emul/pecoff/usr/lib/imm32.dll
-emul/pecoff/usr/lib/kernel32.dll
-emul/pecoff/usr/lib/lz32.dll
-emul/pecoff/usr/lib/mpr.dll
-emul/pecoff/usr/lib/msacm32.dll
-emul/pecoff/usr/lib/msvfw32.dll
-emul/pecoff/usr/lib/ole32.dll
-emul/pecoff/usr/lib/shell32.dll
-emul/pecoff/usr/lib/ui.so.dll
-emul/pecoff/usr/lib/user32.dll
-emul/pecoff/usr/lib/version.dll
-emul/pecoff/usr/lib/winmm.dll
-emul/pecoff/usr/lib/winspool.drv
-emul/pecoff/usr/lib/wsock32.dll
-emul/pecoff/usr/libexec/ld.so.dll
-@dirrm emul/pecoff/usr/share/man/cat1
-@dirrm emul/pecoff/usr/share/man/man1
-@dirrm emul/pecoff/usr/share/man
-@dirrm emul/pecoff/usr/share
-@dirrm emul/pecoff/usr/libexec
-@dirrm emul/pecoff/usr/lib
-@dirrm emul/pecoff/usr/bin
-@dirrm emul/pecoff/usr
-@dirrm emul/pecoff
diff --git a/emulators/peace/distinfo b/emulators/peace/distinfo
deleted file mode 100644
index 73e521ed076..00000000000
--- a/emulators/peace/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.9 2005/06/09 14:25:49 kent Exp $
-
-SHA1 (peace-0.0.20050609.tar.gz) = d5caabe54bbe9c98ec833c519b2a6b7eca898075
-RMD160 (peace-0.0.20050609.tar.gz) = dc71e80c6cf12e874dd69e1b02f2ebd70aaabea3
-Size (peace-0.0.20050609.tar.gz) = 580007 bytes
diff --git a/emulators/pearpc/DESCR b/emulators/pearpc/DESCR
deleted file mode 100644
index ff7b5da7038..00000000000
--- a/emulators/pearpc/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-PearPC is an architecture independent PowerPC platform emulator capable of
-running most PowerPC operating systems.
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
deleted file mode 100644
index 65d74967f89..00000000000
--- a/emulators/pearpc/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/07/27 16:21:17 wiz Exp $
-#
-
-DISTNAME= pearpc-0.3.1
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pearpc/}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://pearpc.sourceforge.net/
-COMMENT= PowerPC emulator
-
-GNU_CONFIGURE= yes
-USE_LANGUAGES+= c++
-USE_PKGINSTALL= yes
-
-EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
-
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(MACHINE_ARCH:Mi386)
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+= --enable-cpu=jitc_x86
-.endif
-
-CONFIGURE_ARGS+= --disable-debug
-
-INSTALLATION_DIRS= share/${PKGBASE} bin
-
-do-install:
- ${SED} -e "s,@PREFIX@,${PREFIX}," \
- -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
- ${FILESDIR}/pearpc.sh > ${WRKSRC}/pearpc.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/pearpc.sh ${PREFIX}/bin/pearpc
- ${INSTALL_PROGRAM} ${WRKSRC}/src/ppc ${PREFIX}/share/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/video.x ${PREFIX}/share/${PKGBASE}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${EGDIR}
-
-SUBST_CLASSES= conf
-SUBST_STAGE.conf= post-patch
-SUBST_FILES.conf= ppccfg.example
-SUBST_SED.conf= -e "s|\"nvram\"|\"/tmp/nvram\"|"
-SUBST_MESSAGE.conf= "Fixing configuration file."
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.pearpc
-PKG_SUPPORTED_OPTIONS= sdl
-
-.include "../../mk/bsd.options.mk"
-
-.if empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+= --enable-ui=x11
-.else
-CONFIGURE_ARGS+= --enable-ui=sdl
-. include "../../devel/SDL/buildlink3.mk"
-.endif
-
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/pearpc/PLIST b/emulators/pearpc/PLIST
deleted file mode 100644
index 6f86fc0fdea..00000000000
--- a/emulators/pearpc/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/20 19:33:19 xtraeme Exp $
-bin/pearpc
-share/pearpc/ppc
-share/pearpc/video.x
-share/examples/pearpc/ppccfg.example
-@dirrm share/examples/pearpc
-@dirrm share/pearpc
diff --git a/emulators/pearpc/distinfo b/emulators/pearpc/distinfo
deleted file mode 100644
index db5ce7a7229..00000000000
--- a/emulators/pearpc/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (pearpc-0.3.1.tar.bz2) = dd72099397045dfb5b2b74bc8119ca54b7bcfeba
-RMD160 (pearpc-0.3.1.tar.bz2) = 2a901d3da7086598e86af2b4bf1b549de7b48a8b
-Size (pearpc-0.3.1.tar.bz2) = 641965 bytes
-SHA1 (patch-aa) = 4f5355b989f963ef030b1ae28d4f5fce6b0f462d
diff --git a/emulators/pearpc/files/pearpc.sh b/emulators/pearpc/files/pearpc.sh
deleted file mode 100644
index a5022cb9d5d..00000000000
--- a/emulators/pearpc/files/pearpc.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: pearpc.sh,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $
-
-cd @PREFIX@/share/pearpc && exec ./ppc "$@" @PKG_SYSCONFDIR@/ppccfg.conf
-exit 0
diff --git a/emulators/pearpc/patches/patch-aa b/emulators/pearpc/patches/patch-aa
deleted file mode 100644
index ceacebdf044..00000000000
--- a/emulators/pearpc/patches/patch-aa
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/09/30 22:59:47 xtraeme Exp $
-
---- src/system/osapi/posix/systimer.cc.orig 2004-10-01 00:35:34.000000000 +0200
-+++ src/system/osapi/posix/systimer.cc 2004-10-01 00:37:26.000000000 +0200
-@@ -31,7 +31,11 @@
- static const int kTimerSignal = SYSTIMER_SIGNAL;
- #ifdef USE_POSIX_REALTIME_CLOCK
- static void signal_handler(int signo, siginfo_t *extra, void *junk);
-+# ifdef __NetBSD__
-+static const int kClockRT = CLOCK_PROF;
-+# else
- static const int kClockRT = CLOCK_PROCESS_CPUTIME_ID;
-+# endif
- static const int kClock = CLOCK_REALTIME;
- #else
- # ifdef USE_POSIX_SETITIMER
-@@ -70,7 +74,11 @@
- #ifdef USE_POSIX_REALTIME_CLOCK
- static void signal_handler(int signo, siginfo_t *extra, void *junk)
- {
-+# ifndef __NetBSD__
- sys_timer_struct *timer = reinterpret_cast<sys_timer_struct *>(extra->si_value.sival_ptr);
-+# else
-+ sys_timer_struct *timer = reinterpret_cast<sys_timer_struct *>(extra->si_sigval.sival_ptr);
-+# endif
- timer->callback(reinterpret_cast<sys_timer>(timer));
- }
- #else
diff --git a/emulators/qemu/DESCR b/emulators/qemu/DESCR
deleted file mode 100644
index d939711a261..00000000000
--- a/emulators/qemu/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-QEMU is a FAST! processor emulator using dynamic translation to achieve
-good emulation speed, QEMU has two operating modes:
-
- * Full system emulation. In this mode, QEMU emulates a full system
- (for example a PC), including a processor and various peripherals.
- It can be used to launch different Operating Systems without rebooting
- the PC or to debug system code.
- * User mode emulation (Linux host only). In this mode, QEMU can launch
- Linux processes compiled for one CPU on another CPU. It can be used
- to launch the Wine Windows API emulator or to ease cross-compilation
- and cross-debugging.
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
deleted file mode 100644
index 0b1ac7747e4..00000000000
--- a/emulators/qemu/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2005/11/04 21:10:42 dbj Exp $
-#
-
-DISTNAME= qemu-0.7.2
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://fabrice.bellard.free.fr/qemu/
-
-MAINTAINER= xtraeme@NetBSD.org
-HOMEPAGE= http://fabrice.bellard.free.fr/qemu/
-COMMENT= CPU emulator using dynamic translation
-
-CONFLICTS+= qemu-bin-*
-NOT_FOR_PLATFORM= NetBSD-1.[0-6]*-*
-
-USE_TOOLS+= gmake
-HAS_CONFIGURE= yes
-
-GCC_REQD+= 3.0
-
-CONFIGURE_ARGS+= --prefix=${PREFIX}
-CONFIGURE_ARGS+= --interp-prefix=${PREFIX}/share/qemu
-
-SUBST_CLASSES+= snd
-SUBST_STAGE.snd= post-patch
-SUBST_FILES.snd= audio/ossaudio.c
-SUBST_SED.snd= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
-SUBST_MESSAGE.snd= "Fixing hardcoded audio device."
-
-# Remove -march/-mcpu from CFLAGS, otherwise it will fail
-# to build in the SSE code.
-BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
-
-.include "../../mk/compiler.mk"
-
-# qemu cannot yet use gcc 4, see the faq/mailing lists
-# (hint: use gcc_select on darwin/macos to choose gcc 3.3 instead)
-.if !empty(CC_VERSION:Mgcc-4*)
-PKG_FAIL_REASON+= "${PKGNAME} cannot use ${CC_VERSION}"
-.endif
-
-post-install:
- ${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
- ${PREFIX}/share/doc/qemu
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/qemu/PLIST b/emulators/qemu/PLIST
deleted file mode 100644
index 59d9d1a0534..00000000000
--- a/emulators/qemu/PLIST
+++ /dev/null
@@ -1,57 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2005/10/23 19:56:42 rillig Exp $
-bin/qemu
-bin/qemu-img
-bin/qemu-system-mips
-bin/qemu-system-ppc
-bin/qemu-system-sparc
-bin/qemu-system-x86_64
-man/man1/qemu-img.1
-man/man1/qemu.1
-share/doc/qemu/Makefile.multinode-NetBSD
-share/doc/qemu/qemu-doc.html
-share/doc/qemu/qemu-tech.html
-share/qemu/bios.bin
-share/qemu/keymaps/ar
-share/qemu/keymaps/common
-share/qemu/keymaps/da
-share/qemu/keymaps/de
-share/qemu/keymaps/de-ch
-share/qemu/keymaps/en-gb
-share/qemu/keymaps/en-us
-share/qemu/keymaps/es
-share/qemu/keymaps/et
-share/qemu/keymaps/fi
-share/qemu/keymaps/fo
-share/qemu/keymaps/fr
-share/qemu/keymaps/fr-be
-share/qemu/keymaps/fr-ca
-share/qemu/keymaps/fr-ch
-share/qemu/keymaps/hr
-share/qemu/keymaps/hu
-share/qemu/keymaps/is
-share/qemu/keymaps/it
-share/qemu/keymaps/ja
-share/qemu/keymaps/lt
-share/qemu/keymaps/lv
-share/qemu/keymaps/mk
-share/qemu/keymaps/modifiers
-share/qemu/keymaps/nl
-share/qemu/keymaps/nl-be
-share/qemu/keymaps/no
-share/qemu/keymaps/pl
-share/qemu/keymaps/pt
-share/qemu/keymaps/pt-br
-share/qemu/keymaps/ru
-share/qemu/keymaps/sl
-share/qemu/keymaps/sv
-share/qemu/keymaps/th
-share/qemu/keymaps/tr
-share/qemu/linux_boot.bin
-share/qemu/ppc_rom.bin
-share/qemu/proll.elf
-share/qemu/vgabios-cirrus.bin
-share/qemu/vgabios.bin
-share/qemu/video.x
-@dirrm share/qemu/keymaps
-@dirrm share/qemu
-@dirrm share/doc/qemu
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
deleted file mode 100644
index 30d49c7e2ce..00000000000
--- a/emulators/qemu/distinfo
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: distinfo,v 1.14 2005/11/04 21:10:42 dbj Exp $
-
-SHA1 (qemu-0.7.2.tar.gz) = 4daeccb57448eacc444152f30b5d84dfcca89dfe
-RMD160 (qemu-0.7.2.tar.gz) = 1d2dcc8f43ff4b4b9aa045c64e38c9a10140b13e
-Size (qemu-0.7.2.tar.gz) = 1341993 bytes
-SHA1 (patch-aa) = 455575215bad8864da285e1979da9ff7d8476a24
-SHA1 (patch-ac) = fa190b38658ad487a6ddf6d78cc3cbb262c67702
-SHA1 (patch-af) = 221d6d85aa898cb27462806faab58ee2a9871a1c
-SHA1 (patch-ag) = 4bb7ae18fd0f0c5ecfa2ab2594d1de5b33660495
-SHA1 (patch-ah) = 134f47583dbed94e83671ca6197106805b13f759
-SHA1 (patch-ai) = 480cc80a451488a1376f99ed152a917116759cbf
-SHA1 (patch-aj) = d050b84489e74036994c19e982a363d74df797ab
-SHA1 (patch-ak) = 0153a85109baa2314dc53d6cbbacb98b0c517099
-SHA1 (patch-al) = d87d8c4bd0a422b0e1c2b52d049e9ac807cf1375
-SHA1 (patch-am) = b12f4ed6bbeb4d89c43ca06b3b3ff25c14386c47
-SHA1 (patch-an) = 10e1c5edae487be4ae43648649ad419a3b6d7508
-SHA1 (patch-ao) = 1899c03e37b2409df13c6f69bb21c3debf0aa4e8
-SHA1 (patch-ap) = b45baf052fbf8319596c37a2690c343f14b33a11
-SHA1 (patch-as) = 0df64b325b758a88fe61590e129bab2b3f99ce63
-SHA1 (patch-au) = aa2712c382a67beef9225e710e7735ba15995a41
-SHA1 (patch-av) = bd88088f41b6b3c256eec933e5f267fc432e58fa
-SHA1 (patch-aw) = 6299964fb3a747e8f5dfe4354e66722030ee9a75
-SHA1 (patch-ax) = b6eb66859e3ab318ec388d9f33201c27f34677ca
-SHA1 (patch-ay) = 2f2393dbc706b490e3faf05a243a9aa21e634af6
diff --git a/emulators/qemu/files/Makefile.multinode-NetBSD b/emulators/qemu/files/Makefile.multinode-NetBSD
deleted file mode 100644
index 54dafd9d315..00000000000
--- a/emulators/qemu/files/Makefile.multinode-NetBSD
+++ /dev/null
@@ -1,59 +0,0 @@
-# $Id: Makefile.multinode-NetBSD,v 1.1 2005/10/01 04:12:32 hubertf Exp $
-# Source: http://mail-index.netbsd.org/netbsd-help/2005/03/25/0005.html
-#
-# Starts up two qemu instances and networks bridges them to the local
-# ethernet (ETHER_IF}. Works best with NetBSD configured to use serial
-# consoles in DISK[12]
-#
-# Usage:
-# sudo make netbsd1
-# sudo make netbsd2
-#
-# - Hubert Feyrer <hubert@feyrer.de>
-#
-
-#NETBSD_NOGFX=
-NETBSD_NOGFX= -nographic
-
-ETHER_IF= tlp0
-QEMU_RAM= 20
-DISK1= harddisk.netbsd1
-DISK2= harddisk.netbsd2
-
-
-all: netbsd1 netbsd2
-
-netbsd1: bridge
- ifconfig tap1 create up || echo tap1: already there
- brconfig bridge0 add tap1 up || echo tap1: already on bridge0
- brconfig bridge0 -learn tap1 # real hub mode, step 1b
- brconfig bridge0 flush # real hub more, step 2
- qemu \
- -m ${QEMU_RAM} \
- ${NETBSD_NOGFX} \
- -boot c \
- -tun-fd 3 3<>/dev/tap1 \
- -macaddr de:ad:be:ef:00:01 \
- ${DISK1}
- brconfig bridge0 delete tap1
- ifconfig tap1 destroy
-
-netbsd2: bridge
- ifconfig tap2 create up || echo tap2: already there
- brconfig bridge0 add tap2 up || echo tap2: already on bridge0
- brconfig bridge0 -learn tap2 # real hub mode, step 1c
- brconfig bridge0 flush # real hub mode, step 2
- qemu \
- -m ${QEMU_RAM} \
- ${NETBSD_NOGFX} \
- -boot c \
- -tun-fd 3 3<>/dev/tap2 \
- -macaddr de:ad:be:ef:00:02 \
- ${DISK2}
- brconfig bridge0 delete tap2
- ifconfig tap2 destroy
-
-bridge:
- ifconfig bridge0 create || echo bridge0: already there
- brconfig bridge0 add ${ETHER_IF} || echo bridge0: ${ETHER_IF} already there
- brconfig bridge0 -learn ${ETHER_IF} # real hub mode, step 1a
diff --git a/emulators/qemu/patches/patch-aa b/emulators/qemu/patches/patch-aa
deleted file mode 100644
index 108f238991c..00000000000
--- a/emulators/qemu/patches/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/12/14 01:02:19 dbj Exp $
-
---- bswap.h.orig Sun Nov 14 15:51:33 2004
-+++ bswap.h
-@@ -5,6 +5,12 @@
-
- #include <inttypes.h>
-
-+#ifdef HAVE_MACHINE_BSWAP_H
-+#include <sys/endian.h>
-+#include <sys/types.h>
-+#include <machine/bswap.h>
-+#else
-+
- #ifdef HAVE_BYTESWAP_H
- #include <byteswap.h>
- #else
-@@ -57,6 +63,8 @@ static inline uint64_t bswap64(uint64_t
- {
- return bswap_64(x);
- }
-+
-+#endif /* ! HAVE_MACHINE_BSWAP_H */
-
- static inline void bswap16s(uint16_t *s)
- {
diff --git a/emulators/qemu/patches/patch-ac b/emulators/qemu/patches/patch-ac
deleted file mode 100644
index 42b00b339a6..00000000000
--- a/emulators/qemu/patches/patch-ac
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2005/11/04 21:09:15 dbj Exp $
-
---- vl.c.orig 2005-04-27 16:52:05.000000000 -0400
-+++ vl.c
-@@ -34,7 +34,11 @@
- #include <sys/times.h>
- #include <sys/wait.h>
- #include <termios.h>
-+#ifdef __APPLE__
-+#include "fakepoll.h"
-+#else
- #include <sys/poll.h>
-+#endif
- #include <sys/mman.h>
- #include <sys/ioctl.h>
- #include <sys/socket.h>
-@@ -43,8 +47,10 @@
- #ifdef _BSD
- #include <sys/stat.h>
- #ifndef __APPLE__
-+#ifndef _BSD
- #include <libutil.h>
- #endif
-+#endif
- #else
- #include <linux/if.h>
- #include <linux/if_tun.h>
-@@ -68,7 +74,7 @@
-
- #ifdef CONFIG_SDL
- #ifdef __APPLE__
--#include <SDL/SDL.h>
-+#include <SDL.h>
- #endif
- #endif /* CONFIG_SDL */
-
diff --git a/emulators/qemu/patches/patch-af b/emulators/qemu/patches/patch-af
deleted file mode 100644
index 07a798188b7..00000000000
--- a/emulators/qemu/patches/patch-af
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-af,v 1.3 2005/05/03 11:18:47 xtraeme Exp $
-
---- dyngen-exec.h.orig 2005-04-28 22:23:53.000000000 +0200
-+++ dyngen-exec.h 2005-04-28 22:25:30.000000000 +0200
-@@ -23,7 +23,9 @@
- /* NOTE: standard headers should be used with special care at this
- point because host CPU registers are used as global variables. Some
- host headers do not allow that. */
-+#ifndef __APPLE__
- #include <stddef.h>
-+#endif
-
- typedef unsigned char uint8_t;
- typedef unsigned short uint16_t;
-@@ -44,6 +46,7 @@
- typedef signed long long int64_t;
- #endif
-
-+/*
- #define INT8_MIN (-128)
- #define INT16_MIN (-32767-1)
- #define INT32_MIN (-2147483647-1)
-@@ -56,12 +59,17 @@
- #define UINT16_MAX (65535)
- #define UINT32_MAX (4294967295U)
- #define UINT64_MAX ((uint64_t)(18446744073709551615))
-+*/
-
-+#ifdef __NetBSD__
-+typedef struct __sFILE FILE;
-+#else
- typedef struct FILE FILE;
- extern int fprintf(FILE *, const char *, ...);
- extern int printf(const char *, ...);
- #undef NULL
- #define NULL 0
-+#endif
-
- #ifdef __i386__
- #define AREG0 "ebp"
diff --git a/emulators/qemu/patches/patch-ag b/emulators/qemu/patches/patch-ag
deleted file mode 100644
index 6a0fd5ba2ad..00000000000
--- a/emulators/qemu/patches/patch-ag
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ag,v 1.3 2004/12/14 01:02:19 dbj Exp $
-
---- configure.orig Sun Nov 14 15:51:33 2004
-+++ configure
-@@ -259,7 +259,7 @@ aa="no"
- `$sdl_config --static-libs | grep \\\-laa > /dev/null` && aa="yes"
- sdl_static_libs=`$sdl_config --static-libs`
- if [ "$aa" = "yes" ] ; then
-- sdl_static_libs="$sdl_static_libs `aalib-config --static-libs`"
-+ sdl_static_libs="$sdl_static_libs `aalib-x11-config --static-libs`"
- fi
-
- if $cc -o $TMPE `$sdl_config --cflags 2> /dev/null` $TMPC $sdl_static_libs 2> /dev/null; then
-@@ -314,7 +314,7 @@ else
- if test -z "$prefix" ; then
- prefix="/usr/local"
- fi
--mandir="$prefix/share/man"
-+mandir="$prefix/man"
- datadir="$prefix/share/qemu"
- docdir="$prefix/share/doc/qemu"
- bindir="$prefix/bin"
-@@ -423,6 +423,8 @@ if test "$mingw32" = "yes" ; then
- echo "#define CONFIG_WIN32 1" >> $config_h
- elif test -f "/usr/include/byteswap.h" ; then
- echo "#define HAVE_BYTESWAP_H 1" >> $config_h
-+elif test -f "/usr/include/machine/bswap.h" ; then
-+ echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
- fi
- if test "$darwin" = "yes" ; then
- echo "CONFIG_DARWIN=yes" >> $config_mak
-@@ -566,7 +568,7 @@ if test "$target_user_only" = "no"; then
- fi
- echo -n "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak
- if [ "${aa}" = "yes" ] ; then
-- echo -n " `aalib-config --cflags`" >> $config_mak ;
-+ echo -n " `aalib-x11-config --cflags`" >> $config_mak ;
- fi
- echo "" >> $config_mak
- fi
diff --git a/emulators/qemu/patches/patch-ah b/emulators/qemu/patches/patch-ah
deleted file mode 100644
index 2f82d82e86e..00000000000
--- a/emulators/qemu/patches/patch-ah
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2004/11/09 13:05:34 xtraeme Exp $
-
---- target-i386/cpu.h.orig 2004-07-10 21:20:09.000000000 +0300
-+++ target-i386/cpu.h
-@@ -441,9 +441,15 @@ void cpu_x86_frstor(CPUX86State *s, uint
- /* you can call this signal handler from your SIGBUS and SIGSEGV
- signal handlers to inform the virtual CPU of exceptions. non zero
- is returned if the signal was handled by the virtual CPU. */
-+#ifdef __NetBSD__
-+union siginfo;
-+int cpu_x86_signal_handler(int host_signum, union siginfo *info,
-+ void *puc);
-+#else
- struct siginfo;
- int cpu_x86_signal_handler(int host_signum, struct siginfo *info,
- void *puc);
-+#endif
- void cpu_x86_set_a20(CPUX86State *env, int a20_state);
-
- uint64_t cpu_get_tsc(CPUX86State *env);
diff --git a/emulators/qemu/patches/patch-ai b/emulators/qemu/patches/patch-ai
deleted file mode 100644
index 242d5610a4e..00000000000
--- a/emulators/qemu/patches/patch-ai
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2004/11/09 13:05:34 xtraeme Exp $
-
---- target-ppc/cpu.h.orig 2004-07-10 21:20:09.000000000 +0300
-+++ target-ppc/cpu.h
-@@ -182,9 +182,15 @@ void cpu_ppc_close(CPUPPCState *s);
- /* you can call this signal handler from your SIGBUS and SIGSEGV
- signal handlers to inform the virtual CPU of exceptions. non zero
- is returned if the signal was handled by the virtual CPU. */
-+#ifdef __NetBSD__
-+union siginfo;
-+int cpu_ppc_signal_handler(int host_signum, union siginfo *info,
-+ void *puc);
-+#else
- struct siginfo;
- int cpu_ppc_signal_handler(int host_signum, struct siginfo *info,
- void *puc);
-+#endif
-
- void do_interrupt (CPUPPCState *env);
- void cpu_loop_exit(void);
diff --git a/emulators/qemu/patches/patch-aj b/emulators/qemu/patches/patch-aj
deleted file mode 100644
index f14c0fc5909..00000000000
--- a/emulators/qemu/patches/patch-aj
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-aj,v 1.4 2005/05/25 18:04:57 dbj Exp $
-
---- Makefile.target.orig Wed Apr 27 16:52:05 2005
-+++ Makefile.target Wed May 25 11:39:47 2005
-@@ -14,9 +14,9 @@
- VPATH+=:$(SRC_PATH)/linux-user
- DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
- endif
--CFLAGS=-Wall -O2 -g -fno-strict-aliasing
-+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
- #CFLAGS+=-Werror
--LDFLAGS=-g
-+#LDFLAGS=-g
- LIBS=
- HELPER_CFLAGS=$(CFLAGS)
- DYNGEN=../dyngen$(EXESUF)
-@@ -403,6 +403,9 @@
- sdlaudio.o: sdlaudio.c
- $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
-
-+vl.o: vl.c
-+ $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
-+
- depend: $(SRCS)
- $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
-
-@@ -463,7 +466,7 @@
-
- install: all
- ifneq ($(PROGS),)
-- install -m 755 -s $(PROGS) "$(bindir)"
-+ $(BSD_INSTALL_PROGRAM) $(PROGS) "$(bindir)"
- endif
-
- ifneq ($(wildcard .depend),)
diff --git a/emulators/qemu/patches/patch-ak b/emulators/qemu/patches/patch-ak
deleted file mode 100644
index 386c00ddb51..00000000000
--- a/emulators/qemu/patches/patch-ak
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ak,v 1.5 2005/10/23 19:55:59 rillig Exp $
-
---- Makefile.orig 2005-07-29 18:18:05.000000000 +0200
-+++ Makefile 2005-07-29 18:22:06.000000000 +0200
-@@ -1,10 +1,10 @@
- -include config-host.mak
-
--CFLAGS=-Wall -O2 -g -fno-strict-aliasing
-+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
- ifdef CONFIG_DARWIN
- CFLAGS+= -mdynamic-no-pic
- endif
--LDFLAGS=-g
-+#LDFLAGS=-g
- LIBS=
- DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
- TOOLS=qemu-img$(EXESUF)
-@@ -54,16 +54,16 @@
- common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
-
- install: all
-- mkdir -p "$(bindir)"
-- install -m 755 -s $(TOOLS) "$(bindir)"
-- mkdir -p "$(datadir)"
-- install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
-+ $(BSD_INSTALL_PROGRAM_DIR) $(bindir)
-+ $(BSD_INSTALL_PROGRAM) $(TOOLS) $(bindir)
-+ $(BSD_INSTALL_DATA_DIR) $(datadir)
-+ $(BSD_INSTALL_DATA) pc-bios/bios.bin pc-bios/vgabios.bin \
- pc-bios/vgabios-cirrus.bin \
- pc-bios/ppc_rom.bin pc-bios/video.x \
- pc-bios/proll.elf \
-- pc-bios/linux_boot.bin "$(datadir)"
-- mkdir -p "$(docdir)"
-- install -m 644 qemu-doc.html qemu-tech.html "$(docdir)"
-+ pc-bios/linux_boot.bin $(datadir)
-+ $(BSD_INSTALL_DATA_DIR) $(docdir)
-+ $(BSD_INSTALL_DATA) qemu-doc.html qemu-tech.html "$(docdir)"
- ifndef CONFIG_WIN32
- mkdir -p "$(mandir)/man1"
- install qemu.1 qemu-img.1 "$(mandir)/man1"
diff --git a/emulators/qemu/patches/patch-al b/emulators/qemu/patches/patch-al
deleted file mode 100644
index 75939d164e1..00000000000
--- a/emulators/qemu/patches/patch-al
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-al,v 1.1 2004/11/15 11:35:30 xtraeme Exp $
-
---- osdep.h.orig 2004-11-15 12:01:18.000000000 +0100
-+++ osdep.h 2004-11-15 12:01:55.000000000 +0100
-@@ -2,6 +2,8 @@
- #define QEMU_OSDEP_H
-
- #include <stdarg.h>
-+#include <sys/types.h>
-+#include <sys/signal.h>
-
- int qemu_vsnprintf(char *buf, int buflen, const char *fmt, va_list args);
- void qemu_vprintf(const char *fmt, va_list ap);
-@@ -28,7 +30,7 @@
- struct qemu_sigaction {
- union {
- void (*_sa_handler)(int);
-- void (*_sa_sigaction)(int, struct siginfo *, void *);
-+ void (*_sa_sigaction)(int, siginfo_t *, void *);
- } _u;
- unsigned long sa_flags;
- void (*sa_restorer)(void);
diff --git a/emulators/qemu/patches/patch-am b/emulators/qemu/patches/patch-am
deleted file mode 100644
index 9a9b7e861a4..00000000000
--- a/emulators/qemu/patches/patch-am
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-am,v 1.1 2004/11/15 11:35:30 xtraeme Exp $
-
---- audio/ossaudio.c.orig 2004-11-15 12:07:01.000000000 +0100
-+++ audio/ossaudio.c 2004-11-15 12:07:55.000000000 +0100
-@@ -164,7 +164,7 @@
- goto err;
- }
-
-- if (ioctl (fd, SNDCTL_DSP_NONBLOCK)) {
-+ if (ioctl (fd, SNDCTL_DSP_NONBLOCK, NULL)) {
- dolog ("Could not initialize audio hardware\n"
- "Failed to set non-blocking mode\n"
- "Reason: %s\n",
diff --git a/emulators/qemu/patches/patch-an b/emulators/qemu/patches/patch-an
deleted file mode 100644
index 5840cc26361..00000000000
--- a/emulators/qemu/patches/patch-an
+++ /dev/null
@@ -1,83 +0,0 @@
-$NetBSD: patch-an,v 1.1 2004/11/15 11:35:30 xtraeme Exp $
-
---- audio/mixeng_template.h 7 Nov 2004 18:04:02 -0000 1.1
-+++ audio/mixeng_template.h 15 Nov 2004 09:09:27 -0000
-@@ -35,7 +35,7 @@
- #define HALF HALFT
- #endif
-
--static int64_t inline glue(conv_,IN_T) (IN_T v)
-+static int64_t inline CONV_IN_T (IN_T v)
- {
- #ifdef SIGNED
- return (INT_MAX*(int64_t)v)/HALF;
-@@ -44,7 +44,7 @@
- #endif
- }
-
--static IN_T inline glue(clip_,IN_T) (int64_t v)
-+static IN_T inline CLIP_IN_T (int64_t v)
- {
- if (v >= INT_MAX)
- return IN_MAX;
-@@ -58,50 +58,50 @@
- #endif
- }
-
--static void glue(glue(conv_,IN_T),_to_stereo) (void *dst, const void *src,
-+static void glue(CONV_IN_T,_to_stereo) (void *dst, const void *src,
- int samples)
- {
- st_sample_t *out = (st_sample_t *) dst;
- IN_T *in = (IN_T *) src;
- while (samples--) {
-- out->l = glue(conv_,IN_T) (*in++);
-- out->r = glue(conv_,IN_T) (*in++);
-+ out->l = CONV_IN_T (*in++);
-+ out->r = CONV_IN_T (*in++);
- out += 1;
- }
- }
-
--static void glue(glue(conv_,IN_T),_to_mono) (void *dst, const void *src,
-+static void glue(CONV_IN_T,_to_mono) (void *dst, const void *src,
- int samples)
- {
- st_sample_t *out = (st_sample_t *) dst;
- IN_T *in = (IN_T *) src;
- while (samples--) {
-- out->l = glue(conv_,IN_T) (in[0]);
-+ out->l = CONV_IN_T (in[0]);
- out->r = out->l;
- out += 1;
- in += 1;
- }
- }
-
--static void glue(glue(clip_,IN_T),_from_stereo) (void *dst, const void *src,
-+static void glue(CLIP_IN_T,_from_stereo) (void *dst, const void *src,
- int samples)
- {
- st_sample_t *in = (st_sample_t *) src;
- IN_T *out = (IN_T *) dst;
- while (samples--) {
-- *out++ = glue(clip_,IN_T) (in->l);
-- *out++ = glue(clip_,IN_T) (in->r);
-+ *out++ = CLIP_IN_T (in->l);
-+ *out++ = CLIP_IN_T (in->r);
- in += 1;
- }
- }
-
--static void glue(glue(clip_,IN_T),_from_mono) (void *dst, const void *src,
-+static void glue(CLIP_IN_T,_from_mono) (void *dst, const void *src,
- int samples)
- {
- st_sample_t *in = (st_sample_t *) src;
- IN_T *out = (IN_T *) dst;
- while (samples--) {
-- *out++ = glue(clip_,IN_T) (in->l + in->r);
-+ *out++ = CLIP_IN_T (in->l + in->r);
- in += 1;
- }
- }
diff --git a/emulators/qemu/patches/patch-ao b/emulators/qemu/patches/patch-ao
deleted file mode 100644
index e2a0610f3b6..00000000000
--- a/emulators/qemu/patches/patch-ao
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2004/11/15 11:35:30 xtraeme Exp $
-
---- audio/mixeng.c 7 Nov 2004 18:04:02 -0000 1.1
-+++ audio/mixeng.c 15 Nov 2004 09:09:27 -0000
-@@ -27,6 +27,8 @@
- #include "audio/mixeng.h"
-
- #define IN_T int8_t
-+#define CONV_IN_T conv_int8_t
-+#define CLIP_IN_T clip_int8_t
- #define IN_MIN CHAR_MIN
- #define IN_MAX CHAR_MAX
- #define SIGNED
-@@ -34,17 +36,25 @@
- #undef SIGNED
- #undef IN_MAX
- #undef IN_MIN
-+#undef CLIP_IN_T
-+#undef CONV_IN_T
- #undef IN_T
-
- #define IN_T uint8_t
-+#define CONV_IN_T conv_uint8_t
-+#define CLIP_IN_T clip_uint8_t
- #define IN_MIN 0
- #define IN_MAX UCHAR_MAX
- #include "mixeng_template.h"
- #undef IN_MAX
- #undef IN_MIN
-+#undef CLIP_IN_T
-+#undef CONV_IN_T
- #undef IN_T
-
- #define IN_T int16_t
-+#define CONV_IN_T conv_int16_t
-+#define CLIP_IN_T clip_int16_t
- #define IN_MIN SHRT_MIN
- #define IN_MAX SHRT_MAX
- #define SIGNED
-@@ -52,14 +62,20 @@
- #undef SIGNED
- #undef IN_MAX
- #undef IN_MIN
-+#undef CLIP_IN_T
-+#undef CONV_IN_T
- #undef IN_T
-
- #define IN_T uint16_t
-+#define CONV_IN_T conv_uint16_t
-+#define CLIP_IN_T clip_uint16_t
- #define IN_MIN 0
- #define IN_MAX USHRT_MAX
- #include "mixeng_template.h"
- #undef IN_MAX
- #undef IN_MIN
-+#undef CLIP_IN_T
-+#undef CONV_IN_T
- #undef IN_T
-
- t_sample *mixeng_conv[2][2][2] = {
diff --git a/emulators/qemu/patches/patch-ap b/emulators/qemu/patches/patch-ap
deleted file mode 100644
index 06b5728b8ab..00000000000
--- a/emulators/qemu/patches/patch-ap
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ap,v 1.4 2005/10/23 19:55:59 rillig Exp $
-
---- target-sparc/cpu.h.orig 2005-07-29 18:24:50.000000000 +0200
-+++ target-sparc/cpu.h 2005-07-29 18:25:12.000000000 +0200
-@@ -284,8 +284,7 @@
- } while (0)
- #endif
-
--struct siginfo;
--int cpu_sparc_signal_handler(int hostsignum, struct siginfo *info, void *puc);
-+int cpu_sparc_signal_handler(int hostsignum, siginfo_t *info, void *puc);
-
- #include "cpu-all.h"
-
diff --git a/emulators/qemu/patches/patch-as b/emulators/qemu/patches/patch-as
deleted file mode 100644
index ddb9dd2ae3a..00000000000
--- a/emulators/qemu/patches/patch-as
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-as,v 1.1 2004/11/15 15:38:15 soren Exp $
-
---- hw/ide.c 9 Nov 2004 22:04:05 -0000 1.29
-+++ hw/ide.c 15 Nov 2004 15:34:50 -0000
-@@ -1895,7 +1895,9 @@
- s->heads = 16;
- s->sectors = 63;
- }
-+#if 0
- bdrv_set_geometry_hint(s->bs, s->cylinders, s->heads, s->sectors);
-+#endif
- }
- if (bdrv_get_type_hint(s->bs) == BDRV_TYPE_CDROM) {
- s->is_cdrom = 1;
diff --git a/emulators/qemu/patches/patch-au b/emulators/qemu/patches/patch-au
deleted file mode 100644
index 951e6b2e964..00000000000
--- a/emulators/qemu/patches/patch-au
+++ /dev/null
@@ -1,76 +0,0 @@
-$NetBSD: patch-au,v 1.1 2005/05/03 11:18:47 xtraeme Exp $
-
---- fpu/softfloat-native.h.orig 2005-04-27 22:52:05.000000000 +0200
-+++ fpu/softfloat-native.h 2005-04-29 01:23:27.000000000 +0200
-@@ -36,9 +36,9 @@
- #if defined(_BSD) && !defined(__APPLE__)
- enum {
- float_round_nearest_even = FP_RN,
-- float_round_down = FE_RM,
-- float_round_up = FE_RP,
-- float_round_to_zero = FE_RZ
-+ float_round_down = FP_RM,
-+ float_round_up = FP_RP,
-+ float_round_to_zero = FP_RZ
- };
- #elif defined(__arm__)
- enum {
-@@ -143,15 +143,15 @@
- }
- INLINE char float32_le_quiet( float32 a, float32 b STATUS_PARAM)
- {
-- return islessequal(a, b);
-+ return __builtin_islessequal(a, b);
- }
- INLINE char float32_lt_quiet( float32 a, float32 b STATUS_PARAM)
- {
-- return isless(a, b);
-+ return __builtin_isless(a, b);
- }
- INLINE char float32_unordered( float32 a, float32 b STATUS_PARAM)
- {
-- return isunordered(a, b);
-+ return __builtin_isunordered(a, b);
-
- }
- char float32_compare( float32, float32 STATUS_PARAM );
-@@ -223,16 +223,16 @@
- }
- INLINE char float64_le_quiet( float64 a, float64 b STATUS_PARAM)
- {
-- return islessequal(a, b);
-+ return __builtin_islessequal(a, b);
- }
- INLINE char float64_lt_quiet( float64 a, float64 b STATUS_PARAM)
- {
-- return isless(a, b);
-+ return __builtin_isless(a, b);
-
- }
- INLINE char float64_unordered( float64 a, float64 b STATUS_PARAM)
- {
-- return isunordered(a, b);
-+ return __builtin_isunordered(a, b);
-
- }
- char float64_compare( float64, float64 STATUS_PARAM );
-@@ -304,16 +304,16 @@
- }
- INLINE char floatx80_le_quiet( floatx80 a, floatx80 b STATUS_PARAM)
- {
-- return islessequal(a, b);
-+ return __builtin_islessequal(a, b);
- }
- INLINE char floatx80_lt_quiet( floatx80 a, floatx80 b STATUS_PARAM)
- {
-- return isless(a, b);
-+ return __builtin_isless(a, b);
-
- }
- INLINE char floatx80_unordered( floatx80 a, floatx80 b STATUS_PARAM)
- {
-- return isunordered(a, b);
-+ return __builtin_isunordered(a, b);
-
- }
- char floatx80_compare( floatx80, floatx80 STATUS_PARAM );
diff --git a/emulators/qemu/patches/patch-av b/emulators/qemu/patches/patch-av
deleted file mode 100644
index df0770e4720..00000000000
--- a/emulators/qemu/patches/patch-av
+++ /dev/null
@@ -1,55 +0,0 @@
-$NetBSD: patch-av,v 1.1 2005/05/03 11:18:47 xtraeme Exp $
-
---- fpu/softfloat-native.c.orig 2005-04-27 22:52:05.000000000 +0200
-+++ fpu/softfloat-native.c 2005-05-03 13:08:02.000000000 +0200
-@@ -25,6 +25,8 @@
- #if defined(_BSD)
- #define lrint(d) ((int32_t)rint(d))
- #define llrint(d) ((int64_t)rint(d))
-+#define lrintf(d) ((int32_t)rint(d))
-+#define llrintf(d) ((int64_t)rint(d))
- #endif
-
- #if defined(__powerpc__)
-@@ -143,11 +145,11 @@
- }
- char float32_compare_quiet( float32 a, float32 b STATUS_PARAM )
- {
-- if (isless(a, b)) {
-+ if (__builtin_isless(a, b)) {
- return -1;
- } else if (a == b) {
- return 0;
-- } else if (isgreater(a, b)) {
-+ } else if (__builtin_isgreater(a, b)) {
- return 1;
- } else {
- return 2;
-@@ -247,11 +249,11 @@
- }
- char float64_compare_quiet( float64 a, float64 b STATUS_PARAM )
- {
-- if (isless(a, b)) {
-+ if (__builtin_isless(a, b)) {
- return -1;
- } else if (a == b) {
- return 0;
-- } else if (isgreater(a, b)) {
-+ } else if (__builtin_isgreater(a, b)) {
- return 1;
- } else {
- return 2;
-@@ -328,11 +330,11 @@
- }
- char floatx80_compare_quiet( floatx80 a, floatx80 b STATUS_PARAM )
- {
-- if (isless(a, b)) {
-+ if (__builtin_isless(a, b)) {
- return -1;
- } else if (a == b) {
- return 0;
-- } else if (isgreater(a, b)) {
-+ } else if (__builtin_isgreater(a, b)) {
- return 1;
- } else {
- return 2;
diff --git a/emulators/qemu/patches/patch-aw b/emulators/qemu/patches/patch-aw
deleted file mode 100644
index 8d60e3b6602..00000000000
--- a/emulators/qemu/patches/patch-aw
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aw,v 1.1 2005/05/03 11:18:47 xtraeme Exp $
-
-Workaround for x86_64 target, patch from Hubert Feyrer.
-
-Index: dyngen.c
-===================================================================
-RCS file: /cvsroot/qemu/qemu/dyngen.c,v
-retrieving revision 1.40
-diff -u -r1.40 dyngen.c
---- dyngen.c 27 Apr 2005 19:55:58 -0000 1.40
-+++ dyngen.c 1 May 2005 20:22:09 -0000
-@@ -1587,6 +1587,7 @@
- if(!sym_name)
- continue;
- if (*sym_name &&
-+ !strstart(sym_name, "bswap64", NULL) && /* HF hack */
- !strstart(sym_name, "__op_param", NULL) &&
- !strstart(sym_name, "__op_jmp", NULL) &&
- !strstart(sym_name, "__op_gen_label", NULL)) {
diff --git a/emulators/qemu/patches/patch-ax b/emulators/qemu/patches/patch-ax
deleted file mode 100644
index 6e7c80c257f..00000000000
--- a/emulators/qemu/patches/patch-ax
+++ /dev/null
@@ -1,166 +0,0 @@
-$NetBSD: patch-ax,v 1.1 2005/11/04 21:09:15 dbj Exp $
-
---- /dev/null 2005-10-13 14:41:11.000000000 -0400
-+++ fakepoll.h
-@@ -0,0 +1,161 @@
-+// fakepoll.h
-+// poll using select
-+// Warning: a call to this poll() takes about 4K of stack space.
-+
-+// Greg Parker gparker-web@sealiesoftware.com December 2000
-+// This code is in the public domain and may be copied or modified without
-+// permission.
-+
-+// Updated May 2002:
-+// * fix crash when an fd is less than 0
-+// * set errno=EINVAL if an fd is greater or equal to FD_SETSIZE
-+// * don't set POLLIN or POLLOUT in revents if it wasn't requested
-+// in events (only happens when an fd is in the poll set twice)
-+
-+#ifndef _FAKE_POLL_H
-+#define _FAKE_POLL_H
-+
-+#include <limits.h>
-+#define FD_SETSIZE OPEN_MAX
-+#include <sys/types.h>
-+#include <sys/time.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-+
-+typedef struct pollfd {
-+ int fd; /* file desc to poll */
-+ short events; /* events of interest on fd */
-+ short revents; /* events that occurred on fd */
-+} pollfd_t;
-+
-+
-+// poll flags
-+#define POLLIN 0x0001
-+#define POLLOUT 0x0004
-+#define POLLERR 0x0008
-+
-+// synonyms
-+#define POLLNORM POLLIN
-+#define POLLPRI POLLIN
-+#define POLLRDNORM POLLIN
-+#define POLLRDBAND POLLIN
-+#define POLLWRNORM POLLOUT
-+#define POLLWRBAND POLLOUT
-+
-+// ignored
-+#define POLLHUP 0x0010
-+#define POLLNVAL 0x0020
-+
-+inline int poll(struct pollfd *pollSet, int pollCount, int pollTimeout)
-+{
-+ struct timeval tv;
-+ struct timeval *tvp;
-+ fd_set readFDs, writeFDs, exceptFDs;
-+ fd_set *readp, *writep, *exceptp;
-+ struct pollfd *pollEnd, *p;
-+ int selected;
-+ int result;
-+ int maxFD;
-+
-+ if (!pollSet) {
-+ pollEnd = NULL;
-+ readp = NULL;
-+ writep = NULL;
-+ exceptp = NULL;
-+ maxFD = 0;
-+ }
-+ else {
-+ pollEnd = pollSet + pollCount;
-+ readp = &readFDs;
-+ writep = &writeFDs;
-+ exceptp = &exceptFDs;
-+
-+ FD_ZERO(readp);
-+ FD_ZERO(writep);
-+ FD_ZERO(exceptp);
-+
-+ // Find the biggest fd in the poll set
-+ maxFD = 0;
-+ for (p = pollSet; p < pollEnd; p++) {
-+ if (p->fd > maxFD) maxFD = p->fd;
-+ }
-+
-+ if (maxFD >= FD_SETSIZE) {
-+ // At least one fd is too big
-+ errno = EINVAL;
-+ return -1;
-+ }
-+
-+ // Transcribe flags from the poll set to the fd sets
-+ for (p = pollSet; p < pollEnd; p++) {
-+ if (p->fd < 0) {
-+ // Negative fd checks nothing and always reports zero
-+ } else {
-+ if (p->events & POLLIN) FD_SET(p->fd, readp);
-+ if (p->events & POLLOUT) FD_SET(p->fd, writep);
-+ if (p->events != 0) FD_SET(p->fd, exceptp);
-+ // POLLERR is never set coming in; poll() always reports errors
-+ // But don't report if we're not listening to anything at all.
-+ }
-+ }
-+ }
-+
-+ // poll timeout is in milliseconds. Convert to struct timeval.
-+ // poll timeout == -1 : wait forever : select timeout of NULL
-+ // poll timeout == 0 : return immediately : select timeout of zero
-+ if (pollTimeout >= 0) {
-+ tv.tv_sec = pollTimeout / 1000;
-+ tv.tv_usec = (pollTimeout % 1000) * 1000;
-+ tvp = &tv;
-+ } else {
-+ tvp = NULL;
-+ }
-+
-+
-+ selected = select(maxFD+1, readp, writep, exceptp, tvp);
-+
-+
-+ if (selected < 0) {
-+ // Error during select
-+ result = -1;
-+ }
-+ else if (selected > 0) {
-+ // Select found something
-+ // Transcribe result from fd sets to poll set.
-+ // Also count the number of selected fds. poll returns the
-+ // number of ready fds; select returns the number of bits set.
-+ int polled = 0;
-+ for (p = pollSet; p < pollEnd; p++) {
-+ p->revents = 0;
-+ if (p->fd < 0) {
-+ // Negative fd always reports zero
-+ } else {
-+ if ((p->events & POLLIN) && FD_ISSET(p->fd, readp)) {
-+ p->revents |= POLLIN;
-+ }
-+ if ((p->events & POLLOUT) && FD_ISSET(p->fd, writep)) {
-+ p->revents |= POLLOUT;
-+ }
-+ if ((p->events != 0) && FD_ISSET(p->fd, exceptp)) {
-+ p->revents |= POLLERR;
-+ }
-+
-+ if (p->revents) polled++;
-+ }
-+ }
-+ result = polled;
-+ }
-+ else {
-+ // selected == 0, select timed out before anything happened
-+ // Clear all result bits and return zero.
-+ for (p = pollSet; p < pollEnd; p++) {
-+ p->revents = 0;
-+ }
-+ result = 0;
-+ }
-+
-+ return result;
-+}
-+
-+
-+#endif
diff --git a/emulators/qemu/patches/patch-ay b/emulators/qemu/patches/patch-ay
deleted file mode 100644
index d50ab3d4136..00000000000
--- a/emulators/qemu/patches/patch-ay
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ay,v 1.1 2005/11/04 21:10:42 dbj Exp $
-
---- target-i386/helper.c.orig 2005-09-04 13:11:31.000000000 -0400
-+++ target-i386/helper.c
-@@ -3261,7 +3261,7 @@ static void imul64(uint64_t *plow, uint6
- static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b)
- {
- uint64_t q, r, a1, a0;
-- int i, qb;
-+ int i, qb, ab;
-
- a0 = *plow;
- a1 = *phigh;
-@@ -3275,8 +3275,9 @@ static int div64(uint64_t *plow, uint64_
- return 1;
- /* XXX: use a better algorithm */
- for(i = 0; i < 64; i++) {
-+ ab = a1 >> 63;
- a1 = (a1 << 1) | (a0 >> 63);
-- if (a1 >= b) {
-+ if (ab || a1 >= b) {
- a1 -= b;
- qb = 1;
- } else {
diff --git a/emulators/raine/DESCR b/emulators/raine/DESCR
deleted file mode 100644
index 30fc5d7282f..00000000000
--- a/emulators/raine/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Raine is an emulator, it emulates some M68000 and M68020 arcade games and is
-mainly focused on Taito and Jaleco games hardware. It started as an experiment
-with the Rainbow Islands romset, dumped by Aracorn/Romlist. Raine can emulate
-many nice games now, including new additions from Cave and other companies.
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile
deleted file mode 100644
index 0fb3652c908..00000000000
--- a/emulators/raine/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2005/07/16 01:19:10 jlam Exp $
-#
-
-DISTNAME= raines-0.40.2
-PKGNAME= ${DISTNAME:S/raines/raine/}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= http://www.rainemu.com/html/archive/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.rainemu.com/
-COMMENT= 680x0 Arcade Emulator
-
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-
-WRKSRC= ${WRKDIR}/raine
-USE_TOOLS+= gmake perl:run
-MAKEFILE= makefile
-MAKE_ENV+= OSTYPE=linux
-REPLACE_PERL= makedep
-PTHREAD_OPTS+= require
-
-# XXX Really?
-ONLY_FOR_PLATFORM= *-*-i386
-
-post-build:
- @( \
- ${ECHO} "#!${SH}"; \
- ${ECHO} "cd ${PREFIX}/share/raine && ./raine $$@" \
- ) > ${WRKSRC}/raine.sh
-
-pre-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine
-
-.include "../../devel/allegro/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/raine/PLIST b/emulators/raine/PLIST
deleted file mode 100644
index afb2450e48e..00000000000
--- a/emulators/raine/PLIST
+++ /dev/null
@@ -1,29 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
-bin/raine
-share/raine/languages/Brasil.cfg
-share/raine/languages/CZECH.CFG
-share/raine/languages/Catala.cfg
-share/raine/languages/Dansk.cfg
-share/raine/languages/Dutch.cfg
-share/raine/languages/English.cfg
-share/raine/languages/Español.cfg
-share/raine/languages/Euskera.cfg
-share/raine/languages/Finnish.cfg
-share/raine/languages/French.cfg
-share/raine/languages/French2.cfg
-share/raine/languages/German.cfg
-share/raine/languages/German2.cfg
-share/raine/languages/Italian.cfg
-share/raine/languages/Japanese.cfg
-share/raine/languages/POLISH.CFG
-share/raine/languages/Portugal.cfg
-share/raine/languages/Spanish.cfg
-share/raine/languages/Svenska.cfg
-share/raine/languages/Template.cfg
-share/raine/languages/Turkish.cfg
-share/raine/languages/galego.cfg
-share/raine/raine
-share/raine/raine.dat
-@dirrm share/raine/languages
-@dirrm share/raine/roms
-@dirrm share/raine
diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo
deleted file mode 100644
index d5e929944ec..00000000000
--- a/emulators/raine/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:19 agc Exp $
-
-SHA1 (raines-0.40.2.tar.bz2) = 1fbd0c108d60f53806a03f86693faf9ffdb6e60b
-RMD160 (raines-0.40.2.tar.bz2) = e2c169ebcc69f617717b68272dca203658893a70
-Size (raines-0.40.2.tar.bz2) = 1513190 bytes
-SHA1 (patch-aa) = 977bf37619aac97dff4bd11c2f28726faa219154
-SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a
-SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608
-SHA1 (patch-ad) = 2842cf825e67a5195c44c4d173feb5ffe01c2e46
-SHA1 (patch-ae) = 6ce2adccb6bded8cd4034ad314ce1856db95871c
-SHA1 (patch-af) = 4978139a0d0f0e4c92c7a3dd2084167785fdf524
-SHA1 (patch-ag) = d79a11f6162895f5ef844c60ac36e4f0a22bf544
diff --git a/emulators/raine/patches/patch-aa b/emulators/raine/patches/patch-aa
deleted file mode 100644
index ada9805a1c6..00000000000
--- a/emulators/raine/patches/patch-aa
+++ /dev/null
@@ -1,97 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/06/05 17:14:14 xtraeme Exp $
-
---- makefile.orig 2004-06-05 18:53:01.000000000 +0200
-+++ makefile 2004-06-05 18:58:51.000000000 +0200
-@@ -27,30 +27,7 @@
- # Use asm video core ? (comment to use C core)
- ASM_VIDEO_CORE = 1
-
--# Try to detect mingw... If you want to build the dos and the mingw
--# version on the same system you should unset djdir before making
--# the mingw version.
--ifeq ($(shell uname -o),GNU/Linux)
--OSTYPE=linux-gnu
--endif
--
--ifeq ("$(OSTYPE)","msys")
--MINGDIR=1
--OSTYPE=mingw32
--ifeq (`nasm -r`,)
--ifdef VERBOSE
--ASM=nasmw
--else
--ASM=@nasmw
--endif
--else
--ifdef VERBOSE
- ASM=nasm
--else
--ASM=@nasm
--endif
--endif
--endif
-
- ifdef mingdir
- MINGDIR=1
-@@ -176,10 +153,10 @@
- # SDL = 1
-
- prefix = $(DESTDIR)
-- bindir = $(prefix)/usr/games
-- sharedir = $(prefix)/usr/share
-- mandir = $(sharedir)/man/man6
-- rainedata = $(sharedir)/games/raine
-+ bindir = $(PREFIX)/bin
-+ sharedir = $(PREFIX)/share
-+ mandir = $(PREFIX)/man/man6
-+ rainedata = $(sharedir)/raine
- langdir = $(rainedata)/languages
- romdir = $(rainedata)/roms
-
-@@ -202,10 +179,10 @@
- DEFINE = -D__RAINE__ \
- -DRAINE_UNIX \
-
-- LIBS = -lz `allegro-config --libs` -lvga # -lefence
-- LIBS_DEBUG = -lz -lvga `allegro-config --libs debug`
-+ LIBS = -lz `allegro-config --libs`
-+ LIBS_DEBUG = -lz `allegro-config --libs debug`
-
-- LIBS_STATIC = -lz -lvga `allegro-config --static`
-+ LIBS_STATIC = -lz `allegro-config --static`
-
- endif # linux / mingw32
- endif # djgpp
-@@ -942,11 +919,7 @@
- make.dep:
- ./makedep $(OBJDIR) $(OBJS) > make.dep
-
--cpuinfo:
-- @sh ./detect-cpu
--
- include make.dep
--include cpuinfo
-
- # create directories
-
-@@ -984,14 +957,16 @@
- install: install_dirs $(RAINE_LNG)
- ifdef RAINE_LINUX
-
-- $(INSTALL_BIN) $(RAINE_EXE) $(bindir)
-- $(INSTALL_DATA) $(RAINE_DAT) $(rainedata)
-+ $(BSD_INSTALL_PROGRAM) $(RAINE_EXE) $(rainedata)
-+ $(BSD_INSTALL_DATA) $(RAINE_DAT) $(rainedata)
-
- install_dirs:
-- $(MD) -pv $(bindir) $(rainedata) $(langdir) $(romdir)
-+ $(BSD_INSTALL_DATA_DIR) $(rainedata)
-+ $(BSD_INSTALL_DATA_DIR) $(langdir)
-+ $(BSD_INSTALL_DATA_DIR) $(romdir)
-
- $(RAINE_LNG):
-- $(INSTALL_DATA) config/language/$@ $(langdir)
-+ $(BSD_INSTALL_DATA) config/language/$@ $(langdir)
-
- else
- @echo There is no needs to install for a win32/dos system
diff --git a/emulators/raine/patches/patch-ab b/emulators/raine/patches/patch-ab
deleted file mode 100644
index 07040b05809..00000000000
--- a/emulators/raine/patches/patch-ab
+++ /dev/null
@@ -1,150 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $
-
---- source/unzip.h.orig 2004-04-05 05:50:54.000000000 +0200
-+++ source/unzip.h 2004-04-05 05:53:19.000000000 +0200
-@@ -142,9 +142,9 @@
- tm_unz tmu_date;
- } unz_file_info;
-
--extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
-+extern int ZEXPORT unzStringFileNameCompare (const char* fileName1,
- const char* fileName2,
-- int iCaseSensitivity));
-+ int iCaseSensitivity);
- /*
- Compare two filename (fileName1,fileName2).
- If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
-@@ -155,7 +155,7 @@
- */
-
-
--extern unzFile ZEXPORT unzOpen OF((const char *path));
-+extern unzFile ZEXPORT unzOpen (const char *path);
- /*
- Open a Zip file. path contain the full pathname (by example,
- on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer
-@@ -166,24 +166,24 @@
- of this unzip package.
- */
-
--extern int ZEXPORT unzClose OF((unzFile file));
-+extern int ZEXPORT unzClose (unzFile file);
- /*
- Close a ZipFile opened with unzipOpen.
- If there is files inside the .Zip opened with unzOpenCurrentFile (see later),
- these files MUST be closed with unzipCloseCurrentFile before call unzipClose.
- return UNZ_OK if there is no problem. */
-
--extern int ZEXPORT unzGetGlobalInfo OF((unzFile file,
-- unz_global_info *pglobal_info));
-+extern int ZEXPORT unzGetGlobalInfo (unzFile file,
-+ unz_global_info *pglobal_info);
- /*
- Write info about the ZipFile in the *pglobal_info structure.
- No preparation of the structure is needed
- return UNZ_OK if there is no problem. */
-
-
--extern int ZEXPORT unzGetGlobalComment OF((unzFile file,
-+extern int ZEXPORT unzGetGlobalComment (unzFile file,
- char *szComment,
-- uLong uSizeBuf));
-+ uLong uSizeBuf);
- /*
- Get the global comment string of the ZipFile, in the szComment buffer.
- uSizeBuf is the size of the szComment buffer.
-@@ -194,22 +194,22 @@
- /***************************************************************************/
- /* Unzip package allow you browse the directory of the zipfile */
-
--extern int ZEXPORT unzGoToFirstFile OF((unzFile file));
-+extern int ZEXPORT unzGoToFirstFile (unzFile file);
- /*
- Set the current file of the zipfile to the first file.
- return UNZ_OK if there is no problem
- */
-
--extern int ZEXPORT unzGoToNextFile OF((unzFile file));
-+extern int ZEXPORT unzGoToNextFile (unzFile file);
- /*
- Set the current file of the zipfile to the next file.
- return UNZ_OK if there is no problem
- return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
- */
-
--extern int ZEXPORT unzLocateFile OF((unzFile file,
-+extern int ZEXPORT unzLocateFile (unzFile file,
- const char *szFileName,
-- int iCaseSensitivity));
-+ int iCaseSensitivity);
- /*
- Try locate the file szFileName in the zipfile.
- For the iCaseSensitivity signification, see unzStringFileNameCompare
-@@ -220,14 +220,14 @@
- */
-
-
--extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file,
-+extern int ZEXPORT unzGetCurrentFileInfo (unzFile file,
- unz_file_info *pfile_info,
- char *szFileName,
- uLong fileNameBufferSize,
- void *extraField,
- uLong extraFieldBufferSize,
- char *szComment,
-- uLong commentBufferSize));
-+ uLong commentBufferSize);
- /*
- Get Info about the current file
- if pfile_info!=NULL, the *pfile_info structure will contain somes info about
-@@ -246,22 +246,22 @@
- from it, and close it (you can close it before reading all the file)
- */
-
--extern int ZEXPORT unzOpenCurrentFile OF((unzFile file));
-+extern int ZEXPORT unzOpenCurrentFile (unzFile file);
- /*
- Open for reading data the current file in the zipfile.
- If there is no error, the return value is UNZ_OK.
- */
-
--extern int ZEXPORT unzCloseCurrentFile OF((unzFile file));
-+extern int ZEXPORT unzCloseCurrentFile (unzFile file);
- /*
- Close the file in zip opened with unzOpenCurrentFile
- Return UNZ_CRCERROR if all the file was read but the CRC is not good
- */
-
-
--extern int ZEXPORT unzReadCurrentFile OF((unzFile file,
-+extern int ZEXPORT unzReadCurrentFile (unzFile file,
- voidp buf,
-- unsigned len));
-+ unsigned len);
- /*
- Read bytes from the current file (opened by unzOpenCurrentFile)
- buf contain buffer where data must be copied
-@@ -273,19 +273,19 @@
- (UNZ_ERRNO for IO error, or zLib error for uncompress error)
- */
-
--extern z_off_t ZEXPORT unztell OF((unzFile file));
-+extern z_off_t ZEXPORT unztell (unzFile file);
- /*
- Give the current position in uncompressed data
- */
-
--extern int ZEXPORT unzeof OF((unzFile file));
-+extern int ZEXPORT unzeof (unzFile file);
- /*
- return 1 if the end of file was reached, 0 elsewhere
- */
-
--extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file,
-+extern int ZEXPORT unzGetLocalExtrafield (unzFile file,
- voidp buf,
-- unsigned len));
-+ unsigned len);
- /*
- Read extra field from the current file (opened by unzOpenCurrentFile)
- This is the local-header version of the extra field (sometimes, there is
diff --git a/emulators/raine/patches/patch-ac b/emulators/raine/patches/patch-ac
deleted file mode 100644
index b7e33929117..00000000000
--- a/emulators/raine/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $
-
---- source/unzip.c.orig 2004-04-05 05:55:28.000000000 +0200
-+++ source/unzip.c 2004-04-05 05:55:54.000000000 +0200
-@@ -493,7 +493,7 @@
- /*
- Get Info about the current file in the zipfile, with internal only info
- */
--local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file,
-+local int unzlocal_GetCurrentFileInfoInternal (unzFile file,
- unz_file_info *pfile_info,
- unz_file_info_internal
- *pfile_info_internal,
-@@ -502,7 +502,7 @@
- void *extraField,
- uLong extraFieldBufferSize,
- char *szComment,
-- uLong commentBufferSize));
-+ uLong commentBufferSize);
-
- local int unzlocal_GetCurrentFileInfoInternal (file,
- pfile_info,
diff --git a/emulators/raine/patches/patch-ad b/emulators/raine/patches/patch-ad
deleted file mode 100644
index a5278d4a69c..00000000000
--- a/emulators/raine/patches/patch-ad
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2004/04/17 00:58:42 kristerw Exp $
-
---- source/gui/rgui.c.orig Sat Apr 17 02:38:41 2004
-+++ source/gui/rgui.c Sat Apr 17 02:39:11 2004
-@@ -1715,10 +1715,12 @@
- // its sleep function has a 1ms resolution instead of 1us. Too bad...
- Sleep(1000/60);
- #elif defined(RAINE_UNIX)
-+ {
- struct timeval timeout;
- timeout.tv_sec = 0;
- timeout.tv_usec = 1000000/60;
- select(0, NULL, NULL, NULL, &timeout);
-+ }
- #endif
- // Nothing in dos to put the cpu in sleep mode, AFAIK
-
diff --git a/emulators/raine/patches/patch-ae b/emulators/raine/patches/patch-ae
deleted file mode 100644
index 37b8c8fb896..00000000000
--- a/emulators/raine/patches/patch-ae
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/04/17 00:58:42 kristerw Exp $
-
---- source/video/c/lscroll/16_16.c.orig Sat Apr 17 02:36:55 2004
-+++ source/video/c/lscroll/16_16.c Sat Apr 17 02:37:17 2004
-@@ -26,8 +26,8 @@
- UINT16 *line;
- INT16 xx,yy,dy;
- UINT32 w;
-- w = GameBitmap->w;
- UINT8 *spr;
-+ w = GameBitmap->w;
-
- #if 1
- for(xx=0; xx<=15; xx++){
diff --git a/emulators/raine/patches/patch-af b/emulators/raine/patches/patch-af
deleted file mode 100644
index 31ae7f9ac19..00000000000
--- a/emulators/raine/patches/patch-af
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/04/17 00:58:42 kristerw Exp $
-
---- source/video/c/lscroll/16_32.c.orig Sat Apr 17 02:37:32 2004
-+++ source/video/c/lscroll/16_32.c Sat Apr 17 02:37:49 2004
-@@ -25,8 +25,8 @@
- UINT32 *line;
- INT16 xx,yy,dy;
- UINT32 w;
-- w = GameBitmap->w;
- UINT8 *spr;
-+ w = GameBitmap->w;
-
- #if 1
- for(xx=0; xx<=15; xx++){
diff --git a/emulators/raine/patches/patch-ag b/emulators/raine/patches/patch-ag
deleted file mode 100644
index 94d0ab8ee6b..00000000000
--- a/emulators/raine/patches/patch-ag
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2004/04/17 00:58:42 kristerw Exp $
-
---- source/games/pengo.c.orig Sat Apr 17 02:33:38 2004
-+++ source/games/pengo.c Sat Apr 17 02:35:06 2004
-@@ -451,11 +451,11 @@
- }
-
- static void load_pengo() {
-- RAMSize = 0x1031+0x8000;
- UINT8 *color_prom = load_region[REGION_PROMS];
- UINT8 *decode1,*decode2,palette[32*2];
- UINT32 dest_size;
- int i;
-+ RAMSize = 0x1031+0x8000;
-
- if(!(RAM=AllocateMem(RAMSize))) return;
-
-@@ -1182,10 +1182,10 @@
- {
- // quite different from pengo for the init : no encoding, different memory map,
- // different palette...
-- RAMSize = 0x1031;
- UINT8 *color_prom = load_region[REGION_PROMS];
- UINT8 palette[32*2];
- int i;
-+ RAMSize = 0x1031;
-
- if (!strcmp(current_game->main_name,"pacplus")) {
- for (i = 0; i < 0x4000; i++)
diff --git a/emulators/simh/DESCR b/emulators/simh/DESCR
deleted file mode 100644
index b0054bc752a..00000000000
--- a/emulators/simh/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-Bob Supnik's historical computer simulator, including:
-
- altair altairz80 eclipse gri h316 hp2100 i1401 i1620 ibm1130 id16 id32
- nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 pdp9 s3 sds vax
-
-See http://www.netbsd.org/Ports/vax/emulator-howto.html on how to install
-NetBSD/vax on simh!
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
deleted file mode 100644
index fe4f21b4eaf..00000000000
--- a/emulators/simh/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.21 2005/06/16 06:57:51 jlam Exp $
-#
-
-DISTNAME= simhv33-0
-PKGNAME= simh-3.3.0
-CATEGORIES= emulators
-MASTER_SITES= http://simh.trailing-edge.com/sources/
-EXTRACT_SUFX= .zip
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://simh.trailing-edge.com/
-COMMENT= Bob Supnik's historical computer simulator
-
-BUILDLINK_DEPENDS.libpcap+= libpcap>=0.6
-
-EXTRACT_CMD= unzip -aoq ${DOWNLOADED_DISTFILE}
-WRKSRC= ${WRKDIR}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if (${MACHINE_ARCH} == "arm")
-.if (${CFLAGS:M-O2} == "-O2")
-CFLAGS:= ${CFLAGS:S/-O2//}
-.endif
-.endif
-
-INSTALLATION_DIRS= bin
-
-post-extract:
- ${MKDIR} ${WRKSRC}/BIN
- ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
-
-do-install:
- (cd ${WRKSRC}/BIN && for BIN in *; do \
- ${INSTALL_PROGRAM} $$BIN ${PREFIX}/bin/simh-$$BIN; \
- done)
- ${INSTALL_DATA_DIR} ${PREFIX}/share/simh
- ${INSTALL_DATA} ${WRKSRC}/VAX/ka655.bin ${PREFIX}/share/simh
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
- (cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
- ${INSTALL_DATA} $$TXT ${PREFIX}/share/doc/simh; \
- done)
-
-.include "../../net/libpcap/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/simh/PLIST b/emulators/simh/PLIST
deleted file mode 100644
index 37d68c46102..00000000000
--- a/emulators/simh/PLIST
+++ /dev/null
@@ -1,62 +0,0 @@
-@comment $NetBSD: PLIST,v 1.8 2004/12/22 21:07:01 skrll Exp $
-bin/simh-altair
-bin/simh-altairz80
-bin/simh-eclipse
-bin/simh-gri
-bin/simh-h316
-bin/simh-hp2100
-bin/simh-i1401
-bin/simh-i1620
-bin/simh-ibm1130
-bin/simh-id16
-bin/simh-id32
-bin/simh-lgp
-bin/simh-nova
-bin/simh-pdp1
-bin/simh-pdp10
-bin/simh-pdp11
-bin/simh-pdp15
-bin/simh-pdp4
-bin/simh-pdp7
-bin/simh-pdp8
-bin/simh-pdp9
-bin/simh-s3
-bin/simh-sds
-bin/simh-vax
-share/doc/simh/0readme_33.txt
-share/doc/simh/0readme_ethernet.txt
-share/doc/simh/altair.txt
-share/doc/simh/altairz80_doc.txt
-share/doc/simh/eclipse.txt
-share/doc/simh/gri_doc.txt
-share/doc/simh/h316_doc.txt
-share/doc/simh/haltguide.txt
-share/doc/simh/hp2100_diag.txt
-share/doc/simh/hp2100_doc.txt
-share/doc/simh/i1401_doc.txt
-share/doc/simh/i1620_doc.txt
-share/doc/simh/id_diag.txt
-share/doc/simh/id_doc.txt
-share/doc/simh/lgp_doc.txt
-share/doc/simh/nova_doc.txt
-share/doc/simh/pdp10_diag.txt
-share/doc/simh/pdp10_doc.txt
-share/doc/simh/pdp11_doc.txt
-share/doc/simh/pdp18b_diag.txt
-share/doc/simh/pdp18b_doc.txt
-share/doc/simh/pdp1_doc.txt
-share/doc/simh/pdp8_doc.txt
-share/doc/simh/readme1130.txt
-share/doc/simh/readme_s3.txt
-share/doc/simh/readme_update.txt
-share/doc/simh/sds_diag.txt
-share/doc/simh/sds_doc.txt
-share/doc/simh/simh_doc.txt
-share/doc/simh/simh_faq.txt
-share/doc/simh/simh_swre.txt
-share/doc/simh/system3.txt
-share/doc/simh/vax780_doc.txt
-share/doc/simh/vax_doc.txt
-share/simh/ka655.bin
-@dirrm share/simh
-@dirrm share/doc/simh
diff --git a/emulators/simh/distinfo b/emulators/simh/distinfo
deleted file mode 100644
index 8a20309c868..00000000000
--- a/emulators/simh/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.12 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (simhv33-0.zip) = 99a021afe2fd8dfb32bb479e383347e2b883e0f9
-RMD160 (simhv33-0.zip) = 778cc7836b4558b57f1b9ca54427f3d2e8da94a4
-Size (simhv33-0.zip) = 2153444 bytes
-SHA1 (patch-aa) = a1c1e10f81b5883c5388084d1b9f31d3560353fe
-SHA1 (patch-ab) = aff84028d4184b773b2bd4ebf2ee166357f18924
-SHA1 (patch-ac) = 0f1ddee6f69c0337c8ea02cf24ed6fdecc0ca1f4
diff --git a/emulators/simh/patches/patch-aa b/emulators/simh/patches/patch-aa
deleted file mode 100644
index 402c4d444a9..00000000000
--- a/emulators/simh/patches/patch-aa
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2004/12/22 21:07:01 skrll Exp $
-
---- Makefile.orig 2004-10-30 18:32:50.000000000 +0100
-+++ Makefile
-@@ -3,28 +3,30 @@
- # Note: -O2 is sometimes broken in GCC when setjump/longjump is being
- # used. Try -O2 only with released simulators.
- #
--ifeq ($(WIN32),)
-+#ifeq ($(WIN32),)
- #Unix Environments
--ifeq ($(OSTYPE),solaris)
--OS_CCDEFS = -lsocket -lnsl -lpthread -D_GNU_SOURCE
--else
--OS_CCDEFS = -D_GNU_SOURCE
--endif
--CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm $(OS_CCDEFS) -I .
--ifeq ($(USE_NETWORK),)
--else
--NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
--endif
--else
-+#ifeq ($(OSTYPE),solaris)
-+#OS_CCDEFS = -lsocket -lnsl -lpthread -D_GNU_SOURCE
-+#else
-+#OS_CCDEFS = -D_GNU_SOURCE
-+#endif
-+#CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm $(OS_CCDEFS) -I .
-+CC = gcc -O2 -g -lm -I . -DDONT_USE_PCAP_FINDALLDEVS -DNEED_PCAP_SENDPACKET
-+#ifeq ($(USE_NETWORK),)
-+#else
-+#NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
-+NETWORK_OPT = -DUSE_NETWORK -lpcap
-+#endif
-+#else
- #Win32 Environments
--LDFLAGS = -lm -lwsock32
--CC = gcc -std=c99 -U__STRICT_ANSI__ -O0 -I.
--EXE = .exe
--ifeq ($(USE_NETWORK),)
--else
--NETWORK_OPT = -DUSE_NETWORK -lwpcap -lpacket
--endif
--endif
-+#LDFLAGS = -lm -lwsock32
-+#CC = gcc -std=c99 -U__STRICT_ANSI__ -O0 -I.
-+#EXE = .exe
-+#ifeq ($(USE_NETWORK),)
-+#else
-+#NETWORK_OPT = -DUSE_NETWORK -lwpcap -lpacket
-+#endif
-+#endif
-
-
- #
-@@ -252,11 +254,11 @@ ALL = ${BIN}pdp1${EXE} ${BIN}pdp4${EXE}
- all : ${ALL}
-
- clean :
--ifeq ($(WIN32),)
-+#ifeq ($(WIN32),)
- ${RM} ${ALL}
--else
-- if exist BIN\*.exe del /q BIN\*.exe
--endif
-+#else
-+# if exist BIN\*.exe del /q BIN\*.exe
-+#endif
- #
- # Individual builds
- #
diff --git a/emulators/simh/patches/patch-ab b/emulators/simh/patches/patch-ab
deleted file mode 100644
index 11179bfc0b0..00000000000
--- a/emulators/simh/patches/patch-ab
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2004/12/22 21:07:01 skrll Exp $
-
---- sim_ether.c.orig 2004-03-31 13:38:58.000000000 +0100
-+++ sim_ether.c
-@@ -830,6 +830,15 @@ void eth_callback(u_char* info, const st
- tmp_packet.len = header->len;
- memcpy(tmp_packet.msg, data, header->len);
-
-+ /*
-+ * Pad packet to minimum ethernet len, in case it comes from the local
-+ * host.
-+ */
-+ if (header->len < 60) {
-+ tmp_packet.len = 60;
-+ memset(dev->read_packet->msg + header->len, 0, 60 - header->len);
-+ }
-+
- eth_packet_trace (dev, tmp_packet.msg, tmp_packet.len, "rcvqd");
-
- pthread_mutex_lock (&dev->lock);
-@@ -840,6 +849,15 @@ void eth_callback(u_char* info, const st
- dev->read_packet->len = header->len;
- memcpy(dev->read_packet->msg, data, header->len);
-
-+ /*
-+ * Pad packet to minimum ethernet len, in case it comes from the local
-+ * host.
-+ */
-+ if (header->len <60) {
-+ dev->read_packet->len = 60;
-+ memset(dev->read_packet->msg + header->len, 0, 60 - header->len);
-+ }
-+
- eth_packet_trace (dev, dev->read_packet->msg, dev->read_packet->len, "reading");
-
- /* call optional read callback function */
-@@ -1080,8 +1098,10 @@ int eth_host_devices(int used, int max,
-
- int eth_devices(int max, ETH_LIST* list)
- {
-+#ifndef DONT_USE_PCAP_FINDALLDEVS
- pcap_if_t* alldevs;
- pcap_if_t* dev;
-+#endif
- int i = 0;
- char errbuf[PCAP_ERRBUF_SIZE];
-
diff --git a/emulators/simh/patches/patch-ac b/emulators/simh/patches/patch-ac
deleted file mode 100644
index 02ef9cec68d..00000000000
--- a/emulators/simh/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2004/12/22 21:07:01 skrll Exp $
-
---- sim_console.c.orig 2004-11-05 19:39:24.000000000 +0000
-+++ sim_console.c
-@@ -347,13 +347,13 @@ for (i = 0; i < sec; i++) { /* loop *
- if (tmxr_poll_conn (&sim_con_tmxr) >= 0) { /* poll connect */
- sim_con_ldsc.rcve = 1; /* rcv enabled */
- if (i) { /* if delayed */
-- printf ("Running\n"); /* print transition */
-+ printf ("Running\r\n"); /* print transition */
- fflush (stdout); }
- return SCPE_OK; } /* ready to proceed */
- c = sim_os_poll_kbd (); /* check for stop char */
- if ((c == SCPE_STOP) || stop_cpu) return SCPE_STOP;
- if ((i % 10) == 0) { /* Status every 10 sec */
-- printf ("Waiting for console Telnet connection\n");
-+ printf ("Waiting for console Telnet connection\r\n");
- fflush (stdout); }
- sim_os_sleep (1); /* wait 1 second */
- }
diff --git a/emulators/simulavr/DESCR b/emulators/simulavr/DESCR
deleted file mode 100644
index fb4f0c8c17b..00000000000
--- a/emulators/simulavr/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-The Simulavr program is a simulator for the Atmel AVR family of
-microcontrollers. Simulavr can be used either standalone or as a
-remote target for gdb. When used in gdbserver mode, the simulator
-is used as a backend so that gdb can be used as a source level
-debugger for AVR programs.
-
-Simulavr was written by Theodore A. Roth
diff --git a/emulators/simulavr/Makefile b/emulators/simulavr/Makefile
deleted file mode 100644
index bf72c61b2ec..00000000000
--- a/emulators/simulavr/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:45:44 tv Exp $
-#
-
-DISTNAME= simulavr-0.1.2.1
-CATEGORIES= emulators
-MASTER_SITES= http://freesoftware.fsf.org/download/simulavr/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.nongnu.org/simulavr/
-COMMENT= Simulator for Atmel AVR microcontrollers
-
-BUILD_DEPENDS+= avr-binutils-[0-9]*:../../cross/avr-binutils
-BUILD_DEPENDS+= avr-gcc-[0-9]*:../../cross/avr-gcc
-BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
-
-CONFIGURE_ARGS+= --disable-tests
-
-USE_PKGLOCALEDIR= yes
-GNU_CONFIGURE= yes
-
-# gcc 2.95 gives warnings that it cannot inline all functions.
-BUILDLINK_TRANSFORM+= rm:-Werror
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/simulavr/PLIST b/emulators/simulavr/PLIST
deleted file mode 100644
index 512fa80ff99..00000000000
--- a/emulators/simulavr/PLIST
+++ /dev/null
@@ -1,25 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/30 19:49:08 kristerw Exp $
-bin/simulavr
-bin/simulavr-disp
-bin/simulavr-vcd
-info/simulavr.info
-man/man1/simulavr-disp.1
-man/man1/simulavr.1
-share/doc/${PKGNAME}/AUTHORS
-share/doc/${PKGNAME}/COPYING
-share/doc/${PKGNAME}/ChangeLog
-share/doc/${PKGNAME}/ChangeLog-2001
-share/doc/${PKGNAME}/ChangeLog-2002
-share/doc/${PKGNAME}/ChangeLog-2003
-share/doc/${PKGNAME}/INSTALL
-share/doc/${PKGNAME}/ProjSummary
-share/doc/${PKGNAME}/README
-share/doc/${PKGNAME}/README.gdb
-share/doc/${PKGNAME}/README.opcodes
-share/doc/${PKGNAME}/TODO
-share/doc/${PKGNAME}/simulavr.ps
-@exec ${MKDIR} %D/share/doc/${PKGNAME}/internals_html
-@dirrm share/doc/${PKGNAME}/internals_html
-@exec ${MKDIR} %D/share/doc/${PKGNAME}/html
-@dirrm share/doc/${PKGNAME}/html
-@dirrm share/doc/${PKGNAME}
diff --git a/emulators/simulavr/distinfo b/emulators/simulavr/distinfo
deleted file mode 100644
index b29d3c65bf6..00000000000
--- a/emulators/simulavr/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/04/22 14:09:03 wiz Exp $
-
-SHA1 (simulavr-0.1.2.1.tar.bz2) = 276580f05ae57523684f6a61528cd3170858a3a4
-RMD160 (simulavr-0.1.2.1.tar.bz2) = 0728f35617629c382157f6657b2cf0f7418bd071
-Size (simulavr-0.1.2.1.tar.bz2) = 359233 bytes
-SHA1 (patch-aa) = 6114d828ed608610a820e6229ef837132e67f642
diff --git a/emulators/simulavr/patches/patch-aa b/emulators/simulavr/patches/patch-aa
deleted file mode 100644
index 8f864ef20a6..00000000000
--- a/emulators/simulavr/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/04/22 14:09:03 wiz Exp $
-
---- doc/Makefile.in.orig 2004-01-19 00:58:29.000000000 +0100
-+++ doc/Makefile.in
-@@ -472,7 +472,7 @@ install-ps: ps $(INSTALL_DOX_PS)
- html: $(info_TEXINFOS) $(TARGET_DOX_HTML)
- mkdir -p html
- texi2html -split_node $(srcdir)/$(info_TEXINFOS)
-- mv *.html html
-+ mv simulavr/*.html html
- if test -f html/simulavr.html ; then \
- cp html/simulavr.html html/index.html ; \
- else \
diff --git a/emulators/ski/DESCR b/emulators/ski/DESCR
deleted file mode 100644
index 319d5d0519d..00000000000
--- a/emulators/ski/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-The Hewlett-Packard IA-64 instruction set simulator for Linux/x86
diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile
deleted file mode 100644
index 7f3a2283a9a..00000000000
--- a/emulators/ski/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/05 11:58:50 skrll Exp $
-
-DISTNAME= ski-0.9.81-l6-i686
-CATEGORIES= emulators
-MASTER_SITES= # empty
-
-MAINTAINER= skrll@NetBSD.org
-HOMEPAGE= http://www.hpl.hp.com/research/linux/ski/
-COMMENT= The Hewlett-Packard IA-64 instruction set simulator for Linux/x86
-
-RESTRICTED= "Modification or Redistribution not permitted"
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "Linux"
-DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
-
-WRKSRC= ${WRKDIR}
-INTERACTIVE_STAGE= fetch extract
-CHECK_SHLIBS= NO
-NO_BUILD= YES
-
-DOWNLOAD= http://www.hpl.hp.com/research/linux/ski/download.php
-
-_FETCH_MESSAGE= \
- ${ECHO} "==============================================================="; \
- ${ECHO} " Due to licensing restrictions, "; \
- ${ECHO} " the HP Ski IA-64 emulator for Linux 2.x (i686) must be fetched"; \
- ${ECHO} " into ${DISTDIR} from"; \
- ${ECHO} " ${DOWNLOAD}"; \
- ${ECHO} "==============================================================="
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/nue/usr/bin/*ski* ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki ${PREFIX}/lib/X11/app-defaults/XSki
-
-.include "../../emulators/suse_linux/Makefile.application"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ski/PLIST b/emulators/ski/PLIST
deleted file mode 100644
index db5fff67b08..00000000000
--- a/emulators/ski/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/05 11:58:50 skrll Exp $
-bin/ski
-bin/xski
-bin/bski
-bin/bskinc
-man/man1/ski.1
-man/man1/xski.1
-man/man1/bskinc.1
-lib/X11/app-defaults/XSki
diff --git a/emulators/ski/distinfo b/emulators/ski/distinfo
deleted file mode 100644
index d6bcfafebd4..00000000000
--- a/emulators/ski/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/05 11:58:50 skrll Exp $
-
-SHA1 (ski-0.9.81-l6-i686.tar.gz) = 6a4d330805922b553abcccc259828f589bcf5de1
-RMD160 (ski-0.9.81-l6-i686.tar.gz) = 79905fb94c9a3436ee7b644988afb47fd11b7a42
-Size (ski-0.9.81-l6-i686.tar.gz) = 1696144 bytes
diff --git a/emulators/sms_sdl/DESCR b/emulators/sms_sdl/DESCR
deleted file mode 100644
index cb2da05b31c..00000000000
--- a/emulators/sms_sdl/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-SMS Plus is Sega Master System and Game Gear emulator. Originally,
-it was written to run under DOS. Since Charles Mac Donald released
-his emulator under the GPL terms, this emulator has been ported to
-different platforms.
diff --git a/emulators/sms_sdl/Makefile b/emulators/sms_sdl/Makefile
deleted file mode 100644
index ca9bfdc8d13..00000000000
--- a/emulators/sms_sdl/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/11/03 21:42:46 rillig Exp $
-#
-
-DISTNAME= sms_sdl-0.9.4a-r7.1-src
-PKGNAME= sms_sdl-0.9.4a.7.1
-CATEGORIES= emulators
-MASTER_SITES= http://membres.lycos.fr/cyxdown/smssdl/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://membres.lycos.fr/cyxdown/smssdl/
-COMMENT= SMS Plus emulator port to SDL
-
-WRKSRC= ${WRKDIR}/sms_sdl-0.9.4a-r7.1
-BUILD_DIRS= sdl
-EXTRACT_CMD_OPTS.zip= -aqo
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sdl/sms_sdl ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sms_sdl
- ${INSTALL_DATA} ${WRKSRC}/sdl/README.TXT ${PREFIX}/share/doc/sms_sdl
- ${INSTALL_DATA} ${WRKSRC}/license ${PREFIX}/share/doc/sms_sdl
- ${INSTALL_DATA} ${WRKSRC}/README.TXT \
- ${PREFIX}/share/doc/sms_sdl/README-CORE.TXT
- ${INSTALL_DATA} ${WRKSRC}/SOURCE.TXT ${PREFIX}/share/doc/sms_sdl
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/sms_sdl/PLIST b/emulators/sms_sdl/PLIST
deleted file mode 100644
index 0757783e092..00000000000
--- a/emulators/sms_sdl/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/24 14:01:02 wiz Exp $
-bin/sms_sdl
-share/doc/sms_sdl/README-CORE.TXT
-share/doc/sms_sdl/README.TXT
-share/doc/sms_sdl/SOURCE.TXT
-share/doc/sms_sdl/license
-@dirrm share/doc/sms_sdl
diff --git a/emulators/sms_sdl/distinfo b/emulators/sms_sdl/distinfo
deleted file mode 100644
index 8f0322ebe44..00000000000
--- a/emulators/sms_sdl/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/24 14:01:02 wiz Exp $
-
-SHA1 (sms_sdl-0.9.4a-r7.1-src.zip) = 66147e5b9d69eca64924093ca26c580acf20c493
-RMD160 (sms_sdl-0.9.4a-r7.1-src.zip) = 98a7b6101a496f80b5c5b54231816d39a69e40f5
-Size (sms_sdl-0.9.4a-r7.1-src.zip) = 113154 bytes
diff --git a/emulators/snes9x/DESCR b/emulators/snes9x/DESCR
deleted file mode 100644
index a877db8e59c..00000000000
--- a/emulators/snes9x/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)
-emulator. It basically allows you to play most games designed for the SNES
-and Super Famicom Nintendo game systems on your PC or Workstation; which
-includes some real gems that were only ever released in Japan.
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
deleted file mode 100644
index 9dfd65a3966..00000000000
--- a/emulators/snes9x/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# $NetBSD: Makefile,v 1.29 2005/06/16 06:57:51 jlam Exp $
-
-DISTNAME= s9xs139
-PKGNAME= snes9x-1.39
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= http://www.snes9x.com/zips/
-EXTRACT_SUFX= .zip
-
-MAINTAINER= jmcneill@NetBSD.org
-HOMEPAGE= http://www.snes9x.com/
-COMMENT= Super Nintendo Entertainment System (SNES) emulator
-
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-
-WRKSRC= ${WRKDIR}/release
-USE_TOOLS+= gmake
-PTHREAD_OPTS= require
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/offsets ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/CHANGES.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/COPYRIGHT.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/HARDWARE.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/HOW2PORT.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/PROBLEMS.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/snes9x
- ${INSTALL_MAN} ${WRKSRC}/TODO.TXT ${PREFIX}/share/doc/snes9x
-
-.include "../../mk/bsd.prefs.mk"
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x
-.if ${MACHINE_ARCH} == "i386"
-PKG_SUPPORTED_OPTIONS= mmx
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-MAKE_ENV+= THREAD_SOUND=1
-.if ${MACHINE_ARCH} == "i386"
-MAKE_ENV+= USING_I386=1
-.if ${OBJECT_FMT} == "a.out"
-MAKE_ENV+= FILEFORMAT=aoutb
-MAKE_ENV+= _ASM_UNDERBARS=1
-.else
-MAKE_ENV+= FILEFORMAT=elf
-.endif
-MAKE_ENV+= ZSNESFX=1
-MAKE_ENV+= ZSNESC4=1
-MAKE_ENV+= ASMCPU=1
-.if !empty(PKG_OPTIONS:Mmmx)
-MAKE_ENV+= ASMKREED=1
-.endif
-.endif
-
-.if exists(${X11BASE}/lib/libXxf86dga.a)
-MAKE_ENV+= NETBSD_USE_DGA=1
-.endif
-
-.if exists(/usr/include/usb.h) || exists(/usr/include/usbhid.h)
-MAKE_ENV+= USBJOY=1
-.if exists(/usr/include/usbhid.h)
-MAKE_ENV+= USBHID_H=1
-.endif
-.endif
-
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/snes9x/PLIST b/emulators/snes9x/PLIST
deleted file mode 100644
index ccce8d21333..00000000000
--- a/emulators/snes9x/PLIST
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:23 zuntum Exp $
-bin/snes9x
-bin/offsets
-share/doc/snes9x/CHANGES.TXT
-share/doc/snes9x/COPYRIGHT.TXT
-share/doc/snes9x/HARDWARE.TXT
-share/doc/snes9x/HOW2PORT.TXT
-share/doc/snes9x/PROBLEMS.TXT
-share/doc/snes9x/README.TXT
-share/doc/snes9x/TODO.TXT
-@dirrm share/doc/snes9x
diff --git a/emulators/snes9x/distinfo b/emulators/snes9x/distinfo
deleted file mode 100644
index e6910c30929..00000000000
--- a/emulators/snes9x/distinfo
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: distinfo,v 1.10 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (s9xs139.zip) = 15acf6d8a31dc51b26a42abf747cec1b72c2aa29
-RMD160 (s9xs139.zip) = b7ede5bda5adb4ee92428264d689624212becc5d
-Size (s9xs139.zip) = 666463 bytes
-SHA1 (patch-aa) = 42b0cf5c4a1387ad1c572c1516771b2cd2e979f4
-SHA1 (patch-ab) = b99893934074d8693a9609d49e49953ade2b2062
-SHA1 (patch-ac) = e54f4fff397dd4ca3be28711fd23c4fbef57ed54
-SHA1 (patch-ad) = 72cc9904c74e0668cce450fcada24453aec344e4
-SHA1 (patch-ae) = cb2ed8dc3ad409ffb88cb9851b04c6c42c3b2b0e
-SHA1 (patch-af) = 302967c91a1e0b384c4990687fb11bf236202783
-SHA1 (patch-ag) = 22959b95af726e773a7386cc43e489fc933e8846
-SHA1 (patch-ah) = 60bd35e51faca36fbd8d8d6354487554af17fe7a
-SHA1 (patch-ai) = 2f522a560577aff89af9efa7a6b129faa99670fd
-SHA1 (patch-aj) = 71f228195be1381f52b1fe875506abde54fd8396
-SHA1 (patch-ak) = 4154979877ac98976a6eaf364030b840e8715e30
-SHA1 (patch-al) = 7c703d57d7b0058d9ef7e598c7a03e18a9a234f8
-SHA1 (patch-am) = 0630f836f8f7d44ee5476a73de4f7934897814f2
-SHA1 (patch-an) = 2cbcd9376cdd98734a7dcd7eba63698946323474
-SHA1 (patch-ao) = 2cb334bed163ef1965fb42ab5f0fa9cd919af835
diff --git a/emulators/snes9x/patches/patch-aa b/emulators/snes9x/patches/patch-aa
deleted file mode 100644
index 73cb35218e0..00000000000
--- a/emulators/snes9x/patches/patch-aa
+++ /dev/null
@@ -1,145 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2003/09/21 18:22:15 kristerw Exp $
---- Makefile.orig Tue Sep 18 08:03:58 2001
-+++ Makefile Sun Sep 21 19:48:50 2003
-@@ -1,14 +1,14 @@
--ZSNESFX=1
--ZSNESC4=1
--ASMCPU=1
-+#ZSNESFX=1
-+#ZSNESC4=1
-+#ASMCPU=1
- #SPC700ASM=1
- NETPLAY=1
- UNZIP=1
- #GLIDE=1
- #OPENGL=1
- #GUI=1
--THREAD_SOUND=1
--ASMKREED=1
-+#THREAD_SOUND=1
-+#ASMKREED=1
-
- ifdef ZSNESFX
- FXOBJ=i386/fxemu2b.o i386/fxemu2.o i386/fxemu2c.o i386/fxtable.o i386/sfxproc.o i386/zsnes.o
-@@ -34,13 +34,20 @@
- C4NO_DEPENDS=zsnes_c4
- endif
-
-+ifdef NETBSD_USE_DGA
- LINUXDEFINES=-DUSE_DGA_EXTENSION -DUSE_VIDMODE_EXTENSION
-+DGALIBS=-lXxf86dga -lXxf86vm
-+endif
-
- ifdef SPC700ASM
- SOUNDOBJ=spctool/spc700.o spctool/dsp.o spctool.o spctool/soundmod.o spc.o
- SOUNDDEFINES=-DSPCTOOL
- else
-+ifdef USING_I386
- SOUNDOBJ=spc700.o soundux.o apu.o i386/spc.o
-+else
-+SOUNDOBJ=spc700.o soundux.o apu.o
-+endif
- SOUNDDEFINES=-DSPC700_C
- endif
-
-@@ -58,6 +65,20 @@
- KREEDOBJ=2xsai.o
- endif
-
-+ifdef USBJOY
-+ifdef USBHID_H
-+USBJOYDEFINES=-DJOYSTICK_SUPPORT -DHAVE_USBHID_H
-+EXTRALIBS+=-lusbhid
-+else
-+USBJOYDEFINES=-DJOYSTICK_SUPPORT
-+EXTRALIBS+=-lusb
-+endif
-+endif
-+
-+ifdef _ASM_UNDERBARS
-+EXTRADEFINES+=-D_ASM_UNDERBARS
-+endif
-+
- OBJECTS=$(CPUOBJ) $(SOUNDOBJ) apudebug.o $(FXOBJ) $(C4OBJ) \
- cpu.o sa1.o debug.o sdd1.o tile.o srtc.o \
- gfx.o memmap.o snaporig.o clip.o dsp1.o \
-@@ -81,9 +102,10 @@
- UNZIPDEFINES=-DUNZIP_SUPPORT
- endif
-
-+EXTRALIBS += -lossaudio
- ifdef THREAD_SOUND
--CPUDEFINES += -DUSE_THREADS
--EXTRALIBS += -lpthread
-+CPUDEFINES += -DUSE_THREADS -I${BUILDLINK_DIR}/include
-+EXTRALIBS += -Wl,-R${LOCALBASE}/lib -L${BUILDLINK_DIR}/lib -lpthread
- endif
-
- ifdef GLIDE
-@@ -113,9 +135,13 @@
- CC = gcc
- NASM = nasm
-
--INCLUDES=-I/usr/X11R6/include -I/usr/local/include
-+INCLUDES=-I${X11BASE}/include
-
--OPTIMISE= -O6 -mpentium -fomit-frame-pointer -fno-exceptions -Wall -W -pedantic -pipe
-+ifdef USING_I386
-+OPTIMISE= -O6 -mpentium -fomit-frame-pointer -fno-exceptions -Wall -W -pipe
-+else
-+OPTIMISE=-fno-exceptions -Wall -W -fomit-frame-pointer
-+endif
-
- #OPTIMISE=-g -fno-exceptions
- #-DMITSHM
-@@ -124,10 +150,8 @@
- -Ii386 \
- -I. \
- -Iunzip \
---DJOYSTICK_SUPPORT \
- -DZLIB \
- -DVAR_CYCLES \
---DDEBUGGER \
- -DCPU_SHUTDOWN \
- -DSPC700_SHUTDOWN \
- -DOLD_COLOUR_BLENDING \
-@@ -142,7 +166,8 @@
- $(OPENGLDEFINES) \
- $(GUIDEFINES) \
- $(KREEDDEFINES) \
---DNO_INLINE_SET_GET
-+$(USBJOYDEFINES) \
-+$(EXTRADEFINES)
-
- #-DSOUND
- #-DDEBUGGER
-@@ -154,9 +179,9 @@
- CFLAGS=$(CCFLAGS)
-
- .SUFFIXES: .o .cpp .c .cc .h .m .i .S .asm .obj
--LDLIBS = -L/usr/X11R6/lib
-+LDLIBS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib
-
--all: offsets snes9x ssnes9x
-+all: offsets snes9x
-
- #ggisnes9x
- #xf86snes9x
-@@ -182,7 +207,7 @@
- ./offsets >i386/offsets.h
-
- snes9x: $(OBJECTS) unix/x11.o $(GLIDEOBJS) $(OPENGLOBJS) $(GUIOBJS) $(KREEDOBJ)
-- $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) $(OPENGLOBJS) $(KREEDOBJ) unix/x11.o $(GUIOBJS) $(LDLIBS) $(GLIDELIBS) $(OPENGLLIBS) $(GUILIBS) -lXxf86dga -lXxf86vm -lXext -lX11 $(EXTRALIBS) -lz -lm
-+ $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) $(OPENGLOBJS) $(KREEDOBJ) unix/x11.o $(GUIOBJS) $(LDLIBS) $(GLIDELIBS) $(OPENGLLIBS) $(GUILIBS) $(DGALIBS) -lXext -lX11 $(EXTRALIBS) -lz -lm
-
- ssnes9x: $(OBJECTS) unix/svga.o $(GLIDEOBJS)
- $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) unix/svga.o $(LDLIBS) $(GLIDELIBS) -lvga -lvgagl -lz $(EXTRALIBS) -lm
-@@ -212,7 +237,7 @@
- $(CCC) $(INCLUDES) -c -E $(CCFLAGS) $*.S -o $@
-
- .asm.o:
-- $(NASM) -f elf $(FXDEFINES) -i. -ii386 -o $@ $*.asm
-+ $(NASM) -f ${FILEFORMAT} $(FXDEFINES) $(EXTRADEFINES) -i. -ii386 -o $@ $*.asm
-
- .obj.o:
- cp $*.obj $*.o
diff --git a/emulators/snes9x/patches/patch-ab b/emulators/snes9x/patches/patch-ab
deleted file mode 100644
index 5b8654d6868..00000000000
--- a/emulators/snes9x/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2001/07/17 15:31:25 wiz Exp $
-
---- i386/asmstruc.h.orig Wed Feb 28 22:12:23 2001
-+++ i386/asmstruc.h
-@@ -38,7 +38,7 @@
- * Super NES and Super Nintendo Entertainment System are trademarks of
- * Nintendo Co., Limited and its subsidiary companies.
- */
--#if defined(__DJGCC) || defined(MICROSOFT_C) || defined(_WINDOWS)
-+#if defined(__DJGCC) || defined(MICROSOFT_C) || defined(_WINDOWS) || defined(_ASM_UNDERBARS)
- #define S9xTraceMessage _S9xTraceMessage
- #define S9xGetPPU _S9xGetPPU
- #define S9xSetPPU _S9xSetPPU
diff --git a/emulators/snes9x/patches/patch-ac b/emulators/snes9x/patches/patch-ac
deleted file mode 100644
index 9855a985614..00000000000
--- a/emulators/snes9x/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2002/07/08 01:04:10 kristerw Exp $
---- 2xsai.cpp.orig Mon Jul 8 01:58:01 2002
-+++ 2xsai.cpp Mon Jul 8 01:58:55 2002
-@@ -46,10 +46,6 @@
- #include "port.h"
- #include "gfx.h"
-
--#if (defined (__i386__) || defined (__i486__) ||\
-- defined (__i586__) || defined (__WIN32__) || defined (__DJGPP))
--#define MMX
--#endif
-
- extern "C"
- {
diff --git a/emulators/snes9x/patches/patch-ad b/emulators/snes9x/patches/patch-ad
deleted file mode 100644
index 2ff304400f3..00000000000
--- a/emulators/snes9x/patches/patch-ad
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2001/07/17 15:31:25 wiz Exp $
-
---- netplay.cpp.orig Wed Feb 28 22:12:22 2001
-+++ netplay.cpp
-@@ -75,8 +75,12 @@
-
- #ifdef USE_THREADS
- #include <pthread.h>
-+#ifdef __NetBSD__
-+#include <sys/sched.h>
-+#else
- #include <sched.h>
- #include <semaphore.h>
-+#endif
- #endif
-
- #include "snes9x.h"
diff --git a/emulators/snes9x/patches/patch-ae b/emulators/snes9x/patches/patch-ae
deleted file mode 100644
index 2bfb67427fe..00000000000
--- a/emulators/snes9x/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2001/07/17 15:31:25 wiz Exp $
-
---- port.h.orig Wed Feb 28 22:12:22 2001
-+++ port.h
-@@ -188,6 +188,10 @@
- #define TITLE "Snes9X: Linux"
- #endif
-
-+#ifdef __NetBSD__
-+#define TITLE "Snes9X: NetBSD"
-+#endif
-+
- #ifndef TITLE
- #define TITLE "Snes9x"
- #endif
diff --git a/emulators/snes9x/patches/patch-af b/emulators/snes9x/patches/patch-af
deleted file mode 100644
index 72b99897b4a..00000000000
--- a/emulators/snes9x/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.3 2001/07/17 15:31:25 wiz Exp $
-
---- soundux.h.orig Wed Feb 28 22:12:23 2001
-+++ soundux.h
-@@ -79,7 +79,7 @@
- int stereo;
- bool8 sixteen_bit;
- bool8 encoded;
--#ifdef __sun
-+#if defined(__sun) || defined(__NetBSD__)
- int last_eof;
- #endif
- #ifdef __sgi
diff --git a/emulators/snes9x/patches/patch-ag b/emulators/snes9x/patches/patch-ag
deleted file mode 100644
index 82960c213c9..00000000000
--- a/emulators/snes9x/patches/patch-ag
+++ /dev/null
@@ -1,363 +0,0 @@
-$NetBSD: patch-ag,v 1.5 2003/09/21 18:22:16 kristerw Exp $
---- unix/unix.cpp.orig 2001-09-18 06:03:40.000000000 +0000
-+++ unix/unix.cpp 2003-09-21 17:59:18.000000000 +0000
-@@ -51,7 +51,7 @@
- #include <ctype.h>
- #include <dirent.h>
-
--#if defined(__linux) || defined(__sun)
-+#if defined(__linux) || defined(__sun) || defined(__NetBSD__)
- #undef USE_THREADS
- #define USE_THREADS
- #include <unistd.h>
-@@ -62,7 +62,11 @@
-
- #ifdef USE_THREADS
- #include <pthread.h>
-+#ifdef __NetBSD__
-+#include <sys/sched.h>
-+#else
- #include <sched.h>
-+#endif
-
- pthread_t thread;
- pthread_mutex_t mutex;
-@@ -72,6 +76,9 @@
- #include <sys/soundcard.h>
- #include <sys/mman.h>
- #endif
-+#ifdef __NetBSD__
-+#include <soundcard.h>
-+#endif
-
- #ifdef __sun
- #ifdef __SVR4
-@@ -84,6 +91,9 @@
- #if defined(__sun) && defined(__GNUC__)
- typedef void (*SIG_PF)();
- #endif
-+#if defined(__NetBSD__)
-+typedef void (*SIG_PF)(int);
-+#endif
-
- #include "snes9x.h"
- #include "memmap.h"
-@@ -111,6 +121,51 @@
- int NumControllers = 5;
-
- #ifdef JOYSTICK_SUPPORT
-+#ifdef __NetBSD__
-+#ifdef HAVE_USBHID_H
-+#include <usbhid.h>
-+#else
-+#include <usb.h>
-+#endif
-+#define class Class
-+#include <dev/usb/usb.h>
-+#include <dev/usb/usbhid.h>
-+
-+struct priv_joydata_struct
-+{
-+ struct hid_item *hids;
-+ int dlen;
-+ int offset;
-+ char *data_buf;
-+} priv_joy_data[4];
-+
-+int js_fd [4] = {-1, -1, -1, -1};
-+int js_map_button [4][16] = {
-+ {
-+ SNES_A_MASK, SNES_B_MASK, SNES_X_MASK, SNES_Y_MASK,
-+ SNES_TL_MASK, SNES_TR_MASK, SNES_START_MASK, SNES_SELECT_MASK,
-+ 0, 0, 0, 0, 0, 0, 0, 0
-+ },
-+ {
-+ SNES_A_MASK, SNES_B_MASK, SNES_X_MASK, SNES_Y_MASK,
-+ SNES_TL_MASK, SNES_TR_MASK, SNES_START_MASK, SNES_SELECT_MASK,
-+ 0, 0, 0, 0, 0, 0, 0, 0
-+ },
-+ {
-+ SNES_A_MASK, SNES_B_MASK, SNES_X_MASK, SNES_Y_MASK,
-+ SNES_TL_MASK, SNES_TR_MASK, SNES_START_MASK, SNES_SELECT_MASK,
-+ 0, 0, 0, 0, 0, 0, 0, 0
-+ },
-+ {
-+ SNES_A_MASK, SNES_B_MASK, SNES_X_MASK, SNES_Y_MASK,
-+ SNES_TL_MASK, SNES_TR_MASK, SNES_START_MASK, SNES_SELECT_MASK,
-+ 0, 0, 0, 0, 0, 0, 0, 0
-+ }
-+};
-+
-+char *js_device [4] = {"/dev/uhid0", "/dev/uhid1", "/dev/uhid2", "/dev/uhid3"};
-+
-+#endif
- #ifdef __linux
- #include <linux/joystick.h>
- int js_fd [4] = {-1, -1, -1, -1};
-@@ -168,7 +223,7 @@
- char *rom_filename = NULL;
- char *snapshot_filename = NULL;
-
--#if defined(__linux) || defined(__sun)
-+#if defined(__linux) || defined(__sun) || defined(__NetBSD__)
- static void sigbrkhandler(int)
- {
- #ifdef DEBUGGER
-@@ -612,6 +667,106 @@
- #ifdef JOYSTICK_SUPPORT
- void InitJoysticks ()
- {
-+#ifdef __NetBSD__
-+ int i, size, is_joystick, report_id = 0;
-+ struct hid_data *d;
-+ struct hid_item h;
-+ report_desc_t rd;
-+
-+ printf("USB joystick interface initialization...\n");
-+
-+ for (i = 0; i < 4; i++)
-+ {
-+ if ((js_fd [i] = open (js_device [i], O_RDONLY | O_NONBLOCK)) != -1)
-+ {
-+ if ((rd = hid_get_report_desc(js_fd [i])) == 0)
-+ {
-+ perror (js_device [i]);
-+ close (js_fd [i]);
-+ }
-+
-+ priv_joy_data[i].hids = NULL;
-+
-+#ifdef HAVE_USBHID_H
-+ if (ioctl(js_fd [i], USB_GET_REPORT_ID, &report_id) < 0)
-+ {
-+ perror (js_device [i]);
-+ close (js_fd [i]);
-+ }
-+
-+ size = hid_report_size(rd, hid_input, report_id);
-+ priv_joy_data[i].offset = 0;
-+#else
-+ size = hid_report_size(rd, hid_input, &report_id);
-+ priv_joy_data[i].offset = (report_id != 0);
-+#endif
-+ if ((priv_joy_data[i].data_buf = (char*)malloc(size)) == NULL)
-+ {
-+ printf("error: couldn't malloc %d bytes\n", size);
-+ hid_dispose_report_desc(rd);
-+ }
-+ priv_joy_data[i].dlen = size;
-+
-+ is_joystick = 0;
-+#ifdef HAVE_USBHID_H
-+ for (d = hid_start_parse(rd, 1 << hid_input, report_id); hid_get_item(d, &h); )
-+#else
-+ for (d = hid_start_parse(rd, 1 << hid_input); hid_get_item(d, &h); )
-+#endif
-+ {
-+ int axes = 0, buttons = 0, usage, page, interesting_hid;
-+
-+ page = HID_PAGE(h.usage);
-+ usage = HID_USAGE(h.usage);
-+
-+ is_joystick = is_joystick ||
-+ (h.kind == hid_collection &&
-+ page == HUP_GENERIC_DESKTOP &&
-+ (usage == HUG_JOYSTICK || usage == HUG_GAME_PAD));
-+
-+ if (h.kind != hid_input)
-+ continue;
-+
-+ if (!is_joystick)
-+ continue;
-+
-+ interesting_hid = TRUE;
-+ if (page == HUP_GENERIC_DESKTOP)
-+ {
-+ if (usage == HUG_X || usage == HUG_RX)
-+ axes = 1;
-+ else if (usage == HUG_Y || usage == HUG_RY)
-+ axes = 2;
-+ else if (usage == HUG_Z || usage == HUG_RZ)
-+ axes = 3;
-+ else
-+ interesting_hid = FALSE;
-+ }
-+ else if (page == HUP_BUTTON)
-+ {
-+ if (usage > 0)
-+ buttons = usage;
-+ else
-+ interesting_hid = FALSE;
-+
-+ }
-+
-+ if (interesting_hid)
-+ {
-+ h.next = priv_joy_data[i].hids;
-+ priv_joy_data[i].hids = (struct hid_item *)malloc(sizeof *(priv_joy_data[i].hids));
-+ if (priv_joy_data[i].hids == NULL)
-+ {
-+ printf("error: Not enough memory for joystick.\n");
-+ break;
-+ }
-+ *(priv_joy_data[i].hids) = h;
-+ }
-+ }
-+ hid_end_parse(d);
-+ }
-+ }
-+#endif
- #ifdef JSIOCGVERSION
- int version;
- unsigned char axes, buttons;
-@@ -664,6 +819,77 @@
-
- void ReadJoysticks ()
- {
-+#ifdef __NetBSD__
-+ int i, usage, page, d;
-+ struct hid_item *h;
-+
-+ for (i = 0; i < 4 && js_fd [i] >= 0; i++)
-+ {
-+ int len;
-+
-+ len = read(js_fd [i], priv_joy_data[i].data_buf, priv_joy_data[i].dlen);
-+ if (len < priv_joy_data[i].dlen)
-+ continue;
-+
-+ for (h = priv_joy_data[i].hids; h; h = h->next)
-+ {
-+ d = hid_get_data(priv_joy_data[i].data_buf + priv_joy_data[i].offset, h);
-+
-+ page = HID_PAGE(h->usage);
-+ usage = HID_USAGE(h->usage);
-+
-+ if (page == HUP_GENERIC_DESKTOP)
-+ {
-+ int center, trigger_point;
-+
-+ center = (h->logical_maximum + h->logical_minimum) / 2;
-+ trigger_point = (h->logical_maximum - h->logical_minimum) / 4;
-+
-+ if (usage == HUG_X || usage == HUG_RX)
-+ {
-+ if (d < (center - trigger_point))
-+ {
-+ joypads [i] |= SNES_LEFT_MASK;
-+ joypads [i] &= ~SNES_RIGHT_MASK;
-+ continue;
-+ }
-+ if (d > (center + trigger_point))
-+ {
-+ joypads [i] &= ~SNES_LEFT_MASK;
-+ joypads [i] |= SNES_RIGHT_MASK;
-+ continue;
-+ }
-+ joypads [i] &= ~SNES_LEFT_MASK;
-+ joypads [i] &= ~SNES_RIGHT_MASK;
-+ }
-+ if (usage == HUG_Y || usage == HUG_RY)
-+ {
-+ if (d < (center - trigger_point))
-+ {
-+ joypads [i] |= SNES_UP_MASK;
-+ joypads [i] &= ~SNES_DOWN_MASK;
-+ continue;
-+ }
-+ if (d > (center + trigger_point))
-+ {
-+ joypads [i] &= ~SNES_UP_MASK;
-+ joypads [i] |= SNES_DOWN_MASK;
-+ continue;
-+ }
-+ joypads [i] &= ~SNES_UP_MASK;
-+ joypads [i] &= ~SNES_DOWN_MASK;
-+ }
-+ }
-+ else if (page == HUP_BUTTON)
-+ {
-+ if (d == h->logical_maximum)
-+ joypads [i] |= js_map_button [i][usage - 1];
-+ else
-+ joypads [i] &= ~js_map_button [i][usage - 1];
-+ }
-+ }
-+ }
-+#endif
- #ifdef JSIOCGVERSION
- struct js_event js_ev;
- int i;
-@@ -1422,7 +1648,7 @@
- }
- #endif
-
--#if defined(__linux)
-+#if defined(__linux) || defined(__NetBSD__)
- static int Rates[8] =
- {
- 0, 8192, 11025, 16500, 22050, 29300, 36600, 44000
-@@ -1437,11 +1663,19 @@
- {
- int J, K;
-
-+#if defined(__NetBSD__)
-+ if ((so.sound_fd = open ("/dev/audio", O_WRONLY)) < 0)
-+ {
-+ perror ("/dev/audio");
-+ return (FALSE);
-+ }
-+#else
- if ((so.sound_fd = open ("/dev/dsp", O_WRONLY)) < 0)
- {
- perror ("/dev/dsp");
- return (FALSE);
- }
-+#endif
-
- #ifdef MMAP_SOUND
- if (ioctl (so.sound_fd, SNDCTL_DSP_GETCAPS, &J) < 0)
-@@ -1485,14 +1719,14 @@
- so.sixteen_bit = TRUE;
-
- so.stereo = stereo;
-- if (ioctl (so.sound_fd, SNDCTL_DSP_STEREO, &so.stereo) < 0)
-+ if (ioctl (so.sound_fd, SNDCTL_DSP_STEREO, (void *)&so.stereo) < 0)
- {
- perror ("ioctl SNDCTL_DSP_STEREO");
- return (FALSE);
- }
-
- so.playback_rate = Rates[mode & 0x07];
-- if (ioctl (so.sound_fd, SNDCTL_DSP_SPEED, &so.playback_rate) < 0)
-+ if (ioctl (so.sound_fd, SNDCTL_DSP_SPEED, (void *)&so.playback_rate) < 0)
- {
- perror ("ioctl SNDCTL_DSP_SPEED");
- return (FALSE);
-@@ -1517,7 +1751,7 @@
- perror ("ioctl SNDCTL_DSP_SETFRAGMENT");
- return (FALSE);
- }
-- ioctl (so.sound_fd, SNDCTL_DSP_GETBLKSIZE, &so.buffer_size);
-+ ioctl (so.sound_fd, SNDCTL_DSP_GETBLKSIZE, (void *)&so.buffer_size);
-
- #ifdef MMAP_SOUND
- J = PCM_ENABLE_OUTPUT;
-@@ -1541,7 +1775,7 @@
- }
- #endif
-
--#if defined (__linux) || defined (__sun)
-+#if defined (__linux) || defined (__sun) || defined(__NetBSD__)
- void S9xUnixProcessSound (void)
- {
- }
-@@ -1640,7 +1874,7 @@
-
- void *S9xProcessSound (void *)
- {
--#ifdef __linux
-+#if defined(__linux) || defined(__NetBSD__)
- audio_buf_info info;
-
- if (!Settings.ThreadSound &&
diff --git a/emulators/snes9x/patches/patch-ah b/emulators/snes9x/patches/patch-ah
deleted file mode 100644
index 788b24bf0ca..00000000000
--- a/emulators/snes9x/patches/patch-ah
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2001/07/17 15:31:25 wiz Exp $
-
---- unzip/unz.h.orig Wed Aug 25 07:52:56 1999
-+++ unzip/unz.h
-@@ -11,6 +11,14 @@
- ---------------------------------------------------------------------------*/
-
- #include "zlib.h"
-+/* removed in NetBSD around 2001/01/18 */
-+#ifndef OF
-+# ifdef STDC
-+# define OF(args) args
-+# else
-+# define OF(args) ()
-+# endif
-+#endif
-
- /*****************************************/
- /* Predefined, Machine-specific Macros */
diff --git a/emulators/snes9x/patches/patch-ai b/emulators/snes9x/patches/patch-ai
deleted file mode 100644
index 4082dabbba7..00000000000
--- a/emulators/snes9x/patches/patch-ai
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2001/07/17 15:31:25 wiz Exp $
-
---- unzip/unzip.h.orig Wed Aug 25 07:52:56 1999
-+++ unzip/unzip.h
-@@ -49,6 +49,15 @@
- #include "zlib.h"
- #endif
-
-+/* removed in NetBSD around 2001/01/18 */
-+#ifndef OF
-+# ifdef STDC
-+# define OF(args) args
-+# else
-+# define OF(args) ()
-+# endif
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */
diff --git a/emulators/snes9x/patches/patch-aj b/emulators/snes9x/patches/patch-aj
deleted file mode 100644
index 58935358c51..00000000000
--- a/emulators/snes9x/patches/patch-aj
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2002/07/14 07:44:44 kristerw Exp $
---- snes9x.cpp.orig Sat Jul 13 22:00:14 2002
-+++ snes9x.cpp Sat Jul 13 22:04:07 2002
-@@ -141,6 +141,9 @@
- -joydevX /dev/jsY Use joystick device /dev/jsY for emulation of gamepad X\n");
- S9xMessage (S9X_INFO, S9X_USAGE, "\
- -joymapX 0 1 2 3 4 5 6 7 Joystick buttons which should be assigned to gamepad X - A B X Y TL TR Start and Select\n");
-+#elif defined(__NetBSD__)
-+ S9xMessage (S9X_INFO, S9X_USAGE, "\
-+-joymapX 0 1 2 3 4 5 6 7 Joystick buttons which should be assigned to gamepad X - A B X Y TL TR Start and Select\n");
- #else
- S9xMessage (S9X_INFO, S9X_USAGE, "\
- -four or -4 Single standard PC joystick has four buttons\n");
diff --git a/emulators/snes9x/patches/patch-ak b/emulators/snes9x/patches/patch-ak
deleted file mode 100644
index 3f0799a1d70..00000000000
--- a/emulators/snes9x/patches/patch-ak
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2002/12/30 21:40:12 kristerw Exp $
---- i386/zsnesc4.asm.orig Mon Dec 30 21:21:54 2002
-+++ i386/zsnesc4.asm Mon Dec 30 21:22:42 2002
-@@ -51,7 +51,7 @@
-
- SECTION .data
-
--%ifdef __DJGPP__
-+%ifdef _ASM_UNDERBARS
- %define ROM _ROM
- %define RegRAM _RegRAM
- %define S9xInitC4 _S9xInitC4
diff --git a/emulators/snes9x/patches/patch-al b/emulators/snes9x/patches/patch-al
deleted file mode 100644
index 32078bf91cb..00000000000
--- a/emulators/snes9x/patches/patch-al
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-al,v 1.1 2002/12/30 21:40:12 kristerw Exp $
---- i386/zsnes.asm.orig Mon Dec 30 21:21:47 2002
-+++ i386/zsnes.asm Mon Dec 30 21:22:23 2002
-@@ -92,7 +92,7 @@
-
- SECTION .data
-
--%ifdef __DJGPP__
-+%ifdef _ASM_UNDERBARS
- %define SRAM _SRAM
- %define ROM _ROM
- %define RegRAM _RegRAM
diff --git a/emulators/snes9x/patches/patch-am b/emulators/snes9x/patches/patch-am
deleted file mode 100644
index 7ae7402f488..00000000000
--- a/emulators/snes9x/patches/patch-am
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-am,v 1.1 2002/12/30 21:40:12 kristerw Exp $
---- i386/spc.asm.orig Mon Dec 30 21:53:48 2002
-+++ i386/spc.asm Mon Dec 30 21:54:09 2002
-@@ -18,7 +18,7 @@
- ;Destroys:
- ; EAX
-
--%ifdef __DJGPP__
-+%ifdef _ASM_UNDERBARS
- %define DecodeBlockAsm _DecodeBlockAsm
- %define DecodeBlockAsm2 _DecodeBlockAsm2
- %endif
diff --git a/emulators/snes9x/patches/patch-an b/emulators/snes9x/patches/patch-an
deleted file mode 100644
index cfc5066e099..00000000000
--- a/emulators/snes9x/patches/patch-an
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-an,v 1.1 2002/12/30 21:40:12 kristerw Exp $
---- i386/c4.asm.orig Mon Dec 30 22:31:27 2002
-+++ i386/c4.asm Mon Dec 30 22:31:55 2002
-@@ -5,7 +5,7 @@
- ; enter : BL = bank number, CX = address location
- ; leave : AL = value read
-
--%ifdef __DJGPP__
-+%ifdef _ASM_UNDERBARS
- %define C4WFXVal _C4WFXVal
- %define C4WFYVal _C4WFYVal
- %define C4WFX2Val _C4WFX2Val
diff --git a/emulators/snes9x/patches/patch-ao b/emulators/snes9x/patches/patch-ao
deleted file mode 100644
index 72c88d96537..00000000000
--- a/emulators/snes9x/patches/patch-ao
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2002/12/30 21:40:12 kristerw Exp $
---- i386/sa1struc.h.orig Mon Dec 30 22:30:11 2002
-+++ i386/sa1struc.h Mon Dec 30 22:30:50 2002
-@@ -38,7 +38,7 @@
- * Super NES and Super Nintendo Entertainment System are trademarks of
- * Nintendo Co., Limited and its subsidiary companies.
- */
--#if defined(__DJGCC) || defined(MICROSOFT_C) || defined(_WINDOWS)
-+#if defined(__DJGCC) || defined(MICROSOFT_C) || defined(_WINDOWS) || defined(_ASM_UNDERBARS)
- #define S9xTraceMessage _S9xTraceMessage
- #define S9xGetPPU _S9xGetPPU
- #define S9xSetPPU _S9xSetPPU
diff --git a/emulators/spim/DESCR b/emulators/spim/DESCR
deleted file mode 100644
index 7345e277543..00000000000
--- a/emulators/spim/DESCR
+++ /dev/null
@@ -1,13 +0,0 @@
-MIPS R2000 Simulator -- "1/25th the performance at none of the cost"
-
-Spim/Xspim simulates MIPS R2000 assembly code, providing a gdb and xgdb
-like interface to the classical MIPS RISC CPU. The virtual machine
-it provides can be either the one presented by the MIPS assembler or the
-one of the bare hardware. The simulator can also be built to simulate the
-pipeline architecture of the MIPS machine (both the control and floating
-point pipelines). When built for this, it also simulates and displays
-an instruction and data cache.
-
-This simulator is useful in CS and EE classes, including providing a
-target machine for compilers courses, lower division assembly language
-programming, microprocessor design courses, etc...
diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile
deleted file mode 100644
index a6d75d5179a..00000000000
--- a/emulators/spim/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# $NetBSD: Makefile,v 1.26 2005/09/12 14:53:29 adam Exp $
-
-DISTNAME= spim-7.1
-CATEGORIES= emulators
-MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ \
- ftp://ftp.cs.wisc.edu/pub/spim/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
-COMMENT= MIPS R2000 Simulator
-
-RESTRICTED= "selling is not allowed"
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-#DIST_SUBDIR= ${PKGNAME}
-
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-HAS_CONFIGURE= yes
-CONFIGURE_SCRIPT= ./Configure
-USE_IMAKE= yes
-USE_TOOLS+= gzip lex
-XMKMF= ${X11BASE}/bin/xmkmf # don't specify -a option
-
-BUILD_TARGET= y.tab.c depend spim xspim
-
-pre-configure:
- @${RM} -f ${WRKSRC}/y.tab.*
-
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/spim
- ${CHMOD} a+rx ${PREFIX}/share/spim
-
-post-install:
- @${ECHO} "Installing spim/xspim documentation"
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spim \
- && ${CHMOD} a+rx ${PREFIX}/share/doc/spim
- ${INSTALL_DATA} ${WRKSRC}/Documentation/spim.tex \
- ${PREFIX}/share/doc/spim
- ${INSTALL_DATA} ${WRKSRC}/Documentation/*.id \
- ${PREFIX}/share/doc/spim
- ${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
- ${PREFIX}/share/doc/spim
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/spim/PLIST b/emulators/spim/PLIST
deleted file mode 100644
index 96902578082..00000000000
--- a/emulators/spim/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/07/17 21:38:45 kristerw Exp $
-bin/spim
-bin/xspim
-share/doc/spim/cause_reg.id
-share/doc/spim/cycle.ps
-share/doc/spim/io_reg.id
-share/doc/spim/mem.id
-share/doc/spim/mips.id
-share/doc/spim/spim.tex
-share/doc/spim/stack-frame.id
-share/doc/spim/status_reg.id
-share/doc/spim/xinterface.id
-share/spim/exceptions.s
-@dirrm share/spim
-@dirrm share/doc/spim
diff --git a/emulators/spim/distinfo b/emulators/spim/distinfo
deleted file mode 100644
index f5118597ca5..00000000000
--- a/emulators/spim/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/09/12 14:53:29 adam Exp $
-
-SHA1 (spim-7.1.tar.gz) = 3e0399e4c2e007aecbd2532b9d8f3f63b7035ff9
-RMD160 (spim-7.1.tar.gz) = 175f63d95011a20087ab135de54b03fccc98286d
-Size (spim-7.1.tar.gz) = 307599 bytes
-SHA1 (patch-aa) = 6c2ed827f757d3bb92d202d694e631c96750183a
-SHA1 (patch-ab) = 5e1cf699e926f434d6f6aba8f55df7ad7da44fdb
diff --git a/emulators/spim/patches/patch-aa b/emulators/spim/patches/patch-aa
deleted file mode 100644
index dc0d72db3e5..00000000000
--- a/emulators/spim/patches/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2005/07/17 21:38:45 kristerw Exp $
-
---- Imakefile.orig 2005-07-17 23:05:04.000000000 +0200
-+++ Imakefile 2005-07-17 23:06:37.000000000 +0200
-@@ -44,13 +44,13 @@
- #
-
- # Full path for directory that will hold the exception handler file:
--EXCEPTION_DIR = .
-+EXCEPTION_DIR = $(PREFIX)/share/spim
-
- # Full path for the directory that will hold the executable files:
--BIN_DIR = /usr/unsup/bin
-+BIN_DIR = $(PREFIX)/bin
-
- # Full path for the directory that will hold the man files:
--MAN_DIR = /var/unsup/man
-+MAN_DIR = $(PREFIX)/man/man1
-
-
- # If you have flex, use it instead of lex. If you use flex, define this
-@@ -250,7 +250,7 @@
- mv -f lex.yy.c.xx lex.yy.c
-
- depend::
-- makedepend -w10 *.c
-+ makedepend -w10 -I$(X11BASE)/include *.c
-
- #
- # DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/emulators/spim/patches/patch-ab b/emulators/spim/patches/patch-ab
deleted file mode 100644
index 62f7274167e..00000000000
--- a/emulators/spim/patches/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/07/17 21:38:45 kristerw Exp $
-
---- Configure.orig 2005-07-17 23:11:53.000000000 +0200
-+++ Configure 2005-07-17 23:13:20.000000000 +0200
-@@ -150,14 +150,15 @@
-
-
- echo
--echo Checking for /usr/include/termios.h
--if [ -f /usr/include/termios.h ]; then
-- echo "-DUSE_TERMIOS" >> configuration
-- echo "Yes, it is there"
--else
-- # No termios
-- echo "No, it is not there"
--fi;
-+# The pkg uses unportable termios.h stuff, so disable it.
-+#echo Checking for /usr/include/termios.h
-+#if [ -f /usr/include/termios.h ]; then
-+# echo "-DUSE_TERMIOS" >> configuration
-+# echo "Yes, it is there"
-+#else
-+# # No termios
-+# echo "No, it is not there"
-+#fi;
-
-
- if [ -f /usr/lib/libc.dylib ]; then
diff --git a/emulators/stella/DESCR b/emulators/stella/DESCR
deleted file mode 100644
index f964907a60c..00000000000
--- a/emulators/stella/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-Stella is a freely distributed multi-platform Atari 2600 VCS emulator;
-originally developed for Linux by Bradford W. Mott. Stella allows you to
-enjoy all of your favorite 2600 games once again by emulating the 2600's
-hardware with software. Stella is written in C++, which allows it to be
-ported to other operating systems and architectures. Since its original
-release Stella has been ported to AcornOS, AmigaOS, DOS, FreeBSD, IRIX,
-Linux, MacOS, OpenStep, OS/2, Unix, and Windows.
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
deleted file mode 100644
index 6a1f123c167..00000000000
--- a/emulators/stella/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# $NetBSD: Makefile,v 1.25 2005/06/16 06:57:51 jlam Exp $
-
-STELLA_VERSION= 1.4.1
-DISTNAME= stella-${STELLA_VERSION}-src
-PKGNAME= stella-${STELLA_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stella/}
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://stella.sourceforge.net/
-COMMENT= Multi-platform Atari 2600 VCS emulator
-
-PATCHDIR= ${.CURDIR}/../stella/patches
-DISTINFO_FILE= ${.CURDIR}/../stella/distinfo
-
-WRKSRC= ${WRKDIR}/stella-${STELLA_VERSION}/src/build
-USE_LANGUAGES= c c++
-USE_TOOLS+= gmake
-USE_INSTALL= YES
-UNLIMIT_RESOURCES=datasize
-
-MAKEFILE= makefile
-BUILD_TARGET= linux
-
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
-GCC_REQD+= 3.0
-.endif
-
-MAKE_ENV= CXXFLAGS="${CXXFLAGS} -fno-rtti"
-
-DOCDIR=${PREFIX}/share/doc/html/stella
-DATADIR=${PREFIX}/share/stella
-
-INSTALLATION_DIRS= bin
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/stella ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}/graphics
- ${INSTALL_DATA} ${WRKSRC}/../../docs/stella.html ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/../../docs/graphics/* ${DOCDIR}/graphics
- ${INSTALL_DATA_DIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/../emucore/stella.pro ${DATADIR}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/stella/PLIST b/emulators/stella/PLIST
deleted file mode 100644
index 56de74177e4..00000000000
--- a/emulators/stella/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2004/08/13 16:12:25 dillo Exp $
-bin/stella
-share/doc/html/stella/graphics/chucky_cheese.png
-share/doc/html/stella/graphics/circuit.png
-share/doc/html/stella/graphics/console.png
-share/doc/html/stella/graphics/jr_pacman.png
-share/doc/html/stella/graphics/pacman.png
-share/doc/html/stella/graphics/secret_quest.png
-share/doc/html/stella/graphics/space_invaders.png
-share/doc/html/stella/stella.html
-share/stella/stella.pro
-@dirrm share/doc/html/stella/graphics
-@dirrm share/doc/html/stella
-@dirrm share/stella
diff --git a/emulators/stella/distinfo b/emulators/stella/distinfo
deleted file mode 100644
index 7a92f76875f..00000000000
--- a/emulators/stella/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (stella-1.4.1-src.tar.gz) = 085650e00b7d077f9da0069b327f9c9bbec893e4
-RMD160 (stella-1.4.1-src.tar.gz) = b000bd9e7b5c7cb9c29ebec519adff6479250663
-Size (stella-1.4.1-src.tar.gz) = 707079 bytes
-SHA1 (patch-aa) = 893d5ad5165f02c2dfde5d07c348362aba36d340
-SHA1 (patch-ab) = a7d13dd26b7656385c09fda306b8272dd3feae4c
diff --git a/emulators/stella/patches/patch-aa b/emulators/stella/patches/patch-aa
deleted file mode 100644
index 959426743b9..00000000000
--- a/emulators/stella/patches/patch-aa
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2004/08/13 16:12:25 dillo Exp $
-
---- makefile.orig 2004-07-14 18:49:45.000000000 +0200
-+++ makefile
-@@ -48,13 +48,13 @@ OPTIMIZATIONS =
- ## No configurable options below this line ...
- ##============================================================================
-
--CXX = g++
--LD = g++
-+#CXX = g++
-+#LD = g++
-
--LDFLAGS = `sdl-config --cflags`
-+LDFLAGS += `sdl-config --cflags`
- LDLIBS = `sdl-config --libs`
- OBJECTS = mainSDL.o SoundSDL.o FrameBufferSDL.o FrameBufferSoft.o
--OPTIONS =
-+OPTIONS = -DPKG_SYSCONFDIR=\\\"${PKG_SYSCONFDIR}\\\" -DDATADIR=\\\"${PREFIX}/share/stella\\\"
- EXE_NAME =
- SMP =
-
-@@ -155,8 +155,7 @@ CORE_OBJS = Booster.o Cart.o Cart2K.o Ca
- $(M6502_OBJS)
-
- stella: $(CORE_OBJS) $(OBJS)
-- $(LD) -o $(EXE_NAME) $(CORE_OBJS) $(OBJS) $(LDFLAGS) $(LDLIBS)
-- strip $(EXE_NAME)
-+ $(CXX) -o $(EXE_NAME) $(CORE_OBJS) $(OBJS) $(LDLIBS)
-
- M6502Low.ins: $(CORE)/m6502/src/M6502Low.m4 $(CORE)/m6502/src/M6502.m4
- m4 $(CORE)/m6502/src/M6502Low.m4 $(CORE)/m6502/src/M6502.m4 > $(CORE)/m6502/src/M6502Low.ins
diff --git a/emulators/stella/patches/patch-ab b/emulators/stella/patches/patch-ab
deleted file mode 100644
index 8119a3938d1..00000000000
--- a/emulators/stella/patches/patch-ab
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2004/08/16 22:23:58 dillo Exp $
-
---- ../unix/SettingsUNIX.cxx.orig 2004-07-05 02:53:48.000000000 +0200
-+++ ../unix/SettingsUNIX.cxx
-@@ -43,9 +43,9 @@ SettingsUNIX::SettingsUNIX()
- mkdir(myStateDir.c_str(), 0777);
-
- myUserPropertiesFile = stelladir + "/stella.pro";
-- mySystemPropertiesFile = "/etc/stella.pro";
-+ mySystemPropertiesFile = DATADIR "/stella.pro";
- myUserConfigFile = stelladir + "/stellarc";
-- mySystemConfigFile = "/etc/stellarc";
-+ mySystemConfigFile = PKG_SYSCONFDIR "/stellarc";
-
- // Set up the names of the input and output config files
- mySettingsOutputFilename = myUserConfigFile;
-@@ -54,6 +54,10 @@ SettingsUNIX::SettingsUNIX()
- else
- mySettingsInputFilename = mySystemConfigFile;
-
-+ // otherwise the system properties file is never used
-+ if(!fileExists(myUserPropertiesFile))
-+ myUserPropertiesFile = "";
-+
- mySnapshotFile = "";
- myStateFile = "";
- }
diff --git a/emulators/suse91_aspell/DESCR b/emulators/suse91_aspell/DESCR
deleted file mode 100644
index 62e5a3f87e9..00000000000
--- a/emulators/suse91_aspell/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which don't
-require X11 shared libraries.
diff --git a/emulators/suse91_aspell/Makefile b/emulators/suse91_aspell/Makefile
deleted file mode 100644
index 1674fd09afe..00000000000
--- a/emulators/suse91_aspell/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/11/06 14:52:43 salo Exp $
-
-DISTNAME= suse_aspell-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for Aspell library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= aspell-0.50.5-38.4.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_aspell/distinfo b/emulators/suse91_aspell/distinfo
deleted file mode 100644
index 73eeeb8adeb..00000000000
--- a/emulators/suse91_aspell/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/11/06 14:52:43 salo Exp $
-
-SHA1 (suse91/i586/aspell-0.50.5-38.4.i586.rpm) = cffd30f8176afb8f3ad51fb50c09fbd34413d74e
-RMD160 (suse91/i586/aspell-0.50.5-38.4.i586.rpm) = 5244e5a391a01373ded4b866a0eb2f8e133dde96
-Size (suse91/i586/aspell-0.50.5-38.4.i586.rpm) = 566009 bytes
diff --git a/emulators/suse91_base/DESCR b/emulators/suse91_base/DESCR
deleted file mode 100644
index 62e5a3f87e9..00000000000
--- a/emulators/suse91_base/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which don't
-require X11 shared libraries.
diff --git a/emulators/suse91_base/INSTALL b/emulators/suse91_base/INSTALL
deleted file mode 100644
index c1e09085303..00000000000
--- a/emulators/suse91_base/INSTALL
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# $NetBSD: INSTALL,v 1.1.1.1 2004/07/13 10:31:13 tron Exp $
-
-if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
-emul=linux
-OPSYS=`/usr/bin/uname -s`
-
-cat <<EOF
-==============================================================================
-
-EOF
-
-if [ "$OPSYS" = "NetBSD" ]; then
- cat <<-EOF
- Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older
- than 1.5) in your kernel configuration file. (Linux binaries require these
- options in order to work.)
- EOF
-fi
-
-if [ "$OPSYS" = "FreeBSD" ]; then
- cat <<-EOF
- Do not forget to include COMPAT_LINUX in your kernel configuration file.
- You also need to load "linux.ko" kernel module (using kldload(8) or by
- setting linux_enable="yes" in /etc/rc.conf.
- EOF
-fi
-
-if [ "$OPSYS" = "NetBSD" ]; then
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /emul/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /emul/$emul.)
- EOF
- else
- mkdir -p /emul
- ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
-fi
-
-if [ "$OPSYS" = "FreeBSD" ]; then
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /compat/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /compat/$emul -o -L /compat/$emul ] || \
- [ \( -e /compat -o -L /compat \) -a ! -d /compat ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /compat/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /compat/$emul.)
- EOF
- else
- mkdir -p /compat
- ln -sf ${PKG_PREFIX}/emul/$emul /compat/$emul
- fi
- fi
-fi
-
-cat <<EOF
-
-==============================================================================
-EOF
diff --git a/emulators/suse91_base/Makefile b/emulators/suse91_base/Makefile
deleted file mode 100644
index 86bd560c56f..00000000000
--- a/emulators/suse91_base/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2005/11/06 14:52:43 salo Exp $
-
-DISTNAME= suse_base-${SUSE_VERSION}
-PKGREVISION= 8
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package
-
-CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386 NetBSD-3.99*-x86_64 \
- NetBSD-[4-9]*-x86_64 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR} LINUX_LIB=${LINUX_LIB}
-
-.if exists(Makefile.${MACHINE_ARCH})
-.include "Makefile.${MACHINE_ARCH}"
-.endif
-
-RPMIGNOREPATH= ./etc/bash.bashrc ./etc/bash_completion.d \
- ./etc/cron.daily ./etc/csh.cshrc ./etc/csh.login \
- ./etc/inittab ./etc/hushlogins ./etc/java \
- ./etc/mailcap ./etc/mime.types ./etc/nsswitch.conf \
- ./etc/pam.d ./etc/profile ./etc/profile.dos \
- ./etc/rc.d.README ./etc/rpc ./etc/shells ./etc/ttytype
-
-LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
-LINUX_LIB?= lib
-
-.include "../../mk/bsd.prefs.mk"
-
-INSTALLATION_DIRS= sbin
-
-do-build:
- @for FILE in ${FILESDIR}/SuSE-release ${FILESDIR}/*.sh; do \
- ${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
- -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \
- -e 's#@@LINUX_LIB@@#${LINUX_LIB}#g' \
- -e 's#@@VERSION@@#${SUSE_VERSION}#g' \
- -e 's#@@ARCH@@#${SUSE_ARCH}#g' \
- $$FILE >${WRKDIR}/`basename $$FILE`; \
- done
-
-do-install:
- for FILE in ${WRKDIR}/*.sh; do \
- ${INSTALL_SCRIPT} $$FILE ${PREFIX}/sbin/`basename $$FILE .sh`; \
- done
- ${INSTALL_DATA_DIR} ${EMULDIR}/dev
- ${INSTALL_DATA} /dev/MAKEDEV ${EMULDIR}/dev
- cd ${EMULDIR}/dev && ${SH} ./MAKEDEV std audio
- cd ${EMULDIR}/dev && ${LN} -fs sound dsp
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- ${RPM2PKG} ${RPM2PKGARGS}
- ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
- ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
- ${INSTALL_DATA_DIR} ${EMULDIR}/proc
- ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab
-.if ${OPSYS} == "FreeBSD"
- ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
-.endif
- ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
- ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
- >>${PLIST_SRC}
- ${ECHO} "@unexec ${RMDIR} %D/${EMULSUBDIR}/etc 2>/dev/null || ${TRUE}" \
- >>${PLIST_SRC}
- ${SED} -e 's:#! :#! /${EMULSUBDIR}:' \
- -e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \
- < ${LINUX_LDD} > ${LINUX_LDD}.new
- ${MV} ${LINUX_LDD}.new ${LINUX_LDD}
- ${CHMOD} +x ${LINUX_LDD}
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_base/Makefile.i386 b/emulators/suse91_base/Makefile.i386
deleted file mode 100644
index 39285912de1..00000000000
--- a/emulators/suse91_base/Makefile.i386
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.3 2005/11/06 14:52:43 salo Exp $
-
-RPMFILES= aaa_base-9.1-0.29.${SUSE_ARCH}.rpm \
- bash-2.05b-305.1.${SUSE_ARCH}.rpm \
- coreutils-5.2.1-23.8.${SUSE_ARCH}.rpm \
- glibc-2.3.3-98.${SUSE_ARCH}.rpm \
- libgcc-3.3.3-41.${SUSE_ARCH}.rpm \
- libacl-2.2.21-54.4.${SUSE_ARCH}.rpm \
- libattr-2.4.12-56.${SUSE_ARCH}.rpm \
- libselinux-1.8-16.${SUSE_ARCH}.rpm \
- libstdc++-3.3.3-41.${SUSE_ARCH}.rpm \
- ncurses-5.4-61.3.${SUSE_ARCH}.rpm \
- readline-4.3-306.${SUSE_ARCH}.rpm \
- zlib-1.2.1-70.12.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_base/Makefile.x86_64 b/emulators/suse91_base/Makefile.x86_64
deleted file mode 100644
index d4b8a5ecbf6..00000000000
--- a/emulators/suse91_base/Makefile.x86_64
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.3 2005/11/06 14:52:43 salo Exp $
-
-RPMFILES= aaa_base-9.1-0.29.${SUSE_ARCH}.rpm \
- bash-2.05b-305.1.${SUSE_ARCH}.rpm \
- coreutils-5.2.1-23.8.${SUSE_ARCH}.rpm \
- glibc-2.3.3-63.${SUSE_ARCH}.rpm \
- libgcc-3.3.3-33.${SUSE_ARCH}.rpm \
- libacl-2.2.21-54.4.${SUSE_ARCH}.rpm \
- libattr-2.4.12-44.${SUSE_ARCH}.rpm \
- libselinux-1.8-15.${SUSE_ARCH}.rpm \
- libstdc++-3.3.3-33.${SUSE_ARCH}.rpm \
- ncurses-5.4-61.3.${SUSE_ARCH}.rpm \
- readline-4.3-301.${SUSE_ARCH}.rpm \
- zlib-1.2.1-70.12.${SUSE_ARCH}.rpm
-
-LINUX_LIB= lib64
diff --git a/emulators/suse91_base/PLIST b/emulators/suse91_base/PLIST
deleted file mode 100644
index 645527486fc..00000000000
--- a/emulators/suse91_base/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2005/08/16 00:30:41 dmcmahill Exp $
-sbin/linux-mkpwd
-@unexec ${RM} -f %D/${EMULSUBDIR}/etc/ld.so.cache
-${EMULSUBDIR}/etc/SuSE-release
-${EMULSUBDIR}/etc/mtab
-${EMULSUBDIR}/usr/${LINUX_LIB}/libz.so.1
-@exec ${MKDIR} %D/${EMULSUBDIR}/proc
-@dirrm ${EMULSUBDIR}/proc
-@unexec cd %D/${EMULSUBDIR}/etc && ${RM} -f group gshadow passwd shadow
-@exec ${MKDIR} %D/${EMULSUBDIR}/dev
-@exec cp -p /dev/MAKEDEV %D/${EMULSUBDIR}/dev
-@exec cd %D/${EMULSUBDIR}/dev && sh ./MAKEDEV std audio
-@exec cd %D/${EMULSUBDIR}/dev && ln -s sound dsp
-@unexec ${RM} -f %D/${EMULSUBDIR}/dev/*
-@dirrm ${EMULSUBDIR}/dev
diff --git a/emulators/suse91_base/distinfo b/emulators/suse91_base/distinfo
deleted file mode 100644
index 8d8f6c3af2f..00000000000
--- a/emulators/suse91_base/distinfo
+++ /dev/null
@@ -1,74 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/11/06 14:52:43 salo Exp $
-
-SHA1 (suse91/i586/aaa_base-9.1-0.29.i586.rpm) = da8763cab06352e3a50bd5fd0f92be989b67c39b
-RMD160 (suse91/i586/aaa_base-9.1-0.29.i586.rpm) = 4b45a7aa29c0987d5632c4a40a43b8b113a529de
-Size (suse91/i586/aaa_base-9.1-0.29.i586.rpm) = 294812 bytes
-SHA1 (suse91/i586/bash-2.05b-305.1.i586.rpm) = 2c5a820ca6f9aa1fe92825b95e98ba140dacf66c
-RMD160 (suse91/i586/bash-2.05b-305.1.i586.rpm) = 3dfc4baa8846597fc688bf69c06ed595824703d7
-Size (suse91/i586/bash-2.05b-305.1.i586.rpm) = 637832 bytes
-SHA1 (suse91/i586/coreutils-5.2.1-23.8.i586.rpm) = deea5f6fc6cae8b6893a634002db155cd4a91518
-RMD160 (suse91/i586/coreutils-5.2.1-23.8.i586.rpm) = 9c1ae9db5bcf5a31c9b2e22dd2dbd1b35b2f8982
-Size (suse91/i586/coreutils-5.2.1-23.8.i586.rpm) = 1984282 bytes
-SHA1 (suse91/i586/glibc-2.3.3-98.i586.rpm) = bd12daad569a071dd8989d92b5e278aa168b0ab3
-RMD160 (suse91/i586/glibc-2.3.3-98.i586.rpm) = 4633ccc71cd5bb8dfa3bd7338d39406d702fda14
-Size (suse91/i586/glibc-2.3.3-98.i586.rpm) = 1455673 bytes
-SHA1 (suse91/i586/libgcc-3.3.3-41.i586.rpm) = 1fc7169f9e2730ffd8e7dc28d00f0f9b90dbd0eb
-RMD160 (suse91/i586/libgcc-3.3.3-41.i586.rpm) = 95ed4e7c50be207a3c5bdb563e569c78c9f9acb1
-Size (suse91/i586/libgcc-3.3.3-41.i586.rpm) = 51314 bytes
-SHA1 (suse91/i586/libacl-2.2.21-54.4.i586.rpm) = 8740723443df7938ce0df6c321bff1aa54e90d68
-RMD160 (suse91/i586/libacl-2.2.21-54.4.i586.rpm) = 14198484b060db51a1dbd87dde2ee05c1cc7d982
-Size (suse91/i586/libacl-2.2.21-54.4.i586.rpm) = 18916 bytes
-SHA1 (suse91/i586/libattr-2.4.12-56.i586.rpm) = 82d248de4b15ffed49a758eef1701b94b1d57415
-RMD160 (suse91/i586/libattr-2.4.12-56.i586.rpm) = d082ec704e5537ff133c29a14dfe63268f3a492b
-Size (suse91/i586/libattr-2.4.12-56.i586.rpm) = 11086 bytes
-SHA1 (suse91/i586/libselinux-1.8-16.i586.rpm) = 302a59b8ac41ffb6d61add6deac3aa0c10990ef5
-RMD160 (suse91/i586/libselinux-1.8-16.i586.rpm) = 887e03f24a29d30e6842790bd499708aaa6307b9
-Size (suse91/i586/libselinux-1.8-16.i586.rpm) = 47298 bytes
-SHA1 (suse91/i586/libstdc++-3.3.3-41.i586.rpm) = 77341589e297e66fc793961d96a7b24df5893101
-RMD160 (suse91/i586/libstdc++-3.3.3-41.i586.rpm) = c038490eb1126db93f08e057448f8ffc0614304c
-Size (suse91/i586/libstdc++-3.3.3-41.i586.rpm) = 301785 bytes
-SHA1 (suse91/i586/ncurses-5.4-61.3.i586.rpm) = 47c0fc938ec437515224476157e26fb52624a7ec
-RMD160 (suse91/i586/ncurses-5.4-61.3.i586.rpm) = 9e9a8ebdeb7353d2ab2a5e3e68f998b6a1be7942
-Size (suse91/i586/ncurses-5.4-61.3.i586.rpm) = 790958 bytes
-SHA1 (suse91/i586/readline-4.3-306.i586.rpm) = 500c6665e66d0052a5d922d7db3f88f029c91853
-RMD160 (suse91/i586/readline-4.3-306.i586.rpm) = 740f13777dbfaf579fc4be2c1df735c29695ac0f
-Size (suse91/i586/readline-4.3-306.i586.rpm) = 151357 bytes
-SHA1 (suse91/i586/zlib-1.2.1-70.12.i586.rpm) = e4b0763ff5c1b2aa7a3aa259a0df3a9ee801b8cf
-RMD160 (suse91/i586/zlib-1.2.1-70.12.i586.rpm) = 7b5fb33af91f77784a82702c6ccff570e4cb4f01
-Size (suse91/i586/zlib-1.2.1-70.12.i586.rpm) = 63887 bytes
-SHA1 (suse91/x86_64/aaa_base-9.1-0.29.x86_64.rpm) = f60e43f6be2f3aae786227dc3617e373e7296baf
-RMD160 (suse91/x86_64/aaa_base-9.1-0.29.x86_64.rpm) = deb351dfdbb2a3435143ceeef97969755e1ae2dc
-Size (suse91/x86_64/aaa_base-9.1-0.29.x86_64.rpm) = 295329 bytes
-SHA1 (suse91/x86_64/bash-2.05b-305.1.x86_64.rpm) = 768917ed763f1a4c911cf54b8b2dd2cf28e826ff
-RMD160 (suse91/x86_64/bash-2.05b-305.1.x86_64.rpm) = 15b67a9ecb525f07d4642f9df0708c8451193489
-Size (suse91/x86_64/bash-2.05b-305.1.x86_64.rpm) = 660602 bytes
-SHA1 (suse91/x86_64/coreutils-5.2.1-23.8.x86_64.rpm) = 1f89b1e3ed5ddf82413232b14517fa60dd19efb3
-RMD160 (suse91/x86_64/coreutils-5.2.1-23.8.x86_64.rpm) = c2bf33fcbb3c20a8b47d50161e4e1f75744a5468
-Size (suse91/x86_64/coreutils-5.2.1-23.8.x86_64.rpm) = 2045663 bytes
-SHA1 (suse91/x86_64/glibc-2.3.3-63.x86_64.rpm) = 76333c7308334c49ad3cc4479282138d604373a9
-RMD160 (suse91/x86_64/glibc-2.3.3-63.x86_64.rpm) = 5153fdfa1b373a921ff175cd220b42887ff57a61
-Size (suse91/x86_64/glibc-2.3.3-63.x86_64.rpm) = 2422978 bytes
-SHA1 (suse91/x86_64/libgcc-3.3.3-33.x86_64.rpm) = bdf7233e869b50f89c0066648a7f8cee221a6ec1
-RMD160 (suse91/x86_64/libgcc-3.3.3-33.x86_64.rpm) = 993edf19958968cc2708c61656f84b2c4dafde5b
-Size (suse91/x86_64/libgcc-3.3.3-33.x86_64.rpm) = 71138 bytes
-SHA1 (suse91/x86_64/libacl-2.2.21-54.4.x86_64.rpm) = d808bc049a2e286032d2f8996fad6bf78d946fe8
-RMD160 (suse91/x86_64/libacl-2.2.21-54.4.x86_64.rpm) = 6952f95e1d0736e03f9a99f3183fbc86f898ca7b
-Size (suse91/x86_64/libacl-2.2.21-54.4.x86_64.rpm) = 20472 bytes
-SHA1 (suse91/x86_64/libattr-2.4.12-44.x86_64.rpm) = f83b27f98d53c2ca1350e3d304b9f67fb2c93653
-RMD160 (suse91/x86_64/libattr-2.4.12-44.x86_64.rpm) = 63efd2968f54a8c574c830d6d68721dc0c64274c
-Size (suse91/x86_64/libattr-2.4.12-44.x86_64.rpm) = 12014 bytes
-SHA1 (suse91/x86_64/libselinux-1.8-15.x86_64.rpm) = f898349c259c98e4f3e2ce6e166c5cc542cb5517
-RMD160 (suse91/x86_64/libselinux-1.8-15.x86_64.rpm) = f1ec0e456bdb2ec3dc7074652e7a0b9303ed06d9
-Size (suse91/x86_64/libselinux-1.8-15.x86_64.rpm) = 50409 bytes
-SHA1 (suse91/x86_64/libstdc++-3.3.3-33.x86_64.rpm) = f72a13be6a00ea7c2799411628d3aec020e89cb7
-RMD160 (suse91/x86_64/libstdc++-3.3.3-33.x86_64.rpm) = a715a11e16633f739350ba360656a65e77e22643
-Size (suse91/x86_64/libstdc++-3.3.3-33.x86_64.rpm) = 562762 bytes
-SHA1 (suse91/x86_64/ncurses-5.4-61.3.x86_64.rpm) = e968dd8de435c0bff3489e07c8b5c9af4a9f3fc6
-RMD160 (suse91/x86_64/ncurses-5.4-61.3.x86_64.rpm) = a8111d794f3e87ff79b1349aec5115ba623c7c51
-Size (suse91/x86_64/ncurses-5.4-61.3.x86_64.rpm) = 866973 bytes
-SHA1 (suse91/x86_64/readline-4.3-301.x86_64.rpm) = 55b4750bf47d3432882454c054d08b40ad7fc44e
-RMD160 (suse91/x86_64/readline-4.3-301.x86_64.rpm) = ace2cacf4ce4ea28ab74f68f2a763f22a137aaa4
-Size (suse91/x86_64/readline-4.3-301.x86_64.rpm) = 163217 bytes
-SHA1 (suse91/x86_64/zlib-1.2.1-70.12.x86_64.rpm) = e1b80b30295cc485e30df8cbbc8c2baf83e6a8d0
-RMD160 (suse91/x86_64/zlib-1.2.1-70.12.x86_64.rpm) = cc09de42b71f3908c9bc3ce7fd3c7cbbd13a4880
-Size (suse91/x86_64/zlib-1.2.1-70.12.x86_64.rpm) = 66201 bytes
diff --git a/emulators/suse91_base/files/SuSE-release b/emulators/suse91_base/files/SuSE-release
deleted file mode 100644
index 247032986b2..00000000000
--- a/emulators/suse91_base/files/SuSE-release
+++ /dev/null
@@ -1,2 +0,0 @@
-SuSE Linux @@VERSION@@ (@@ARCH@@)
-VERSION = @@VERSION@@
diff --git a/emulators/suse91_base/files/linux-mkpwd.sh b/emulators/suse91_base/files/linux-mkpwd.sh
deleted file mode 100644
index 1fd4c3626bf..00000000000
--- a/emulators/suse91_base/files/linux-mkpwd.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: linux-mkpwd.sh,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
-
-SRCDIR=/etc
-DESTDIR=@@EMULDIR@@/etc
-
-umask 22
-cd $DESTDIR
-cp $SRCDIR/passwd .
-sed s/^wheel:/root:/ <$SRCDIR/group >group
-
-umask 77
-awk -F: '{print($1":"$2":0:0:10000::::")}' <$SRCDIR/master.passwd >shadow
-sed s/^wheel:/root:/ <$SRCDIR/group |
-awk -F: '{print($1":*:root:root")}' >gshadow
-
-exit 0
diff --git a/emulators/suse91_compat/DESCR b/emulators/suse91_compat/DESCR
deleted file mode 100644
index addf8028f9b..00000000000
--- a/emulators/suse91_compat/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package contains some old shared libraries required for backwards
-compatibility.
diff --git a/emulators/suse91_compat/Makefile b/emulators/suse91_compat/Makefile
deleted file mode 100644
index ffe37f3dbec..00000000000
--- a/emulators/suse91_compat/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:45:44 tv Exp $
-
-DISTNAME= suse_compat-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package with old shared libraries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= compat-2004.4.2-3.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_compat/distinfo b/emulators/suse91_compat/distinfo
deleted file mode 100644
index 43aa81d6b70..00000000000
--- a/emulators/suse91_compat/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/compat-2004.4.2-3.i586.rpm) = 837f2272da26f8efe242e33724370d45cc2c5a74
-RMD160 (suse91/i586/compat-2004.4.2-3.i586.rpm) = a18f61b6fd3c3eb63600b37d8324a3f2fe0b4043
-Size (suse91/i586/compat-2004.4.2-3.i586.rpm) = 1806417 bytes
diff --git a/emulators/suse91_expat/DESCR b/emulators/suse91_expat/DESCR
deleted file mode 100644
index 9f2f36c8801..00000000000
--- a/emulators/suse91_expat/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-expat shared libraries.
diff --git a/emulators/suse91_expat/Makefile b/emulators/suse91_expat/Makefile
deleted file mode 100644
index 9ba288b37ff..00000000000
--- a/emulators/suse91_expat/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:45:44 tv Exp $
-
-DISTNAME= suse_expat-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for expat binaries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= expat-1.95.7-37.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_expat/distinfo b/emulators/suse91_expat/distinfo
deleted file mode 100644
index 0dbbbfcb929..00000000000
--- a/emulators/suse91_expat/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/expat-1.95.7-37.i586.rpm) = 2f32f41ef922591f053dfac51d356b52a17c2fa4
-RMD160 (suse91/i586/expat-1.95.7-37.i586.rpm) = 158276d4653092129342a47e78785c5f55f8cccd
-Size (suse91/i586/expat-1.95.7-37.i586.rpm) = 176293 bytes
diff --git a/emulators/suse91_fontconfig/DESCR b/emulators/suse91_fontconfig/DESCR
deleted file mode 100644
index fffa11f3d2e..00000000000
--- a/emulators/suse91_fontconfig/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-fontconfig shared libraries.
diff --git a/emulators/suse91_fontconfig/Makefile b/emulators/suse91_fontconfig/Makefile
deleted file mode 100644
index 70baae1f245..00000000000
--- a/emulators/suse91_fontconfig/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:44 tv Exp $
-
-DISTNAME= suse_fontconfig-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for fontconfig binaries
-
-DEPENDS+= suse_expat>=${SUSE_VERSION}:../../emulators/suse91_expat
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= fontconfig-2.2.92.20040221-28.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_fontconfig/distinfo b/emulators/suse91_fontconfig/distinfo
deleted file mode 100644
index a1151e309c5..00000000000
--- a/emulators/suse91_fontconfig/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/fontconfig-2.2.92.20040221-28.i586.rpm) = d96b6cf2291861fb23475e33ff7bcfb6f59e4fc5
-RMD160 (suse91/i586/fontconfig-2.2.92.20040221-28.i586.rpm) = 672beecb32b100aa2d5a9b4f47f5e2c4bbd64a71
-Size (suse91/i586/fontconfig-2.2.92.20040221-28.i586.rpm) = 164006 bytes
diff --git a/emulators/suse91_freetype2/DESCR b/emulators/suse91_freetype2/DESCR
deleted file mode 100644
index b54860cc766..00000000000
--- a/emulators/suse91_freetype2/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with freetype2 shared
-libraries.
diff --git a/emulators/suse91_freetype2/Makefile b/emulators/suse91_freetype2/Makefile
deleted file mode 100644
index 9d08b88e918..00000000000
--- a/emulators/suse91_freetype2/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/11/06 14:52:44 salo Exp $
-
-DISTNAME= suse_freetype2-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for FreeType2 library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= freetype2-2.1.7-53.6.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_freetype2/distinfo b/emulators/suse91_freetype2/distinfo
deleted file mode 100644
index 3a5a7372e66..00000000000
--- a/emulators/suse91_freetype2/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/11/06 14:52:44 salo Exp $
-
-SHA1 (suse91/i586/freetype2-2.1.7-53.6.i586.rpm) = 89bb87089050637ef80bf093cff624f3dff5f6cc
-RMD160 (suse91/i586/freetype2-2.1.7-53.6.i586.rpm) = b362b26f8034142b2e3603891a26537227229622
-Size (suse91/i586/freetype2-2.1.7-53.6.i586.rpm) = 506026 bytes
diff --git a/emulators/suse91_glx/DESCR b/emulators/suse91_glx/DESCR
deleted file mode 100644
index 64e8143cf19..00000000000
--- a/emulators/suse91_glx/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries which require GL shared libraries.
diff --git a/emulators/suse91_glx/Makefile b/emulators/suse91_glx/Makefile
deleted file mode 100644
index a8af3294e1f..00000000000
--- a/emulators/suse91_glx/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/05/15 16:44:33 jdolecek Exp $
-
-DISTNAME= suse_glx-${SUSE_VERSION}
-PKGREVISION= # empty
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the GL library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-# the -devel version is necessary for libGL.so et.al. symlinks only
-RPMFILES= XFree86-Mesa-4.3.99.902-40.${SUSE_ARCH}.rpm \
- XFree86-Mesa-devel-4.3.99.902-40.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_glx/distinfo b/emulators/suse91_glx/distinfo
deleted file mode 100644
index 62193d26e72..00000000000
--- a/emulators/suse91_glx/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/04/02 19:50:01 jdolecek Exp $
-
-SHA1 (suse91/i586/XFree86-Mesa-4.3.99.902-40.i586.rpm) = 560f39d2a96a1f5df7f0b5001821adf0105e6325
-RMD160 (suse91/i586/XFree86-Mesa-4.3.99.902-40.i586.rpm) = 94615f439cadb85db5c8fc7d94201f2a52ac9895
-Size (suse91/i586/XFree86-Mesa-4.3.99.902-40.i586.rpm) = 6152698 bytes
-SHA1 (suse91/i586/XFree86-Mesa-devel-4.3.99.902-40.i586.rpm) = a9172864b4bb019548d0158e06afb675ccb6a327
-RMD160 (suse91/i586/XFree86-Mesa-devel-4.3.99.902-40.i586.rpm) = 5f47dd63595c2a780059d719b89789c1a14b2845
-Size (suse91/i586/XFree86-Mesa-devel-4.3.99.902-40.i586.rpm) = 1073151 bytes
diff --git a/emulators/suse91_gtk/DESCR b/emulators/suse91_gtk/DESCR
deleted file mode 100644
index d404f886f92..00000000000
--- a/emulators/suse91_gtk/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-GTK shared libraries.
diff --git a/emulators/suse91_gtk/Makefile b/emulators/suse91_gtk/Makefile
deleted file mode 100644
index a9d728bbc7c..00000000000
--- a/emulators/suse91_gtk/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/09/28 14:31:06 rillig Exp $
-
-DISTNAME= suse_gtk-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK binaries
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= glib-1.2.10-586.${SUSE_ARCH}.rpm \
- gtk-1.2.10-877.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_gtk/distinfo b/emulators/suse91_gtk/distinfo
deleted file mode 100644
index 36fc5329458..00000000000
--- a/emulators/suse91_gtk/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/glib-1.2.10-586.i586.rpm) = 0b6a69b48a1c49dd635f0568b758e018fb007eea
-RMD160 (suse91/i586/glib-1.2.10-586.i586.rpm) = 0bbb0c06e0d11df3fa51307980277c40eda04975
-Size (suse91/i586/glib-1.2.10-586.i586.rpm) = 124852 bytes
-SHA1 (suse91/i586/gtk-1.2.10-877.i586.rpm) = 395f33db3ea0aec1d7f8ef23ac8d83efdf4243fb
-RMD160 (suse91/i586/gtk-1.2.10-877.i586.rpm) = a5b84ad4420b233217777bf96ca1a43782076c3e
-Size (suse91/i586/gtk-1.2.10-877.i586.rpm) = 860574 bytes
diff --git a/emulators/suse91_gtk2/DESCR b/emulators/suse91_gtk2/DESCR
deleted file mode 100644
index 962f8891e8f..00000000000
--- a/emulators/suse91_gtk2/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-GTK2 shared libraries.
diff --git a/emulators/suse91_gtk2/INSTALL b/emulators/suse91_gtk2/INSTALL
deleted file mode 100644
index 57074111b3b..00000000000
--- a/emulators/suse91_gtk2/INSTALL
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: INSTALL,v 1.3 2005/01/22 12:35:26 jdolecek Exp $
-#
-# Initialize gtk/pango module configuration.
-#
-case ${STAGE} in
- POST-INSTALL)
- @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0 > @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules
-
- @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
-
- @EMULDIR@/opt/gnome/bin/pango-querymodules > @EMULDIR@/etc/opt/gnome/pango/pango.modules
- ;;
- *)
- ;;
-esac
diff --git a/emulators/suse91_gtk2/Makefile b/emulators/suse91_gtk2/Makefile
deleted file mode 100644
index fd4727cba2d..00000000000
--- a/emulators/suse91_gtk2/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2005/04/11 21:45:44 tv Exp $
-
-DISTNAME= suse_gtk2-${SUSE_VERSION}
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK2 binaries
-
-DEPENDS+= suse_fontconfig>=${SUSE_VERSION}:../../emulators/suse91_fontconfig
-DEPENDS+= suse_freetype2>=${SUSE_VERSION}:../../emulators/suse91_freetype2
-DEPENDS+= suse_libjpeg>=${SUSE_VERSION}:../../emulators/suse91_libjpeg
-DEPENDS+= suse_libpng>=${SUSE_VERSION}:../../emulators/suse91_libpng
-DEPENDS+= suse_libtiff>=${SUSE_VERSION}:../../emulators/suse91_libtiff
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-USE_PKGINSTALL= YES
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= atk-1.4.1-124.${SUSE_ARCH}.rpm \
- glib2-2.2.3-117.${SUSE_ARCH}.rpm \
- gtk2-2.2.4-125.4.${SUSE_ARCH}.rpm \
- pango-1.2.5-170.${SUSE_ARCH}.rpm
-
-# Initialize gtk/pango modules.
-FILES_SUBST+= EMULDIR=${EMULDIR}
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR}
-INSTALL_EXTRA_TMPL+= ${PKGDIR}/INSTALL
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_gtk2/PLIST b/emulators/suse91_gtk2/PLIST
deleted file mode 100644
index 92b8a7ab074..00000000000
--- a/emulators/suse91_gtk2/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2005/01/22 12:35:26 jdolecek Exp $
-${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gtk.immodules
-${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
-${EMULSUBDIR}/etc/opt/gnome/pango/pango.modules
diff --git a/emulators/suse91_gtk2/distinfo b/emulators/suse91_gtk2/distinfo
deleted file mode 100644
index f2941dfbef7..00000000000
--- a/emulators/suse91_gtk2/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/atk-1.4.1-124.i586.rpm) = 4c0ccbd8a54960c792de95b85f1d006d289aa8c6
-RMD160 (suse91/i586/atk-1.4.1-124.i586.rpm) = fde8091cdaaea8a1160c801ec79cc876ea51ea05
-Size (suse91/i586/atk-1.4.1-124.i586.rpm) = 130678 bytes
-SHA1 (suse91/i586/glib2-2.2.3-117.i586.rpm) = 72f7472c7cd95bc4e183dc81fce409cce03593e9
-RMD160 (suse91/i586/glib2-2.2.3-117.i586.rpm) = 9b5c9d5f7bd48b239eccdd9a6956b7a73457f70d
-Size (suse91/i586/glib2-2.2.3-117.i586.rpm) = 434726 bytes
-SHA1 (suse91/i586/gtk2-2.2.4-125.4.i586.rpm) = d9c49ecd55e2a25fb6be199e1ea3b264ac909569
-RMD160 (suse91/i586/gtk2-2.2.4-125.4.i586.rpm) = 3eeb54ab1ac40a6c30741ac2daac2f82aebbb60e
-Size (suse91/i586/gtk2-2.2.4-125.4.i586.rpm) = 2404700 bytes
-SHA1 (suse91/i586/pango-1.2.5-170.i586.rpm) = 085b6640bf649cd905b69799485e421a7d7fc995
-RMD160 (suse91/i586/pango-1.2.5-170.i586.rpm) = 7a591674c531812b3563bb7a63670600f5e13a21
-Size (suse91/i586/pango-1.2.5-170.i586.rpm) = 327533 bytes
diff --git a/emulators/suse91_libjpeg/DESCR b/emulators/suse91_libjpeg/DESCR
deleted file mode 100644
index 3fe7a54d422..00000000000
--- a/emulators/suse91_libjpeg/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with jpeg shared libraries.
diff --git a/emulators/suse91_libjpeg/Makefile b/emulators/suse91_libjpeg/Makefile
deleted file mode 100644
index 07465acd9a1..00000000000
--- a/emulators/suse91_libjpeg/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:45:44 tv Exp $
-
-DISTNAME= suse_libjpeg-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the JPEG library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= libjpeg-6.2.0-731.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_libjpeg/distinfo b/emulators/suse91_libjpeg/distinfo
deleted file mode 100644
index 110ad8d982b..00000000000
--- a/emulators/suse91_libjpeg/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/libjpeg-6.2.0-731.i586.rpm) = d7a77de29f2cab10df98fef2259cac6b5a96a607
-RMD160 (suse91/i586/libjpeg-6.2.0-731.i586.rpm) = ee7004d36fc5f56419ccd4f4a4dfbcb0e9a8f4f7
-Size (suse91/i586/libjpeg-6.2.0-731.i586.rpm) = 134966 bytes
diff --git a/emulators/suse91_libpng/DESCR b/emulators/suse91_libpng/DESCR
deleted file mode 100644
index f330608b9fc..00000000000
--- a/emulators/suse91_libpng/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with png shared libraries.
diff --git a/emulators/suse91_libpng/Makefile b/emulators/suse91_libpng/Makefile
deleted file mode 100644
index 2d050a020f0..00000000000
--- a/emulators/suse91_libpng/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/11/06 14:52:44 salo Exp $
-
-DISTNAME= suse_libpng-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the PNG library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= libpng-1.2.5-182.10.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_libpng/distinfo b/emulators/suse91_libpng/distinfo
deleted file mode 100644
index f3b99208e44..00000000000
--- a/emulators/suse91_libpng/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/11/06 14:52:44 salo Exp $
-
-SHA1 (suse91/i586/libpng-1.2.5-182.10.i586.rpm) = e3665c086446997a3d4cb127c3f7d924d3d5c5e6
-RMD160 (suse91/i586/libpng-1.2.5-182.10.i586.rpm) = c8cdc177fc67de66b09928e49b8c9ef4464e81d1
-Size (suse91/i586/libpng-1.2.5-182.10.i586.rpm) = 179045 bytes
diff --git a/emulators/suse91_libtiff/DESCR b/emulators/suse91_libtiff/DESCR
deleted file mode 100644
index 6eb5ded69a7..00000000000
--- a/emulators/suse91_libtiff/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with tiff shared libraries.
diff --git a/emulators/suse91_libtiff/Makefile b/emulators/suse91_libtiff/Makefile
deleted file mode 100644
index 3aa0d2d651b..00000000000
--- a/emulators/suse91_libtiff/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/11/06 14:52:44 salo Exp $
-
-DISTNAME= suse_libtiff-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the TIFF library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= libtiff-3.6.1-38.17.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_libtiff/distinfo b/emulators/suse91_libtiff/distinfo
deleted file mode 100644
index 0a83e41dd84..00000000000
--- a/emulators/suse91_libtiff/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/11/06 14:52:44 salo Exp $
-
-SHA1 (suse91/i586/libtiff-3.6.1-38.17.i586.rpm) = e0d853d66404d5627c1b5df0401ae39aff186156
-RMD160 (suse91/i586/libtiff-3.6.1-38.17.i586.rpm) = b9de66cbe361074b7f03c2d352584896214321e2
-Size (suse91/i586/libtiff-3.6.1-38.17.i586.rpm) = 187711 bytes
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common
deleted file mode 100644
index 3b38687854f..00000000000
--- a/emulators/suse91_linux/Makefile.common
+++ /dev/null
@@ -1,73 +0,0 @@
-# $NetBSD: Makefile.common,v 1.12 2005/04/03 21:23:15 jdolecek Exp $
-
-.include "../../emulators/suse91_linux/vars.mk"
-.include "../../emulators/suse91_linux/arch.mk"
-
-_SUSE_FTP_SUBDIR= suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
-_SUSE_FTP_SUBDIR_UPD= suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
-
-MASTER_SITE_SUSE91?= ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR} \
- ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR_UPD} \
- ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR} \
- ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR_UPD} \
- ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR} \
- ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR_UPD} \
- ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR} \
- ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR_UPD} \
- ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR:C/^suse/suse\/pub/} \
- ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR_UPD:C/^suse/suse\/pub/}
-
-DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}
-
-WRKSRC?= ${WRKDIR}
-MANCOMPRESSED?= yes
-
-EMULSUBDIR= emul/linux
-EMULDIR= ${PREFIX}/${EMULSUBDIR}
-
-RPM2PKG= ${PREFIX}/sbin/rpm2pkg
-BUILD_DEPENDS+= rpm2pkg>=2.1:../../pkgtools/rpm2pkg
-
-BUILD_DEFS+= RPMFILES
-.if defined(RPMIGNOREPATH)
-BUILD_DEFS+= RPMIGNOREPATH
-.endif
-
-# The SuSE Linux packages have circular dependencies.
-LDD?= ${TRUE}
-
-RPM2PKGSTRIP?= 1
-RPM2PKGARGS?= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
-.if empty(RPM2PKGSTRIP:M0)
-RPM2PKGARGS+= -s ${RPM2PKGSTRIP}
-.endif
-.for TEMP in ${RPMIGNOREPATH}
-RPM2PKGARGS+= -i ${TEMP}
-.endfor
-.for TEMP in ${RPMFILES}
-RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP}
-.endfor
-
-.if !target(do-install)
-do-install:
- @if [ -f ${PKGDIR}/PLIST ]; then \
- ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
- else \
- ${RM} -f ${PLIST_SRC}; \
- ${CP} ${PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \
- fi
- ${RPM2PKG} ${RPM2PKGARGS}
- @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \
- ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \
- ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \
- ${MV} -f ${PLIST_SRC} ${PLIST_SRC}.old; \
- ${GREP} -v '^@dirrm' ${PLIST_SRC}.old >${PLIST_SRC} || ${TRUE}; \
- ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \
- ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \
- ${GREP} '^@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC} || ${TRUE}; \
- ${RM} -f ${PLIST_SRC}.old; \
- fi
-.endif
-
-show-shlib-type:
- @${ECHO} linux-${MACHINE_ARCH}
diff --git a/emulators/suse91_linux/arch.mk b/emulators/suse91_linux/arch.mk
deleted file mode 100644
index c4db621bfeb..00000000000
--- a/emulators/suse91_linux/arch.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: arch.mk,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
-
-.ifndef SUSE_ARCH_MK
-SUSE_ARCH_MK=1
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} == "i386"
-SUSE_ARCH?= i586
-SUSE_ARCH_DIR?= ${MACHINE_ARCH}
-.elif ${MACHINE_ARCH} == "powerpc"
-SUSE_ARCH?= ppc
-.else
-SUSE_ARCH?= ${MACHINE_ARCH}
-.endif
-
-SUSE_ARCH_DIR?= ${SUSE_ARCH}
-
-.endif # SUSE_ARCH_MK
diff --git a/emulators/suse91_linux/vars.mk b/emulators/suse91_linux/vars.mk
deleted file mode 100644
index ffe221743bb..00000000000
--- a/emulators/suse91_linux/vars.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-# $NetBSD: vars.mk,v 1.1 2005/04/03 21:23:15 jdolecek Exp $
-
-.ifndef SUSE_VARS_MK
-SUSE_VARS_MK=1
-
-SUSE_DIR_PREFIX= suse91
-SUSE_VERSION= 9.1
-
-.endif # SUSE_VARS_MK
diff --git a/emulators/suse91_locale/DESCR b/emulators/suse91_locale/DESCR
deleted file mode 100644
index 25484919ed3..00000000000
--- a/emulators/suse91_locale/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package includes the glibc locale files.
diff --git a/emulators/suse91_locale/Makefile b/emulators/suse91_locale/Makefile
deleted file mode 100644
index 0dde1b74af4..00000000000
--- a/emulators/suse91_locale/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= suse_locale-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Locale files for the Linux compatibility package
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-CONFLICTS= linux-locale-[0-9]*
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= glibc-locale-2.3.3-98.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_locale/distinfo b/emulators/suse91_locale/distinfo
deleted file mode 100644
index 88fd25e0e60..00000000000
--- a/emulators/suse91_locale/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse91/i586/glibc-locale-2.3.3-98.i586.rpm) = 329ab066b6d21f95e0329731416806015ff2eda6
-RMD160 (suse91/i586/glibc-locale-2.3.3-98.i586.rpm) = 3591c7c7c0f0d3f7ae49e627c45ce1f425bda2d3
-Size (suse91/i586/glibc-locale-2.3.3-98.i586.rpm) = 10393732 bytes
diff --git a/emulators/suse91_openmotif/DESCR b/emulators/suse91_openmotif/DESCR
deleted file mode 100644
index f67dbf54135..00000000000
--- a/emulators/suse91_openmotif/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with OpenMotif shared
-libraries.
diff --git a/emulators/suse91_openmotif/Makefile b/emulators/suse91_openmotif/Makefile
deleted file mode 100644
index 0a7f3ab1e2e..00000000000
--- a/emulators/suse91_openmotif/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/11/06 14:52:44 salo Exp $
-
-DISTNAME= suse_openmotif-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the Motif library
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= openmotif-libs-2.2.2-519.4.${SUSE_ARCH}.rpm \
- openmotif21-libs-2.1.30MLI4-119.4.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_openmotif/distinfo b/emulators/suse91_openmotif/distinfo
deleted file mode 100644
index 8c75546784d..00000000000
--- a/emulators/suse91_openmotif/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/11/06 14:52:44 salo Exp $
-
-SHA1 (suse91/i586/openmotif-libs-2.2.2-519.4.i586.rpm) = 18885f5c5f8d361202df216b3d724b1668f1d9d9
-RMD160 (suse91/i586/openmotif-libs-2.2.2-519.4.i586.rpm) = c58fcceb1fa4a1e7a66469de2302c2930ce7ea94
-Size (suse91/i586/openmotif-libs-2.2.2-519.4.i586.rpm) = 1185317 bytes
-SHA1 (suse91/i586/openmotif21-libs-2.1.30MLI4-119.4.i586.rpm) = 0590401f7420f7d12379cfff34dfbad86ee83d7a
-RMD160 (suse91/i586/openmotif21-libs-2.1.30MLI4-119.4.i586.rpm) = 893b1552c4166cd8e582ff0348e2638d16f5628d
-Size (suse91/i586/openmotif21-libs-2.1.30MLI4-119.4.i586.rpm) = 1070080 bytes
diff --git a/emulators/suse91_slang/DESCR b/emulators/suse91_slang/DESCR
deleted file mode 100644
index f9f21396127..00000000000
--- a/emulators/suse91_slang/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-the "slang" library.
diff --git a/emulators/suse91_slang/Makefile b/emulators/suse91_slang/Makefile
deleted file mode 100644
index d23aa68a9a5..00000000000
--- a/emulators/suse91_slang/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= suse_slang-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for slang library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= slang-1.4.9-121.${SUSE_ARCH}.rpm
-
-post-install:
- ${LN} -sf ${PREFIX}/${EMULSUBDIR}/usr/lib/libslang-utf8.so.1 \
- ${PREFIX}/${EMULSUBDIR}/usr/lib/libslang.so.1
-
-.include "../suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_slang/distinfo b/emulators/suse91_slang/distinfo
deleted file mode 100644
index 3e8f2352b5b..00000000000
--- a/emulators/suse91_slang/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/04/02 19:44:24 jdolecek Exp $
-
-SHA1 (suse91/i586/slang-1.4.9-121.i586.rpm) = 3a8e5e4a0e7177c378b414e879e162833d521a67
-RMD160 (suse91/i586/slang-1.4.9-121.i586.rpm) = 759cdb055ebf67b00cbb78d0e79528a34e58a4d1
-Size (suse91/i586/slang-1.4.9-121.i586.rpm) = 233659 bytes
diff --git a/emulators/suse91_vmware/DESCR b/emulators/suse91_vmware/DESCR
deleted file mode 100644
index 9777e703fdd..00000000000
--- a/emulators/suse91_vmware/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package is supposed to help running VMware under NetBSD.
diff --git a/emulators/suse91_vmware/Makefile b/emulators/suse91_vmware/Makefile
deleted file mode 100644
index 9a32db0de03..00000000000
--- a/emulators/suse91_vmware/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= suse_vmware-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package to support running VMware
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST= EMULSUBDIR=${EMULSUBDIR}
-
-RPMFILES= grep-2.5.1-416.i586.rpm
-RPMIGNOREPATH= usr
-
-post-install:
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("${LN} -fs "$$1" ${EMULDIR}/dev/"$$2)}' | \
- ${SH} -
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("@exec ${LN} -fs "$$1" %D/${EMULSUBDIR}/dev/"$$2)}' \
- >>${PLIST_SRC}
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("@unexec ${RM} -f %D/${EMULSUBDIR}/dev/"$$2)}' \
- >>${PLIST_SRC}
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_vmware/PLIST b/emulators/suse91_vmware/PLIST
deleted file mode 100644
index c5d7a7e8c18..00000000000
--- a/emulators/suse91_vmware/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/04/02 17:10:19 jdolecek Exp $
-@comment this plist intentionally left empty
diff --git a/emulators/suse91_vmware/distinfo b/emulators/suse91_vmware/distinfo
deleted file mode 100644
index c6c7820446d..00000000000
--- a/emulators/suse91_vmware/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/04/02 17:02:29 jdolecek Exp $
-
-SHA1 (suse91/i586/grep-2.5.1-416.i586.rpm) = 5a33d107d2ac859207fc585703c96a32f235e4be
-RMD160 (suse91/i586/grep-2.5.1-416.i586.rpm) = 7ffa46ee7473a1364e7d1ccce0b13b11bbe72bd0
-Size (suse91/i586/grep-2.5.1-416.i586.rpm) = 169601 bytes
diff --git a/emulators/suse91_vmware/files/device-links b/emulators/suse91_vmware/files/device-links
deleted file mode 100644
index 50b0788efdc..00000000000
--- a/emulators/suse91_vmware/files/device-links
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: device-links,v 1.1.1.1 2005/04/02 16:59:44 jdolecek Exp $
-/dev/rcd0a cdrom
-/dev/rfd0a fd0
-/dev/wd0d hda
-/dev/wd1d hdb
-/dev/wd2d hdc
-/dev/wd3d hdd
-/dev/sd0d hde
-/dev/sd1d hdf
-/dev/sd2d hdg
-/dev/sd3d hdh
-/dev/sd4d hdi
-/dev/ttyE0 tty1
-/dev/ttyE1 tty2
-/dev/ttyE2 tty3
-/dev/ttyE3 tty4
-/dev/ttyE4 tty5
-/dev/ttyE5 tty6
-/dev/ttyE6 tty7
-/dev/ttyE7 tty8
-tty1 tty0
diff --git a/emulators/suse91_x11/DESCR b/emulators/suse91_x11/DESCR
deleted file mode 100644
index 023c56f39b1..00000000000
--- a/emulators/suse91_x11/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-X11 shared libraries.
diff --git a/emulators/suse91_x11/Makefile b/emulators/suse91_x11/Makefile
deleted file mode 100644
index 1ac52d1af1d..00000000000
--- a/emulators/suse91_x11/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/11/06 14:52:44 salo Exp $
-
-DISTNAME= suse_x11-${SUSE_VERSION}
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for X11 binaries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-[2-9]*-i386 NetBSD-[3-9]*-x86_64 \
- FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= XFree86-libs-4.3.99.902-43.42.5.${SUSE_ARCH}.rpm
-
-.include "../../mk/bsd.prefs.mk"
-
-.include "../../emulators/suse91_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_x11/distinfo b/emulators/suse91_x11/distinfo
deleted file mode 100644
index 35b95cf2c9d..00000000000
--- a/emulators/suse91_x11/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/11/06 14:52:44 salo Exp $
-
-SHA1 (suse91/i586/XFree86-libs-4.3.99.902-43.42.5.i586.rpm) = 49f0132b77de5f95f79b13d83eb78428e4132068
-RMD160 (suse91/i586/XFree86-libs-4.3.99.902-43.42.5.i586.rpm) = aeac575e06a2e52d78f1c5c5c4a225049d5eeb47
-Size (suse91/i586/XFree86-libs-4.3.99.902-43.42.5.i586.rpm) = 2405156 bytes
-SHA1 (suse91/x86_64/XFree86-libs-4.3.99.902-43.42.5.x86_64.rpm) = 8faa339e0357c8518df5d68e9b932ca8d11cdc24
-RMD160 (suse91/x86_64/XFree86-libs-4.3.99.902-43.42.5.x86_64.rpm) = 1b4435d284d5e0d7c2ab54941c8415ae6ca930f8
-Size (suse91/x86_64/XFree86-libs-4.3.99.902-43.42.5.x86_64.rpm) = 2518483 bytes
diff --git a/emulators/suse_audio/DESCR b/emulators/suse_audio/DESCR
deleted file mode 100644
index a580d324ffb..00000000000
--- a/emulators/suse_audio/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-the "audiofile" library.
diff --git a/emulators/suse_audio/Makefile b/emulators/suse_audio/Makefile
deleted file mode 100644
index 93bfcf48cc3..00000000000
--- a/emulators/suse_audio/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= audiofile
-PKGNAME= suse_audio-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=snd1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for audio libraries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_audio/distinfo b/emulators/suse_audio/distinfo
deleted file mode 100644
index 6a2d55fc64d..00000000000
--- a/emulators/suse_audio/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse73/i386/audiofile.rpm) = e82de25fbbcca76daf865194f412f76f040ef298
-RMD160 (suse73/i386/audiofile.rpm) = fb0a5488c2d3632e59d601173d1dbdc2dbe3af5e
-Size (suse73/i386/audiofile.rpm) = 223113 bytes
-SHA1 (suse73/ppc/audiofile.rpm) = 76d246dc66cae4358c4ad0af63e899bfc5063d38
-Size (suse73/ppc/audiofile.rpm) = 240399 bytes
diff --git a/emulators/suse_base/DESCR b/emulators/suse_base/DESCR
deleted file mode 100644
index 62e5a3f87e9..00000000000
--- a/emulators/suse_base/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which don't
-require X11 shared libraries.
diff --git a/emulators/suse_base/INSTALL b/emulators/suse_base/INSTALL
deleted file mode 100644
index 5b55be3a78e..00000000000
--- a/emulators/suse_base/INSTALL
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# $NetBSD: INSTALL,v 1.4 2004/04/14 11:31:10 xtraeme Exp $
-
-if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
-emul=linux
-OPSYS=`/usr/bin/uname -s`
-
-cat <<EOF
-==============================================================================
-
-EOF
-
-if [ "$OPSYS" = "NetBSD" ]; then
- cat <<-EOF
- Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older
- than 1.5) in your kernel configuration file. (Linux binaries require these
- options in order to work.)
- EOF
-fi
-
-if [ "$OPSYS" = "FreeBSD" ]; then
- cat <<-EOF
- Do not forget to include COMPAT_LINUX in your kernel configuration file.
- You also need to load "linux.ko" kernel module (using kldload(8) or by
- setting linux_enable="yes" in /etc/rc.conf.
- EOF
-fi
-
-if [ "$OPSYS" = "NetBSD" ]; then
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /emul/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /emul/$emul.)
- EOF
- else
- mkdir -p /emul
- ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
- fi
-fi
-
-if [ "$OPSYS" = "FreeBSD" ]; then
- if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /compat/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /compat/$emul -o -L /compat/$emul ] || \
- [ \( -e /compat -o -L /compat \) -a ! -d /compat ]; then
- cat <<-EOF
-
- IMPORTANT: You must create a symbolic link from /compat/$emul to
- ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
- (It seems there is something else located at /compat/$emul.)
- EOF
- else
- mkdir -p /compat
- ln -sf ${PKG_PREFIX}/emul/$emul /compat/$emul
- fi
- fi
-fi
-
-cat <<EOF
-
-==============================================================================
-EOF
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
deleted file mode 100644
index 4eee4ca0607..00000000000
--- a/emulators/suse_base/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-# $NetBSD: Makefile,v 1.55 2005/08/16 00:30:41 dmcmahill Exp $
-
-DISTNAME= suse_base-${SUSE_VERSION}
-PKGREVISION= 7
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} \
- ${MASTER_SITE_SUSE_UPD:=a1/}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package
-
-CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
-ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386
-ONLY_FOR_PLATFORM+= NetBSD-1.6[L-Z]-powerpc NetBSD-1.6Z[A-Z]-powerpc
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-powerpc
-ONLY_FOR_PLATFORM+= FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= aaa_dir.rpm gppshare.rpm ncurses.rpm \
- readline.rpm bash.rpm sh-utils.rpm
-
-.include "../../emulators/suse_linux/arch.mk"
-
-.if ${SUSE_ARCH} == "i386"
-RPMFILES+= glibc-2.2.4-78.${SUSE_ARCH}.rpm libz-1.1.3-597.${SUSE_ARCH}.rpm
-.elif ${SUSE_ARCH} == "ppc"
-RPMFILES+= glibc-2.2.4-69.${SUSE_ARCH}.rpm libz-1.1.3-432.${SUSE_ARCH}.rpm
-
-BUILD_DEPENDS+= fixelfprot>=20040714:../../sysutils/fixelfprot
-.else
-RPMFILES+= glibc.rpm libz.rpm
-.endif
-
-RPMIGNOREPATH= tmp usr/tmp var
-
-LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
-
-.include "../../mk/bsd.prefs.mk"
-
-INSTALLATION_DIRS= sbin
-
-do-build:
- @for FILE in ${PKGDIR}/PLIST ${FILESDIR}/*.sh; do \
- ${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
- -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \
- <$$FILE >${WRKDIR}/`basename $$FILE`; \
- done
- ${SED} -e 's#@@VERSION@@#${SUSE_VERSION}#g' \
- -e 's#@@ARCH@@#${SUSE_ARCH}#g' \
- <${FILESDIR}/SuSE-release >${WRKDIR}/SuSE-release
-
-do-install:
- for FILE in ${WRKDIR}/*.sh; do \
- ${INSTALL_SCRIPT} $$FILE ${PREFIX}/sbin/`basename $$FILE .sh`; \
- done
- ${INSTALL_DATA_DIR} ${EMULDIR}/dev
- ${INSTALL_DATA} /dev/MAKEDEV ${EMULDIR}/dev
- cd ${EMULDIR}/dev && ${SH} ./MAKEDEV std audio
- cd ${EMULDIR}/dev && ${LN} -fs sound dsp
- @${CP} ${WRKDIR}/PLIST ${PLIST_SRC}
- ${RPM2PKG} ${RPM2PKGARGS}
- ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
- ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
- ${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc
-.if ${OPSYS} == "FreeBSD"
- ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
-.endif
-.if ${OPSYS} == "NetBSD" && ${SUSE_ARCH} == "ppc"
- ${LOCALBASE}/sbin/fixelfprot ${EMULDIR}/sbin/ldconfig
-.endif
- ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
- ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
- >>${PLIST_SRC}
- ${SED} -e 's:#! :#! /${EMULSUBDIR}:' \
- -e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \
- < ${LINUX_LDD} > ${LINUX_LDD}.new
- ${MV} ${LINUX_LDD}.new ${LINUX_LDD}
- ${CHMOD} +x ${LINUX_LDD}
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_base/PLIST b/emulators/suse_base/PLIST
deleted file mode 100644
index 755fb16ffe0..00000000000
--- a/emulators/suse_base/PLIST
+++ /dev/null
@@ -1,12 +0,0 @@
-@comment $NetBSD: PLIST,v 1.8 2005/09/10 21:53:27 wiz Exp $
-sbin/linux-mkpwd
-@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
-@@EMULSUBDIR@@/etc/SuSE-release
-@@EMULSUBDIR@@/etc/ld.so.conf
-@unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow
-@exec ${MKDIR} %D/@@EMULSUBDIR@@/dev
-@exec cp -p /dev/MAKEDEV %D/@@EMULSUBDIR@@/dev
-@exec cd %D/@@EMULSUBDIR@@/dev && sh ./MAKEDEV std audio
-@exec cd %D/@@EMULSUBDIR@@/dev && ln -s sound dsp
-@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/*
-@dirrm @@EMULSUBDIR@@/dev
diff --git a/emulators/suse_base/distinfo b/emulators/suse_base/distinfo
deleted file mode 100644
index e0549f58544..00000000000
--- a/emulators/suse_base/distinfo
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: distinfo,v 1.10 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse73/i386/aaa_dir.rpm) = 1d72e879ca30db43c0bd016ca5b60dd0a1b241cd
-RMD160 (suse73/i386/aaa_dir.rpm) = d249c029d557eab0243c9bab8d902e6d64464bda
-Size (suse73/i386/aaa_dir.rpm) = 21765 bytes
-SHA1 (suse73/i386/glibc-2.2.4-78.i386.rpm) = cbfe30a1a7a6d37c6807b71caf57a3b9b6703298
-RMD160 (suse73/i386/glibc-2.2.4-78.i386.rpm) = 999a6493e524c4752954030b9c8c8bde9e055fde
-Size (suse73/i386/glibc-2.2.4-78.i386.rpm) = 7627919 bytes
-SHA1 (suse73/i386/gppshare.rpm) = aed48270f42908201f4dd8bb92d583522fcb999a
-RMD160 (suse73/i386/gppshare.rpm) = 763ee663c3ee4cc0d53e40b38e844504d8c77e80
-Size (suse73/i386/gppshare.rpm) = 475345 bytes
-SHA1 (suse73/i386/libz-1.1.3-597.i386.rpm) = af05da6bcd431e833a3df91544c8e2824a026be8
-RMD160 (suse73/i386/libz-1.1.3-597.i386.rpm) = 71b65d8cb9b6033b32bfa0cd317352cb5af5db3f
-Size (suse73/i386/libz-1.1.3-597.i386.rpm) = 93374 bytes
-SHA1 (suse73/i386/ncurses.rpm) = daa84f5c7cf4e7da3b1a6202e978d56f0c8e52d7
-RMD160 (suse73/i386/ncurses.rpm) = 91a37d3b064d4ac8edbe72ab97eb22b5e2c19c7d
-Size (suse73/i386/ncurses.rpm) = 864946 bytes
-SHA1 (suse73/i386/readline.rpm) = 02d64e505aee011e65f9f1b0d8552a4805363bcf
-RMD160 (suse73/i386/readline.rpm) = e85fbeaa92aa3747a595a808d59d58ea43000370
-Size (suse73/i386/readline.rpm) = 140013 bytes
-SHA1 (suse73/i386/bash.rpm) = 6d13e99692869ebc80a3e7c18941b82767850ced
-RMD160 (suse73/i386/bash.rpm) = 425cdf1b4838c1e01c10cb488d7f3f9efe88022b
-Size (suse73/i386/bash.rpm) = 619471 bytes
-SHA1 (suse73/i386/sh-utils.rpm) = bf2b4958455f89cc556023cff40713149312cfe7
-RMD160 (suse73/i386/sh-utils.rpm) = 2eb65bf6f2414ce71552763ffb48d8663a9fb8fd
-Size (suse73/i386/sh-utils.rpm) = 461152 bytes
-SHA1 (suse73/ppc/aaa_dir.rpm) = 0458fd639ffa9e3be7aadaeae0a4a45a0fa624bd
-Size (suse73/ppc/aaa_dir.rpm) = 22192 bytes
-SHA1 (suse73/ppc/gppshare.rpm) = 3ca97e0e49d455ae475ff9031210405c046c5f21
-Size (suse73/ppc/gppshare.rpm) = 506260 bytes
-SHA1 (suse73/ppc/ncurses.rpm) = a040bff53eb49cfea13339cf4797f80f16d9e5a1
-Size (suse73/ppc/ncurses.rpm) = 925582 bytes
-SHA1 (suse73/ppc/readline.rpm) = 91e8589df3cbd51bd56b43e045292b35de6a76ce
-Size (suse73/ppc/readline.rpm) = 151233 bytes
-SHA1 (suse73/ppc/bash.rpm) = 9b93143781cf1e0982cc13e0a73c870ef413852e
-Size (suse73/ppc/bash.rpm) = 644118 bytes
-SHA1 (suse73/ppc/sh-utils.rpm) = 0f2d590d5b62b88f9da43dbd740b55d0a1af4fb3
-Size (suse73/ppc/sh-utils.rpm) = 463499 bytes
-SHA1 (suse73/ppc/glibc-2.2.4-69.ppc.rpm) = 15f1967c592e0794a04e4f8a7a2b064d40ac5ad9
-Size (suse73/ppc/glibc-2.2.4-69.ppc.rpm) = 9144949 bytes
-SHA1 (suse73/ppc/libz-1.1.3-432.ppc.rpm) = ab2243e6bf6a7d668e3f99bc70a4174b75706ac1
-Size (suse73/ppc/libz-1.1.3-432.ppc.rpm) = 94324 bytes
diff --git a/emulators/suse_base/files/SuSE-release b/emulators/suse_base/files/SuSE-release
deleted file mode 100644
index 247032986b2..00000000000
--- a/emulators/suse_base/files/SuSE-release
+++ /dev/null
@@ -1,2 +0,0 @@
-SuSE Linux @@VERSION@@ (@@ARCH@@)
-VERSION = @@VERSION@@
diff --git a/emulators/suse_base/files/ld.so.conf b/emulators/suse_base/files/ld.so.conf
deleted file mode 100644
index d1b22a388fb..00000000000
--- a/emulators/suse_base/files/ld.so.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-/lib-aout
-/usr/X11R6/lib/Xaw95
-/usr/X11R6/lib/Xaw3d
-/usr/X11R6/lib
-/usr/X386/lib
-/usr/i486-linux/lib
-/usr/i486-linux-libc5/lib
-/usr/i486-linux-libc6/lib
-/usr/i486-linuxaout/lib
-/usr/local/lib
-/usr/openwin/lib
-/opt/kde/lib
-/opt/gnome/lib
diff --git a/emulators/suse_base/files/linux-mkpwd.sh b/emulators/suse_base/files/linux-mkpwd.sh
deleted file mode 100644
index c0164c9ec1b..00000000000
--- a/emulators/suse_base/files/linux-mkpwd.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: linux-mkpwd.sh,v 1.1 2001/10/25 20:58:51 agc Exp $
-
-SRCDIR=/etc
-DESTDIR=@@EMULDIR@@/etc
-
-umask 22
-cd $DESTDIR
-cp $SRCDIR/passwd .
-sed s/^wheel:/root:/ <$SRCDIR/group >group
-
-umask 77
-awk -F: '{print($1":"$2":0:0:10000::::")}' <$SRCDIR/master.passwd >shadow
-sed s/^wheel:/root:/ <$SRCDIR/group |
-awk -F: '{print($1":*:root:root")}' >gshadow
-
-exit 0
diff --git a/emulators/suse_compat/DESCR b/emulators/suse_compat/DESCR
deleted file mode 100644
index addf8028f9b..00000000000
--- a/emulators/suse_compat/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package contains some old shared libraries required for backwards
-compatibility.
diff --git a/emulators/suse_compat/Makefile b/emulators/suse_compat/Makefile
deleted file mode 100644
index 6214a54ff51..00000000000
--- a/emulators/suse_compat/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.22 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= compat
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=a1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package with old shared libraries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_compat/distinfo b/emulators/suse_compat/distinfo
deleted file mode 100644
index c2c12522b3c..00000000000
--- a/emulators/suse_compat/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:20 agc Exp $
-
-SHA1 (suse73/i386/compat.rpm) = 2f881c8c12c4c75b48e4c28994ace5d58287a52e
-RMD160 (suse73/i386/compat.rpm) = 423bc9c40aef962212685d7ff8126a07dbfcfd49
-Size (suse73/i386/compat.rpm) = 1932631 bytes
-SHA1 (suse73/ppc/compat.rpm) = 5e3b5f1c8a5095559bcdb498880b7e2ea4907bc7
-Size (suse73/ppc/compat.rpm) = 952231 bytes
diff --git a/emulators/suse_devel/DESCR b/emulators/suse_devel/DESCR
deleted file mode 100644
index 3a1718e7a05..00000000000
--- a/emulators/suse_devel/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package contains basic Linux system development tools in ELF binary
-format, linked with glibc2.
diff --git a/emulators/suse_devel/Makefile b/emulators/suse_devel/Makefile
deleted file mode 100644
index b02aa394380..00000000000
--- a/emulators/suse_devel/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.23 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= suse_devel-${SUSE_VERSION}
-CATEGORIES= emulators
-PKGREVISION= 2
-MASTER_SITES= ${MASTER_SITE_SUSE:=d1/} \
- ${MASTER_SITE_SUSE:=d2/} \
- ${MASTER_SITE_SUSE_UPD:=d1/}
-
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package - development tools
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= binutils.rpm cpp.rpm g77.rpm gcc.rpm gpp.rpm make.rpm
-
-.include "../suse_linux/arch.mk"
-
-.if ${SUSE_ARCH} == "i386"
-RPMFILES+= glibc-devel-2.2.4-78.${SUSE_ARCH}.rpm bin86.rpm
-.elif ${SUSE_ARCH} == "ppc"
-RPMFILES+= glibc-devel-2.2.4-69.${SUSE_ARCH}.rpm
-.else
-RPMFILES+= glibc.rpm
-.endif
-
-.include "../suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_devel/PLIST b/emulators/suse_devel/PLIST
deleted file mode 100644
index 6760bb7b1ad..00000000000
--- a/emulators/suse_devel/PLIST
+++ /dev/null
@@ -1 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:37 zuntum Exp $
diff --git a/emulators/suse_devel/distinfo b/emulators/suse_devel/distinfo
deleted file mode 100644
index bc20e0c6cac..00000000000
--- a/emulators/suse_devel/distinfo
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/binutils.rpm) = ff85b711a15c1e4fb3edf71736fa0c863e75ade5
-RMD160 (suse73/i386/binutils.rpm) = 560c4d5d9612434f6f197ecc7ba79d7d7fac474b
-Size (suse73/i386/binutils.rpm) = 1730635 bytes
-SHA1 (suse73/i386/cpp.rpm) = 315a2c28d5a1b799e433350fdbe64ea79b7eb6d3
-RMD160 (suse73/i386/cpp.rpm) = e78325021b89d9b9dbc6df5859149ffa5020ef90
-Size (suse73/i386/cpp.rpm) = 88647 bytes
-SHA1 (suse73/i386/g77.rpm) = c5fbff79841885def0df62e6b9bd4f26dd487204
-RMD160 (suse73/i386/g77.rpm) = 7a5d4da90caa9499dfa14655a0e59e60e301cf7a
-Size (suse73/i386/g77.rpm) = 1414553 bytes
-SHA1 (suse73/i386/gcc.rpm) = 81dc3338215b73734e7f25ce415ded84854f717b
-RMD160 (suse73/i386/gcc.rpm) = 26f86a4d710c6a553d4bde3f4927f82fbadf79e6
-Size (suse73/i386/gcc.rpm) = 1096718 bytes
-SHA1 (suse73/i386/gpp.rpm) = 3aedcc1f142ed2a7c8aba9eb2d3a52d2e055a139
-RMD160 (suse73/i386/gpp.rpm) = fb94b8319c439d783ce1edca291d4ae5f77c4a31
-Size (suse73/i386/gpp.rpm) = 1075234 bytes
-SHA1 (suse73/i386/make.rpm) = d6ce792a7293996363bc55869f20029176ecb18a
-RMD160 (suse73/i386/make.rpm) = 0a446e82b4198c7137f17200fa70548bfbb947d4
-Size (suse73/i386/make.rpm) = 198624 bytes
-SHA1 (suse73/i386/glibc-devel-2.2.4-78.i386.rpm) = ce940bdc4689378bafbc6da23aff349eebce6549
-RMD160 (suse73/i386/glibc-devel-2.2.4-78.i386.rpm) = df1cec6f6abe6221c9f21b3ca0b2011a9f21dede
-Size (suse73/i386/glibc-devel-2.2.4-78.i386.rpm) = 10943226 bytes
-SHA1 (suse73/i386/bin86.rpm) = e2bd8a0fd6047d8117ad504f23b351543f60550c
-RMD160 (suse73/i386/bin86.rpm) = 8f7a5ff46b6e29c9641b4703320b28f7fe7d99d1
-Size (suse73/i386/bin86.rpm) = 56414 bytes
diff --git a/emulators/suse_fileutils/DESCR b/emulators/suse_fileutils/DESCR
deleted file mode 100644
index a370e37a9af..00000000000
--- a/emulators/suse_fileutils/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package contains the GNU fileutils package in ELF binary
-format, linked with glibc2.
diff --git a/emulators/suse_fileutils/Makefile b/emulators/suse_fileutils/Makefile
deleted file mode 100644
index fb940f99d34..00000000000
--- a/emulators/suse_fileutils/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= suse_fileutils-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=a1/}
-
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package - fileutils
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= fileutils.rpm
-
-.include "../suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_fileutils/PLIST b/emulators/suse_fileutils/PLIST
deleted file mode 100644
index 574245d7ef9..00000000000
--- a/emulators/suse_fileutils/PLIST
+++ /dev/null
@@ -1 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/02 14:25:39 dmcmahill Exp $
diff --git a/emulators/suse_fileutils/distinfo b/emulators/suse_fileutils/distinfo
deleted file mode 100644
index aa735fcf717..00000000000
--- a/emulators/suse_fileutils/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/fileutils.rpm) = 863b96e4ae55fbc684e05389d21518fe5b92afad
-RMD160 (suse73/i386/fileutils.rpm) = fa031f2cb6a001a081b3f9c4c5c87b7f02672006
-Size (suse73/i386/fileutils.rpm) = 539928 bytes
diff --git a/emulators/suse_freetype2/DESCR b/emulators/suse_freetype2/DESCR
deleted file mode 100644
index b54860cc766..00000000000
--- a/emulators/suse_freetype2/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with freetype2 shared
-libraries.
diff --git a/emulators/suse_freetype2/Makefile b/emulators/suse_freetype2/Makefile
deleted file mode 100644
index 433a8da33b0..00000000000
--- a/emulators/suse_freetype2/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= freetype2
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-PKGREVISION= 1
-MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/} \
- ${MASTER_SITE_SUSE_UPD:=gra1/}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the FreeType2 library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-NO_BUILD= YES
-EXTRACT_ONLY= # empty
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES+= freetype2-2.0.4-52.${SUSE_ARCH}.rpm
-
-.include "../suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_freetype2/distinfo b/emulators/suse_freetype2/distinfo
deleted file mode 100644
index 501d0614889..00000000000
--- a/emulators/suse_freetype2/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/freetype2-2.0.4-52.i386.rpm) = 161328508dd395ec17b535757f3b7e4c1a6979f4
-RMD160 (suse73/i386/freetype2-2.0.4-52.i386.rpm) = 550b4566441bae812b3cecc2ec2da16dfb2f3ec5
-Size (suse73/i386/freetype2-2.0.4-52.i386.rpm) = 128287 bytes
diff --git a/emulators/suse_glx/DESCR b/emulators/suse_glx/DESCR
deleted file mode 100644
index 327c1077310..00000000000
--- a/emulators/suse_glx/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-GLX shared libraries.
diff --git a/emulators/suse_glx/Makefile b/emulators/suse_glx/Makefile
deleted file mode 100644
index 97642a1cb2f..00000000000
--- a/emulators/suse_glx/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= glx
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=x3d1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GLX binaries
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_glx/distinfo b/emulators/suse_glx/distinfo
deleted file mode 100644
index 65e40d0917f..00000000000
--- a/emulators/suse_glx/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/glx.rpm) = cfb83a43716d33c4d5907fc01d1a597fe0d309c7
-RMD160 (suse73/i386/glx.rpm) = fd7e650809e46c27766cd25a5f1e5c91317f5186
-Size (suse73/i386/glx.rpm) = 1017874 bytes
-SHA1 (suse73/ppc/glx.rpm) = 59ce58dd17b4a1015d1bfaeb0bf884d45e51c103
-Size (suse73/ppc/glx.rpm) = 1185416 bytes
diff --git a/emulators/suse_gtk/DESCR b/emulators/suse_gtk/DESCR
deleted file mode 100644
index d404f886f92..00000000000
--- a/emulators/suse_gtk/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-GTK shared libraries.
diff --git a/emulators/suse_gtk/Makefile b/emulators/suse_gtk/Makefile
deleted file mode 100644
index b41d7cdbbf7..00000000000
--- a/emulators/suse_gtk/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= suse_gtk-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/} \
- ${MASTER_SITE_SUSE:=xdev1/}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK binaries
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= glib.rpm gtk.rpm
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_gtk/distinfo b/emulators/suse_gtk/distinfo
deleted file mode 100644
index 010308f3426..00000000000
--- a/emulators/suse_gtk/distinfo
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/glib.rpm) = 600c2dca76e8507c318ab7d597f15aab40c42163
-Size (suse73/glib.rpm) = 131869 bytes
-SHA1 (suse73/gtk.rpm) = 564d93f329369b278d2221722eade94f3197d9b0
-Size (suse73/gtk.rpm) = 819942 bytes
-SHA1 (suse73/i386/glib.rpm) = 600c2dca76e8507c318ab7d597f15aab40c42163
-RMD160 (suse73/i386/glib.rpm) = ed4f0732a60cbe4d81ecc8aa0957a7ae51011ee9
-Size (suse73/i386/glib.rpm) = 131869 bytes
-SHA1 (suse73/i386/gtk.rpm) = 564d93f329369b278d2221722eade94f3197d9b0
-RMD160 (suse73/i386/gtk.rpm) = aec87d04668ab390eca3b74c02c37c0e1b81cf83
-Size (suse73/i386/gtk.rpm) = 819942 bytes
-SHA1 (suse73/ppc/glib.rpm) = 02371e023dc951400eeea7ec47db0372c83642ab
-Size (suse73/ppc/glib.rpm) = 146813 bytes
-SHA1 (suse73/ppc/gtk.rpm) = 0a5c8c07c5fc9b3cfa0f729c560f5780a40bf0b4
-Size (suse73/ppc/gtk.rpm) = 946515 bytes
diff --git a/emulators/suse_libc5/DESCR b/emulators/suse_libc5/DESCR
deleted file mode 100644
index 9d38774e653..00000000000
--- a/emulators/suse_libc5/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with (obsolete) libc5.
diff --git a/emulators/suse_libc5/Makefile b/emulators/suse_libc5/Makefile
deleted file mode 100644
index 695a9137e51..00000000000
--- a/emulators/suse_libc5/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.29 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= shlibs5
-PKGNAME= suse_libc5-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=a2/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for libc5 binaries
-
-DEPENDS+= suse_compat>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_compat
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-# force use of SuSE 7.3 base
-.include "../../emulators/suse_linux/vars.mk"
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_libc5/distinfo b/emulators/suse_libc5/distinfo
deleted file mode 100644
index 42df75bc18f..00000000000
--- a/emulators/suse_libc5/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/shlibs5.rpm) = 3ab64a0d19a353682e76e9af74e5a2bc0d3276fb
-RMD160 (suse73/i386/shlibs5.rpm) = 7eb0cea58f56c6c1d2155d28f592046e268e5eed
-Size (suse73/i386/shlibs5.rpm) = 14812823 bytes
diff --git a/emulators/suse_libjpeg/DESCR b/emulators/suse_libjpeg/DESCR
deleted file mode 100644
index 3fe7a54d422..00000000000
--- a/emulators/suse_libjpeg/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with jpeg shared libraries.
diff --git a/emulators/suse_libjpeg/Makefile b/emulators/suse_libjpeg/Makefile
deleted file mode 100644
index 68afd520835..00000000000
--- a/emulators/suse_libjpeg/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= libjpeg
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the JPEG library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_libjpeg/distinfo b/emulators/suse_libjpeg/distinfo
deleted file mode 100644
index 4fa7295df83..00000000000
--- a/emulators/suse_libjpeg/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/libjpeg.rpm) = 28075093237695b4dab0db1478b7d39da645b471
-RMD160 (suse73/i386/libjpeg.rpm) = ca144ad42ac7bcdc3095a6f280fec591e3ea832e
-Size (suse73/i386/libjpeg.rpm) = 153709 bytes
-SHA1 (suse73/ppc/libjpeg.rpm) = aa37720cb758d0833e367e30057456a7c1aee36f
-Size (suse73/ppc/libjpeg.rpm) = 163776 bytes
diff --git a/emulators/suse_libpng/DESCR b/emulators/suse_libpng/DESCR
deleted file mode 100644
index f330608b9fc..00000000000
--- a/emulators/suse_libpng/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with png shared libraries.
diff --git a/emulators/suse_libpng/Makefile b/emulators/suse_libpng/Makefile
deleted file mode 100644
index a1e2f5ebb62..00000000000
--- a/emulators/suse_libpng/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= libpng
-PKGREVISION= 1
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE_UPD:=gra1/}
-DISTFILES= ${RPMFILES}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the PNG library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-.include "../../emulators/suse_linux/arch.mk"
-
-.if ${SUSE_ARCH} == "i386"
-RPMFILES= ${DISTNAME}-2.1.0.12-160.${SUSE_ARCH}${EXTRACT_SUFX}
-.elif ${SUSE_ARCH} == "ppc"
-RPMFILES= ${DISTNAME}-2.1.0.12-131.${SUSE_ARCH}${EXTRACT_SUFX}
-.else
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-.endif
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_libpng/distinfo b/emulators/suse_libpng/distinfo
deleted file mode 100644
index 9b5e7c6ed05..00000000000
--- a/emulators/suse_libpng/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/05/25 12:03:45 wiz Exp $
-
-SHA1 (suse73/i386/libpng-2.1.0.12-160.i386.rpm) = 1275639d01bb0f99a5103965c423bec2602bd3cb
-RMD160 (suse73/i386/libpng-2.1.0.12-160.i386.rpm) = 3ecec79f3fde93162d206f1f37d8a3ce92b8ec6e
-Size (suse73/i386/libpng-2.1.0.12-160.i386.rpm) = 330158 bytes
-SHA1 (suse73/ppc/libpng-2.1.0.12-131.ppc.rpm) = 5e7598f4e339b49071f2554c6852798648c11ec3
-RMD160 (suse73/ppc/libpng-2.1.0.12-131.ppc.rpm) = f20cd5a60a9d74f5dd86a920190d906f5239f44b
-Size (suse73/ppc/libpng-2.1.0.12-131.ppc.rpm) = 324808 bytes
diff --git a/emulators/suse_libtiff/DESCR b/emulators/suse_libtiff/DESCR
deleted file mode 100644
index 78ff918946c..00000000000
--- a/emulators/suse_libtiff/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with tiff shared
-libraries.
diff --git a/emulators/suse_libtiff/Makefile b/emulators/suse_libtiff/Makefile
deleted file mode 100644
index 386bf25da58..00000000000
--- a/emulators/suse_libtiff/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= libtiff
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the TIFF library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-NO_BUILD= YES
-EXTRACT_ONLY= # empty
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_libtiff/distinfo b/emulators/suse_libtiff/distinfo
deleted file mode 100644
index 9912766124c..00000000000
--- a/emulators/suse_libtiff/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/05/25 12:06:03 wiz Exp $
-
-SHA1 (suse73/i386/libtiff.rpm) = 10c14054de815bc7f6c03a16864736ad941c183f
-RMD160 (suse73/i386/libtiff.rpm) = 218493a70b9b865e8816a400a29f553bd2e02654
-Size (suse73/i386/libtiff.rpm) = 476233 bytes
diff --git a/emulators/suse_linux/DESCR b/emulators/suse_linux/DESCR
deleted file mode 100644
index 055d187034a..00000000000
--- a/emulators/suse_linux/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Linux compatibility package collection based on the SuSE Linux distribution,
-take a look at "http://www.suse.com/" for more information about it.
diff --git a/emulators/suse_linux/Makefile b/emulators/suse_linux/Makefile
deleted file mode 100644
index 4c4bf013f76..00000000000
--- a/emulators/suse_linux/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.29 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= suse_linux-7.3
-CATEGORIES= emulators
-MASTER_SITES= # empty
-DISTFILES= # empty
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package collection
-
-DEPENDS+= suse_audio>=7.3:../../emulators/suse_audio
-DEPENDS+= suse_libjpeg>=7.3:../../emulators/suse_libjpeg
-DEPENDS+= suse_libpng>=7.3:../../emulators/suse_libpng
-DEPENDS+= suse_libtiff>=7.3:../../emulators/suse_libtiff
-DEPENDS+= suse_glx>=7.3:../../emulators/suse_glx
-DEPENDS+= suse_gtk>=7.3:../../emulators/suse_gtk
-DEPENDS+= suse_xforms>=7.3:../../emulators/suse_xforms
-
-.include "../../emulators/suse_linux/arch.mk"
-.if ${SUSE_ARCH} == i386
-DEPENDS+= suse_libc5>=7.3:../../emulators/suse_libc5
-.endif
-
-ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386 \
- NetBSD-[2-9]*-i386 NetBSD-*-powerpc \
- FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-NO_CHECKSUM= YES
-
-do-install: # empty
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
deleted file mode 100644
index b85327714c7..00000000000
--- a/emulators/suse_linux/Makefile.application
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile.application,v 1.16 2005/04/28 22:33:36 jlam Exp $
-
-.include "../../mk/bsd.prefs.mk"
-
-.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
-
-. if !empty(SUSE_PREFER:M9.1)
-. include "../../emulators/suse91_linux/vars.mk"
-. else
-. include "../../emulators/suse_linux/vars.mk"
-. endif
-
-. if defined(RPMFILES)
-. include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
-. endif
-
-.elif ${OPSYS} == "Linux"
-# No Linux emulation is needed
-.else
-# we put a value here so that the creation of the bulk
-# build cache files works correctly on non-i386 machines.
-# This speeds up the marking of all compat_linux packages
-# as not available.
-SUSE_DIR_PREFIX= suse
-SUSE_VERSION= 0
-PKG_SKIP_REASON+= "${PKGNAME} requires compat_linux, which is not available for ${MACHINE_PLATFORM}"
-.endif
diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common
deleted file mode 100644
index f8874a1bb4e..00000000000
--- a/emulators/suse_linux/Makefile.common
+++ /dev/null
@@ -1,57 +0,0 @@
-# $NetBSD: Makefile.common,v 1.21 2005/04/03 21:23:15 jdolecek Exp $
-
-.include "../../emulators/suse_linux/vars.mk"
-.include "../../emulators/suse_linux/arch.mk"
-
-MASTER_SITE_SUSE?= ftp://ftp.suse.com/pub/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/
-# ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/
-# ftp://gd.tuwien.ac.at/linux/suse.com/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/
-
-MASTER_SITE_SUSE_UPD= ${MASTER_SITE_SUSE:S/${SUSE_VERSION}\/suse/update\/${SUSE_VERSION}/}
-
-DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}
-
-WRKSRC?= ${WRKDIR}
-MANCOMPRESSED?= yes
-
-EMULSUBDIR= emul/linux
-EMULDIR= ${PREFIX}/${EMULSUBDIR}
-
-RPM2PKG= ${PREFIX}/sbin/rpm2pkg
-BUILD_DEPENDS+= rpm2pkg>=2.1:../../pkgtools/rpm2pkg
-
-BUILD_DEFS+= RPMFILES
-.if defined(RPMIGNOREPATH)
-BUILD_DEFS+= RPMIGNOREPATH
-.endif
-
-# The SuSE Linux packages have circular dependencies.
-LDD?= ${TRUE}
-
-RPM2PKGARGS?= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
-.for TEMP in ${RPMIGNOREPATH}
-RPM2PKGARGS+= -i ${TEMP}
-.endfor
-.for TEMP in ${RPMFILES}
-RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP}
-.endfor
-
-.if !target(do-install)
-do-install:
- @if [ -f ${PKGDIR}/PLIST ]; then \
- ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
- else \
- ${RM} -f ${PLIST_SRC}; \
- ${CP} ${PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \
- fi
- ${RPM2PKG} ${RPM2PKGARGS}
- @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \
- ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \
- ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \
- ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \
- ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \
- fi
-.endif
-
-show-shlib-type:
- @${ECHO} linux-${MACHINE_ARCH}
diff --git a/emulators/suse_linux/PLIST b/emulators/suse_linux/PLIST
deleted file mode 100644
index c5c32b7aa68..00000000000
--- a/emulators/suse_linux/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:49 zuntum Exp $
-@comment this plist intentionally left empty
diff --git a/emulators/suse_linux/PLIST_dynamic b/emulators/suse_linux/PLIST_dynamic
deleted file mode 100644
index 6b4bb927127..00000000000
--- a/emulators/suse_linux/PLIST_dynamic
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST_dynamic,v 1.1 2002/08/11 01:00:59 hubertf Exp $
-@comment PLIST created dynamically from pkgsrc/emulators/suse_linux/Makefile.common
diff --git a/emulators/suse_linux/arch.mk b/emulators/suse_linux/arch.mk
deleted file mode 100644
index a995738943f..00000000000
--- a/emulators/suse_linux/arch.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: arch.mk,v 1.1 2002/11/25 11:01:16 schmonz Exp $
-
-.ifndef SUSE_ARCH_MK
-SUSE_ARCH_MK=1
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} == "powerpc"
-SUSE_ARCH?= ppc
-.else
-SUSE_ARCH?= ${MACHINE_ARCH}
-.endif
-
-.endif # SUSE_ARCH_MK
diff --git a/emulators/suse_linux/vars.mk b/emulators/suse_linux/vars.mk
deleted file mode 100644
index 8ed70cc071a..00000000000
--- a/emulators/suse_linux/vars.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-# $NetBSD: vars.mk,v 1.1 2005/04/03 21:23:15 jdolecek Exp $
-
-.ifndef SUSE_VARS_MK
-SUSE_VARS_MK=1
-
-SUSE_VERSION= 7.3
-SUSE_DIR_PREFIX= suse
-
-.endif # SUSE_VARS_MK
diff --git a/emulators/suse_openmotif/DESCR b/emulators/suse_openmotif/DESCR
deleted file mode 100644
index f67dbf54135..00000000000
--- a/emulators/suse_openmotif/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with OpenMotif shared
-libraries.
diff --git a/emulators/suse_openmotif/Makefile b/emulators/suse_openmotif/Makefile
deleted file mode 100644
index c0eb21d22a0..00000000000
--- a/emulators/suse_openmotif/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= openmotif
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=xdev1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the Motif libraries
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_openmotif/distinfo b/emulators/suse_openmotif/distinfo
deleted file mode 100644
index 361f1e6a366..00000000000
--- a/emulators/suse_openmotif/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/openmotif.rpm) = b4ab8826a90429f47cac6c1cd38c68eb8caa21c2
-RMD160 (suse73/i386/openmotif.rpm) = b769b3df4d39d1618717bbf95651c3da20dbefae
-Size (suse73/i386/openmotif.rpm) = 1198634 bytes
-SHA1 (suse73/ppc/openmotif.rpm) = 47c6c49768b6e187267674ad882670272dbd631a
-Size (suse73/ppc/openmotif.rpm) = 1305398 bytes
diff --git a/emulators/suse_slang/DESCR b/emulators/suse_slang/DESCR
deleted file mode 100644
index f9f21396127..00000000000
--- a/emulators/suse_slang/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-the "slang" library.
diff --git a/emulators/suse_slang/Makefile b/emulators/suse_slang/Makefile
deleted file mode 100644
index 0ef4402f6cb..00000000000
--- a/emulators/suse_slang/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/07/19 10:23:42 grant Exp $
-
-DISTNAME= slang
-PKGREVISION= 1
-PKGNAME= suse_slang-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=d1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for slang library
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_slang/distinfo b/emulators/suse_slang/distinfo
deleted file mode 100644
index 8195aa51083..00000000000
--- a/emulators/suse_slang/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/slang.rpm) = 5e79a6497306bd8a58a6f50d8b3617d006a7b73b
-RMD160 (suse73/i386/slang.rpm) = 67d93e1eedfe6fa71c659b783538cccc78ac6c2b
-Size (suse73/i386/slang.rpm) = 566998 bytes
-SHA1 (suse73/ppc/slang.rpm) = 708af2f2f35f55c635b76cbf06659aadc01101e3
-Size (suse73/ppc/slang.rpm) = 635226 bytes
diff --git a/emulators/suse_vmware/DESCR b/emulators/suse_vmware/DESCR
deleted file mode 100644
index 9777e703fdd..00000000000
--- a/emulators/suse_vmware/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package is supposed to help running VMware under NetBSD.
diff --git a/emulators/suse_vmware/Makefile b/emulators/suse_vmware/Makefile
deleted file mode 100644
index e79b2f60063..00000000000
--- a/emulators/suse_vmware/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= fileutils-4.1-154.i386
-PKGNAME= suse_vmware-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE_UPD:=a1/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package to support running VMware
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST= EMULSUBDIR=${EMULSUBDIR}
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-RPMIGNOREPATH= usr
-
-post-install:
- ${LN} -fs /etc/fstab ${EMULDIR}/etc/mtab
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("${LN} -fs "$$1" ${EMULDIR}/dev/"$$2)}' | \
- ${SH} -
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("@exec ln -fs "$$1" %D/${EMULSUBDIR}/dev/"$$2)}' \
- >>${PLIST_SRC}
- @${GREP} -v '^#' ${FILESDIR}/device-links | \
- ${AWK} '{print("@unexec rm -f %D/${EMULSUBDIR}/dev/"$$2)}' \
- >>${PLIST_SRC}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_vmware/PLIST b/emulators/suse_vmware/PLIST
deleted file mode 100644
index e40c100b8b9..00000000000
--- a/emulators/suse_vmware/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:51 zuntum Exp $
-${EMULSUBDIR}/etc/mtab
diff --git a/emulators/suse_vmware/distinfo b/emulators/suse_vmware/distinfo
deleted file mode 100644
index fd1987b2775..00000000000
--- a/emulators/suse_vmware/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/fileutils-4.1-154.i386.rpm) = 1056af49636e8e91787521700ec6b3fe525f6475
-RMD160 (suse73/i386/fileutils-4.1-154.i386.rpm) = 7dc2ae26a49eb9d63f139b9497368cd4ba618186
-Size (suse73/i386/fileutils-4.1-154.i386.rpm) = 541040 bytes
diff --git a/emulators/suse_vmware/files/device-links b/emulators/suse_vmware/files/device-links
deleted file mode 100644
index f7904cbb6d9..00000000000
--- a/emulators/suse_vmware/files/device-links
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: device-links,v 1.2 2001/06/30 12:55:04 veego Exp $
-/dev/rcd0a cdrom
-/dev/rfd0a fd0
-/dev/wd0d hda
-/dev/wd1d hdb
-/dev/wd2d hdc
-/dev/wd3d hdd
-/dev/sd0d hde
-/dev/sd1d hdf
-/dev/sd2d hdg
-/dev/sd3d hdh
-/dev/sd4d hdi
-/dev/ttyE0 tty1
-/dev/ttyE1 tty2
-/dev/ttyE2 tty3
-/dev/ttyE3 tty4
-/dev/ttyE4 tty5
-/dev/ttyE5 tty6
-/dev/ttyE6 tty7
-/dev/ttyE7 tty8
-tty1 tty0
diff --git a/emulators/suse_x11/DESCR b/emulators/suse_x11/DESCR
deleted file mode 100644
index 023c56f39b1..00000000000
--- a/emulators/suse_x11/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-X11 shared libraries.
diff --git a/emulators/suse_x11/Makefile b/emulators/suse_x11/Makefile
deleted file mode 100644
index ff38982cbf2..00000000000
--- a/emulators/suse_x11/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# $NetBSD: Makefile,v 1.28 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= suse_x11-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=x1/}
-DISTFILES= ${RPMFILES}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for X11 binaries
-
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= xshared.rpm
-
-.include "../../mk/bsd.prefs.mk"
-
-# directory appeared in XFree86 4.*
-# if it is missing, we are using XFree86 3.* and need some additional files
-.if !exists(${X11BASE}/lib/X11/locale/common)
-RPMFILES+= xf86.rpm
-RPMIGNOREPATH= usr/X11R6/bin usr/X11R6/include \
- usr/X11R6/lib/X11/app-defaults \
- usr/X11R6/lib/X11/doc usr/X11R6/lib/X11/fonts \
- usr/X11R6/lib/X11/x11perfcomp
-.endif
-
-post-install:
- @${GREP} "^@exec.*.so" ${PLIST_SRC} | \
- ${SED} -e 's,.*/\(.*\.so\)\.\([0-9]\),@exec ${LN} -sf \
- \1.\2 %D/${EMULSUBDIR}/usr/X11R6/lib/\1,' \
- >> ${PLIST_SRC}
- @${GREP} "^@unexec rm -f" ${PLIST_SRC} | \
- ${SED} -e 's,\(.*\)\.[0-9],\1,' >> ${PLIST_SRC}
- @for link in `${GREP} "^@exec ln.*.so" ${PLIST_SRC} | \
- ${SED} -e 's,.*/\(.*\.so\.[0-9]\),\1,'`; do \
- cd ${EMULDIR}/usr/X11R6/lib && ${LN} -sf $$link $${link%.[0-9]}; \
- done
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_x11/distinfo b/emulators/suse_x11/distinfo
deleted file mode 100644
index d94f841e768..00000000000
--- a/emulators/suse_x11/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/03/15 14:09:15 wiz Exp $
-
-SHA1 (suse73/i386/xshared.rpm) = 50ace1909bf0a39f509d6401d18cd375dbcf847d
-RMD160 (suse73/i386/xshared.rpm) = e6178794e5570081475d9c8bcc9531022b0a902c
-Size (suse73/i386/xshared.rpm) = 1728255 bytes
-SHA1 (suse73/i386/xf86.rpm) = d824c1323018100870fb42f08ec0e26c10ae8702
-RMD160 (suse73/i386/xf86.rpm) = ace5c555852aeddbba6b6d6af71ff647b557e182
-Size (suse73/i386/xf86.rpm) = 20347104 bytes
-SHA1 (suse73/ppc/xshared.rpm) = 0864b93f0e2e226d6c324fa0abc6805b9f63fbc1
-Size (suse73/ppc/xshared.rpm) = 1858947 bytes
-SHA1 (suse73/ppc/xf86.rpm) = 059f0b9a98ee9fce3522a59aefe7c794d17314a0
-Size (suse73/ppc/xf86.rpm) = 21014414 bytes
diff --git a/emulators/suse_xforms/DESCR b/emulators/suse_xforms/DESCR
deleted file mode 100644
index 39ea324b0fd..00000000000
--- a/emulators/suse_xforms/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
-
-This package supports running ELF binaries linked with glibc2 which require
-the xforms library.
diff --git a/emulators/suse_xforms/Makefile b/emulators/suse_xforms/Makefile
deleted file mode 100644
index d9e41496f92..00000000000
--- a/emulators/suse_xforms/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2005/04/11 21:45:45 tv Exp $
-
-DISTNAME= xforms
-PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE:=pay3/}
-EXTRACT_SUFX= .rpm
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for xforms binaries
-
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
-
-.include "../../emulators/suse_linux/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse_xforms/distinfo b/emulators/suse_xforms/distinfo
deleted file mode 100644
index bdda99b1b1e..00000000000
--- a/emulators/suse_xforms/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (suse73/i386/xforms.rpm) = 36084b10475a9c44a49c065ff4f6d88bc37e20f2
-RMD160 (suse73/i386/xforms.rpm) = bf561cb260d49e97c99a690f2954065eabb135f6
-Size (suse73/i386/xforms.rpm) = 565878 bytes
-SHA1 (suse73/ppc/xforms.rpm) = 7ac015a31f7dd802520de3f6d45e4dfd36176756
-Size (suse73/ppc/xforms.rpm) = 692123 bytes
diff --git a/emulators/swarm/DESCR b/emulators/swarm/DESCR
deleted file mode 100644
index b2640bfc5ca..00000000000
--- a/emulators/swarm/DESCR
+++ /dev/null
@@ -1,19 +0,0 @@
-This is SWARM - SoftWare ARM.
-
-The initial stage in this process is implement a plain software model
-of the basic ARM. There are, of course, already software models of
-the ARM available, so why do another one? Well, this one will need to
-allow the instruction set to be modified at run time, and provide not
-just an execution environment, but also a way of monitoring things
-like cache hits.
-
-To this end a hierarchical model of an ARM CPU has been implemented in
-C++. It currently supports:
-
-+ Arm 6 based core. Currently able to handle data processing
-instructions, word/byte load and stores, load/store multiple,
-branches, 32 bit multiplication, and SWIs.
-+ Support for plugging in different caches - be they unified or
-separate I & D caches. Currently only a direct mapped cache is
-implemented.
-+ Compile for SWARM using ARM targeted gcc.
diff --git a/emulators/swarm/Makefile b/emulators/swarm/Makefile
deleted file mode 100644
index cb9c1d3f654..00000000000
--- a/emulators/swarm/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2005/11/03 21:51:57 rillig Exp $
-#
-
-DISTNAME= swarm-0.61
-CATEGORIES= emulators
-MASTER_SITES= http://www.cl.cam.ac.uk/~mwd24/phd/bin/
-
-MAINTAINER= agc@NetBSD.org
-HOMEPAGE= http://www.cl.cam.ac.uk/~mwd24/phd/swarm.html
-COMMENT= Software arm7M core emulator
-
-WRKSRC= ${WRKDIR}/swarm
-BUILD_DIRS= src
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/swarm ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/swarm
- ${INSTALL_DATA} ${WRKSRC}/doc/swarm.pdf ${PREFIX}/share/doc/swarm
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/swarm/PLIST b/emulators/swarm/PLIST
deleted file mode 100644
index e7269ecb10a..00000000000
--- a/emulators/swarm/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:55 zuntum Exp $
-bin/swarm
-share/doc/swarm/swarm.pdf
-@dirrm share/doc/swarm
diff --git a/emulators/swarm/distinfo b/emulators/swarm/distinfo
deleted file mode 100644
index e72a0ffad4f..00000000000
--- a/emulators/swarm/distinfo
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/11/03 21:51:57 rillig Exp $
-
-SHA1 (swarm-0.61.tar.gz) = 36ed52671f8be2cf8e799efd94a48b2919979d2c
-RMD160 (swarm-0.61.tar.gz) = d8e15da178236a46761a65cd52809276df5f3511
-Size (swarm-0.61.tar.gz) = 395061 bytes
-SHA1 (patch-aa) = 65da2134c0d99930412e60fbb3e0f299d3982113
-SHA1 (patch-ab) = 5a71a670297e4d8db2dd3c7c96d9528f878d13cb
-SHA1 (patch-ac) = 20b0603e24178a6086531bd2f7eb0eb5fc0e99c3
-SHA1 (patch-ad) = bee100f2ed6311153f4286fc88c4a7dd98f3efb8
-SHA1 (patch-ae) = 08b8819ad53bb0a91c3ab7a56479b2f36faab754
-SHA1 (patch-af) = 8228c591fd22ee8984d1f434940ad2cbbba41a22
-SHA1 (patch-ag) = 4d3ca9cd45edc081b85019ec88135504b3e7b0a1
-SHA1 (patch-ah) = 94d58bdd8d48e73f49ef06ac90eb0a9b0e1af6db
-SHA1 (patch-ai) = 51b43a6b560566447d588623b19d3da6ab7b4ade
-SHA1 (patch-aj) = 227b459e8201320679d3484daa163a5a5c579b17
diff --git a/emulators/swarm/patches/patch-aa b/emulators/swarm/patches/patch-aa
deleted file mode 100644
index 3eea0de9b7e..00000000000
--- a/emulators/swarm/patches/patch-aa
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2005/11/03 21:51:57 rillig Exp $
-
-fix tests for endianness and use our own header files to get
-int64_t and uint64_t
-
---- src/swarm_types.h.orig Tue Apr 10 09:46:10 2001
-+++ src/swarm_types.h
-@@ -26,9 +26,10 @@
- #ifndef __SWARM_TYPES_H__
- #define __SWARM_TYPES_H__
-
--#ifdef sun4
-+#include <sys/endian.h>
-+#if BYTE_ORDER == BIG_ENDIAN
- #define __BIG_ENDIAN__
--#else /* ix86 / alpha / arm32 */
-+#else
- #define __LITTLE_ENDIAN__
- #endif
-
-@@ -60,6 +61,10 @@
- typedef unsigned short uint16_t;
- typedef unsigned int uint32_t;
-
-+#ifdef __NetBSD__
-+#include <sys/types.h>
-+#include <sys/inttypes.h>
-+#else
- #ifndef WIN32
- #ifndef __int8_t_defined
- typedef long long int int64_t;
-@@ -69,6 +74,7 @@
- typedef INT64 int64_t;
- typedef UINT64 uint64_t;
- #endif // !WIN32
-+#endif // __NetBSD__
- #endif
-
- typedef int bool_t;
diff --git a/emulators/swarm/patches/patch-ab b/emulators/swarm/patches/patch-ab
deleted file mode 100644
index a206c2798b0..00000000000
--- a/emulators/swarm/patches/patch-ab
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2005/11/03 21:51:57 rillig Exp $
-
---- src/Makefile.orig Wed Apr 11 17:43:07 2001
-+++ src/Makefile
-@@ -22,10 +22,10 @@
- #
- ###############################################################################
-
--GCC = gcc
-+GCC = ${CC}
- ROOT = ..
- ARCH = `$(ROOT)/bin/scripts/arch`
--CFLAGS = -D$(ARCH) -DSHARED_CACHE -DQUIET -DSWARM_SWI_HANDLER #-DDEBUG_MEM
-+CFLAGS+= -D$(ARCH) -DSHARED_CACHE -DQUIET -DSWARM_SWI_HANDLER #-DDEBUG_MEM
- OPTS = -g -DEBUG
-
- OBJS = core.o main.o alu.o cache.o direct.o swarm.o swi.o armproc.o \
diff --git a/emulators/swarm/patches/patch-ac b/emulators/swarm/patches/patch-ac
deleted file mode 100644
index e15561b05a1..00000000000
--- a/emulators/swarm/patches/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/isa_be.h.orig Mon Nov 6 12:38:08 2000
-+++ src/isa_be.h Mon Apr 1 00:43:50 2002
-@@ -190,5 +190,5 @@
- uint32_t p : 1;
- uint32_t u : 1;
-- uint32_t psr : 1;
-+ uint32_t s : 1;
- uint32_t wb : 1;
- uint32_t ls : 1;
diff --git a/emulators/swarm/patches/patch-ad b/emulators/swarm/patches/patch-ad
deleted file mode 100644
index adc4e02cb46..00000000000
--- a/emulators/swarm/patches/patch-ad
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/uartctrl.cpp 2003/08/14 08:54:51 1.1
-+++ src/uartctrl.cpp 2003/08/14 09:15:14
-@@ -40,6 +40,29 @@
- //
- int CUARTCtrl::GetPty()
- {
-+#ifdef __NetBSD__
-+#include <sys/param.h>
-+ // masterpty = fd of master pty
-+ const char *letters = "pqrstuvwxyzPQRST";
-+ const char *numbers = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
-+ const char *let;
-+ const char *num;
-+ char ptyname[MAXPATHLEN];
-+ int cc;
-+
-+ cc = strlcpy(ptyname, "/dev/pty", sizeof(ptyname));
-+ ptyname[cc + 2] = 0x0;
-+ for (let = letters ; *let ; let++) {
-+ ptyname[cc] = *let;
-+ for (num = numbers ; *num ; num++) {
-+ ptyname[cc + 1] = *num;
-+ }
-+ if ((masterpty = open(ptyname, O_RDWR | O_NONBLOCK, 0666)) >= 0) {
-+ return 0;
-+ }
-+ }
-+ return -1;
-+#else
- char *namepty;
- struct termios tiopty;
- int curFlags;
-@@ -102,6 +125,7 @@
- getchar();
- }
- return 0;
-+#endif
- }
-
- ///////////////////////////////////////////////////////////////////////////////
diff --git a/emulators/swarm/patches/patch-ae b/emulators/swarm/patches/patch-ae
deleted file mode 100644
index a96cf175c1c..00000000000
--- a/emulators/swarm/patches/patch-ae
+++ /dev/null
@@ -1,126 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/core.cpp 2004/08/12 17:16:45 1.1
-+++ src/core.cpp 2004/08/12 17:17:18
-@@ -26,7 +26,7 @@
- #include "core.h"
- #include "isa.h"
- #include <string.h>
--#include <iostream.h>
-+#include <iostream>
- #include "disarm.h"
- #ifndef ARM6
- #include "booth.h"
-@@ -34,6 +34,8 @@
-
- #include "memory.cpp"
-
-+using namespace std;
-+
- static const char* mode_str[16] = {"reset", "fiq", "irq", "svc",
- NULL, NULL, NULL, "abort",
- NULL, NULL, NULL, "undef",
-@@ -4031,22 +4033,29 @@
- {
- char str[80];
-
-- cout.form("-------------------------------------------------------------------------------\n");
-- cout.form("SWARM Core debug dump\n\n");
-+ cout << "-------------------------------------------------------------------------------\n";
-+ cout << "SWARM Core debug dump\n\n";
-
-- cout.form("Registers:");
-+ cout << "Registers:";
- for (int j = 0; j < 4; j++)
- {
-- for (int i = 0; i < 4; i++)
-- cout.form(" 0x%08X", m_regsWorking[i + (j * 4)]);
-- cout.form("\n\t ");
-+ for (int i = 0; i < 4; i++) {
-+ cout << " ";
-+ cout << hex << m_regsWorking[i + (j * 4)];
-+ }
-+ cout << "\n\t ";
- }
-- cout.form(" 0x%08X", m_regsWorking[16]);
-+ cout << " ";
-+ cout << hex << m_regsWorking[16];
-
-- if (m_mode == M_FIQ)
-- cout.form("\tSPSR_%s[0x%08x]\n\n", mode_str[m_mode & 0xF], m_regsFiq[7]);
-- else if ((m_mode == M_USER) || (m_mode == M_SYSTEM))
-- cout.form("\n\n");
-+ if (m_mode == M_FIQ) {
-+ cout << "\tSPSR_";
-+ cout << mode_str[m_mode & 0xF];
-+ cout << "[";
-+ cout << hex << m_regsFiq[7];
-+ cout << "]\n\n";
-+ } else if ((m_mode == M_USER) || (m_mode == M_SYSTEM))
-+ cout << "\n\n";
- else
- {
- uint32_t* temp;
-@@ -4060,31 +4069,50 @@
- temp = NULL; break; // ???
- }
-
-- if (temp != NULL)
-- cout.form("\tSPSR_%s[0x%08x]\n\n", mode_str[m_mode & 0xF], temp[2]);
-+ if (temp != NULL) {
-+ cout << "\tSPSR_";
-+ cout << mode_str[m_mode & 0xF];
-+ cout << "[";
-+ cout << hex << temp[2];
-+ cout << "]\n\n";
-+ }
- }
-
-- cout.form("Instruction Pipe (top is current instruction):\n");
-+ cout << "Instruction Pipe (top is current instruction):\n";
- for (int i = 2; i > 0; i--)
- {
-- cout.form("\t0x%08X - ", m_iPipe[i]);
-+ cout << "\t0x";
-+ cout << hex << m_iPipe[i];
-+ cout << " - ";
- memset(str, 0, 80);
- CDisarm::Decode(m_iPipe[i], str);
-- cout.form("%s\n", str);
-+ cout << str;
-+ cout << "\n";
- }
- if (m_busCurrent != NULL)
- {
-- cout.form("\t0x%08X - ", m_busCurrent->Din);
-+ cout << "\t0x";
-+ cout << hex << m_busCurrent->Din;
-+ cout << " - ";
- memset(str, 0, 80);
- CDisarm::Decode(m_busCurrent->Din, str);
-- cout.form("%s (suspect if bad address error)\n", str);
-+ cout << str;
-+ cout << " (suspect if bad address error)\n";
- }
-- cout.form("Instruction Stage last executed - %d\n\n", m_nCtrlCur);
--
-- cout.form("DIn reg = 0x%08X DOut reg = 0x%08X Addr reg = 0x%08X\n",
-- m_regDataIn, m_regDataOut, m_regAddr);
-+ cout << "Instruction Stage last executed - ";
-+ cout << dec << m_nCtrlCur;
-+ cout << "\n\n";
-+
-+ cout << "DIn reg = 0x";
-+ cout << hex << m_regDataIn;
-+ cout << " DOut reg = 0x";
-+ cout << hex << m_regDataOut;
-+ cout << " Addr reg = 0x";
-+ cout << hex << m_regAddr;
-+ cout << "\n";
-+ cout << dec;
-
-- cout.form("-------------------------------------------------------------------------------\n");
-+ cout << "-------------------------------------------------------------------------------\n";
- }
-
-
diff --git a/emulators/swarm/patches/patch-af b/emulators/swarm/patches/patch-af
deleted file mode 100644
index 51513e7266e..00000000000
--- a/emulators/swarm/patches/patch-af
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-af,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/main.cpp 2004/08/12 18:28:49 1.1
-+++ src/main.cpp 2004/08/12 18:29:57
-@@ -34,11 +34,13 @@
- #endif
- #include "cache.h"
- #include "direct.h"
--#include <iostream.h>
-+#include <iostream>
- #include <sys/stat.h>
- #include "libc.h"
- #include "syscopro.h"
-
-+using namespace std;
-+
- #define FAST_CYCLE 1
- #define SLOW_CYCLE 4
-
-@@ -491,15 +493,18 @@
- }
- DebuggerRepeatCount--;
- }
--#endif DEBUGGER
-+#endif /* DEBUGGER */
- // Do we need to do anything with the bus?
- if (pinout.benable == 1)
- {
- // Quick sanity check
- if (pinout.address >= MEMORY_SIZE)
- {
-- cerr.form("SWARM failing: Bad address - 0x%08X\n",
-- pinout.address);
-+ cerr << "SWARM failing: Bad address - 0x";
-+ cerr << hex << pinout.address;
-+ cerr << "\n";
-+
-+ cerr << dec;
-
- pArm->DebugDump();
-
diff --git a/emulators/swarm/patches/patch-ag b/emulators/swarm/patches/patch-ag
deleted file mode 100644
index f0a46bbef7b..00000000000
--- a/emulators/swarm/patches/patch-ag
+++ /dev/null
@@ -1,57 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/syscopro.cpp 2004/08/12 18:34:07 1.1
-+++ src/syscopro.cpp 2004/08/12 18:37:39
-@@ -26,10 +26,12 @@
- #include "syscopro.h"
- #include <string.h>
- #include "isa.h"
--#include <iostream.h>
-+#include <iostream>
-
- #include "memory.cpp"
-
-+using namespace std;
-+
- // Defines a dull ARM7 type processor ID. Make = ARM, Arch = 3, rest NULL
- #define SWARM_ID 0x41007000
-
-@@ -486,22 +488,28 @@
- {
- char str[80];
-
-- cout.form("-------------------------------------------------------------------------------\n");
-- cout.form("System coprocessor debug dump\n\n");
-+ cout << "-------------------------------------------------------------------------------\n";
-+ cout << "System coprocessor debug dump\n\n";
-
-- cout.form("Registers:");
-+ cout << "Registers:";
- for (int j = 0; j < 4; j++)
- {
-- for (int i = 0; i < 4; i++)
-- cout.form(" 0x%08X", m_regsWorking[i + (j * 4)]);
-- cout.form("\n\t ");
-+ for (int i = 0; i < 4; i++) {
-+ cout << " 0x";
-+ cout << hex << m_regsWorking[i + (j * 4)];
-+ }
-+ cout << "\n\t ";
- }
-- cout.form("\n");
-+ cout << "\n";
-
-- cout.form("DIn reg = 0x%08X DOut reg = 0x%08X\n",
-- m_regDataIn, m_regDataOut);
-+ cout << "DIn reg = 0x";
-+ cout << hex << m_regDataIn;
-+ cout << " DOut reg = 0x",
-+ cout << hex << m_regDataOut;
-+ cout << "\n";
-+ cout << dec;
-
-- cout.form("-------------------------------------------------------------------------------\n");
-+ cout << "-------------------------------------------------------------------------------\n";
- }
-
-
diff --git a/emulators/swarm/patches/patch-ah b/emulators/swarm/patches/patch-ah
deleted file mode 100644
index 36a8add64a5..00000000000
--- a/emulators/swarm/patches/patch-ah
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/armproc.h 2004/08/12 18:45:56 1.1
-+++ src/armproc.h 2004/08/12 18:46:08
-@@ -29,7 +29,7 @@
- #include "core.h"
- #include "cache.h"
- #include "swi.h"
--#include <iostream.h>
-+#include <iostream>
- #include "copro.h"
-
- #include "ostimer.h"
-@@ -37,6 +37,8 @@
- #include "lcdctrl.h"
- #include "uartctrl.h"
-
-+using namespace std;
-+
- enum PPROC {P_NORMAL, P_READING1, P_READING, P_WRITING1, P_INTWRITE};
-
- typedef struct POTAG
diff --git a/emulators/swarm/patches/patch-ai b/emulators/swarm/patches/patch-ai
deleted file mode 100644
index 3c52ea6f61f..00000000000
--- a/emulators/swarm/patches/patch-ai
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/alu.cpp 2004/08/12 18:49:18 1.1
-+++ src/alu.cpp 2004/08/12 18:49:37
-@@ -24,7 +24,9 @@
-
- #include "swarm.h"
- #include "alu.h"
--#include <iostream.h>
-+#include <iostream>
-+
-+using namespace std;
-
- #define CARRY_FROM(_a,_b,_r) ((_a >> 31) ? ((_b >> 31) | ((~_r) >> 31)) : ((_b >> 31) * ((~_r) >> 31)))
-
diff --git a/emulators/swarm/patches/patch-aj b/emulators/swarm/patches/patch-aj
deleted file mode 100644
index b719fe18469..00000000000
--- a/emulators/swarm/patches/patch-aj
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aj,v 1.2 2005/11/03 21:51:57 rillig Exp $
-
---- src/libc.cpp 2004/08/12 18:49:18 1.1
-+++ src/libc.cpp 2004/08/12 18:50:21
-@@ -31,12 +31,14 @@
- #endif
- #include <fcntl.h>
-
--#include <iostream.h>
-+#include <iostream>
- #include <errno.h>
- #include <string.h>
-
- #include "swi.h"
-
-+using namespace std;
-+
- ///////////////////////////////////////////////////////////////////////////////
- // The gnuarm struct stat is in a different format to ours, so we need to
- // get the data and then copy it field by field.
diff --git a/emulators/tme/DESCR b/emulators/tme/DESCR
deleted file mode 100644
index a9ef0b235b8..00000000000
--- a/emulators/tme/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-The Machine Emulator, or tme, is a program that provides a general-
-purpose framework for computer emulation. The first machine that tme
-could emulate was the Sun 2/120, one of the first widely available Sun
-workstations.
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
deleted file mode 100644
index f8339263a67..00000000000
--- a/emulators/tme/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/07/27 07:29:26 skrll Exp $
-#
-
-DISTNAME= tme-0.4
-CATEGORIES= emulators
-MASTER_SITES= http://theory.lcs.mit.edu/~fredette/tme/
-
-MAINTAINER= skrll@NetBSD.org
-HOMEPAGE= http://theory.lcs.mit.edu/~fredette/tme/
-COMMENT= The Machine Emulator
-
-USE_PKGLOCALEDIR= yes
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-
-CONFIGURE_ARGS+= --disable-debug
-
-.include "../../devel/libltdl/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/tme/PLIST b/emulators/tme/PLIST
deleted file mode 100644
index 07e65e0f9b3..00000000000
--- a/emulators/tme/PLIST
+++ /dev/null
@@ -1,77 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2005/07/27 07:29:26 skrll Exp $
-bin/tme-sun-eeprom
-bin/tme-sun-idprom
-bin/tmesh
-include/tme/atomics.h
-include/tme/common.h
-include/tme/connection.h
-include/tme/element.h
-include/tme/generic/bus-device.h
-include/tme/generic/bus.h
-include/tme/generic/disk.h
-include/tme/generic/ethernet.h
-include/tme/generic/fb.h
-include/tme/generic/float.h
-include/tme/generic/ic.h
-include/tme/generic/keyboard.h
-include/tme/generic/mouse.h
-include/tme/generic/scsi.h
-include/tme/generic/serial.h
-include/tme/generic/tape.h
-include/tme/hash.h
-include/tme/ic/am9513.h
-include/tme/ic/i825x6.h
-include/tme/ic/ieee754-auto.h
-include/tme/ic/ieee754-ops-auto.h
-include/tme/ic/ieee754.h
-include/tme/ic/isil7170.h
-include/tme/ic/m68k.h
-include/tme/ic/mm58167.h
-include/tme/ic/z8530.h
-include/tme/log.h
-include/tme/machine/sun.h
-include/tme/misc.h
-include/tme/module.h
-include/tme/scsi/scsi-cdb.h
-include/tme/scsi/scsi-device.h
-include/tme/scsi/scsi-disk.h
-include/tme/scsi/scsi-msg.h
-include/tme/scsi/scsi-tape.h
-include/tme/threads.h
-include/tme/tme.h
-include/tme/tmesh.h
-lib/libtme-generic.la
-lib/libtme-ieee754.la
-lib/libtme.la
-lib/libtmesh.la
-lib/tme/libtme-machine-sun.la
-lib/tme/tme-plugins.txt
-lib/tme/tme_bus_multibus.la
-lib/tme/tme_generic.la
-lib/tme/tme_host_bsd.la
-lib/tme/tme_host_gtk.la
-lib/tme/tme_host_posix.la
-lib/tme/tme_ic_am9513.la
-lib/tme/tme_ic_i825x6.la
-lib/tme/tme_ic_isil7170.la
-lib/tme/tme_ic_m68k.la
-lib/tme/tme_ic_mm58167.la
-lib/tme/tme_ic_ncr5380.la
-lib/tme/tme_ic_z8530.la
-lib/tme/tme_machine_sun2.la
-lib/tme/tme_machine_sun3.la
-lib/tme/tme_scsi.la
-lib/tme/tme_serial_kb.la
-lib/tme/tmeconfig.h
-share/examples/tme/SUN2-MULTIBUS
-share/examples/tme/SUN3-CARRERA
-share/examples/tme/my-sun-macros.txt
-share/examples/tme/sun-keyboards.txt
-share/examples/tme/sun3-carrera-eeprom.txt
-@dirrm share/examples/tme
-@dirrm lib/tme
-@dirrm include/tme/scsi
-@dirrm include/tme/machine
-@dirrm include/tme/ic
-@dirrm include/tme/generic
-@dirrm include/tme
diff --git a/emulators/tme/distinfo b/emulators/tme/distinfo
deleted file mode 100644
index 1da745e33e5..00000000000
--- a/emulators/tme/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/07/27 07:29:26 skrll Exp $
-
-SHA1 (tme-0.4.tar.gz) = 7a1a2c6aa05527b11f81925e4931e7250f5be308
-RMD160 (tme-0.4.tar.gz) = a5b5ac56c8247f94cd96c92a04a6cb132ba92931
-Size (tme-0.4.tar.gz) = 1448981 bytes
-SHA1 (patch-aa) = 0f8cdd5efe8dab297d6369c7d6508bd1902c3bc2
-SHA1 (patch-ac) = 885286eb6893d5af9769791805d054212b6d0db5
-SHA1 (patch-ad) = 3f5adbaa94e5b97ded14e9a05cce912ed01f406f
-SHA1 (patch-ae) = 2f472a55f5afd1c0079349ce49bd3eb251ea9d76
diff --git a/emulators/tme/patches/patch-aa b/emulators/tme/patches/patch-aa
deleted file mode 100644
index c02f761c36d..00000000000
--- a/emulators/tme/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/07/27 07:29:26 skrll Exp $
-
---- tme/threads.h.orig 2003-06-27 21:09:10.000000000 +0000
-+++ tme/threads.h
-@@ -41,6 +41,7 @@ _TME_RCSID("$Id: threads.h,v 1.6 2003/06
-
- /* includes: */
- #include <errno.h>
-+#include <sys/time.h>
-
- /* note that our locking model never allows recursive locking. */
-
diff --git a/emulators/tme/patches/patch-ac b/emulators/tme/patches/patch-ac
deleted file mode 100644
index 8161ef7185f..00000000000
--- a/emulators/tme/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/07/27 07:29:26 skrll Exp $
-
---- libtme/module.c.orig 2005-01-26 12:59:24.000000000 +0000
-+++ libtme/module.c
-@@ -230,7 +230,7 @@ tme_module_open(const char *module_fake_
- for (p1 = module_raw_name;
- (c = *p1) != '\0';
- p1++) {
-- if (!isalnum(c)) {
-+ if (!isalnum((unsigned char)c)) {
- *p1 = '_';
- if (c == '/'
- && first_slash == NULL) {
diff --git a/emulators/tme/patches/patch-ad b/emulators/tme/patches/patch-ad
deleted file mode 100644
index 48837131cff..00000000000
--- a/emulators/tme/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/07/27 07:29:26 skrll Exp $
-
---- libtme/misc.c.orig 2004-05-11 12:03:47.000000000 +0000
-+++ libtme/misc.c
-@@ -83,7 +83,7 @@ tme_misc_tokenize(const char *string,
-
- /* if this is a token delimiter: */
- if (c == '\0'
-- || isspace(c)
-+ || isspace((unsigned char)c)
- || c == comment) {
-
- /* if we had been collecting a token, it's finished: */
-@@ -184,7 +184,7 @@ _tme_misc_number_parse(const char *strin
- /* XXX parts of this might be ASCII-centric: */
-
- /* skip leading whitespace: */
-- for (; (c = *string) != '\0' && isspace(c); string++);
-+ for (; (c = *string) != '\0' && isspace((unsigned char)c); string++);
-
- /* check for a leading '-' or '+' character: */
- if ((negative = (c == '-'))
diff --git a/emulators/tme/patches/patch-ae b/emulators/tme/patches/patch-ae
deleted file mode 100644
index f9e97abd07d..00000000000
--- a/emulators/tme/patches/patch-ae
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/12/05 07:32:17 skrll Exp $
-
---- serial/serial-kb.c.orig 2003-10-16 03:48:25.000000000 +0100
-+++ serial/serial-kb.c
-@@ -966,7 +966,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
- }
- for (p1 = line_buffer;
- ((c = *(p1++)) != '\0'
-- && isspace(c)););
-+ && isspace((unsigned char)c)););
- if (c == '\0'
- || c == '#') {
- continue;
-@@ -1049,7 +1049,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
- }
- for (p1 = line_buffer;
- ((c = *(p1++)) != '\0'
-- && isspace(c)););
-+ && isspace((unsigned char)c)););
- if (c == '\0'
- || c == '#') {
- continue;
diff --git a/emulators/tuxnes/DESCR b/emulators/tuxnes/DESCR
deleted file mode 100644
index c0c7537bc2e..00000000000
--- a/emulators/tuxnes/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-tuxnes is a NES emulator.
-
-Features:
-- open source
-- dynamic recompilation from 6502 opcodes -> x86 native opcodes
-- mappers: 0, 1, 2, 3, 4, 7, 9, 11, 32, 66, 99
-- experimental mappers: 15, 22, 23, and 71
-- gzip and zip file support
-- game saving
-- built-in disassembler
-- joystick support (2- & 4-button)
-- experimental sound support
-- capture screenshots in X pixmap (xpm) or portable pixmap (ppm) format
-- Game Genie code support
-- trainer support
-- alternate palette support
diff --git a/emulators/tuxnes/Makefile b/emulators/tuxnes/Makefile
deleted file mode 100644
index 27331a32e3b..00000000000
--- a/emulators/tuxnes/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 18:02:48 jlam Exp $
-#
-
-DISTNAME= tuxnes-0.75
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxnes/}
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://tuxnes.sourceforge.net/
-COMMENT= NES emulator
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-
-SUBST_CLASSES+= dsp
-SUBST_STAGE.dsp= post-patch
-SUBST_MESSAGE.dsp= Adjusting sound device path.
-SUBST_FILES.dsp= consts.h
-SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tuxnes
-.for doc in AUTHORS BUGS COPYING README THANKS
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/tuxnes
-.endfor
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/xpm/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/tuxnes/PLIST b/emulators/tuxnes/PLIST
deleted file mode 100644
index df9f8d7fcaf..00000000000
--- a/emulators/tuxnes/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 20:29:37 wiz Exp $
-bin/tuxnes
-bin/romfixer
-share/doc/tuxnes/AUTHORS
-share/doc/tuxnes/BUGS
-share/doc/tuxnes/COPYING
-share/doc/tuxnes/README
-share/doc/tuxnes/THANKS
-@dirrm share/doc/tuxnes
diff --git a/emulators/tuxnes/distinfo b/emulators/tuxnes/distinfo
deleted file mode 100644
index c4caf3cf4a3..00000000000
--- a/emulators/tuxnes/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (tuxnes-0.75.tar.gz) = 1729cb3a33a5a3e0c8fa81a1341f912cd0b8d18b
-RMD160 (tuxnes-0.75.tar.gz) = d4a94e00f7c90cbf6fbf19537ede22aca05eeafd
-Size (tuxnes-0.75.tar.gz) = 198735 bytes
-SHA1 (patch-aa) = d907d8c64ffec0977160f61bf70eb5223a6fc1d2
-SHA1 (patch-ab) = b2acfc6915f30f28aadc5a9ddf780596c8120f72
-SHA1 (patch-ac) = e4f82da5f6d4e4a15850c5ce14f8420a857a804b
-SHA1 (patch-ad) = 25a937a0fcc0e52a42f8614656ca9e6eb08f02b9
diff --git a/emulators/tuxnes/patches/patch-aa b/emulators/tuxnes/patches/patch-aa
deleted file mode 100644
index d7788251b2e..00000000000
--- a/emulators/tuxnes/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/07/19 20:29:37 wiz Exp $
-
---- Makefile.in.orig 2004-07-19 22:03:46.000000000 +0200
-+++ Makefile.in
-@@ -99,7 +99,7 @@ tuxnes_OBJECTS = x86.o d6502.o dynrec.o
- mapper.o sound.o ggi.o x11.o w.o renderer.o ntsc_pal.o unzip.o \
- ziploader.o
- tuxnes_DEPENDENCIES = table.o
--tuxnes_LDFLAGS =
-+tuxnes_LDFLAGS = ${LIBOSSAUDIO}
- comptbl_OBJECTS = comptbl.o
- comptbl_LDADD = $(LDADD)
- comptbl_DEPENDENCIES =
diff --git a/emulators/tuxnes/patches/patch-ab b/emulators/tuxnes/patches/patch-ab
deleted file mode 100644
index 9e10c546286..00000000000
--- a/emulators/tuxnes/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/07/19 20:29:37 wiz Exp $
-
---- mapper.c.orig 2001-04-11 23:45:47.000000000 +0200
-+++ mapper.c
-@@ -13,6 +13,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
-
- #include "consts.h"
- #include "globals.h"
diff --git a/emulators/tuxnes/patches/patch-ac b/emulators/tuxnes/patches/patch-ac
deleted file mode 100644
index 3f02f99dd3b..00000000000
--- a/emulators/tuxnes/patches/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 20:29:37 wiz Exp $
-
---- sound.c.orig 2001-04-11 23:45:47.000000000 +0200
-+++ sound.c
-@@ -104,6 +104,7 @@
- #include <math.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <sys/ioctl.h>
- #if defined(__FreeBSD__)
-@@ -411,7 +412,7 @@ InitAudio(int argc, char **argv)
- {
- int desired_fragmentsize = 0;
- #ifdef SNDCTL_DSP_RESET
-- if (! ioctl (audiofd, SNDCTL_DSP_RESET)) {
-+ if (! ioctl (audiofd, SNDCTL_DSP_RESET, 0)) {
- int desired_audiorate;
- int desired_audiostereo;
- struct SampleFormat *desired_sample_format = sample_format;
diff --git a/emulators/tuxnes/patches/patch-ad b/emulators/tuxnes/patches/patch-ad
deleted file mode 100644
index 8636e74944e..00000000000
--- a/emulators/tuxnes/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2004/07/19 20:29:37 wiz Exp $
-
---- unzip.h.orig 2001-04-11 22:23:10.000000000 +0200
-+++ unzip.h
-@@ -49,6 +49,10 @@ extern "C" {
- #include "zlib.h"
- #endif
-
-+#ifndef OF
-+#define OF(a) a
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */
diff --git a/emulators/twin/DESCR b/emulators/twin/DESCR
deleted file mode 100644
index 83daa301d2a..00000000000
--- a/emulators/twin/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-Willows TWIN is a GNU software package for emulating the Microsoft
-Win32 API. It consists of a library set and an emulator program. The
-emulator program allows the execution of Windows binary applications
-on supported platforms; using the native Intel x86 processors, or
-through the built-in instruction set interpreter. The native
-libraries allow programmers natively to build Win32 and MFC
-applications from source code.
diff --git a/emulators/twin/MESSAGE b/emulators/twin/MESSAGE
deleted file mode 100644
index b9d7247c400..00000000000
--- a/emulators/twin/MESSAGE
+++ /dev/null
@@ -1,22 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2003/05/06 17:41:11 jmmv Exp $
-
-TWIN gotchas:
- * Only tested on NetBSD i386 and requires USER_LDT kernel option
-
- * Platforms other than NetBSD i386 can only run 16 bit binaries and
- this hasn't been extensively tested.
-
- * Some w32 functions are implemented but not prototyped in the
- TWIN headers. Many functions are not implemented and the TWIN
- headers are out of date. devel/w32api may be a useful reference
-
- * When building programs, some libraries must be
- explicitly linked to, unlike in Windows. ie: you
- need to specify -lshell to get RegOpenKeyEx()
-
- * The resource compiler doesn't understand "" to mean ", so replace
- "" with \042 in your resource files. There is no winresrc.h,
- replace it with windows.h in your resource files.
-
-===========================================================================
diff --git a/emulators/twin/Makefile b/emulators/twin/Makefile
deleted file mode 100644
index 1cda943fd28..00000000000
--- a/emulators/twin/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2005/06/01 20:08:00 jlam Exp $
-#
-
-DISTNAME= twin-src-3.1.14
-PKGNAME= twin-3.1.14
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.willows.com/pub/twin/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.willows.com/
-COMMENT= Cross-platform implementation of the win32 api
-
-WRKSRC= ${WRKDIR}/twin
-GNU_CONFIGURE= yes
-USE_TOOLS+= autoconf213 gmake
-BUILD_TARGET= depend world
-CONFIGURE_ARGS= --enable-debugger
-
-.include "../../mk/x11.buildlink3.mk"
-
-pre-configure:
- cd ${WRKSRC} && autoreconf --force
-
-pre-build:
- ${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twin
- ${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin/
- ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/
- ${INSTALL_DATA} ${WRKSRC}/documentation/rc.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/documentation/debugger.1 ${PREFIX}/man/man1
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/rc/rc ${PREFIX}/bin
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/twin/PLIST b/emulators/twin/PLIST
deleted file mode 100644
index f618cf46ce7..00000000000
--- a/emulators/twin/PLIST
+++ /dev/null
@@ -1,121 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/08 03:15:49 jmc Exp $
-bin/xwin32
-bin/rc
-man/man1/rc.1
-man/man1/debugger.1
-lib/libdll.a
-lib/libcommdlg.so
-lib/libshell.so
-lib/libkeyboard.so
-lib/libversion.so
-lib/libsystem.so
-lib/liblzexpand.so
-lib/libtoolhelp.so
-lib/libcomm.so
-lib/libwinsock.so
-lib/libddeml.so
-lib/libsound.so
-lib/libw32sys.so
-lib/libwin87em.so
-lib/libwinspool.so
-lib/libcomctl32.so
-lib/libadvapi32.so
-lib/libmsvcrt.so
-lib/libolesvr.so
-lib/libolecli.so
-lib/libmmsystem.so
-lib/libtwin32.so
-include/LZExpand.h
-include/Bin32.h
-include/ModTable.h
-include/Log.h
-include/Module.h
-include/MsgCode.h
-include/Net.h
-include/OEM.h
-include/ObjEngine.h
-include/Printer.h
-include/Resources.h
-include/Segment.h
-include/System.h
-include/Ver.h
-include/WSA.h
-include/WinMalloc.h
-include/WinSockUtil.h
-include/WinSocktypes.h
-include/tchar.h
-include/winnls.h
-include/winerror.h
-include/commctrl.h
-include/shellapi.h
-include/platform.h.in
-include/winbase.h
-include/windef.h
-include/windows.h
-include/cderr.h
-include/coguid.h
-include/colordlg.h
-include/wingdi.h
-include/commdlg.h
-include/compobj.h
-include/dde.h
-include/ddeml.h
-include/debug.h
-include/debugdefs.h
-include/debugtools.h
-include/dir.h
-include/direct.h
-include/dlgs.h
-include/dos.h
-include/inifile.h
-include/initguid.h
-include/io.h
-include/kerndef.h
-include/ldt.h
-include/mmsystem.h
-include/mtlock.h
-include/ole.h
-include/ole2ver.h
-include/print.h
-include/winmaptypes.h
-include/prsht.h
-include/share.h
-include/winnt.h
-include/toolhelp.h
-include/twindlfcn.h
-include/twindll.h
-include/twinhelp.h
-include/twinlog.h
-include/twinrt.h
-include/win_con.h
-include/winreg.h
-include/winuser.h
-include/windowsx.h
-include/winsock.h
-include/wincon.h
-include/windowsx16.h
-include/winmapclib.h
-include/windowsx32.h
-include/winspool.h
-include/winver.h
-include/thread.h
-include/platform.h
-share/doc/twin/bin-convert.txt
-share/doc/twin/config.doc
-share/doc/twin/debugger.1
-share/doc/twin/dll-binary.txt
-share/doc/twin/dll-native.txt
-share/doc/twin/lib-config.txt
-share/doc/twin/lib-debug.txt
-share/doc/twin/lib-porting.txt
-share/doc/twin/lib-qna.txt
-share/doc/twin/lib-thunk.c
-share/doc/twin/lib-verify.txt
-share/doc/twin/rc.1
-share/doc/twin/readme.twinrc
-share/doc/twin/sample.twinrc
-share/doc/twin/src-issues.txt
-share/doc/twin/twinrc.doc
-share/doc/twin/win.ini
-share/doc/twin/wrt-setup.txt
-@dirrm share/doc/twin
diff --git a/emulators/twin/PLIST.i386 b/emulators/twin/PLIST.i386
deleted file mode 100644
index 897b3c1be0f..00000000000
--- a/emulators/twin/PLIST.i386
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.i386,v 1.2 2003/04/21 20:25:45 cjep Exp $
-lib/libreadline.a
-lib/libdebug.so
-lib/libpe32.so
diff --git a/emulators/twin/distinfo b/emulators/twin/distinfo
deleted file mode 100644
index 1f87627ba71..00000000000
--- a/emulators/twin/distinfo
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (twin-src-3.1.14.tar.gz) = b1652f07adcc2c98948a4458480b2d8436cc893f
-RMD160 (twin-src-3.1.14.tar.gz) = e4b54f515505176498335387415dc5797b3e63eb
-Size (twin-src-3.1.14.tar.gz) = 2216218 bytes
-SHA1 (patch-aa) = 7fe45414b89610b25015f814983c59003c35018d
-SHA1 (patch-ab) = 7e7b4d3da2afb119a4222a953ae44251b0c253f2
-SHA1 (patch-ac) = ead087b78674b30c076f132d71c3d372c77f0e1f
-SHA1 (patch-ad) = baf4144bf251e5eef3613fc7b2a4cc9168fa7292
-SHA1 (patch-ae) = 284da616e3e55716b2eb1faa0e86c16c3643d230
-SHA1 (patch-af) = 818f91cce6010145756221b90bd3461557c53d9a
-SHA1 (patch-ag) = 2f6f51e9f837920c7d0db11686071a6de2d66887
-SHA1 (patch-ah) = 82deae0df4dd9f695b6a402fe9be8f4b9a9bc4f4
-SHA1 (patch-ai) = 30c18f5770b839fbae7143ce2e0b435eb90cfc76
-SHA1 (patch-aj) = 904103343dec345480b7566f9fe980fb027faade
-SHA1 (patch-ak) = daa28ea5a1a2110a57948ea5ca0a59d060fca615
-SHA1 (patch-al) = 9c27e11439360db805d6d6165a3af0f75064dcec
diff --git a/emulators/twin/patches/patch-aa b/emulators/twin/patches/patch-aa
deleted file mode 100644
index 7a154c64480..00000000000
--- a/emulators/twin/patches/patch-aa
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2003/03/08 03:15:51 jmc Exp $
-
---- configure.in.orig Sun Jan 14 08:23:50 2001
-+++ configure.in Fri Apr 5 22:31:14 2002
-@@ -147,6 +147,10 @@
- TARGET=freebsd
- ;;
-
-+ *netbsd* )
-+ TARGET=netbsd
-+ ;;
-+
- i*86-*-linux* )
- TARGET=linux
- ;;
-@@ -349,6 +353,11 @@
- powerpc-*-linux* )
- # egcs still broken on ppc
- TWIN_CFLAGS=-g
-+ ;;
-+
-+ *netbsd* )
-+ LIBTWIN_LDFLAGS="$LDFLAGS $LIBTWIN_LDFLAGS"
-+ DLL_LDFLAGS="$LDFLAGS $DLL_LDFLAGS"
- ;;
- esac
-
diff --git a/emulators/twin/patches/patch-ab b/emulators/twin/patches/patch-ab
deleted file mode 100644
index 47a6b6df521..00000000000
--- a/emulators/twin/patches/patch-ab
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/03/08 03:15:51 jmc Exp $
-
---- osdll/Makefile.in.orig Sun Aug 22 05:55:20 1999
-+++ osdll/Makefile.in Fri Apr 5 20:42:06 2002
-@@ -8,16 +8,22 @@
-
- THREAD_alpha_linux = DrvThreads_nothreads.c
- THREAD_alpha_freebsd = DrvThreads_nothreads.c
-+THREAD_alpha_netbsd = DrvThreads_generic.c
- THREAD_alpha_osf = DrvThreads_nothreads.c
-+THREAD_arm_netbsd = DrvThreads_generic.c
- THREAD_arm_linux = DrvThreads_nothreads.c
- #THREAD_hppa_hpux = DrvThreads_generic.c FIXME: temporary fix.
- THREAD_hppa_hpux = DrvThreads_nothreads.c
-+THREAD_mips_netbsd = DrvThreads_generic.c
- THREAD_mips_irix = DrvThreads_generic.c
- THREAD_ppc_aix = DrvThreads_nothreads.c
- THREAD_ppc_linux = DrvThreads_generic.c
-+THREAD_ppc_netbsd = DrvThreads_generic.c
- THREAD_sparc_solaris = DrvThreads_generic.c
-+THREAD_sparc_netbsd = DrvThreads_generic.c
- THREAD_sparc_sunos = DrvThreads_generic.c
- THREAD_X386_freebsd = DrvThreads_X386.c
-+THREAD_X386_netbsd = DrvThreads_X386.c
- THREAD_X386_linux = DrvThreads_X386.c
- THREAD_X386_sco = DrvThreads_X386.c
- THREAD_X386_solaris = DrvThreads_X386.c
-@@ -30,11 +36,15 @@
- #SYSTEM_hppa_hpux = DrvSystem_hppa.s FIXME: bad assembly code.
- SYSTEM_hppa_hpux =
- SYSTEM_mips_irix = DrvSystem_mips.s
-+SYSTEM_mips_netbsd = DrvSystem_mips.s
- SYSTEM_ppc_aix = DrvSystem_ppc.s
- SYSTEM_ppc_linux = DrvSystem_ppc-gcc.s
-+SYSTEM_ppc_netbsd = DrvSystem_ppc-gcc.s
- SYSTEM_sparc_solaris = DrvSystem_sparc.s
- SYSTEM_sparc_sunos = DrvSystem_sparc.s
-+SYSTEM_sparc_netbsd = DrvSystem_sparc.s
- SYSTEM_X386_freebsd =
-+SYSTEM_X386_netbsd =
- SYSTEM_X386_linux =
- SYSTEM_X386_sco =
- SYSTEM_X386_solaris =
diff --git a/emulators/twin/patches/patch-ac b/emulators/twin/patches/patch-ac
deleted file mode 100644
index 5321dde6e2c..00000000000
--- a/emulators/twin/patches/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
-
---- dlls/winsock/WinSock.c.orig Sun May 13 02:24:38 2001
-+++ dlls/winsock/WinSock.c Sun May 13 02:24:39 2001
-@@ -28,6 +28,7 @@
-
- */
-
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <sys/socket.h>
- #include <sys/time.h>
diff --git a/emulators/twin/patches/patch-ad b/emulators/twin/patches/patch-ad
deleted file mode 100644
index e7755ed5114..00000000000
--- a/emulators/twin/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
-
---- dlls/winsock/WinSockIF.c.orig Sun May 13 02:25:35 2001
-+++ dlls/winsock/WinSockIF.c Sun May 13 02:25:47 2001
-@@ -28,6 +28,7 @@
-
- */
-
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <sys/socket.h>
- #include <sys/time.h>
diff --git a/emulators/twin/patches/patch-ae b/emulators/twin/patches/patch-ae
deleted file mode 100644
index 1a6da2cf304..00000000000
--- a/emulators/twin/patches/patch-ae
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
-
---- debugger/sig_context.h.orig Sun May 13 03:01:07 2001
-+++ debugger/sig_context.h Sun May 13 03:25:31 2001
-@@ -59,6 +59,20 @@
-
- #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
-
-+enum {
-+ REG_GS = 0, REG_FS, REG_ES, REG_DS,
-+ REG_EDI, REG_ESI, REG_EBP,
-+ REG_EBX, REG_EDX, REG_ECX, REG_EAX,
-+ REG_EIP, REG_CS, REG_EFL, REG_ESP,
-+ REG_SS, REG_BSD_ONSTACK, REG_BSD_MASK13,
-+ REG_TRAPNO, REG_ERR,
-+
-+ REG_AX = 100, REG_BX, REG_CX, REG_DX,
-+ REG_BP, REG_IP, REG_SP,
-+ REG_DI, REG_SI,
-+ REG_FL
-+};
-+
- #include <signal.h>
- typedef struct sigcontext SIGCONTEXT;
-
diff --git a/emulators/twin/patches/patch-af b/emulators/twin/patches/patch-af
deleted file mode 100644
index 41569557940..00000000000
--- a/emulators/twin/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
-
---- tools/rc/cmdline.c.orig Wed Aug 11 01:34:18 1999
-+++ tools/rc/cmdline.c Sun May 13 10:09:31 2001
-@@ -61,7 +61,7 @@
- extern char cpp_module_name[];
- extern char libentry_name[];
- extern char tbl_name[];
--static char *system_include_path[1] = { STDINC };
-+static char *system_include_path[2] = { STDINC, __INCPATH__ };
- static int n_system_include_path = sizeof(system_include_path) /
- sizeof(*system_include_path);
- static char **user_include_path = NULL;
diff --git a/emulators/twin/patches/patch-ag b/emulators/twin/patches/patch-ag
deleted file mode 100644
index 17236027e82..00000000000
--- a/emulators/twin/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
-
---- tools/rc/Makefile.in.orig Sun Mar 21 02:47:49 1999
-+++ tools/rc/Makefile.in Sun May 13 10:38:04 2001
-@@ -20,6 +20,8 @@
-
- include $(blddir)/Make.rules
-
-+CFLAGS += -D__INCPATH__=\"${prefix}/include\"
-+
- $(target): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS)
-
diff --git a/emulators/twin/patches/patch-ah b/emulators/twin/patches/patch-ah
deleted file mode 100644
index d5edd6e9ccc..00000000000
--- a/emulators/twin/patches/patch-ah
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2003/03/08 03:15:51 jmc Exp $
-
---- windows/WSprintf.c.orig Fri Apr 5 20:42:48 2002
-+++ windows/WSprintf.c Fri Apr 5 20:43:47 2002
-@@ -56,6 +56,14 @@
- int WINAPI
- wvsprintf(LPSTR buf, LPCSTR fmt, void *args)
- {
-+#ifdef __NetBSD__
-+#ifdef __powerpc__
-+ va_list *ap = args;
-+
-+ vsprintf(buf,fmt,*ap);
-+#endif
-+#else
- vsprintf(buf,fmt,args);
-+#endif
- return strlen(buf);
- }
diff --git a/emulators/twin/patches/patch-ai b/emulators/twin/patches/patch-ai
deleted file mode 100644
index bdd6b4aa46f..00000000000
--- a/emulators/twin/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2003/03/08 03:15:52 jmc Exp $
-
---- osdll/DrvSystem_ppc-gcc.s.orig Fri Apr 5 21:29:15 2002
-+++ osdll/DrvSystem_ppc-gcc.s Fri Apr 5 21:29:27 2002
-@@ -61,7 +61,7 @@
- mr SP,r3
- # gcc/gas breaks on this
- # bl .TWIN_InitStackEnd{PR}
-- bl TWIN_InitStackEnd
-+ bl TWIN_InitStackEnd@plt
- nop
- nop
- nop
diff --git a/emulators/twin/patches/patch-aj b/emulators/twin/patches/patch-aj
deleted file mode 100644
index 4ece0c06613..00000000000
--- a/emulators/twin/patches/patch-aj
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2003/03/08 03:15:52 jmc Exp $
-
---- windows/Makefile.in.orig Fri Apr 5 21:33:13 2002
-+++ windows/Makefile.in Fri Apr 5 20:46:17 2002
-@@ -17,7 +17,7 @@
-
- target = $(LIBTWIN)
-
--LIBTWIN_LDFLAGS = @LIBTWIN_LDFLAGS@
-+LIBTWIN_LDFLAGS = @LIBTWIN_LDFLAGS@ ${LDFLAGS}
-
- ############################################################################
- #
diff --git a/emulators/twin/patches/patch-ak b/emulators/twin/patches/patch-ak
deleted file mode 100644
index 8bdf1faf775..00000000000
--- a/emulators/twin/patches/patch-ak
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2004/07/11 00:55:19 wiz Exp $
-
---- msdos/mfs_fileio.c.orig 2001-01-14 04:19:38.000000000 +0100
-+++ msdos/mfs_fileio.c
-@@ -213,8 +213,8 @@ mfs_delete(DWORD p1, DWORD p2, DWORD p3,
- (strcmp(filename, xdos.fileio[slot].filename) == 0) ) {
- /* Get the handle */
- if ((handle = gethandle()) < 0) {
-- ERRSTR((LF_ERROR,"mfs_delete cannot get handle for file %s %d
-- %d\n", filename, errno, slot));
-+ ERRSTR((LF_ERROR,"mfs_delete cannot get handle for file %s %d"
-+" %d\n", filename, errno, slot));
- return MAKELONG(NO_HANDLES & 0xffff,0xffff);
- }
- xdos.fileptr[handle] = &xdos.fileio[slot];
-@@ -232,8 +232,8 @@ mfs_delete(DWORD p1, DWORD p2, DWORD p3,
- return unlink(filename);
- }
- }
-- else ERRSTR((LF_ERROR,"mfs_delete : invalid handle %d for file
--%s\n",handle, filename));
-+ else ERRSTR((LF_ERROR,"mfs_delete : invalid handle %d for file "
-+"%s\n",handle, filename));
- }
- }
- /* At this point, either the file was fclosed by us, or it was
diff --git a/emulators/twin/patches/patch-al b/emulators/twin/patches/patch-al
deleted file mode 100644
index 41f4ed9239b..00000000000
--- a/emulators/twin/patches/patch-al
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-al,v 1.1 2004/07/11 00:55:19 wiz Exp $
-
---- include/winuser.h.orig 2001-01-01 01:51:19.000000000 +0100
-+++ include/winuser.h
-@@ -3723,7 +3723,9 @@ CharPrev(LPCTSTR, LPCTSTR);
- int WideCharToMultiByte(UINT ,DWORD ,LPCWSTR ,int ,LPSTR ,int ,LPCSTR ,LPBOOL );
- int MultiByteToWideChar(UINT ,DWORD ,LPCSTR ,int ,LPWSTR ,int );
-
-+#ifndef __NetBSD__
- size_t WINAPI wcslen(LPCWSTR);
-+#endif
-
- #endif /* NOAPIPROTO */
-
diff --git a/emulators/uae/DESCR b/emulators/uae/DESCR
deleted file mode 100644
index 235c2bb909e..00000000000
--- a/emulators/uae/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-UAE allows you to run most of the available Amiga software. It is a software
-emulation, meaning that no extra or special hardware is needed to do this.
-The hardware of an Amiga is emulated accurately, so that Amiga software is
-tricked into thinking it is running on the real thing, with your computer's
-display, keyboard, harddisk and mouse taking the parts of their emulated
-counterparts.
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
deleted file mode 100644
index 3bc10861608..00000000000
--- a/emulators/uae/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.38 2005/10/14 22:15:49 kristerw Exp $
-
-DISTNAME= uae-0.8.25
-PKGNAME= ${DISTNAME}
-CATEGORIES= emulators
-MASTER_SITES= http://www.freiburg.linux.de/~uae/bin/sources/develop/
-
-MAINTAINER= kristerw@NetBSD.org
-HOMEPAGE= http://www.freiburg.linux.de/~uae/
-COMMENT= The UAE Amiga Emulator
-
-DEPENDS+= unzip>=5.40:../../archivers/unzip
-
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS+= --enable-dga --enable-vidmode
-
-.include "../../mk/pthread.buildlink3.mk"
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
-.include "../../x11/gtk2/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --disable-ui
-.endif
-
-.if ${OPSYS} == NetBSD && exists(/usr/include/sys/statvfs.h)
-CONFIGURE_ENV+= cv_func_getmntinfo=yes fu_cv_sys_mounted_getmntinfo=yes
-.endif
-
-INSTALLATION_DIRS= bin
-
-do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uae
- cd ${WRKSRC}/docs && ${INSTALL_DATA} FAQ README \
- ${PREFIX}/share/doc/uae
-
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/uae/PLIST b/emulators/uae/PLIST
deleted file mode 100644
index 418502fccdc..00000000000
--- a/emulators/uae/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:01 zuntum Exp $
-bin/readdisk
-bin/uae
-share/doc/uae/FAQ
-share/doc/uae/README
-@dirrm share/doc/uae
diff --git a/emulators/uae/distinfo b/emulators/uae/distinfo
deleted file mode 100644
index 97c1a42e358..00000000000
--- a/emulators/uae/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.13 2005/10/14 22:15:49 kristerw Exp $
-
-SHA1 (uae-0.8.25.tar.gz) = 41b7a70cf672d3cc516bd3856a051459a95a6517
-RMD160 (uae-0.8.25.tar.gz) = 6990dc7aaf43c8bda0d7b86e6d0ae164209d1eb1
-Size (uae-0.8.25.tar.gz) = 970727 bytes
-SHA1 (patch-aa) = c185427ad9042e0e81ec4990c0ae4b5e6977a74e
-SHA1 (patch-ab) = 4dc5d66008a9c056c7a93f74d25c4778d4f1b6cb
-SHA1 (patch-ac) = 1176273248965a36a022399e83ab53cf0c065b9f
diff --git a/emulators/uae/patches/patch-aa b/emulators/uae/patches/patch-aa
deleted file mode 100644
index 94a4a1c50f9..00000000000
--- a/emulators/uae/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2005/10/14 22:15:49 kristerw Exp $
-
---- src/zfile.c.orig 2005-08-12 20:46:41.000000000 +0200
-+++ src/zfile.c 2005-08-12 20:47:10.000000000 +0200
-@@ -125,10 +125,8 @@
- char cmd[1024];
- if (!dst)
- return 1;
--#if defined AMIGA || defined __unix
- sprintf (cmd, "unzip -p %s '*.adf' >%s", src, dst);
- return !system (cmd);
--#endif
- }
-
- /*
diff --git a/emulators/uae/patches/patch-ab b/emulators/uae/patches/patch-ab
deleted file mode 100644
index ea0da3f7cdd..00000000000
--- a/emulators/uae/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2005/10/14 22:15:49 kristerw Exp $
-
---- src/disk.c.orig 2005-08-12 20:48:07.000000000 +0200
-+++ src/disk.c 2005-08-12 20:48:56.000000000 +0200
-@@ -1178,6 +1178,8 @@
- also it seems some copy protections require this fix */
- DISK_start ();
-
-+ /* The following fails with some versions of Kickstart. Disable it. */
-+#if 0
- /* Try to make floppy access from Kickstart faster. */
- if (dskdmaen != 2)
- return;
-@@ -1222,6 +1224,7 @@
- }
- }
- }
-+#endif
- }
-
- /* not a real hardware register */
diff --git a/emulators/uae/patches/patch-ac b/emulators/uae/patches/patch-ac
deleted file mode 100644
index 32aa078ee06..00000000000
--- a/emulators/uae/patches/patch-ac
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ac,v 1.9 2005/10/14 22:15:49 kristerw Exp $
-
---- configure.orig 2005-08-12 20:14:06.000000000 +0200
-+++ configure 2005-08-12 20:14:58.000000000 +0200
-@@ -14385,16 +14385,16 @@
- echo "${ECHO_T}ALSA" >&6
- SOUNDDEP=sd-alsa
- USE_SOUND=yes
--else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
-- echo "$as_me:$LINENO: result: USS" >&5
--echo "${ECHO_T}USS" >&6
-- SOUNDDEP=sd-uss
-- USE_SOUND=yes
- else if [ "x$ac_cv_header_sys_audioio_h" = "xyes" -o "x$ac_cv_header_sun_audioio_h" = "xyes" ]; then
- echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
- echo "${ECHO_T}Solaris/NetBSD" >&6
- SOUNDDEP=sd-solaris
- USE_SOUND=yes
-+else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
-+ echo "$as_me:$LINENO: result: USS" >&5
-+echo "${ECHO_T}USS" >&6
-+ SOUNDDEP=sd-uss
-+ USE_SOUND=yes
- else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
- echo "$as_me:$LINENO: result: AF sound" >&5
- echo "${ECHO_T}AF sound" >&6
diff --git a/emulators/ucon64/DESCR b/emulators/ucon64/DESCR
deleted file mode 100644
index 11bbac6446a..00000000000
--- a/emulators/ucon64/DESCR
+++ /dev/null
@@ -1,18 +0,0 @@
-uCON64 - THE tool for all your video game console concerns.
-
-- Support for 14+ different cartridge and disc-based video game console system
-- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and
- Game Genie
- *) with RLE compression
-- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and
- SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior),
- Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger
- Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash
- and your CD-writer.
-
- Including:
- *VERY* verbose ROM information for ALL systems, detection of bad dumps using
- internal checksums or DAT files, CRC32 calculation, ROM comparison,
- modification (strip, pad, etc...), SRAM conversion (emulator <-> backup
- unit), DiscJuggler and Nero image conversions, complete gzip and zip support
- for all file-related funtions, etc...
diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile
deleted file mode 100644
index 903b34b1b99..00000000000
--- a/emulators/ucon64/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-#
-
-DISTNAME= ucon64-2.0.0-src
-PKGNAME= ${DISTNAME:S/-src//}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ucon64/}
-
-MAINTAINER= tv@duh.org
-HOMEPAGE= http://ucon64.sourceforge.net/
-COMMENT= Emulator ROM and disk image converter and inspector
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-
-CONFIGURE_ARGS+= --disable-discmage # requires some work
-CONFIGURE_ARGS+= --disable-dload
-CPPFLAGS+= -D__unix__
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucon64
- ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt ${PREFIX}/share/examples/ucon64/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucon64 \
- ${PREFIX}/share/doc/ucon64/images
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \
- ${PREFIX}/share/doc/ucon64/
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \
- ${PREFIX}/share/doc/ucon64/images/
-
-.include "options.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ucon64/PLIST b/emulators/ucon64/PLIST
deleted file mode 100644
index 87b32052435..00000000000
--- a/emulators/ucon64/PLIST
+++ /dev/null
@@ -1,40 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-bin/ucon64
-share/doc/ucon64/changes.html
-share/doc/ucon64/developers.html
-share/doc/ucon64/faq.html
-share/doc/ucon64/hardware.html
-share/doc/ucon64/images/bg.jpg
-share/doc/ucon64/images/cameralink.png
-share/doc/ucon64/images/cd_rw.png
-share/doc/ucon64/images/dexdrive.png
-share/doc/ucon64/images/f2a.png
-share/doc/ucon64/images/fal.png
-share/doc/ucon64/images/fig.png
-share/doc/ucon64/images/gbx.png
-share/doc/ucon64/images/ggpro.png
-share/doc/ucon64/images/hr.png
-share/doc/ucon64/images/icon.png
-share/doc/ucon64/images/logo.png
-share/doc/ucon64/images/mdpro.png
-share/doc/ucon64/images/msg.png
-share/doc/ucon64/images/pcepro.png
-share/doc/ucon64/images/sf3.png
-share/doc/ucon64/images/smc.png
-share/doc/ucon64/images/smd.png
-share/doc/ucon64/images/smspro.png
-share/doc/ucon64/images/swc.png
-share/doc/ucon64/images/v64.png
-share/doc/ucon64/images/v64jr.png
-share/doc/ucon64/install.html
-share/doc/ucon64/license.html
-share/doc/ucon64/readme.html
-share/examples/ucon64/genpal.txt
-share/examples/ucon64/mdntsc.txt
-share/examples/ucon64/snescopy.txt
-share/examples/ucon64/snesntsc.txt
-share/examples/ucon64/snespal.txt
-share/examples/ucon64/snesslow.txt
-@dirrm share/examples/ucon64
-@dirrm share/doc/ucon64/images
-@dirrm share/doc/ucon64
diff --git a/emulators/ucon64/distinfo b/emulators/ucon64/distinfo
deleted file mode 100644
index 96b6e937525..00000000000
--- a/emulators/ucon64/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-
-SHA1 (ucon64-2.0.0-src.tar.gz) = 8782bbc2bf5760fafe3fa4cd02b67991d984a973
-RMD160 (ucon64-2.0.0-src.tar.gz) = c28921cfae1a010db917b96be542c089690b374c
-Size (ucon64-2.0.0-src.tar.gz) = 1188488 bytes
-SHA1 (patch-aa) = fd1543314b6ca6d432c6d88b8b7590085dfc51e9
-SHA1 (patch-ab) = 25f5311844511674d5e64efe7c35cf86dacc34a9
-SHA1 (patch-ac) = 9c7febe59e1c8e6959f56e34ced83a31fa54c294
diff --git a/emulators/ucon64/options.mk b/emulators/ucon64/options.mk
deleted file mode 100644
index 4cfda48f557..00000000000
--- a/emulators/ucon64/options.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD: options.mk,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.ucon64
-PKG_SUPPORTED_OPTIONS= libusb
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Build with USB support.
-###
-.if !empty(PKG_OPTIONS:Mlibusb)
-CONFIGURE_ARGS+= --with-libusb
-CPPFLAGS+= -I${BUILDLINK_PREFIX.libusb}/include
-LDFLAGS+= -L${BUILDLINK_PREFIX.libusb}/lib
-LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb}/lib
-. include "../../devel/libusb/buildlink3.mk"
-.endif
diff --git a/emulators/ucon64/patches/patch-aa b/emulators/ucon64/patches/patch-aa
deleted file mode 100644
index 9b67c6be9af..00000000000
--- a/emulators/ucon64/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-
---- Makefile.in.orig 2004-09-05 10:32:27.000000000 -0400
-+++ Makefile.in
-@@ -7,8 +7,8 @@
- @DEFINE_LIBCD64_MAKE@
-
- CC=@CC@
--CFLAGS=-I. -Wall -W -O3 @DEFS@
--LDFLAGS=-s
-+CFLAGS=-I. -Wall -W @CPPFLAGS@ @CFLAGS@ @DEFS@
-+LDFLAGS=@LDFLAGS@
- TARGETS=
-
- ifdef USE_DISCMAGE
-@@ -76,7 +76,7 @@ endif
- else # DLOPEN
- ifdef USE_DISCMAGE # GNU specific: "simply expanded variable"
- FULLLIBNAME_DM:=$(addprefix lib,$(FULLLIBNAME_DM))
--LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM)
-+LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM) -lm
- endif
-
- endif
diff --git a/emulators/ucon64/patches/patch-ab b/emulators/ucon64/patches/patch-ab
deleted file mode 100644
index 9685937a32a..00000000000
--- a/emulators/ucon64/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-
---- libdiscmage/libdiscmage.h.orig 2005-07-25 18:00:47.000000000 -0400
-+++ libdiscmage/libdiscmage.h
-@@ -28,7 +28,7 @@ extern "C" {
-
- #include <stdio.h> // FILENAME_MAX
-
--#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \
-+#if defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || \
- defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \
- defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually
- // We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be
diff --git a/emulators/ucon64/patches/patch-ac b/emulators/ucon64/patches/patch-ac
deleted file mode 100644
index d6aaabe6ca3..00000000000
--- a/emulators/ucon64/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
-
---- misc/unzip.h.orig 2004-07-28 13:27:22.000000000 -0400
-+++ misc/unzip.h
-@@ -48,6 +48,9 @@ extern "C" {
- #ifndef _ZLIB_H
- #include "zlib.h"
- #endif
-+#ifndef OF
-+#define OF(x) x
-+#endif
-
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
diff --git a/emulators/uips/DESCR b/emulators/uips/DESCR
deleted file mode 100644
index 1c568654a74..00000000000
--- a/emulators/uips/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-UIPS - Universal IPS create/apply utility
-
-UIPS is a command-line based utility for creating and applying IPS
-patches. Multiple source files and IPS v2 truncation are supported.
diff --git a/emulators/uips/Makefile b/emulators/uips/Makefile
deleted file mode 100644
index 65cadf7b551..00000000000
--- a/emulators/uips/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:51 jlam Exp $
-#
-
-DISTNAME= uips
-PKGNAME= uips-1.0
-CATEGORIES= emulators
-MASTER_SITES= http://www.neillcorlett.com/uips/
-DISTFILES= uips.c uips.txt
-
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.neillcorlett.com/uips/
-COMMENT= IPS patcher with v2 support
-
-DIST_SUBDIR= ${PKGNAME_NOREV}
-
-WRKSRC= ${WRKDIR}
-INSTALLATION_DIRS= bin
-
-do-extract:
- ${CP} ${_DISTDIR}/uips.c ${WRKSRC}/
- ${CP} ${_DISTDIR}/uips.txt ${WRKSRC}/
- ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/uips ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uips
- ${INSTALL_DATA} ${WRKSRC}/uips.txt ${PREFIX}/share/doc/uips
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/uips/PLIST b/emulators/uips/PLIST
deleted file mode 100644
index a4fbd9cbb5c..00000000000
--- a/emulators/uips/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/27 15:35:57 wiz Exp $
-bin/uips
-share/doc/uips/uips.txt
-@dirrm share/doc/uips
diff --git a/emulators/uips/distinfo b/emulators/uips/distinfo
deleted file mode 100644
index d0e6d84b239..00000000000
--- a/emulators/uips/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (uips-1.0/uips.c) = ef0acd30549d815a997cf1a7501c072e061fc79a
-RMD160 (uips-1.0/uips.c) = a6e0eeb26cb7be532d8f3d783a76b29417ce6ded
-Size (uips-1.0/uips.c) = 12410 bytes
-SHA1 (uips-1.0/uips.txt) = b9da81d6a2242bb2fd2a0bd20aa26669b106b326
-RMD160 (uips-1.0/uips.txt) = af412775db71779107d1d787c38bb4ca033e48d9
-Size (uips-1.0/uips.txt) = 1833 bytes
diff --git a/emulators/uips/files/Makefile b/emulators/uips/files/Makefile
deleted file mode 100644
index a6946800500..00000000000
--- a/emulators/uips/files/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-all: uips
-
-uips: uips.c
diff --git a/emulators/vba/DESCR b/emulators/vba/DESCR
deleted file mode 100644
index 487f1e03deb..00000000000
--- a/emulators/vba/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Visual Boy Advance is a Gameboy Advance emulator.
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile
deleted file mode 100644
index e824ad235a4..00000000000
--- a/emulators/vba/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2005/10/29 20:55:55 dillo Exp $
-
-DISTNAME= VisualBoyAdvance-src-1.6a
-PKGNAME= vba-1.6.0.1
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/}
-EXTRACT_SUFX= .zip
-
-MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://vba.ngemu.com/
-COMMENT= Gameboy advance emulator
-
-WRKSRC= ${WRKDIR}/VisualBoyAdvance-1.6a
-USE_TOOLS+= gmake
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-c-core
-CONFIGURE_ARGS+= --without-mmx
-USE_LANGUAGES= c c++
-
-GCC_REQD+= 3.0.0
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/TestEmu ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/VisualBoyAdvance ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vba
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vba
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/vba/PLIST b/emulators/vba/PLIST
deleted file mode 100644
index 180dda84b98..00000000000
--- a/emulators/vba/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $
-bin/TestEmu
-bin/VisualBoyAdvance
-share/doc/vba/README
-@dirrm share/doc/vba
diff --git a/emulators/vba/distinfo b/emulators/vba/distinfo
deleted file mode 100644
index 34e39657c3e..00000000000
--- a/emulators/vba/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (VisualBoyAdvance-src-1.6a.zip) = 81e6763d0a7f9cadfedfb8053fea5f5a9028916a
-RMD160 (VisualBoyAdvance-src-1.6a.zip) = 5d47f194b8df5a5f4f84785283ba449277d7188d
-Size (VisualBoyAdvance-src-1.6a.zip) = 1206080 bytes
-SHA1 (patch-aa) = 75a970fb59926a299830c2823c5094ff56523ee7
diff --git a/emulators/vba/patches/patch-aa b/emulators/vba/patches/patch-aa
deleted file mode 100644
index 83037172ec7..00000000000
--- a/emulators/vba/patches/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:34:46 xtraeme Exp $
-
---- src/unzip.h.orig Sun Oct 20 06:03:12 2002
-+++ src/unzip.h Mon Jun 30 23:45:30 2003
-@@ -67,6 +67,15 @@
- #include "zlib.h"
- #endif
-
-+// nasty stuff taken from win32/include/zlib/zconf.h to make this compile
-+#ifndef OF /* function prototypes */
-+# ifdef STDC
-+# define OF(args) args
-+# else
-+# define OF(args) ()
-+# endif
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */
diff --git a/emulators/vice/DESCR b/emulators/vice/DESCR
deleted file mode 100644
index 0d0e2b1b80d..00000000000
--- a/emulators/vice/DESCR
+++ /dev/null
@@ -1,17 +0,0 @@
-VICE is the one and only Versatile Commodore Emulator. It provides
-emulation of the Commodore 64, 128, VIC20 and PET 8-bit computers
-within a single package. The emulators run as separate programs, but
-have the same user interface, share the same settings and support the
-same file formats.
-
-All the emulators provide an accurate 6502/6510 emulator, with
-emulation of all the opcodes (both documented and undocumented ones)
-and accurate timing. Unlike other emulators, VICE aims to be cycle
-accurate; it tries to emulate chip timings as precisely as possible
-and does so efficiently.
-
-Please do not expect the VIC20, C128 and PET emulators to be as good
-as the C64 one, as they are still under construction.
-
-The current version emulates the C64, the C128, the VIC20, the CBM-II
-line (B128, B256), and all the PET models.
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
deleted file mode 100644
index d289cc8c8f9..00000000000
--- a/emulators/vice/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# $NetBSD: Makefile,v 1.58 2005/10/05 13:29:49 wiz Exp $
-#
-
-DISTNAME= vice-1.16
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/ \
- http://www.nic.funet.fi/pub/cbm/crossplatform/emulators/VICE/
-
-MAINTAINER= kristerw@NetBSD.org
-HOMEPAGE= http://www.viceteam.org/
-COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
-
-BUILD_USES_MSGFMT= YES
-
-RESTRICTED= "ROM image copyright is questionable"
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-USE_PKGLOCALEDIR= YES
-USE_TOOLS+= gmake
-USE_LANGUAGES+= c c++
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --enable-fullscreen
-
-INFO_FILES= vice.info
-
-.include "../../mk/bsd.prefs.mk"
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.vice
-PKG_SUPPORTED_OPTIONS= esound ffmpeg gnome
-
-.include "../../mk/bsd.options.mk"
-
-.if (${OPSYS} == NetBSD)
-CONFIGURE_ENV+= ac_cv_header_sys_soundcard_h=no
-.endif
-
-.if !empty(PKG_OPTIONS:Mffmpeg)
-CONFIGURE_ARGS+= --enable-ffmpeg
-.endif
-
-.if !empty(PKG_OPTIONS:Mgnome)
-CONFIGURE_ARGS+= --enable-gnomeui
-.endif
-
-# These changes are rather common, so sed instead of patch:
-post-patch:
- @for file in `${FIND} ${WRKSRC} -name Makefile.in -print` \
- ${WRKSRC}/src/arch/unix/archdep.h; do \
- ${MV} -f $$file $$file.orig && \
- ${SED} -e "s|/lib/vice/doc|/share/doc/vice|g" \
- -e "s|/lib/vice|/share/vice|g" \
- -e "/^pkglibdir/s|(libdir)|(datadir)|g" \
- $$file.orig >$$file; \
- done
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/vice
- ${MV} ${PREFIX}/share/doc/vice/*.html ${PREFIX}/share/doc/html/vice
-
-.if !empty(PKG_OPTIONS:Mesound)
-.include "../../audio/esound/buildlink3.mk"
-.endif
-.include "../../devel/readline/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/xpm/buildlink3.mk"
-.if !empty(PKG_OPTIONS:Mffmpeg)
-.include "../../multimedia/ffmpeg/buildlink3.mk"
-.endif
-.if !empty(PKG_OPTIONS:Mgnome)
-.include "../../x11/gnome-libs/buildlink3.mk"
-.endif
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/vice/PLIST b/emulators/vice/PLIST
deleted file mode 100644
index fcb47e7ebf5..00000000000
--- a/emulators/vice/PLIST
+++ /dev/null
@@ -1,241 +0,0 @@
-@comment $NetBSD: PLIST,v 1.13 2005/02/06 23:10:09 kristerw Exp $
-bin/c1541
-bin/petcat
-bin/vsid
-bin/x128
-bin/x64
-bin/xcbm2
-bin/xpet
-bin/xplus4
-bin/xvic
-man/man1/c1541.1
-man/man1/petcat.1
-man/man1/vice.1
-share/doc/html/vice/index.html
-share/doc/html/vice/vice_1.html
-share/doc/html/vice/vice_10.html
-share/doc/html/vice/vice_11.html
-share/doc/html/vice/vice_12.html
-share/doc/html/vice/vice_13.html
-share/doc/html/vice/vice_14.html
-share/doc/html/vice/vice_15.html
-share/doc/html/vice/vice_16.html
-share/doc/html/vice/vice_2.html
-share/doc/html/vice/vice_3.html
-share/doc/html/vice/vice_4.html
-share/doc/html/vice/vice_5.html
-share/doc/html/vice/vice_6.html
-share/doc/html/vice/vice_7.html
-share/doc/html/vice/vice_8.html
-share/doc/html/vice/vice_9.html
-share/doc/html/vice/vice_toc.html
-share/doc/vice/64doc.txt
-share/doc/vice/BUGS
-share/doc/vice/COPYING
-share/doc/vice/MSDOS-Howto.txt
-share/doc/vice/NEWS
-share/doc/vice/NLS-Howto.txt
-share/doc/vice/PETdoc.txt
-share/doc/vice/Readme.beos
-share/doc/vice/Readme.dos
-share/doc/vice/ReadmeMacOSX.txt
-share/doc/vice/TODO
-share/doc/vice/Walkthrough-Howto.txt
-share/doc/vice/Win32-Howto.txt
-share/doc/vice/cbm_basic_tokens.txt
-share/doc/vice/drive_info.txt
-share/doc/vice/iec-bus.txt
-share/doc/vice/mon.txt
-share/doc/vice/new.gif
-share/doc/vice/serial.txt
-share/doc/vice/vice-logo.jpg
-${PKGLOCALEDIR}/locale/de/LC_MESSAGES/vice.mo
-${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/vice.mo
-${PKGLOCALEDIR}/locale/it/LC_MESSAGES/vice.mo
-${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/vice.mo
-${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/vice.mo
-share/vice/C128/basic64
-share/vice/C128/basichi
-share/vice/C128/basiclo
-share/vice/C128/beos_pos.vkm
-share/vice/C128/beos_sym.vkm
-share/vice/C128/c64hq.vpl
-share/vice/C128/c64s.vpl
-share/vice/C128/ccs64.vpl
-share/vice/C128/chargde
-share/vice/C128/chargen
-share/vice/C128/chargfr
-share/vice/C128/chargse
-share/vice/C128/default.vpl
-share/vice/C128/default.vrs
-share/vice/C128/dos_pos.vkm
-share/vice/C128/dos_sym.vkm
-share/vice/C128/frodo.vpl
-share/vice/C128/godot.vpl
-share/vice/C128/kernal
-share/vice/C128/kernal64
-share/vice/C128/kernalde
-share/vice/C128/kernalfi
-share/vice/C128/kernalfr
-share/vice/C128/kernalit
-share/vice/C128/kernalno
-share/vice/C128/kernalse
-share/vice/C128/os2.vkm
-share/vice/C128/pc64.vpl
-share/vice/C128/vdc_deft.vpl
-share/vice/C128/vice.vpl
-share/vice/C128/win_pos.vkm
-share/vice/C128/win_sym.vkm
-share/vice/C128/x11_pos.vkm
-share/vice/C128/x11_sym.vkm
-share/vice/C64/basic
-share/vice/C64/beos_pos.vkm
-share/vice/C64/beos_sym.vkm
-share/vice/C64/c64hq.vpl
-share/vice/C64/c64mem.sym
-share/vice/C64/c64s.vpl
-share/vice/C64/ccs64.vpl
-share/vice/C64/chargen
-share/vice/C64/default.vpl
-share/vice/C64/default.vrs
-share/vice/C64/dos_pos.vkm
-share/vice/C64/dos_sym.vkm
-share/vice/C64/frodo.vpl
-share/vice/C64/godot.vpl
-share/vice/C64/kernal
-share/vice/C64/os2.vkm
-share/vice/C64/os2_sym.vkm
-share/vice/C64/pc64.vpl
-share/vice/C64/vice.vpl
-share/vice/C64/win_pos.vkm
-share/vice/C64/win_sym_de.vkm
-share/vice/C64/win_sym_us.vkm
-share/vice/C64/x11_pos.vkm
-share/vice/C64/x11_sym.vkm
-share/vice/CBM-II/amber.vpl
-share/vice/CBM-II/basic.128
-share/vice/CBM-II/basic.256
-share/vice/CBM-II/basic.500
-share/vice/CBM-II/beos_bukp.vkm
-share/vice/CBM-II/beos_buks.vkm
-share/vice/CBM-II/c64hq.vpl
-share/vice/CBM-II/c64s.vpl
-share/vice/CBM-II/ccs64.vpl
-share/vice/CBM-II/chargen.500
-share/vice/CBM-II/chargen.600
-share/vice/CBM-II/chargen.700
-share/vice/CBM-II/default.vpl
-share/vice/CBM-II/dos_bukp.vkm
-share/vice/CBM-II/dos_buks.vkm
-share/vice/CBM-II/frodo.vpl
-share/vice/CBM-II/godot.vpl
-share/vice/CBM-II/green.vpl
-share/vice/CBM-II/kernal
-share/vice/CBM-II/kernal.500
-share/vice/CBM-II/os2.vkm
-share/vice/CBM-II/pc64.vpl
-share/vice/CBM-II/rom128h.vrs
-share/vice/CBM-II/rom128l.vrs
-share/vice/CBM-II/rom256h.vrs
-share/vice/CBM-II/rom256l.vrs
-share/vice/CBM-II/rom500.vrs
-share/vice/CBM-II/white.vpl
-share/vice/CBM-II/win_pos_uk.vkm
-share/vice/CBM-II/win_sym_uk.vkm
-share/vice/CBM-II/x11_buks.vkm
-share/vice/DRIVES/d1541II
-share/vice/DRIVES/d1571cr
-share/vice/DRIVES/dos1001
-share/vice/DRIVES/dos1541
-share/vice/DRIVES/dos1551
-share/vice/DRIVES/dos1570
-share/vice/DRIVES/dos1571
-share/vice/DRIVES/dos1581
-share/vice/DRIVES/dos2031
-share/vice/DRIVES/dos2040
-share/vice/DRIVES/dos3040
-share/vice/DRIVES/dos4040
-share/vice/PET/amber.vpl
-share/vice/PET/basic1
-share/vice/PET/basic2
-share/vice/PET/basic4
-share/vice/PET/beos_bgrs.vkm
-share/vice/PET/beos_buks.vkm
-share/vice/PET/chargen
-share/vice/PET/chargen.de
-share/vice/PET/dos_bgrs.vkm
-share/vice/PET/dos_buks.vkm
-share/vice/PET/edit1g
-share/vice/PET/edit2b
-share/vice/PET/edit2g
-share/vice/PET/edit4b40
-share/vice/PET/edit4b80
-share/vice/PET/edit4g40
-share/vice/PET/green.vpl
-share/vice/PET/kernal1
-share/vice/PET/kernal2
-share/vice/PET/kernal4
-share/vice/PET/os2.vkm
-share/vice/PET/os2_40.vkm
-share/vice/PET/rom1g.vrs
-share/vice/PET/rom2b.vrs
-share/vice/PET/rom2g.vrs
-share/vice/PET/rom4b40.vrs
-share/vice/PET/rom4b80.vrs
-share/vice/PET/rom4g40.vrs
-share/vice/PET/white.vpl
-share/vice/PET/win_sym_gr.vkm
-share/vice/PET/win_sym_uk.vkm
-share/vice/PET/x11_bdep.vkm
-share/vice/PET/x11_bdes.vkm
-share/vice/PET/x11_bgrs.vkm
-share/vice/PET/x11_buks.vkm
-share/vice/PLUS4/3plus1hi
-share/vice/PLUS4/3plus1lo
-share/vice/PLUS4/basic
-share/vice/PLUS4/beos_pos.vkm
-share/vice/PLUS4/beos_sym.vkm
-share/vice/PLUS4/default.vpl
-share/vice/PLUS4/default.vrs
-share/vice/PLUS4/dos_pos.vkm
-share/vice/PLUS4/dos_sym.vkm
-share/vice/PLUS4/kernal
-share/vice/PLUS4/os2.vkm
-share/vice/PLUS4/vice.vpl
-share/vice/PLUS4/win_pos.vkm
-share/vice/PLUS4/win_sym.vkm
-share/vice/PLUS4/x11_pos.vkm
-share/vice/PLUS4/x11_sym.vkm
-share/vice/PRINTER/cbm1526
-share/vice/PRINTER/mps801
-share/vice/PRINTER/mps803
-share/vice/PRINTER/mps803.vpl
-share/vice/PRINTER/nl10-cbm
-share/vice/VIC20/basic
-share/vice/VIC20/beos_pos.vkm
-share/vice/VIC20/beos_sym.vkm
-share/vice/VIC20/chargen
-share/vice/VIC20/default.vpl
-share/vice/VIC20/default.vrs
-share/vice/VIC20/dos_pos.vkm
-share/vice/VIC20/dos_sym.vkm
-share/vice/VIC20/kernal
-share/vice/VIC20/os2.vkm
-share/vice/VIC20/win_pos.vkm
-share/vice/VIC20/win_sym.vkm
-share/vice/VIC20/x11_pos.vkm
-share/vice/VIC20/x11_sym.vkm
-share/vice/fonts/fonts.dir
-share/vice/fonts/vice-cbm.pcf
-@dirrm share/vice/fonts
-@dirrm share/vice/VIC20
-@dirrm share/vice/PRINTER
-@dirrm share/vice/PLUS4
-@dirrm share/vice/PET
-@dirrm share/vice/DRIVES
-@dirrm share/vice/CBM-II
-@dirrm share/vice/C64
-@dirrm share/vice/C128
-@dirrm share/vice
-@dirrm share/doc/vice
-@dirrm share/doc/html/vice
diff --git a/emulators/vice/distinfo b/emulators/vice/distinfo
deleted file mode 100644
index 0ae9905d7b9..00000000000
--- a/emulators/vice/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.18 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (vice-1.16.tar.gz) = ec3780e66a97fc235e3ff04b334210945fa3750a
-RMD160 (vice-1.16.tar.gz) = dc3583bf1cf23930396d7dbc6c397b70c521843a
-Size (vice-1.16.tar.gz) = 3940579 bytes
-SHA1 (patch-aa) = fa152c1d14aad31c0b50fe96c83b4e5cfa06de5f
-SHA1 (patch-ab) = e9cebe89629f2dacb500695e4205cc33fab18bfe
-SHA1 (patch-ac) = bb648b8dc668a12540eab9f1be6374aab8cda35a
-SHA1 (patch-ad) = 9f26a52a0f60658b147ad62a8cadc37ddd99fe04
-SHA1 (patch-ae) = c2ede31953ebaf033c9ae1aa1985012fb0e5f3b6
diff --git a/emulators/vice/patches/patch-aa b/emulators/vice/patches/patch-aa
deleted file mode 100644
index 08cf6020f47..00000000000
--- a/emulators/vice/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2003/09/28 10:41:21 kristerw Exp $
---- src/arch/unix/types.h.orig Sun Sep 28 12:29:23 2003
-+++ src/arch/unix/types.h Sun Sep 28 12:31:06 2003
-@@ -60,7 +60,8 @@
- /* Maximum value of a CLOCK. */
- #define CLOCK_MAX (~((CLOCK)0))
-
--#if defined(__GNUC__) && defined(__i386__) && !defined(NO_REGPARM)
-+/* GCC 2.95 has code gen problems with regparam(). */
-+#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__i386__) && !defined(NO_REGPARM)
- #define REGPARM1 __attribute__((regparm(1)))
- #define REGPARM2 __attribute__((regparm(2)))
- #define REGPARM3 __attribute__((regparm(3)))
diff --git a/emulators/vice/patches/patch-ab b/emulators/vice/patches/patch-ab
deleted file mode 100644
index d950d5bc045..00000000000
--- a/emulators/vice/patches/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2004/08/31 15:53:09 dillo Exp $
-
---- src/arch/unix/archdep.h.orig 2004-06-19 22:29:01.000000000 +0200
-+++ src/arch/unix/archdep.h
-@@ -85,8 +85,8 @@
- extern const char *archdep_home_path(void);
-
- /* Define the default system directory (where the ROMs are). */
--#define LIBDIR PREFIX "/lib/vice"
--#define DOCDIR LIBDIR "/doc"
-+#define LIBDIR PREFIX "/share/vice"
-+#define DOCDIR PREFIX "/share/doc/vice"
- #define VICEUSERDIR ".vice"
-
- #endif
diff --git a/emulators/vice/patches/patch-ac b/emulators/vice/patches/patch-ac
deleted file mode 100644
index 8fa2db26ed6..00000000000
--- a/emulators/vice/patches/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.13 2004/07/16 22:59:11 kristerw Exp $
-
---- data/fonts/Makefile.in.orig Sat Jul 17 00:15:03 2004
-+++ data/fonts/Makefile.in Sat Jul 17 00:15:14 2004
-@@ -219,7 +219,6 @@
- fontsdir = $(prefix)/lib/vice/fonts
-
- fonts_DATA = \
-- cbm-directory-charset.fon \
- vice-cbm.bdf
-
-
diff --git a/emulators/vice/patches/patch-ad b/emulators/vice/patches/patch-ad
deleted file mode 100644
index 1694d0d100b..00000000000
--- a/emulators/vice/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.9 2004/07/30 20:32:01 kristerw Exp $
-
---- src/arch/unix/x11/vidmode.c.orig Fri Jul 30 21:56:16 2004
-+++ src/arch/unix/x11/vidmode.c Fri Jul 30 21:56:33 2004
-@@ -74,7 +74,7 @@
- &vm_modes)) {
- log_error(vidmode_log, _("Error getting video mode information - disabling vidmode extension."));
- vm_available = 0;
-- return -1;
-+ return 0;
- }
-
- for (i = 0; i < vm_mode_count; i++) {
diff --git a/emulators/vice/patches/patch-ae b/emulators/vice/patches/patch-ae
deleted file mode 100644
index 58e51fb4cf4..00000000000
--- a/emulators/vice/patches/patch-ae
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2003/06/23 19:05:11 kristerw Exp $
---- src/Makefile.in.orig Mon Jun 23 20:03:19 2003
-+++ src/Makefile.in Mon Jun 23 20:04:28 2003
-@@ -18,7 +18,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
--pkglibdir = $(libdir)/@PACKAGE@
-+pkglibdir = $(datadir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
-
-@@ -220,7 +220,7 @@
-
- # We have to override the automake default, because we need to use
- # $(CXX) instead of $(CC) when compiling with reSID.
--LINK = @LINKCC@ $(CFLAGS) $(INCLUDES) $(CPPFLAGS) -o $@
-+LINK = @LINKCC@ $(CFLAGS) $(INCLUDES) $(CPPFLAGS) $(LDFLAGS) -o $@
-
- SUBDIRS = \
- @RESID_DIR@ \
diff --git a/emulators/vmware-module/DESCR b/emulators/vmware-module/DESCR
deleted file mode 100644
index b2a96c122ea..00000000000
--- a/emulators/vmware-module/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-This package consists of set of kernel modules and scripts that will
-allow owners of the Linux version of VMware 2.x to run their binaries under
-NetBSD.
diff --git a/emulators/vmware-module/INSTALL b/emulators/vmware-module/INSTALL
deleted file mode 100644
index 46df29df750..00000000000
--- a/emulators/vmware-module/INSTALL
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: INSTALL,v 1.3 2003/08/30 20:22:51 jlam Exp $
-
-case $2 in
-POST-INSTALL)
- /bin/cat << EOF
-===========================================================================
-Copy the following files from ${PKG_PREFIX}/etc/rc.d to /etc/rc.d:
-
-linuxrtc vmmon vmnet vmnetif
-
-and append the content of ${PKG_PREFIX}/etc/rc.conf.d/vmware to /etc/rc.conf:
-
-vmware_prefix=${PKG_PREFIX}
-vmmon=YES
-vmnet=YES
-linuxrtc=NO
-# XXX should cater for multiple interfaces
-vmnetif=YES
-vmnetifname=vmnet1
-vmnetdev=/dev/vmnet1
-vmnetifconfig="inet 172.16.212.1 netmask 0xffffff00"
-vmnetif_use_dhcpd=NO
-
-Then, reboot your system.
-===========================================================================
-EOF
- ;;
-esac
diff --git a/emulators/vmware-module/Makefile b/emulators/vmware-module/Makefile
deleted file mode 100644
index d7a54302dbe..00000000000
--- a/emulators/vmware-module/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-# $NetBSD: Makefile,v 1.15 2005/09/28 20:52:21 rillig Exp $
-
-DISTNAME= vmware-netbsd-1.2
-PKGNAME= vmware-module-1.2
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/vmware/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= veego@NetBSD.org
-HOMEPAGE= http://www.wasabisystems.com/
-COMMENT= Kernel modules for the VMware 2.x emulator
-
-CONFLICTS= vmware-module-3*
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-
-WRKSRC= ${WRKDIR}
-NO_CONFIGURE= yes
-
-NO_SRC_ON_FTP= already there
-
-# to override <bsd.own.mk>, MUST be set this way BEFORE bsd.prefs.mk
-BSDSRCDIR?= /nonexistent
-
-.include "../../mk/bsd.prefs.mk"
-
-pre-extract:
-.if ${BSDSRCDIR} == "/nonexistent"
- @${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it"
- @${ECHO_MSG} "to a directory that contains sources that match"
- @${ECHO_MSG} "your currently running system (esp. kernel), e.g."
- @${ECHO_MSG} "/usr/src."
- @${FALSE}
-.endif
-.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
- @${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
- @${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
- @${FALSE}
-.endif
-
-do-build:
-.for dir in linuxrtc vmmon vmnet
- cd ${WRKSRC}/source/${dir} && ${MAKE}
-.endfor
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lkm
- ${INSTALL_DATA_DIR} ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/linuxrtc ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmmon ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnet ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnetif ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKDIR}/source/linuxrtc/linuxrtc.o ${PREFIX}/lkm
- ${INSTALL_DATA} ${WRKDIR}/source/vmmon/vmmon.o ${PREFIX}/lkm
- ${INSTALL_DATA} ${WRKDIR}/source/vmnet/if_hub.o ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/if_hub_post.sh ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/linuxrtc_post.sh ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/vmmon_post.sh ${PREFIX}/lkm
- @cd ${WRKSRC}/rc.d && for f in linuxrtc vmmon vmnet vmnetif; do \
- ${SED} -e 's,@PREFIX@,${PREFIX},' < $$f > $$f.patched; \
- ${INSTALL_SCRIPT} $$f.patched ${PREFIX}/etc/rc.d/$$f; \
- done
- ${SED} -e 's,@VMWARE_PREFIX@,${PREFIX},' \
- < ${WRKSRC}/rc.conf.d/vmware > ${WRKSRC}/rc.conf.d/vmware.patched
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmware.patched \
- ${PREFIX}/etc/rc.conf.d/vmware
-
-post-install:
- PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
-
-.include "../../mk/bsd.pkg.mk"
-
-LDFLAGS= # empty since we use BSD-style makefiles
diff --git a/emulators/vmware-module/PLIST b/emulators/vmware-module/PLIST
deleted file mode 100644
index 26786b8cf8c..00000000000
--- a/emulators/vmware-module/PLIST
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:21 tron Exp $
-etc/rc.conf.d/linuxrtc
-etc/rc.conf.d/vmmon
-etc/rc.conf.d/vmnet
-etc/rc.conf.d/vmnetif
-etc/rc.conf.d/vmware
-etc/rc.d/linuxrtc
-etc/rc.d/vmmon
-etc/rc.d/vmnet
-etc/rc.d/vmnetif
-lkm/if_hub.o
-lkm/if_hub_post.sh
-lkm/linuxrtc.o
-lkm/linuxrtc_post.sh
-lkm/vmmon.o
-lkm/vmmon_post.sh
-@dirrm etc/rc.conf.d
-@unexec ${RM} -f %D/lkm/if_hub. 2>/dev/null || ${TRUE}
-@unexec ${RM} -f %D/lkm/linuxrtc 2>/dev/null || ${TRUE}
-@unexec ${RM} -f %D/lkm/vmmon 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/lkm 2>/dev/null || ${TRUE}
diff --git a/emulators/vmware-module/distinfo b/emulators/vmware-module/distinfo
deleted file mode 100644
index cda2df38cd3..00000000000
--- a/emulators/vmware-module/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (vmware-netbsd-1.2.tgz) = 383512f5a9f6cbc50ad5d25ea7e2ae921b00bb1a
-RMD160 (vmware-netbsd-1.2.tgz) = 857b17876611ca999747e38fce234a85ed9802a9
-Size (vmware-netbsd-1.2.tgz) = 97596 bytes
-SHA1 (patch-ab) = 19ff0b151b62870835a2b87e69a52b1cb3d95045
diff --git a/emulators/vmware-module/patches/patch-ab b/emulators/vmware-module/patches/patch-ab
deleted file mode 100644
index 94fc9949224..00000000000
--- a/emulators/vmware-module/patches/patch-ab
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/02/16 02:35:56 bad Exp $
-
---- rc.d/linuxrtc Wed Apr 4 04:43:17 2001
-+++ rc.d/linuxrtc Sun Jun 10 13:55:56 2001
-@@ -13,8 +17,8 @@
-
- load_rc_config $name
-
--linuxrtc_lkm="$vmware_prefix/share/vmware/lkm/linuxrtc.o"
--linuxrtc_post_script="$vmware_prefix/share/vmware/lkm/linuxrtc_post.sh"
-+linuxrtc_lkm="@PREFIX@/lkm/linuxrtc.o"
-+linuxrtc_post_script="@PREFIX@/lkm/linuxrtc_post.sh"
-
- linuxrtc_prestart()
- {
---- rc.d/vmmon Wed Apr 4 04:42:40 2001
-+++ rc.d/vmmon Sun Jun 10 13:56:04 2001
-@@ -13,8 +13,8 @@
-
- load_rc_config $name
-
--vmmon_lkm="$vmware_prefix/share/vmware/lkm/vmmon.o"
--vmmon_post_script="$vmware_prefix/share/vmware/lkm/vmmon_post.sh"
-+vmmon_lkm="@PREFIX@/lkm/vmmon.o"
-+vmmon_post_script="@PREFIX@/lkm/vmmon_post.sh"
-
- vmmon_prestart()
- {
---- rc.d/vmnet Wed Apr 4 04:42:40 2001
-+++ rc.d/vmnet Sun Jun 10 13:56:12 2001
-@@ -13,8 +13,8 @@
-
- load_rc_config $name
-
--vmnet_lkm="$vmware_prefix/share/vmware/lkm/if_hub.o"
--vmnet_post_script="$vmware_prefix/share/vmware/lkm/if_hub_post.sh"
-+vmnet_lkm="@PREFIX@/lkm/if_hub.o"
-+vmnet_post_script="@PREFIX@/lkm/if_hub_post.sh"
-
- vmnet_prestart()
- {
diff --git a/emulators/vmware-module3/DESCR b/emulators/vmware-module3/DESCR
deleted file mode 100644
index e60c0da5d4d..00000000000
--- a/emulators/vmware-module3/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-This package consists of set of kernel modules and scripts that will
-allow owners of the Linux version of VMware 3.x to run their binaries under
-NetBSD.
diff --git a/emulators/vmware-module3/INSTALL b/emulators/vmware-module3/INSTALL
deleted file mode 100644
index 73929740cce..00000000000
--- a/emulators/vmware-module3/INSTALL
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: INSTALL,v 1.2 2003/08/30 20:22:52 jlam Exp $
-
-case $2 in
-POST-INSTALL)
- /bin/cat << EOF
-===========================================================================
-Copy the following files from ${PKG_PREFIX}/etc/rc.d to /etc/rc.d:
-
-linuxrtc vmmon vmnet vmnetif
-
-and append the content of ${PKG_PREFIX}/etc/rc.conf.d/vmware to /etc/rc.conf:
-
-vmware_prefix=${PKG_PREFIX}
-vmmon=YES
-vmnet=YES
-linuxrtc=NO
-# XXX should cater for multiple interfaces
-vmnetif=YES
-vmnetifname=vmnet1
-vmnetdev=/dev/vmnet1
-vmnetifconfig="inet 172.16.212.1 netmask 0xffffff00"
-vmnetif_use_dhcpd=NO
-
-Then, reboot your system.
-===========================================================================
-EOF
- ;;
-esac
diff --git a/emulators/vmware-module3/Makefile b/emulators/vmware-module3/Makefile
deleted file mode 100644
index 6394a6b0e17..00000000000
--- a/emulators/vmware-module3/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2005/09/28 20:52:21 rillig Exp $
-
-DISTNAME= vmware-netbsd-3.2.1.7
-PKGNAME= vmware-module-3.2.1.7
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/vmware/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.wasabisystems.com/
-COMMENT= Kernel modules for the VMware 3.2.1 PC emulator
-
-CONFLICTS= vmware-module-1.*
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-
-NO_CONFIGURE= yes
-
-NO_SRC_ON_FTP= already there
-
-.include "../../mk/bsd.prefs.mk"
-
-pre-extract:
-.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
- @${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it"
- @${ECHO_MSG} "to a directory that contains sources that match"
- @${ECHO_MSG} "your currently running system (esp. kernel), e.g."
- @${ECHO_MSG} "/usr/src."
- @${FALSE}
-.endif
-.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
- @${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
- @${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
- @${FALSE}
-.endif
-
-do-build:
-.for dir in linuxrtc vmmon vmnet
- cd ${WRKSRC}/source/${dir} && ${MAKE}
-.endfor
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lkm
- ${INSTALL_DATA_DIR} ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/linuxrtc ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmmon ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnet ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnetif ${PREFIX}/etc/rc.conf.d
- ${INSTALL_DATA} ${WRKSRC}/source/linuxrtc/linuxrtc.o ${PREFIX}/lkm
- ${INSTALL_DATA} ${WRKSRC}/source/vmmon/vmmon.o ${PREFIX}/lkm
- ${INSTALL_DATA} ${WRKSRC}/source/vmnet/vmnet.o ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmnet_post.sh ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/linuxrtc_post.sh ${PREFIX}/lkm
- ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmmon_post.sh ${PREFIX}/lkm
- @cd ${WRKSRC}/rc.d && for f in linuxrtc vmmon vmnet vmnetif; do \
- ${SED} -e 's,@PREFIX@,${PREFIX},' < $$f > $$f.patched; \
- ${INSTALL_SCRIPT} $$f.patched ${PREFIX}/etc/rc.d/$$f; \
- done
- ${SED} -e 's,@VMWARE_PREFIX@,${PREFIX},' \
- < ${WRKSRC}/rc.conf.d/vmware > ${WRKSRC}/rc.conf.d/vmware.patched
- ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmware.patched \
- ${PREFIX}/etc/rc.conf.d/vmware
-
-post-install:
- PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
-
-.include "../../mk/bsd.pkg.mk"
-
-LDFLAGS= # empty since we use BSD-style makefiles
diff --git a/emulators/vmware-module3/PLIST b/emulators/vmware-module3/PLIST
deleted file mode 100644
index acf7e8fb58b..00000000000
--- a/emulators/vmware-module3/PLIST
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/16 19:43:36 bad Exp $
-etc/rc.conf.d/linuxrtc
-etc/rc.conf.d/vmmon
-etc/rc.conf.d/vmnet
-etc/rc.conf.d/vmnetif
-etc/rc.conf.d/vmware
-etc/rc.d/linuxrtc
-etc/rc.d/vmmon
-etc/rc.d/vmnet
-etc/rc.d/vmnetif
-lkm/vmnet.o
-lkm/vmnet_post.sh
-lkm/linuxrtc.o
-lkm/linuxrtc_post.sh
-lkm/vmmon.o
-lkm/vmmon_post.sh
-@dirrm etc/rc.conf.d
-@unexec ${RM} -f %D/lkm/vmnet 2>/dev/null || ${TRUE}
-@unexec ${RM} -f %D/lkm/linuxrtc 2>/dev/null || ${TRUE}
-@unexec ${RM} -f %D/lkm/vmmon 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/lkm 2>/dev/null || ${TRUE}
diff --git a/emulators/vmware-module3/distinfo b/emulators/vmware-module3/distinfo
deleted file mode 100644
index 9a49985fd0c..00000000000
--- a/emulators/vmware-module3/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.11 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (vmware-netbsd-3.2.1.7.tar.bz2) = 0b9c02cd66e765270a923caf238c97e67baa3512
-RMD160 (vmware-netbsd-3.2.1.7.tar.bz2) = 1644f73248f64ac800de3f9eced30e849a1ae86c
-Size (vmware-netbsd-3.2.1.7.tar.bz2) = 81748 bytes
-SHA1 (patch-ab) = 412a3fa0a49aebe5f52cb46015fb9b981625f4ac
diff --git a/emulators/vmware-module3/patches/patch-ab b/emulators/vmware-module3/patches/patch-ab
deleted file mode 100644
index 2c95affacf0..00000000000
--- a/emulators/vmware-module3/patches/patch-ab
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2003/02/16 19:43:36 bad Exp $
-
---- rc.d/linuxrtc Wed Apr 4 04:43:17 2001
-+++ rc.d/linuxrtc Sun Jun 10 13:55:56 2001
-@@ -13,8 +17,8 @@
-
- load_rc_config $name
-
--linuxrtc_lkm="$vmware_prefix/share/vmware/lkm/linuxrtc.o"
--linuxrtc_post_script="$vmware_prefix/share/vmware/lkm/linuxrtc_post.sh"
-+linuxrtc_lkm="@PREFIX@/lkm/linuxrtc.o"
-+linuxrtc_post_script="@PREFIX@/lkm/linuxrtc_post.sh"
-
- linuxrtc_prestart()
- {
---- rc.d/vmmon Wed Apr 4 04:42:40 2001
-+++ rc.d/vmmon Sun Jun 10 13:56:04 2001
-@@ -13,8 +13,8 @@
-
- load_rc_config $name
-
--vmmon_lkm="$vmware_prefix/share/vmware/lkm/vmmon.o"
--vmmon_post_script="$vmware_prefix/share/vmware/lkm/vmmon_post.sh"
-+vmmon_lkm="@PREFIX@/lkm/vmmon.o"
-+vmmon_post_script="@PREFIX@/lkm/vmmon_post.sh"
-
- vmmon_prestart()
- {
---- rc.d/vmnet Wed Apr 4 04:42:40 2001
-+++ rc.d/vmnet Sun Jun 10 13:56:12 2001
-@@ -13,8 +13,8 @@
-
- load_rc_config $name
-
--vmnet_lkm="$vmware_prefix/share/vmware/lkm/vmnet.o"
--vmnet_post_script="$vmware_prefix/share/vmware/lkm/vmnet_post.sh"
-+vmnet_lkm="@PREFIX@/lkm/vmnet.o"
-+vmnet_post_script="@PREFIX@/lkm/vmnet_post.sh"
-
- vmnet_prestart()
- {
diff --git a/emulators/vmware/DESCR b/emulators/vmware/DESCR
deleted file mode 100644
index 8d7c2de0ac2..00000000000
--- a/emulators/vmware/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Run Windows 95, Windows 98, Windows NT, Windows 2000, FreeBSD, NetBSD,
-or Linux under VMware Workstation 2.x.
-
-Each VMware world is the equivalent of a full PC in a window.
-
-Operating systems run simultaneously without dual booting.
-
-Add new operating systems without repartitioning disks.
diff --git a/emulators/vmware/Makefile b/emulators/vmware/Makefile
deleted file mode 100644
index dcef2a00e2f..00000000000
--- a/emulators/vmware/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:51 jlam Exp $
-
-DISTNAME= VMware-2.0.4-1142
-PKGNAME= vmware-2.0.4
-CATEGORIES= emulators
-MASTER_SITES= http://www4.vmware.com/software/ \
- http://www.vmware.com/download1/software/ \
- ftp://download1.vmware.com/pub/software/ \
- http://vmware-svca.www.conxion.com/software/ \
- http://vmware-chil.www.conxion.com/software/ \
- http://vmware-heva.www.conxion.com/software/ \
- ftp://vmware.wespe.de/pub/software/ \
- ftp://mirror.aarnet.edu.au/pub/vmware/software/
-
-MAINTAINER= veego@NetBSD.org
-HOMEPAGE= http://www.vmware.com/
-COMMENT= VMware 2.x emulator
-
-CONFLICTS= vmware-3*
-
-DEPENDS+= vmware-module-1.*:../../emulators/vmware-module
-DEPENDS+= suse_vmware>=6.4nb1:../../emulators/${SUSE_DIR_PREFIX}_vmware
-
-LICENSE= vmware-license
-
-WRKSRC= ${WRKDIR}/vmware-distrib
-CHECK_SHLIBS= NO
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-
-# We could install it into /etc/vmware, but that would mean we install
-# it somewhere out of ${PREFIX}, which is not a good idea, and the linux
-# emulation has a fallbackmode to look into ${PREFIX}/emul/linux/etc,
-# so use this way.
-VMWARE_CFG_DIR= ${PREFIX}/emul/linux/etc/vmware
-
-.include "../../mk/bsd.prefs.mk"
-
-INSTALLATION_DIRS= bin man/man1
-
-do-build:
- ${GZCAT} ${WRKSRC}/man/man1/vmware.1.gz > ${WRKDIR}/vmware.1
-
-do-install: do-install-dirs do-install-binaries do-install-docs \
- do-install-share
-
-do-install-dirs:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware
- for dirs in configurator doc floppies help smb xkeymap; do \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/$$dirs; \
- done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/smb/codepages
- ${INSTALL_DATA_DIR} ${VMWARE_CFG_DIR}
-
-do-install-binaries:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
- ${CHMOD} u+s ${PREFIX}/bin/vmware
-
-do-install-docs:
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/vmware/doc
-
-do-install-share:
- ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${PREFIX}/share/vmware/help
- ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${PREFIX}/share/vmware/xkeymap
- ${INSTALL_DATA} ${WRKSRC}/lib/floppies/* ${PREFIX}/share/vmware/floppies
- ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${PREFIX}/share/vmware/smb/codepages
- ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${PREFIX}/share/vmware/configurator
- ${INSTALL_DATA} ${WRKSRC}/lib/config ${PREFIX}/share/vmware
- ${INSTALL_DATA} ${WRKSRC}/lib/floppy.nvr ${PREFIX}/share/vmware
- ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${PREFIX}/man/man1
-
-post-install:
- @${RM} -f ${VMWARE_CFG_DIR}/config
- @( \
- ${ECHO} "vmware.fullpath = \"${PREFIX}/bin/vmware\""; \
- ${ECHO} "wizard.fullpath = \"${PREFIX}/bin/vmware-wizard\""; \
- ${ECHO} "dhcpd.fullpath = \"${PREFIX}/bin/vmware-dhcpd\""; \
- ${ECHO} "loop.fullpath = \"${PREFIX}/bin/vmware-loop\""; \
- ${ECHO} "smbpasswd.fullpath = \"${PREFIX}/bin/vmware-smbpasswd\""; \
- ${ECHO} "libdir = \"${PREFIX}/share/vmware\""; \
- ${ECHO} "vmnet1.HostOnlyAddress = \"172.16.212.1\""; \
- ${ECHO} "vmnet1.HostOnlyNetMask = \"255.255.255.0\""; \
- ) > ${VMWARE_CFG_DIR}/config
-
-.include "../../emulators/suse_linux/Makefile.application"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/vmware/PLIST b/emulators/vmware/PLIST
deleted file mode 100644
index f9c89f02195..00000000000
--- a/emulators/vmware/PLIST
+++ /dev/null
@@ -1,136 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:06 zuntum Exp $
-bin/vmnet-bridge
-bin/vmnet-dhcpd
-bin/vmnet-netifup
-bin/vmnet-sniffer
-bin/vmware
-bin/vmware-config.pl
-bin/vmware-loop
-bin/vmware-mount.pl
-bin/vmware-nmbd
-bin/vmware-ping
-bin/vmware-smbd
-bin/vmware-smbpasswd
-bin/vmware-smbpasswd.bin
-bin/vmware-uninstall.pl
-bin/vmware-wizard
-emul/linux/etc/vmware/config
-man/man1/vmware.1
-share/vmware/config
-share/vmware/configurator/vmnet-dhcpd.conf
-share/vmware/configurator/vmnet-smb.conf
-share/vmware/doc/CHANGES
-share/vmware/doc/DHCP-COPYRIGHT
-share/vmware/doc/EULA
-share/vmware/doc/INSTALL
-share/vmware/doc/README
-share/vmware/doc/SAMBA-LICENSE
-share/vmware/floppies/linux.flp
-share/vmware/floppies/windows.flp
-share/vmware/floppy.nvr
-share/vmware/help/AutoFit.htm
-share/vmware/help/ConfigDiskPartition.htm
-share/vmware/help/ConfigDisks.htm
-share/vmware/help/ConfigEditor.htm
-share/vmware/help/ConfigEthernet.htm
-share/vmware/help/ConfigFloppy.htm
-share/vmware/help/ConfigGuestOS.htm
-share/vmware/help/ConfigMemory.htm
-share/vmware/help/ConfigMisc.htm
-share/vmware/help/ConfigParallel.htm
-share/vmware/help/ConfigScsiDisks.htm
-share/vmware/help/ConfigSerial.htm
-share/vmware/help/ConfigSound.htm
-share/vmware/help/ConfigWiz.htm
-share/vmware/help/Configuration.htm
-share/vmware/help/Fit.htm
-share/vmware/help/FullScreen.gif
-share/vmware/help/Fullscreen.htm
-share/vmware/help/GeneralInput.htm
-share/vmware/help/GeneralMemory.htm
-share/vmware/help/GeneralPreferences.htm
-share/vmware/help/Glossary.htm
-share/vmware/help/Help.gif
-share/vmware/help/Interacting.htm
-share/vmware/help/Introduction.htm
-share/vmware/help/Power.htm
-share/vmware/help/PowerOff.gif
-share/vmware/help/PowerOff.htm
-share/vmware/help/PowerOn.gif
-share/vmware/help/PowerOn.htm
-share/vmware/help/PowerReset.gif
-share/vmware/help/PowerReset.htm
-share/vmware/help/Resume.gif
-share/vmware/help/Resume.htm
-share/vmware/help/RunVM.htm
-share/vmware/help/SendCtlAltDel.htm
-share/vmware/help/Setremdev.htm
-share/vmware/help/Settings.htm
-share/vmware/help/ShowAllHints.htm
-share/vmware/help/StatusBar.htm
-share/vmware/help/Suspend.gif
-share/vmware/help/Suspend.htm
-share/vmware/help/ToolbarButtons.htm
-share/vmware/help/ToolsInstall.htm
-share/vmware/help/View.htm
-share/vmware/help/Wizcd.htm
-share/vmware/help/Wizcongrats.htm
-share/vmware/help/Wizdisk.htm
-share/vmware/help/Wizdisk3.htm
-share/vmware/help/WizdiskType.htm
-share/vmware/help/Wizfloppy.htm
-share/vmware/help/Wiznetwork.htm
-share/vmware/help/Wizos.htm
-share/vmware/help/Wizpath.htm
-share/vmware/help/toc.htm
-share/vmware/smb/codepages/codepage.437
-share/vmware/smb/codepages/codepage.737
-share/vmware/smb/codepages/codepage.850
-share/vmware/smb/codepages/codepage.852
-share/vmware/smb/codepages/codepage.861
-share/vmware/smb/codepages/codepage.866
-share/vmware/smb/codepages/codepage.932
-share/vmware/smb/codepages/codepage.936
-share/vmware/smb/codepages/codepage.949
-share/vmware/smb/codepages/codepage.950
-share/vmware/xkeymap/be101
-share/vmware/xkeymap/be104
-share/vmware/xkeymap/chde101
-share/vmware/xkeymap/chde104
-share/vmware/xkeymap/chfr101
-share/vmware/xkeymap/chfr104
-share/vmware/xkeymap/de101
-share/vmware/xkeymap/de104
-share/vmware/xkeymap/dk101
-share/vmware/xkeymap/dk104
-share/vmware/xkeymap/es101
-share/vmware/xkeymap/es104
-share/vmware/xkeymap/fi101
-share/vmware/xkeymap/fi104
-share/vmware/xkeymap/fr101
-share/vmware/xkeymap/fr104
-share/vmware/xkeymap/gb101
-share/vmware/xkeymap/gb104
-share/vmware/xkeymap/is101
-share/vmware/xkeymap/is104
-share/vmware/xkeymap/it101
-share/vmware/xkeymap/it104
-share/vmware/xkeymap/jp106
-share/vmware/xkeymap/jp109
-share/vmware/xkeymap/no101
-share/vmware/xkeymap/no104
-share/vmware/xkeymap/pt101
-share/vmware/xkeymap/pt104
-share/vmware/xkeymap/se101
-share/vmware/xkeymap/se104
-share/vmware/xkeymap/us101
-share/vmware/xkeymap/us104
-@dirrm emul/linux/etc/vmware
-@dirrm share/vmware/configurator
-@dirrm share/vmware/doc
-@dirrm share/vmware/floppies
-@dirrm share/vmware/help
-@dirrm share/vmware/smb/codepages
-@dirrm share/vmware/smb
-@dirrm share/vmware/xkeymap
-@dirrm share/vmware
diff --git a/emulators/vmware/distinfo b/emulators/vmware/distinfo
deleted file mode 100644
index fee929dd8bd..00000000000
--- a/emulators/vmware/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:21 agc Exp $
-
-SHA1 (VMware-2.0.4-1142.tar.gz) = 3c1ae31a366b46d787817054685a4cf6c0606afd
-RMD160 (VMware-2.0.4-1142.tar.gz) = d42a69939b83c51be07562a7789a9add1f05f6b9
-Size (VMware-2.0.4-1142.tar.gz) = 6533427 bytes
diff --git a/emulators/vmware3/DESCR b/emulators/vmware3/DESCR
deleted file mode 100644
index e8fbd10e0db..00000000000
--- a/emulators/vmware3/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Run Windows 95, Windows 98, Windows NT, Windows 2000, FreeBSD, NetBSD,
-or Linux under VMware Workstation 3.x.
-
-Each VMware world is the equivalent of a full PC in a window.
-
-Operating systems run simultaneously without dual booting.
-
-Add new operating systems without repartitioning disks.
diff --git a/emulators/vmware3/MESSAGE.NetBSD b/emulators/vmware3/MESSAGE.NetBSD
deleted file mode 100644
index 348571feda5..00000000000
--- a/emulators/vmware3/MESSAGE.NetBSD
+++ /dev/null
@@ -1,11 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.1 2004/10/16 15:20:01 jdolecek Exp $
-
-NetBSD had problem with emulation of Linux SVID shared memory handling,
-which caused black screen in VMware 3.x when the guest OS switched
-to graphics mode. The problem has been fixed in NetBSD 2.99.9 and
-2.0RC3.
-
-If you experience this problem, setting your DISPLAY environment variable
-to "localhost:0" should help.
-===========================================================================
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
deleted file mode 100644
index ad641aa91e8..00000000000
--- a/emulators/vmware3/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2005/06/16 06:57:51 jlam Exp $
-
-DISTNAME= VMware-workstation-3.2.1-2242
-PKGNAME= vmware-3.2.1pl1
-CATEGORIES= emulators
-MASTER_SITES= http://download3.vmware.com/software/wkst/ \
- http://vmware-svca.www.conxion.com/software/ \
- http://vmware-chil.www.conxion.com/software/ \
- http://vmware-heva.www.conxion.com/software/ \
- ftp://mirror.aarnet.edu.au/pub/vmware/software/
-
-MAINTAINER= jdolecek@NetBSD.org
-HOMEPAGE= http://www.vmware.com/
-COMMENT= VMware emulator 3.x
-
-CONFLICTS= vmware-2.*
-
-DEPENDS+= vmware-module-3.*:../../emulators/vmware-module3
-DEPENDS+= suse_vmware>=6.4nb1:../../emulators/${SUSE_DIR_PREFIX}_vmware
-
-LICENSE= vmware-license
-
-WRKSRC= ${WRKDIR}/vmware-distrib
-CHECK_SHLIBS= NO
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-# We could install it into /etc/vmware, but that would mean we install
-# it somewhere out of ${PREFIX}, which is not a good idea, and the linux
-# emulation has a fallbackmode to look into ${PREFIX}/emul/linux/etc,
-# so use this way.
-VMWARE_CFG_DIR= ${PREFIX}/emul/linux/etc/vmware
-
-.include "../../mk/bsd.prefs.mk"
-
-INSTALLATION_DIRS= bin man/man1
-
-do-build:
- ${GZCAT} ${WRKSRC}/man/man1/vmware.1.gz > ${WRKDIR}/vmware.1
-
-do-install: do-install-dirs do-install-binaries do-install-docs \
- do-install-share
-
-do-install-dirs:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware
- for dirs in bin configurator doc isoimages help licenses messages smb xkeymap; do \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/$$dirs; \
- done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/licenses/site
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/licenses/user
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/chef
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/ja
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/jive
- ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/smb/codepages
- ${INSTALL_DATA_DIR} ${VMWARE_CFG_DIR}
-
-do-install-binaries:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
- ${CHMOD} u+s ${PREFIX}/bin/vmware
-
-do-install-docs:
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/vmware/doc
-
-do-install-share:
- ${INSTALL_SCRIPT} ${WRKSRC}/lib/bin/* ${PREFIX}/share/vmware/bin
- ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${PREFIX}/share/vmware/help
- ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${PREFIX}/share/vmware/xkeymap
- ${INSTALL_DATA} ${WRKSRC}/lib/isoimages/* ${PREFIX}/share/vmware/isoimages
- ${INSTALL_DATA} ${WRKSRC}/lib/licenses/user/* ${PREFIX}/share/vmware/licenses/user
- ${INSTALL_DATA} ${WRKSRC}/lib/messages/chef/* ${PREFIX}/share/vmware/messages/chef
- ${INSTALL_DATA} ${WRKSRC}/lib/messages/ja/* ${PREFIX}/share/vmware/messages/ja
- ${INSTALL_DATA} ${WRKSRC}/lib/messages/jive/* ${PREFIX}/share/vmware/messages/jive
- ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${PREFIX}/share/vmware/smb/codepages
- ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${PREFIX}/share/vmware/configurator
- ${INSTALL_DATA} ${WRKSRC}/lib/config ${PREFIX}/share/vmware
- ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${PREFIX}/man/man1
-
-post-install:
- @${RM} -f ${VMWARE_CFG_DIR}/config
- @( \
- ${ECHO} "vmware.fullpath = \"${PREFIX}/bin/vmware\""; \
- ${ECHO} "wizard.fullpath = \"${PREFIX}/bin/vmware-wizard\""; \
- ${ECHO} "dhcpd.fullpath = \"${PREFIX}/bin/vmware-dhcpd\""; \
- ${ECHO} "natd.fullpath = \"${PREFIX}/bin/vmware-natd\""; \
- ${ECHO} "smbpasswd.fullpath = \"${PREFIX}/bin/vmware-smbpasswd\""; \
- ${ECHO} "libdir = \"${PREFIX}/share/vmware\""; \
- ${ECHO} "vmnet1.HostOnlyAddress = \"172.16.212.1\""; \
- ${ECHO} "vmnet1.HostOnlyNetMask = \"255.255.255.0\""; \
- ${ECHO} "host.FSSupportLocking1 = 0x1"; \
- ${ECHO} "xkeymap.usekeycodeMapIfXFree86 = true"; \
- ) > ${VMWARE_CFG_DIR}/config
-
-.include "../suse_linux/Makefile.application"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/vmware3/PLIST b/emulators/vmware3/PLIST
deleted file mode 100644
index 20ebd5f7912..00000000000
--- a/emulators/vmware3/PLIST
+++ /dev/null
@@ -1,323 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/16 19:54:56 bad Exp $
-bin/vmnet-bridge
-bin/vmnet-dhcpd
-bin/vmnet-natd
-bin/vmnet-netifup
-bin/vmnet-sniffer
-bin/vmware
-bin/vmware-config.pl
-bin/vmware-nmbd
-bin/vmware-ping
-bin/vmware-smbd
-bin/vmware-smbpasswd
-bin/vmware-smbpasswd.bin
-bin/vmware-uninstall.pl
-bin/vmware-wizard
-emul/linux/etc/vmware/config
-man/man1/vmware.1
-share/vmware/bin/vmware-mks
-share/vmware/bin/vmware-ui
-share/vmware/config
-share/vmware/configurator/vmnet-dhcpd.conf
-share/vmware/configurator/vmnet-nat.conf
-share/vmware/configurator/vmnet-smb.conf
-share/vmware/doc/EULA
-share/vmware/doc/INSTALL
-share/vmware/doc/README
-share/vmware/doc/open_source_licenses.txt
-share/vmware/help/CUSTOM-NETWORK.gif
-share/vmware/help/ConfigWiz.htm
-share/vmware/help/FullScreen.gif
-share/vmware/help/Help.gif
-share/vmware/help/PowerOff.gif
-share/vmware/help/PowerOn.gif
-share/vmware/help/PowerReset.gif
-share/vmware/help/Resume.gif
-share/vmware/help/Suspend.gif
-share/vmware/help/Wizcd.htm
-share/vmware/help/Wizcongrats.htm
-share/vmware/help/Wizdisk.htm
-share/vmware/help/Wizdisk3.htm
-share/vmware/help/WizdiskType.htm
-share/vmware/help/Wizfloppy.htm
-share/vmware/help/Wizguestkit.htm
-share/vmware/help/Wiznetwork.htm
-share/vmware/help/Wizos.htm
-share/vmware/help/Wizpath.htm
-share/vmware/help/about_this_help.htm
-share/vmware/help/commandref_linux.htm
-share/vmware/help/config_editor.htm
-share/vmware/help/config_editor_newvm.htm
-share/vmware/help/configvm.htm
-share/vmware/help/configvm_adv.htm
-share/vmware/help/configvm_automation.htm
-share/vmware/help/configvm_debug.htm
-share/vmware/help/configvm_disableaccel.htm
-share/vmware/help/configvm_display-problems.htm
-share/vmware/help/configvm_displayname.htm
-share/vmware/help/configvm_guestos.htm
-share/vmware/help/configvm_logs.htm
-share/vmware/help/configvm_memory.htm
-share/vmware/help/configvm_options.htm
-share/vmware/help/configvm_state.htm
-share/vmware/help/configvm_virtualdisk.htm
-share/vmware/help/configvmware-disablemem.htm
-share/vmware/help/configvmware-inputgrab.htm
-share/vmware/help/configvmware-maxmemory.htm
-share/vmware/help/configvmware-shift.htm
-share/vmware/help/configvmware.htm
-share/vmware/help/configvmware_copy_paste.htm
-share/vmware/help/devices.htm
-share/vmware/help/devices_autostart.htm
-share/vmware/help/devices_cdrom-changeconnect.htm
-share/vmware/help/devices_cdrom-disable.htm
-share/vmware/help/devices_cdrom-issues-linux.htm
-share/vmware/help/devices_cdrom-issues.htm
-share/vmware/help/devices_cdrom-removable.htm
-share/vmware/help/devices_cdrom-remove.htm
-share/vmware/help/devices_cdrom.htm
-share/vmware/help/devices_floppy.htm
-share/vmware/help/devices_floppy_changeconnect.htm
-share/vmware/help/devices_genscsi.htm
-share/vmware/help/devices_genscsi_linux.htm
-share/vmware/help/devices_modem.htm
-share/vmware/help/devices_mouse.htm
-share/vmware/help/devices_netadapter.htm
-share/vmware/help/devices_parallel-info.htm
-share/vmware/help/devices_parallel-onguestos.htm
-share/vmware/help/devices_parallel.htm
-share/vmware/help/devices_parallel_changeconnect.htm
-share/vmware/help/devices_pcmcia.htm
-share/vmware/help/devices_plaindisk-info.htm
-share/vmware/help/devices_plaindisk.htm
-share/vmware/help/devices_printer.htm
-share/vmware/help/devices_rawdisk.htm
-share/vmware/help/devices_remove_netadapter.htm
-share/vmware/help/devices_scanner.htm
-share/vmware/help/devices_scsi-bios.htm
-share/vmware/help/devices_scsi-guestos.htm
-share/vmware/help/devices_scsi.htm
-share/vmware/help/devices_scsi_info.htm
-share/vmware/help/devices_scsi_vs-ide.htm
-share/vmware/help/devices_serial.htm
-share/vmware/help/devices_sound-issues.htm
-share/vmware/help/devices_sound.htm
-share/vmware/help/devices_sound_changeconn.htm
-share/vmware/help/devices_usb-info.htm
-share/vmware/help/devices_usb.htm
-share/vmware/help/devices_video-linux-res.htm
-share/vmware/help/devices_video-linux.htm
-share/vmware/help/devices_video-win2000.htm
-share/vmware/help/devices_video-win95.htm
-share/vmware/help/devices_video-win98.htm
-share/vmware/help/devices_virtualdrive-consolidate.htm
-share/vmware/help/devices_virtualdrive-diskmode.htm
-share/vmware/help/devices_virtualdrive-virtualdisk-physical.htm
-share/vmware/help/devices_virtualdrive-virtualdisk-reuse.htm
-share/vmware/help/devices_virtualdrive-virtualdisk.htm
-share/vmware/help/devices_virtualdrive.htm
-share/vmware/help/devices_zipdrive.htm
-share/vmware/help/glossary.htm
-share/vmware/help/grab.htm
-share/vmware/help/guestos-corellinux.htm
-share/vmware/help/guestos-dos.htm
-share/vmware/help/guestos-freebsd.htm
-share/vmware/help/guestos-kit.htm
-share/vmware/help/guestos-mandrake-linux.htm
-share/vmware/help/guestos-mandrake-linux8081.htm
-share/vmware/help/guestos-mandrake-linux82.htm
-share/vmware/help/guestos-novell-4.htm
-share/vmware/help/guestos-novell-5.htm
-share/vmware/help/guestos-novell-6.htm
-share/vmware/help/guestos-novell-zenwrks.htm
-share/vmware/help/guestos-openlinux.htm
-share/vmware/help/guestos-rawdisk.htm
-share/vmware/help/guestos-redhat-linux.htm
-share/vmware/help/guestos-redhat-linux6.x.htm
-share/vmware/help/guestos-redhat-linux7.0.htm
-share/vmware/help/guestos-redhat-linux7.1.htm
-share/vmware/help/guestos-redhat-linux7.3.htm
-share/vmware/help/guestos-solaris7.htm
-share/vmware/help/guestos-suse-linux-6.x.htm
-share/vmware/help/guestos-suse-linux-7.0.htm
-share/vmware/help/guestos-suse-linux-7.1.htm
-share/vmware/help/guestos-suse-linux-8.0.htm
-share/vmware/help/guestos-suse-linux.htm
-share/vmware/help/guestos-turbolinux-6.0.htm
-share/vmware/help/guestos-turbolinux-7.0.htm
-share/vmware/help/guestos-turbolinux.htm
-share/vmware/help/guestos-win2000.htm
-share/vmware/help/guestos-win95.htm
-share/vmware/help/guestos-win98.htm
-share/vmware/help/guestos-winNETSvr.htm
-share/vmware/help/guestos-winXP.htm
-share/vmware/help/guestos-winme.htm
-share/vmware/help/guestos-winnt.htm
-share/vmware/help/guestos.htm
-share/vmware/help/hotkey.htm
-share/vmware/help/image001.gif
-share/vmware/help/index.htm
-share/vmware/help/install_apps.htm
-share/vmware/help/introduction.htm
-share/vmware/help/keyboard_issus.htm
-share/vmware/help/lock_files.htm
-share/vmware/help/memory.htm
-share/vmware/help/migratevm-toupgrade.htm
-share/vmware/help/migratevm-uninstall.htm
-share/vmware/help/migratevm-upgrade.htm
-share/vmware/help/migratevm.htm
-share/vmware/help/migratevm_buildno.htm
-share/vmware/help/migratevm_pc.htm
-share/vmware/help/migrating.htm
-share/vmware/help/movefiles.htm
-share/vmware/help/networking-components.htm
-share/vmware/help/networking-onguestos.htm
-share/vmware/help/networking-onhost.htm
-share/vmware/help/networking-promiscuous.htm
-share/vmware/help/networking.htm
-share/vmware/help/networking_assignip.htm
-share/vmware/help/networking_bridged-onguestos.htm
-share/vmware/help/networking_bridged-second.htm
-share/vmware/help/networking_bridged.htm
-share/vmware/help/networking_changing.htm
-share/vmware/help/networking_custom.htm
-share/vmware/help/networking_host-onguestos.htm
-share/vmware/help/networking_host-twointerfaces.htm
-share/vmware/help/networking_host.htm
-share/vmware/help/networking_host_ipleaks.htm
-share/vmware/help/networking_host_issues-linux.htm
-share/vmware/help/networking_host_routing.htm
-share/vmware/help/networking_host_samba.htm
-share/vmware/help/networking_ipmasqerade.htm
-share/vmware/help/networking_ipmasqerade_firewallrh.htm
-share/vmware/help/networking_ipmasqerade_fwconfig.htm
-share/vmware/help/networking_macaddr.htm
-share/vmware/help/networking_nat.htm
-share/vmware/help/networking_nat_intro.htm
-share/vmware/help/networking_proxy.htm
-share/vmware/help/networking_wireless.htm
-share/vmware/help/newvm-diskpartition.htm
-share/vmware/help/newvm-diskpartition_access.htm
-share/vmware/help/newvm-diskpartition_hide.htm
-share/vmware/help/newvm-dualboot-hdwr.htm
-share/vmware/help/newvm-dualboot-scsi.htm
-share/vmware/help/newvm-dualboot.htm
-share/vmware/help/newvm-virtualdisk.htm
-share/vmware/help/newvm.htm
-share/vmware/help/newvm_wizard.htm
-share/vmware/help/newvm_wizard_process_cdrom.htm
-share/vmware/help/newvm_wizard_process_directory.htm
-share/vmware/help/newvm_wizard_process_disksize.htm
-share/vmware/help/newvm_wizard_process_disktype.htm
-share/vmware/help/newvm_wizard_process_floppy.htm
-share/vmware/help/newvm_wizard_process_guestos.htm
-share/vmware/help/newvm_wizard_process_network.htm
-share/vmware/help/perform-guestos-linux.htm
-share/vmware/help/perform-guestos-win2000.htm
-share/vmware/help/perform-guestos-win95-98.htm
-share/vmware/help/perform-linuxhost.htm
-share/vmware/help/perform.htm
-share/vmware/help/screensavers.htm
-share/vmware/help/serialnumber.htm
-share/vmware/help/sharefiles_hos_gos.htm
-share/vmware/help/sharevm.htm
-share/vmware/help/sizewin.htm
-share/vmware/help/sizewin_fullscreen.htm
-share/vmware/help/startvm.htm
-share/vmware/help/startvmware.htm
-share/vmware/help/statevm.htm
-share/vmware/help/statevm_off.htm
-share/vmware/help/statevm_on.htm
-share/vmware/help/statevm_repeat_resume.htm
-share/vmware/help/statevm_reset.htm
-share/vmware/help/statevm_resume.htm
-share/vmware/help/statevm_suspend.htm
-share/vmware/help/support.htm
-share/vmware/help/switching.htm
-share/vmware/help/sysreqs.htm
-share/vmware/help/toc.htm
-share/vmware/help/user-permissions-linux.htm
-share/vmware/help/vm_common.htm
-share/vmware/help/vmtools-copypaste.htm
-share/vmware/help/vmtools-defrag.htm
-share/vmware/help/vmtools-shrink.htm
-share/vmware/help/vmtools.htm
-share/vmware/help/vmtools_install.htm
-share/vmware/help/vmtools_install_freebsd.htm
-share/vmware/help/vmtools_install_linux.htm
-share/vmware/help/vmtools_install_win.htm
-share/vmware/help/vmtools_prefs.htm
-share/vmware/help/whatsnew.htm
-share/vmware/isoimages/freebsd.iso
-share/vmware/isoimages/linux.iso
-share/vmware/isoimages/windows.iso
-share/vmware/licenses/user/license.ws.3.0
-share/vmware/messages/chef/vmware-mks.vmsg
-share/vmware/messages/chef/vmware-ui.vmsg
-share/vmware/messages/chef/vmware.vmsg
-share/vmware/messages/ja/vmware-mks.vmsg
-share/vmware/messages/ja/vmware-ui.vmsg
-share/vmware/messages/ja/vmware.vmsg
-share/vmware/messages/jive/vmware-mks.vmsg
-share/vmware/messages/jive/vmware-ui.vmsg
-share/vmware/messages/jive/vmware.vmsg
-share/vmware/smb/codepages/codepage.437
-share/vmware/smb/codepages/codepage.737
-share/vmware/smb/codepages/codepage.850
-share/vmware/smb/codepages/codepage.852
-share/vmware/smb/codepages/codepage.861
-share/vmware/smb/codepages/codepage.866
-share/vmware/smb/codepages/codepage.932
-share/vmware/smb/codepages/codepage.936
-share/vmware/smb/codepages/codepage.949
-share/vmware/smb/codepages/codepage.950
-share/vmware/xkeymap/be101
-share/vmware/xkeymap/be104
-share/vmware/xkeymap/chde101
-share/vmware/xkeymap/chde104
-share/vmware/xkeymap/chfr101
-share/vmware/xkeymap/chfr104
-share/vmware/xkeymap/de101
-share/vmware/xkeymap/de104
-share/vmware/xkeymap/dk101
-share/vmware/xkeymap/dk104
-share/vmware/xkeymap/es101
-share/vmware/xkeymap/es104
-share/vmware/xkeymap/fi101
-share/vmware/xkeymap/fi104
-share/vmware/xkeymap/fr101
-share/vmware/xkeymap/fr104
-share/vmware/xkeymap/gb101
-share/vmware/xkeymap/gb104
-share/vmware/xkeymap/is101
-share/vmware/xkeymap/is104
-share/vmware/xkeymap/it101
-share/vmware/xkeymap/it104
-share/vmware/xkeymap/jp106
-share/vmware/xkeymap/jp109
-share/vmware/xkeymap/no101
-share/vmware/xkeymap/no104
-share/vmware/xkeymap/pt101
-share/vmware/xkeymap/pt104
-share/vmware/xkeymap/se101
-share/vmware/xkeymap/se104
-share/vmware/xkeymap/us101
-share/vmware/xkeymap/us104
-@dirrm emul/linux/etc/vmware
-@dirrm share/vmware/bin
-@dirrm share/vmware/configurator
-@dirrm share/vmware/doc
-@dirrm share/vmware/isoimages
-@dirrm share/vmware/help
-@exec ${MKDIR} -p %D/share/vmware/licenses/site
-@dirrm share/vmware/licenses/site
-@dirrm share/vmware/licenses/user
-@dirrm share/vmware/licenses
-@dirrm share/vmware/messages/chef
-@dirrm share/vmware/messages/ja
-@dirrm share/vmware/messages/jive
-@dirrm share/vmware/messages
-@dirrm share/vmware/smb/codepages
-@dirrm share/vmware/smb
-@dirrm share/vmware/xkeymap
-@dirrm share/vmware
diff --git a/emulators/vmware3/distinfo b/emulators/vmware3/distinfo
deleted file mode 100644
index d72310cea8d..00000000000
--- a/emulators/vmware3/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (VMware-workstation-3.2.1-2242.tar.gz) = 3f3c8539270707087525e220264a38639bf17547
-RMD160 (VMware-workstation-3.2.1-2242.tar.gz) = f2a6c3cc38f3c3851446e8902237b958367293a1
-Size (VMware-workstation-3.2.1-2242.tar.gz) = 12577292 bytes
diff --git a/emulators/wine/DESCR b/emulators/wine/DESCR
deleted file mode 100644
index 6c519aa01bd..00000000000
--- a/emulators/wine/DESCR
+++ /dev/null
@@ -1,10 +0,0 @@
-Wine is a program which allows running Microsoft Windows programs
-(including DOS, Windows 3.x and Win32 executables) on Unix. It consists
-of a program loader which loads and executes an Microsoft Windows binary,
-and a library that implements Windows API calls using their Unix or X11
-equivalents. The library may also be used for porting Win32 code into
-native Unix executables.
-
-Wine is free software, and after version 20020228, its license (contained
-in the file LICENSE) changed from BSD style to LGPL. For a BSD-style fork
-of Wine, see the emulators/rewind package.
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
deleted file mode 100644
index 76a618628c3..00000000000
--- a/emulators/wine/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# $NetBSD: Makefile,v 1.93 2005/10/26 08:32:59 adam Exp $
-
-DISTNAME= wine-0.9
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wine/} \
- http://ibiblio.org/pub/linux/system/emulators/wine/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://www.winehq.com/
-COMMENT= Free implementation of Windows on Unix (still alpha)
-
-BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge
-
-ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
-ONLY_FOR_PLATFORM+= FreeBSD*-i386 Linux*-i386 SunOS*-i386 Darwin*-i386
-
-WRKSRC= ${WRKDIR}/${DISTNAME:S/W/w/}
-USE_LIBTOOL= yes
-USE_NCURSES= yes
-USE_TOOLS+= bison gmake mktemp
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-debug
-CONFIGURE_ARGS+= --disable-trace
-UNLIMIT_RESOURCES= datasize
-
-REPLACE_PERL= tools/winemaker tools/winedump/function_grep.pl
-
-# The Wine configure script has problems locating the libraries in the
-# buildlink directory, so prepend all of the LDFLAGS necessary to link
-# against the libraries.
-#
-CONFIGURE_ENV+= X_LIBS="${LDFLAGS}"
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\""
-LIBS+= ${LDFLAGS}
-
-.include "options.mk"
-
-.include "../../audio/esound/buildlink3.mk"
-.include "../../databases/openldap/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
-.include "../../graphics/glut/buildlink3.mk"
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/lcms/buildlink3.mk"
-.include "../../graphics/libungif/buildlink3.mk"
-.include "../../textproc/libxslt/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/wine/PLIST b/emulators/wine/PLIST
deleted file mode 100644
index 48b97f79cd6..00000000000
--- a/emulators/wine/PLIST
+++ /dev/null
@@ -1,819 +0,0 @@
-@comment $NetBSD: PLIST,v 1.35 2005/10/26 08:32:59 adam Exp $
-bin/function_grep.pl
-bin/msiexec
-bin/notepad
-bin/progman
-bin/regedit
-bin/regsvr32
-bin/uninstaller
-bin/wcmd
-bin/widl
-bin/wine
-bin/wineboot
-bin/winebrowser
-bin/winebuild
-bin/winecfg
-bin/wineconsole
-bin/winecpp
-bin/winedbg
-bin/winedump
-bin/winefile
-bin/wineg++
-bin/winegcc
-bin/winelauncher
-bin/winemaker
-bin/winemine
-bin/winepath
-bin/wineprefixcreate
-bin/wineserver
-bin/wineshelllink
-bin/winhelp
-bin/wmc
-bin/wrc
-include/wine/debug.h
-include/wine/exception.h
-include/wine/itss.h
-include/wine/itss.idl
-include/wine/library.h
-include/wine/msvcrt/conio.h
-include/wine/msvcrt/crtdbg.h
-include/wine/msvcrt/ctype.h
-include/wine/msvcrt/direct.h
-include/wine/msvcrt/dirent.h
-include/wine/msvcrt/dos.h
-include/wine/msvcrt/eh.h
-include/wine/msvcrt/errno.h
-include/wine/msvcrt/fcntl.h
-include/wine/msvcrt/float.h
-include/wine/msvcrt/io.h
-include/wine/msvcrt/limits.h
-include/wine/msvcrt/locale.h
-include/wine/msvcrt/malloc.h
-include/wine/msvcrt/math.h
-include/wine/msvcrt/mbctype.h
-include/wine/msvcrt/mbstring.h
-include/wine/msvcrt/process.h
-include/wine/msvcrt/search.h
-include/wine/msvcrt/setjmp.h
-include/wine/msvcrt/share.h
-include/wine/msvcrt/signal.h
-include/wine/msvcrt/stddef.h
-include/wine/msvcrt/stdio.h
-include/wine/msvcrt/stdlib.h
-include/wine/msvcrt/string.h
-include/wine/msvcrt/sys/locking.h
-include/wine/msvcrt/sys/stat.h
-include/wine/msvcrt/sys/timeb.h
-include/wine/msvcrt/sys/types.h
-include/wine/msvcrt/sys/unistd.h
-include/wine/msvcrt/sys/utime.h
-include/wine/msvcrt/time.h
-include/wine/msvcrt/unistd.h
-include/wine/msvcrt/wchar.h
-include/wine/msvcrt/wctype.h
-include/wine/unicode.h
-include/wine/windows/accctrl.h
-include/wine/windows/aclapi.h
-include/wine/windows/activscp.h
-include/wine/windows/activscp.idl
-include/wine/windows/advpub.h
-include/wine/windows/amstream.h
-include/wine/windows/amstream.idl
-include/wine/windows/amvideo.h
-include/wine/windows/amvideo.idl
-include/wine/windows/appmgmt.h
-include/wine/windows/audevcod.h
-include/wine/windows/austream.h
-include/wine/windows/austream.idl
-include/wine/windows/aviriff.h
-include/wine/windows/axcore.idl
-include/wine/windows/axextend.idl
-include/wine/windows/basetsd.h
-include/wine/windows/basetyps.h
-include/wine/windows/cderr.h
-include/wine/windows/cguid.h
-include/wine/windows/comcat.h
-include/wine/windows/comcat.idl
-include/wine/windows/commctrl.h
-include/wine/windows/commdlg.h
-include/wine/windows/compobj.h
-include/wine/windows/control.h
-include/wine/windows/control.idl
-include/wine/windows/cpl.h
-include/wine/windows/custcntl.h
-include/wine/windows/cvconst.h
-include/wine/windows/d3d.h
-include/wine/windows/d3d8.h
-include/wine/windows/d3d8caps.h
-include/wine/windows/d3d8types.h
-include/wine/windows/d3d9.h
-include/wine/windows/d3d9caps.h
-include/wine/windows/d3d9types.h
-include/wine/windows/d3dcaps.h
-include/wine/windows/d3dhal.h
-include/wine/windows/d3drm.h
-include/wine/windows/d3dtypes.h
-include/wine/windows/d3dvec.inl
-include/wine/windows/d3dx8core.h
-include/wine/windows/dbghelp.h
-include/wine/windows/dbt.h
-include/wine/windows/dciddi.h
-include/wine/windows/dciman.h
-include/wine/windows/dde.h
-include/wine/windows/ddeml.h
-include/wine/windows/ddk/cfgmgr32.h
-include/wine/windows/ddk/wdm.h
-include/wine/windows/ddk/winsplp.h
-include/wine/windows/ddraw.h
-include/wine/windows/ddrawi.h
-include/wine/windows/ddstream.h
-include/wine/windows/ddstream.idl
-include/wine/windows/devenum.idl
-include/wine/windows/devguid.h
-include/wine/windows/digitalv.h
-include/wine/windows/dinput.h
-include/wine/windows/dispdib.h
-include/wine/windows/dispex.h
-include/wine/windows/dispex.idl
-include/wine/windows/dlgs.h
-include/wine/windows/dls1.h
-include/wine/windows/dls2.h
-include/wine/windows/dmdls.h
-include/wine/windows/dmerror.h
-include/wine/windows/dmo.h
-include/wine/windows/dmoreg.h
-include/wine/windows/dmort.h
-include/wine/windows/dmplugin.h
-include/wine/windows/dmusbuff.h
-include/wine/windows/dmusicc.h
-include/wine/windows/dmusicf.h
-include/wine/windows/dmusici.h
-include/wine/windows/dmusics.h
-include/wine/windows/docobj.h
-include/wine/windows/docobj.idl
-include/wine/windows/downloadmgr.h
-include/wine/windows/downloadmgr.idl
-include/wine/windows/dpaddr.h
-include/wine/windows/dplay.h
-include/wine/windows/dplay8.h
-include/wine/windows/dplobby.h
-include/wine/windows/dsconf.h
-include/wine/windows/dsdriver.h
-include/wine/windows/dshow.h
-include/wine/windows/dsound.h
-include/wine/windows/dxdiag.h
-include/wine/windows/dxerr8.h
-include/wine/windows/dxerr9.h
-include/wine/windows/dxfile.h
-include/wine/windows/dyngraph.idl
-include/wine/windows/evcode.h
-include/wine/windows/evntrace.h
-include/wine/windows/excpt.h
-include/wine/windows/exdisp.h
-include/wine/windows/exdisp.idl
-include/wine/windows/exdispid.h
-include/wine/windows/fci.h
-include/wine/windows/fdi.h
-include/wine/windows/guiddef.h
-include/wine/windows/hlink.h
-include/wine/windows/hlink.idl
-include/wine/windows/htmlhelp.h
-include/wine/windows/iads.h
-include/wine/windows/iads.idl
-include/wine/windows/icm.h
-include/wine/windows/icmpapi.h
-include/wine/windows/idispids.h
-include/wine/windows/imagehlp.h
-include/wine/windows/imm.h
-include/wine/windows/initguid.h
-include/wine/windows/ipexport.h
-include/wine/windows/iphlpapi.h
-include/wine/windows/ipifcons.h
-include/wine/windows/iprtrmib.h
-include/wine/windows/iptypes.h
-include/wine/windows/ks.h
-include/wine/windows/ksguid.h
-include/wine/windows/ksmedia.h
-include/wine/windows/lm.h
-include/wine/windows/lmaccess.h
-include/wine/windows/lmapibuf.h
-include/wine/windows/lmbrowsr.h
-include/wine/windows/lmcons.h
-include/wine/windows/lmerr.h
-include/wine/windows/lmjoin.h
-include/wine/windows/lmserver.h
-include/wine/windows/lmshare.h
-include/wine/windows/lmstats.h
-include/wine/windows/lmwksta.h
-include/wine/windows/lzexpand.h
-include/wine/windows/mapi.h
-include/wine/windows/mapicode.h
-include/wine/windows/mapidefs.h
-include/wine/windows/mapiguid.h
-include/wine/windows/mapitags.h
-include/wine/windows/mapiutil.h
-include/wine/windows/mapival.h
-include/wine/windows/mapix.h
-include/wine/windows/mciavi.h
-include/wine/windows/mcx.h
-include/wine/windows/mediaerr.h
-include/wine/windows/mediaobj.h
-include/wine/windows/mediaobj.idl
-include/wine/windows/mimeinfo.h
-include/wine/windows/mimeinfo.idl
-include/wine/windows/minmax.h
-include/wine/windows/mlang.h
-include/wine/windows/mlang.idl
-include/wine/windows/mmddk.h
-include/wine/windows/mmreg.h
-include/wine/windows/mmstream.h
-include/wine/windows/mmstream.idl
-include/wine/windows/mmsystem.h
-include/wine/windows/msacm.h
-include/wine/windows/msacmdlg.h
-include/wine/windows/msacmdrv.h
-include/wine/windows/mscat.h
-include/wine/windows/mshtmdid.h
-include/wine/windows/mshtmhst.h
-include/wine/windows/mshtmhst.idl
-include/wine/windows/mshtml.h
-include/wine/windows/mshtml.idl
-include/wine/windows/msi.h
-include/wine/windows/msidefs.h
-include/wine/windows/msiquery.h
-include/wine/windows/mssip.h
-include/wine/windows/mswsock.h
-include/wine/windows/msxml.h
-include/wine/windows/msxml.idl
-include/wine/windows/msxml2.h
-include/wine/windows/msxml2.idl
-include/wine/windows/msxml2did.h
-include/wine/windows/msxmldid.h
-include/wine/windows/nb30.h
-include/wine/windows/npapi.h
-include/wine/windows/nspapi.h
-include/wine/windows/ntddcdrm.h
-include/wine/windows/ntddscsi.h
-include/wine/windows/ntddstor.h
-include/wine/windows/ntsecapi.h
-include/wine/windows/ntstatus.h
-include/wine/windows/oaidl.h
-include/wine/windows/oaidl.idl
-include/wine/windows/objbase.h
-include/wine/windows/objidl.h
-include/wine/windows/objidl.idl
-include/wine/windows/objsafe.h
-include/wine/windows/objsafe.idl
-include/wine/windows/objsel.h
-include/wine/windows/ocidl.h
-include/wine/windows/ocidl.idl
-include/wine/windows/odbcinst.h
-include/wine/windows/ole2.h
-include/wine/windows/ole2ver.h
-include/wine/windows/oleauto.h
-include/wine/windows/olectl.h
-include/wine/windows/oledlg.h
-include/wine/windows/oleidl.h
-include/wine/windows/oleidl.idl
-include/wine/windows/pktdef.h
-include/wine/windows/poppack.h
-include/wine/windows/powrprof.h
-include/wine/windows/propidl.h
-include/wine/windows/propidl.idl
-include/wine/windows/prsht.h
-include/wine/windows/psapi.h
-include/wine/windows/pshpack1.h
-include/wine/windows/pshpack2.h
-include/wine/windows/pshpack4.h
-include/wine/windows/pshpack8.h
-include/wine/windows/pstore.h
-include/wine/windows/pstore.idl
-include/wine/windows/ras.h
-include/wine/windows/reason.h
-include/wine/windows/regstr.h
-include/wine/windows/richedit.h
-include/wine/windows/richole.h
-include/wine/windows/richole.idl
-include/wine/windows/rpc.h
-include/wine/windows/rpcdce.h
-include/wine/windows/rpcdcep.h
-include/wine/windows/rpcndr.h
-include/wine/windows/rpcnterr.h
-include/wine/windows/rpcproxy.h
-include/wine/windows/schannel.h
-include/wine/windows/schemadef.h
-include/wine/windows/schnlsp.h
-include/wine/windows/sddl.h
-include/wine/windows/secext.h
-include/wine/windows/security.h
-include/wine/windows/sensapi.h
-include/wine/windows/sensevts.h
-include/wine/windows/sensevts.idl
-include/wine/windows/servprov.h
-include/wine/windows/servprov.idl
-include/wine/windows/setupapi.h
-include/wine/windows/shellapi.h
-include/wine/windows/shldisp.h
-include/wine/windows/shldisp.idl
-include/wine/windows/shlguid.h
-include/wine/windows/shlobj.h
-include/wine/windows/shlwapi.h
-include/wine/windows/shobjidl.h
-include/wine/windows/shobjidl.idl
-include/wine/windows/shtypes.h
-include/wine/windows/shtypes.idl
-include/wine/windows/sipbase.h
-include/wine/windows/snmp.h
-include/wine/windows/sql.h
-include/wine/windows/sqlext.h
-include/wine/windows/sqltypes.h
-include/wine/windows/sspi.h
-include/wine/windows/storage.h
-include/wine/windows/strmif.h
-include/wine/windows/strmif.idl
-include/wine/windows/tapi.h
-include/wine/windows/tchar.h
-include/wine/windows/textserv.h
-include/wine/windows/tlhelp32.h
-include/wine/windows/tmschema.h
-include/wine/windows/unknwn.h
-include/wine/windows/unknwn.idl
-include/wine/windows/urlmon.h
-include/wine/windows/urlmon.idl
-include/wine/windows/uuids.h
-include/wine/windows/uxtheme.h
-include/wine/windows/ver.h
-include/wine/windows/vfw.h
-include/wine/windows/vfwmsgs.h
-include/wine/windows/winbase.h
-include/wine/windows/wincon.h
-include/wine/windows/wincrypt.h
-include/wine/windows/windef.h
-include/wine/windows/windows.h
-include/wine/windows/windowsx.h
-include/wine/windows/winerror.h
-include/wine/windows/wingdi.h
-include/wine/windows/wininet.h
-include/wine/windows/winioctl.h
-include/wine/windows/winldap.h
-include/wine/windows/winnetwk.h
-include/wine/windows/winnls.h
-include/wine/windows/winnls32.h
-include/wine/windows/winnt.h
-include/wine/windows/winreg.h
-include/wine/windows/winres.h
-include/wine/windows/winresrc.h
-include/wine/windows/winsock.h
-include/wine/windows/winsock2.h
-include/wine/windows/winspool.h
-include/wine/windows/winsvc.h
-include/wine/windows/wintab.h
-include/wine/windows/wintabx.h
-include/wine/windows/winternl.h
-include/wine/windows/wintrust.h
-include/wine/windows/winuser.h
-include/wine/windows/winver.h
-include/wine/windows/wmistr.h
-include/wine/windows/wnaspi32.h
-include/wine/windows/wownt32.h
-include/wine/windows/ws2spi.h
-include/wine/windows/ws2tcpip.h
-include/wine/windows/wshisotp.h
-include/wine/windows/wsipx.h
-include/wine/windows/wsnwlink.h
-include/wine/windows/wtsapi32.h
-include/wine/windows/wtypes.h
-include/wine/windows/wtypes.idl
-include/wine/windows/xcmc.h
-include/wine/windows/xmldom.h
-include/wine/windows/xmldom.idl
-include/wine/windows/xmldomdid.h
-include/wine/windows/xmldso.h
-include/wine/windows/xmldso.idl
-include/wine/windows/xmldsodid.h
-include/wine/windows/zmouse.h
-lib/libwine.so
-lib/libwine.so.1
-lib/libwine_unicode.so
-lib/libwine_unicode.so.1
-lib/wine/activeds.dll.so
-lib/wine/advapi32.dll.so
-lib/wine/advpack.dll.so
-lib/wine/amstream.dll.so
-lib/wine/atl.dll.so
-lib/wine/avicap32.dll.so
-lib/wine/avifil32.dll.so
-lib/wine/avifile.dll.so
-lib/wine/aviinfo.exe.so
-lib/wine/aviplay.exe.so
-lib/wine/cabinet.dll.so
-lib/wine/capi2032.dll.so
-lib/wine/cards.dll.so
-lib/wine/cfgmgr32.dll.so
-lib/wine/clock.exe.so
-lib/wine/comcat.dll.so
-lib/wine/comctl32.dll.so
-lib/wine/comdlg32.dll.so
-lib/wine/comm.drv.so
-lib/wine/commdlg.dll.so
-lib/wine/compobj.dll.so
-lib/wine/control.exe.so
-lib/wine/crtdll.dll.so
-lib/wine/crypt32.dll.so
-lib/wine/cryptdll.dll.so
-lib/wine/ctl3d.dll.so
-lib/wine/ctl3d32.dll.so
-lib/wine/ctl3dv2.dll.so
-lib/wine/d3d8.dll.so
-lib/wine/d3d9.dll.so
-lib/wine/d3dim.dll.so
-lib/wine/d3drm.dll.so
-lib/wine/d3dx8.dll.so
-lib/wine/d3dxof.dll.so
-lib/wine/dbghelp.dll.so
-lib/wine/dciman32.dll.so
-lib/wine/ddeml.dll.so
-lib/wine/ddraw.dll.so
-lib/wine/devenum.dll.so
-lib/wine/dinput.dll.so
-lib/wine/dinput8.dll.so
-lib/wine/dispdib.dll.so
-lib/wine/display.drv.so
-lib/wine/dmband.dll.so
-lib/wine/dmcompos.dll.so
-lib/wine/dmime.dll.so
-lib/wine/dmloader.dll.so
-lib/wine/dmscript.dll.so
-lib/wine/dmstyle.dll.so
-lib/wine/dmsynth.dll.so
-lib/wine/dmusic.dll.so
-lib/wine/dmusic32.dll.so
-lib/wine/dplay.dll.so
-lib/wine/dplayx.dll.so
-lib/wine/dpnet.dll.so
-lib/wine/dpnhpast.dll.so
-lib/wine/dsound.dll.so
-lib/wine/dswave.dll.so
-lib/wine/dxdiagn.dll.so
-lib/wine/expand.exe.so
-lib/wine/gdi.exe.so
-lib/wine/gdi32.dll.so
-lib/wine/glu32.dll.so
-lib/wine/glut32.dll.so
-lib/wine/hh.exe.so
-lib/wine/hhctrl.ocx.so
-lib/wine/iccvid.dll.so
-lib/wine/icinfo.exe.so
-lib/wine/icmp.dll.so
-lib/wine/ifsmgr.vxd.so
-lib/wine/imaadp32.acm.so
-lib/wine/imagehlp.dll.so
-lib/wine/imm.dll.so
-lib/wine/imm32.dll.so
-lib/wine/iphlpapi.dll.so
-lib/wine/itss.dll.so
-lib/wine/joystick.drv.so
-lib/wine/kernel32.dll.so
-lib/wine/keyboard.drv.so
-lib/wine/krnl386.exe.so
-lib/wine/libactiveds.def
-lib/wine/libadvapi32.def
-lib/wine/libadvpack.def
-lib/wine/libatl.def
-lib/wine/libavicap32.def
-lib/wine/libavifil32.def
-lib/wine/libcabinet.def
-lib/wine/libcapi2032.def
-lib/wine/libcards.def
-lib/wine/libcfgmgr32.def
-lib/wine/libcomctl32.def
-lib/wine/libcomdlg32.def
-lib/wine/libcrtdll.def
-lib/wine/libcrypt32.def
-lib/wine/libcryptdll.def
-lib/wine/libctl3d32.def
-lib/wine/libd3d8.def
-lib/wine/libd3d9.def
-lib/wine/libd3dim.def
-lib/wine/libd3drm.def
-lib/wine/libd3dx8.def
-lib/wine/libd3dxof.def
-lib/wine/libdbghelp.def
-lib/wine/libdciman32.def
-lib/wine/libddraw.def
-lib/wine/libdinput.def
-lib/wine/libdinput.def.a
-lib/wine/libdinput8.def
-lib/wine/libdmusic32.def
-lib/wine/libdplay.def
-lib/wine/libdplayx.def
-lib/wine/libdpnet.def
-lib/wine/libdsound.def
-lib/wine/libdxerr8.a
-lib/wine/libdxerr9.a
-lib/wine/libdxguid.a
-lib/wine/libgdi32.def
-lib/wine/libglu32.def
-lib/wine/libglut32.def
-lib/wine/libicmp.def
-lib/wine/libimagehlp.def
-lib/wine/libimm32.def
-lib/wine/libiphlpapi.def
-lib/wine/libkernel32.def
-lib/wine/liblz32.def
-lib/wine/libmapi32.def
-lib/wine/libmlang.def
-lib/wine/libmpr.def
-lib/wine/libmsacm32.def
-lib/wine/libmscms.def
-lib/wine/libmsdmo.def
-lib/wine/libmshtml.def
-lib/wine/libmsi.def
-lib/wine/libmsimg32.def
-lib/wine/libmsvcrt.def
-lib/wine/libmsvcrt20.def
-lib/wine/libmsvcrt40.def
-lib/wine/libmsvcrtd.def
-lib/wine/libmsvfw32.def
-lib/wine/libmswsock.def
-lib/wine/libnetapi32.def
-lib/wine/libnewdev.def
-lib/wine/libntdll.def
-lib/wine/libodbc32.def
-lib/wine/libodbccp32.def
-lib/wine/libole32.def
-lib/wine/liboleacc.def
-lib/wine/liboleaut32.def
-lib/wine/libolecli32.def
-lib/wine/liboledlg.def
-lib/wine/libolepro32.def
-lib/wine/libolesvr32.def
-lib/wine/libopengl32.def
-lib/wine/libpowrprof.def
-lib/wine/libpsapi.def
-lib/wine/libquartz.def
-lib/wine/librasapi32.def
-lib/wine/libriched20.def
-lib/wine/librpcrt4.def
-lib/wine/librsabase.def
-lib/wine/librsaenh.def
-lib/wine/libsecur32.def
-lib/wine/libsensapi.def
-lib/wine/libserialui.def
-lib/wine/libsetupapi.def
-lib/wine/libshdocvw.def
-lib/wine/libshell32.def
-lib/wine/libshfolder.def
-lib/wine/libshlwapi.def
-lib/wine/libsnmpapi.def
-lib/wine/libsti.def
-lib/wine/libstrmiids.a
-lib/wine/libtapi32.def
-lib/wine/libunicows.def
-lib/wine/liburl.def
-lib/wine/liburlmon.def
-lib/wine/libuser32.def
-lib/wine/libusp10.def
-lib/wine/libuuid.a
-lib/wine/libuxtheme.def
-lib/wine/libvdmdbg.def
-lib/wine/libversion.def
-lib/wine/libw32skrnl.def
-lib/wine/libwinecrt0.a
-lib/wine/libwined3d.def
-lib/wine/libwinedos.def
-lib/wine/libwininet.def
-lib/wine/libwinmm.def
-lib/wine/libwinnls32.def
-lib/wine/libwinspool.def
-lib/wine/libwintab32.def
-lib/wine/libwintrust.def
-lib/wine/libwldap32.def
-lib/wine/libwnaspi32.def
-lib/wine/libwow32.def
-lib/wine/libws2_32.def
-lib/wine/libwsock32.def
-lib/wine/libwtsapi32.def
-lib/wine/lz32.dll.so
-lib/wine/lzexpand.dll.so
-lib/wine/mapi32.dll.so
-lib/wine/mciavi32.dll.so
-lib/wine/mcicda.dll.so
-lib/wine/mciseq.dll.so
-lib/wine/mciwave.drv.so
-lib/wine/midimap.dll.so
-lib/wine/mlang.dll.so
-lib/wine/mmdevldr.vxd.so
-lib/wine/mmsystem.dll.so
-lib/wine/monodebg.vxd.so
-lib/wine/mouse.drv.so
-lib/wine/mpr.dll.so
-lib/wine/msacm.dll.so
-lib/wine/msacm.drv.so
-lib/wine/msacm32.dll.so
-lib/wine/msadp32.acm.so
-lib/wine/mscms.dll.so
-lib/wine/msdmo.dll.so
-lib/wine/msg711.acm.so
-lib/wine/mshtml.dll.so
-lib/wine/msi.dll.so
-lib/wine/msiexec.exe.so
-lib/wine/msimg32.dll.so
-lib/wine/msisys.ocx.so
-lib/wine/msnet32.dll.so
-lib/wine/msrle32.dll.so
-lib/wine/msvcrt.dll.so
-lib/wine/msvcrt20.dll.so
-lib/wine/msvcrt40.dll.so
-lib/wine/msvcrtd.dll.so
-lib/wine/msvfw32.dll.so
-lib/wine/msvidc32.dll.so
-lib/wine/msvideo.dll.so
-lib/wine/mswsock.dll.so
-lib/wine/msxml3.dll.so
-lib/wine/netapi32.dll.so
-lib/wine/newdev.dll.so
-lib/wine/notepad.exe.so
-lib/wine/ntdll.dll.so
-lib/wine/objsel.dll.so
-lib/wine/odbc32.dll.so
-lib/wine/odbccp32.dll.so
-lib/wine/ole2.dll.so
-lib/wine/ole2conv.dll.so
-lib/wine/ole2disp.dll.so
-lib/wine/ole2nls.dll.so
-lib/wine/ole2prox.dll.so
-lib/wine/ole2thk.dll.so
-lib/wine/ole32.dll.so
-lib/wine/oleacc.dll.so
-lib/wine/oleaut32.dll.so
-lib/wine/olecli.dll.so
-lib/wine/olecli32.dll.so
-lib/wine/oledlg.dll.so
-lib/wine/olepro32.dll.so
-lib/wine/olesvr.dll.so
-lib/wine/olesvr32.dll.so
-lib/wine/opengl32.dll.so
-lib/wine/powrprof.dll.so
-lib/wine/progman.exe.so
-lib/wine/psapi.dll.so
-lib/wine/qcap.dll.so
-lib/wine/quartz.dll.so
-lib/wine/rasapi16.dll.so
-lib/wine/rasapi32.dll.so
-lib/wine/regedit.exe.so
-lib/wine/regsvr32.exe.so
-lib/wine/riched20.dll.so
-lib/wine/riched32.dll.so
-lib/wine/rpcrt4.dll.so
-lib/wine/rpcss.exe.so
-lib/wine/rsabase.dll.so
-lib/wine/rsaenh.dll.so
-lib/wine/rundll32.exe.so
-lib/wine/secur32.dll.so
-lib/wine/sensapi.dll.so
-lib/wine/serialui.dll.so
-lib/wine/setupapi.dll.so
-lib/wine/setupx.dll.so
-lib/wine/shdocvw.dll.so
-lib/wine/shell.dll.so
-lib/wine/shell32.dll.so
-lib/wine/shfolder.dll.so
-lib/wine/shlwapi.dll.so
-lib/wine/snmpapi.dll.so
-lib/wine/sound.dll.so
-lib/wine/start.exe.so
-lib/wine/stdole2.tlb.so
-lib/wine/stdole32.tlb.so
-lib/wine/sti.dll.so
-lib/wine/storage.dll.so
-lib/wine/stress.dll.so
-lib/wine/system.drv.so
-lib/wine/tapi32.dll.so
-lib/wine/taskmgr.exe.so
-lib/wine/toolhelp.dll.so
-lib/wine/twain.dll.so
-lib/wine/twain_32.dll.so
-lib/wine/typelib.dll.so
-lib/wine/unicows.dll.so
-lib/wine/uninstaller.exe.so
-lib/wine/url.dll.so
-lib/wine/urlmon.dll.so
-lib/wine/user.exe.so
-lib/wine/user32.dll.so
-lib/wine/usp10.dll.so
-lib/wine/uxtheme.dll.so
-lib/wine/vdhcp.vxd.so
-lib/wine/vdmdbg.dll.so
-lib/wine/ver.dll.so
-lib/wine/version.dll.so
-lib/wine/vmm.vxd.so
-lib/wine/vnbt.vxd.so
-lib/wine/vnetbios.vxd.so
-lib/wine/vtdapi.vxd.so
-lib/wine/vwin32.vxd.so
-lib/wine/w32skrnl.dll.so
-lib/wine/w32sys.dll.so
-lib/wine/wcmd.exe.so
-lib/wine/win32s16.dll.so
-lib/wine/win87em.dll.so
-lib/wine/winaspi.dll.so
-lib/wine/windebug.dll.so
-lib/wine/winealsa.drv.so
-lib/wine/winearts.drv.so
-lib/wine/wineaudioio.drv.so
-lib/wine/wineboot.exe.so
-lib/wine/winebrowser.exe.so
-lib/wine/winecfg.exe.so
-lib/wine/wineconsole.exe.so
-lib/wine/wined3d.dll.so
-lib/wine/winedbg.exe.so
-lib/wine/winedos.dll.so
-lib/wine/wineesd.drv.so
-lib/wine/winefile.exe.so
-lib/wine/winejack.drv.so
-lib/wine/winemenubuilder.exe.so
-lib/wine/winemine.exe.so
-lib/wine/winemp3.acm.so
-lib/wine/winenas.drv.so
-lib/wine/wineoss.drv.so
-lib/wine/winepath.exe.so
-lib/wine/wineps.drv.so
-lib/wine/wineps16.drv.so
-lib/wine/winetest.exe.so
-lib/wine/winetty.drv.so
-lib/wine/winevdm.exe.so
-lib/wine/winex11.drv.so
-lib/wine/wing.dll.so
-lib/wine/winhelp.exe.so
-lib/wine/wininet.dll.so
-lib/wine/winmm.dll.so
-lib/wine/winnls.dll.so
-lib/wine/winnls32.dll.so
-lib/wine/winsock.dll.so
-lib/wine/winspool.drv.so
-lib/wine/wintab.dll.so
-lib/wine/wintab32.dll.so
-lib/wine/wintrust.dll.so
-lib/wine/winver.exe.so
-lib/wine/wldap32.dll.so
-lib/wine/wnaspi32.dll.so
-lib/wine/wow32.dll.so
-lib/wine/wprocs.dll.so
-lib/wine/ws2_32.dll.so
-lib/wine/wsock32.dll.so
-lib/wine/wtsapi32.dll.so
-man/man1/widl.1
-man/man1/wine.1
-man/man1/winebuild.1
-man/man1/winedbg.1
-man/man1/winedump.1
-man/man1/wineg++.1
-man/man1/winegcc.1
-man/man1/winemaker.1
-man/man1/wineserver.1
-man/man1/wmc.1
-man/man1/wrc.1
-share/aclocal/wine.m4
-share/applications/wine.desktop
-share/fonts/wine/coue1255.fon
-share/fonts/wine/coue1256.fon
-share/fonts/wine/coue1257.fon
-share/fonts/wine/coure.fon
-share/fonts/wine/couree.fon
-share/fonts/wine/coureg.fon
-share/fonts/wine/courer.fon
-share/fonts/wine/couret.fon
-share/fonts/wine/cvgasys.fon
-share/fonts/wine/hvgasys.fon
-share/fonts/wine/jvgasys.fon
-share/fonts/wine/marlett.ttf
-share/fonts/wine/ssee1255.fon
-share/fonts/wine/ssee1256.fon
-share/fonts/wine/ssee1257.fon
-share/fonts/wine/ssee874.fon
-share/fonts/wine/sserife.fon
-share/fonts/wine/sserifee.fon
-share/fonts/wine/sserifeg.fon
-share/fonts/wine/sserifer.fon
-share/fonts/wine/sserifet.fon
-share/fonts/wine/svgasys.fon
-share/fonts/wine/vgas1255.fon
-share/fonts/wine/vgas1256.fon
-share/fonts/wine/vgas1257.fon
-share/fonts/wine/vgas874.fon
-share/fonts/wine/vgasys.fon
-share/fonts/wine/vgasyse.fon
-share/fonts/wine/vgasysg.fon
-share/fonts/wine/vgasysr.fon
-share/fonts/wine/vgasyst.fon
-share/wine/generic.ppd
-share/wine/wine.inf
-@dirrm share/wine
-@dirrm share/fonts/wine
-@dirrm lib/wine
-@dirrm include/wine/windows/ddk
-@dirrm include/wine/windows
-@dirrm include/wine/msvcrt/sys
-@dirrm include/wine/msvcrt
-@dirrm include/wine
diff --git a/emulators/wine/buildlink3.mk b/emulators/wine/buildlink3.mk
deleted file mode 100644
index cfd63100b55..00000000000
--- a/emulators/wine/buildlink3.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/10/03 00:14:41 tv Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-WINE_BUILDLINK3_MK:= ${WINE_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= wine
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwine}
-BUILDLINK_PACKAGES+= wine
-
-.if !empty(WINE_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.wine+= wine>=20040309
-BUILDLINK_RECOMMENDED.wine+= wine>=20040505nb1
-BUILDLINK_PKGSRCDIR.wine?= ../../emulators/wine
-.endif # WINE_BUILDLINK3_MK
-
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
-.include "../../graphics/glut/buildlink3.mk"
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/libungif/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo
deleted file mode 100644
index f77d5b10aa3..00000000000
--- a/emulators/wine/distinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.38 2005/10/26 08:32:59 adam Exp $
-
-SHA1 (wine-0.9.tar.bz2) = d29921bc9d1f3dd3342fb35a8b62de31efa51802
-RMD160 (wine-0.9.tar.bz2) = cd330cd0d8bd7010874d7dfd2784611c1d719780
-Size (wine-0.9.tar.bz2) = 10036834 bytes
-SHA1 (patch-aa) = 731b1a861597cd9ca9a772bf3dec8d2e891f6282
-SHA1 (patch-ab) = 66c1f1ec98674d15c7a72e8ac16105c28aa25e91
-SHA1 (patch-ac) = 422df60c75a3dca01f969eb3a6727822d4b6defa
-SHA1 (patch-ad) = 92abc177dc37ed983ec6079cd08ad7a1472e178a
-SHA1 (patch-ae) = dbd40183fb8e1f1d7af9ab4e51910a2227524e3c
-SHA1 (patch-af) = eb852f31e451db81692a25fadf81b7e20f2c4d9b
-SHA1 (patch-ag) = 656f9667da542489595d1db65c84579b3dfce279
-SHA1 (patch-ah) = f6df19bd14ea8760933ca3787d55b6699897b8db
diff --git a/emulators/wine/options.mk b/emulators/wine/options.mk
deleted file mode 100644
index 90d56bfb671..00000000000
--- a/emulators/wine/options.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2005/10/17 14:09:12 adam Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.wine
-PKG_SUPPORTED_OPTIONS= arts cups sane
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Marts)
-.include "../../audio/arts/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mcups)
-.include "../../print/cups/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Msane)
-.include "../../graphics/sane-backends/buildlink3.mk"
-.endif
diff --git a/emulators/wine/patches/patch-aa b/emulators/wine/patches/patch-aa
deleted file mode 100644
index bea9ca23726..00000000000
--- a/emulators/wine/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.18 2005/10/10 08:32:23 adam Exp $
-
---- Make.rules.in.orig 2005-09-28 18:34:01.000000000 +0000
-+++ Make.rules.in
-@@ -109,7 +109,7 @@ conf_manext = 5
- CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
- *.flc *.tab.c *.tab.h @LEX_OUTPUT_ROOT@.c core
-
--OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)
-+OBJS = $(EXTRA_OBJS) $(C_SRCS:.c=.o)
-
- RCOBJS = $(RC_SRCS:.rc=.res.o)
- LINTS = $(C_SRCS:.c=.ln)
diff --git a/emulators/wine/patches/patch-ab b/emulators/wine/patches/patch-ab
deleted file mode 100644
index 5c41b4dac04..00000000000
--- a/emulators/wine/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.19 2005/07/26 13:24:36 adam Exp $
-
---- dlls/ntdll/cdrom.c.orig 2005-07-20 10:28:27.000000000 +0000
-+++ dlls/ntdll/cdrom.c
-@@ -64,6 +64,16 @@
- #endif
- #ifdef HAVE_LINUX_CDROM_H
- # include <linux/cdrom.h>
-+#else
-+# ifndef CD_FRAMES
-+# define CD_FRAMES 75
-+# endif
-+# ifndef CDROM_MSF
-+# define CDROM_MSF 0x02
-+# endif
-+# ifndef CD_SECS
-+# define CD_SECS 60
-+# endif
- #endif
- #ifdef HAVE_LINUX_UCDROM_H
- # include <linux/ucdrom.h>
diff --git a/emulators/wine/patches/patch-ac b/emulators/wine/patches/patch-ac
deleted file mode 100644
index e55102bce2b..00000000000
--- a/emulators/wine/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.21 2005/10/10 08:32:23 adam Exp $
-
---- configure.orig 2005-09-30 12:02:39.000000000 +0000
-+++ configure
-@@ -16049,7 +16049,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-- wine_cv_linux_gethostbyname_r_6=yes
-+ wine_cv_linux_gethostbyname_r_6=no
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-@@ -17951,7 +17951,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-- ac_cv_member_siginfo_t_si_fd=yes
-+ ac_cv_member_siginfo_t_si_fd=no
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
diff --git a/emulators/wine/patches/patch-ad b/emulators/wine/patches/patch-ad
deleted file mode 100644
index 23bd41e66ee..00000000000
--- a/emulators/wine/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.7 2005/01/14 13:00:05 adam Exp $
-
---- dlls/iphlpapi/ifenum.c.orig 2004-12-23 18:41:05.000000000 +0000
-+++ dlls/iphlpapi/ifenum.c
-@@ -55,6 +55,7 @@
- #endif
-
- #include <sys/types.h>
-+#include <sys/param.h>
-
- #ifdef HAVE_SYS_SOCKET_H
- #include <sys/socket.h>
diff --git a/emulators/wine/patches/patch-ae b/emulators/wine/patches/patch-ae
deleted file mode 100644
index 8e7676fb541..00000000000
--- a/emulators/wine/patches/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.11 2005/05/25 08:23:43 adam Exp $
-
---- programs/winetest/winetest.rc.orig 2005-04-18 09:54:24.000000000 +0000
-+++ programs/winetest/winetest.rc
-@@ -21,7 +21,6 @@
- #include <windows.h>
- #include <winres.h>
- #include "resource.h"
--#include "tests.rc"
-
- IDD_TAG DIALOG 0, 0, 150, 65
- STYLE WS_POPUP
diff --git a/emulators/wine/patches/patch-af b/emulators/wine/patches/patch-af
deleted file mode 100644
index 0fac23fac73..00000000000
--- a/emulators/wine/patches/patch-af
+++ /dev/null
@@ -1,55 +0,0 @@
-$NetBSD: patch-af,v 1.14 2005/10/10 08:32:23 adam Exp $
-
---- dlls/ntdll/signal_i386.c.orig 2005-09-27 09:36:15.000000000 +0000
-+++ dlls/ntdll/signal_i386.c
-@@ -204,7 +204,7 @@ typedef struct trapframe SIGCONTEXT;
-
- #endif /* bsdi */
-
--#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
-+#if (defined(__NetBSD__) && (__NetBSD_Version__ < 200000000)) || defined(__FreeBSD__) || defined(__OpenBSD__)
-
- typedef struct sigcontext SIGCONTEXT;
-
-@@ -325,7 +325,40 @@ typedef ucontext_t SIGCONTEXT;
-
- #endif /* __APPLE__ */
-
--#if defined(linux) || defined(__NetBSD__) || defined(__FreeBSD__) ||\
-+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200000000)
-+# include <sys/ucontext.h>
-+# include <sys/types.h>
-+# include <signal.h>
-+
-+typedef struct __ucontext SIGCONTEXT;
-+
-+#define HANDLER_DEF(name) void name( int __signal, int code, SIGCONTEXT *__context )
-+#define HANDLER_CONTEXT __context
-+
-+#define EAX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EAX])
-+#define EBX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EBX])
-+#define ECX_sig(context) ((context)->uc_mcontext.__gregs[_REG_ECX])
-+#define EDX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EDX])
-+#define ESI_sig(context) ((context)->uc_mcontext.__gregs[_REG_ESI])
-+#define EDI_sig(context) ((context)->uc_mcontext.__gregs[_REG_EDI])
-+#define EBP_sig(context) ((context)->uc_mcontext.__gregs[_REG_EBP])
-+
-+#define CS_sig(context) ((context)->uc_mcontext.__gregs[_REG_CS])
-+#define DS_sig(context) ((context)->uc_mcontext.__gregs[_REG_DS])
-+#define ES_sig(context) ((context)->uc_mcontext.__gregs[_REG_ES])
-+#define FS_sig(context) ((context)->uc_mcontext.__gregs[_REG_FS])
-+#define GS_sig(context) ((context)->uc_mcontext.__gregs[_REG_GS])
-+#define SS_sig(context) ((context)->uc_mcontext.__gregs[_REG_SS])
-+
-+#define EFL_sig(context) ((context)->uc_mcontext.__gregs[_REG_EFL])
-+
-+#define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_EIP]))
-+#define ESP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_EIP]))
-+
-+#endif /* NetBSD */
-+
-+
-+#if defined(linux) || (defined(__NetBSD__) && (__NetBSD_Version__ < 200000000)) || defined(__FreeBSD__) ||\
- defined(__OpenBSD__) || defined(__EMX__) || defined(__CYGWIN__)
-
- #define EAX_sig(context) ((context)->sc_eax)
diff --git a/emulators/wine/patches/patch-ag b/emulators/wine/patches/patch-ag
deleted file mode 100644
index 9bf81dbb754..00000000000
--- a/emulators/wine/patches/patch-ag
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ag,v 1.5 2005/06/05 06:14:17 minskim Exp $
-
---- dlls/kernel/sync.c.orig 2005-04-24 12:36:34.000000000 -0500
-+++ dlls/kernel/sync.c
-@@ -40,6 +40,9 @@
- #endif
- #include <stdarg.h>
- #include <stdio.h>
-+#ifdef HAVE_MACHINE_LIMITS_H
-+#include <machine/limits.h>
-+#endif
-
- #define NONAMELESSUNION
- #define NONAMELESSSTRUCT
diff --git a/emulators/wine/patches/patch-ah b/emulators/wine/patches/patch-ah
deleted file mode 100644
index fc7429f7e82..00000000000
--- a/emulators/wine/patches/patch-ah
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ah,v 1.7 2005/10/26 08:32:59 adam Exp $
-
---- tools/Makefile.in.orig 2005-10-06 16:10:02.000000000 +0000
-+++ tools/Makefile.in
-@@ -53,16 +53,16 @@ make_ctests$(EXEEXT): make_ctests.o
- $(CC) $(CFLAGS) -o $@ make_ctests.o
-
- fnt2bdf$(EXEEXT): fnt2bdf.o
-- $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ fnt2bdf.o $(LIBPORT)
-
- fnt2fon$(EXEEXT): fnt2fon.o
-- $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ fnt2fon.o $(LIBPORT)
-
- sfnt2fnt$(EXEEXT): sfnt2fnt.o
-- $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
-
- bin2res$(EXEEXT): bin2res.o
-- $(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bin2res.o $(LIBPORT)
-
- wineprefixcreate: wineprefixcreate.in
- sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
diff --git a/emulators/x48/DESCR b/emulators/x48/DESCR
deleted file mode 100644
index eac31089d24..00000000000
--- a/emulators/x48/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-This emulator is capable of providing a faithful replication of the
-HP48. In order to do so, it requires a copy of the ROM software
-from YOUR calculator. In order to avoid breaking copyright laws,
-and upsetting HP, you MUST BE THE PROUD OWNER OF AN HP48 before
-running this program. Of course you can run this program without a
-copy of the ROM software in order to write trivial machine code
-programs but you will not be able to access any of the calculator
-functionality.
diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile
deleted file mode 100644
index 13c53dfdd52..00000000000
--- a/emulators/x48/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:14:41 agc Exp $
-#
-
-DISTNAME= x48_041
-PKGNAME= x48-0.4.1
-CATEGORIES= emulators
-MASTER_SITES= http://home.earthlink.net/~rmmlgetz/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://home.earthlink.net/~rmmlgetz/
-COMMENT= HP48 emulator
-
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-USE_IMAKE= YES
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x48
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x48/romdump
- cd ${WRKSRC}/doc && \
- ${INSTALL_MAN} CARDS.doc INSTALLING ROMDump.doc \
- ${PREFIX}/share/doc/x48
- cd ${WRKSRC}/romdump && \
- ${INSTALL_MAN} README ${PREFIX}/share/doc/x48/romdump && \
- ${INSTALL_DATA} ROMDump ROMDump.s \
- ${PREFIX}/share/doc/x48/romdump
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/x48/PLIST b/emulators/x48/PLIST
deleted file mode 100644
index 3dfdec87862..00000000000
--- a/emulators/x48/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:18 zuntum Exp $
-bin/x48
-bin/dump2rom
-bin/checkrom
-bin/mkcard
-lib/X11/app-defaults/X48
-share/doc/x48/CARDS.doc
-share/doc/x48/INSTALLING
-share/doc/x48/ROMDump.doc
-share/doc/x48/romdump/README
-share/doc/x48/romdump/ROMDump
-share/doc/x48/romdump/ROMDump.s
-@dirrm share/doc/x48/romdump
-@dirrm share/doc/x48
diff --git a/emulators/x48/distinfo b/emulators/x48/distinfo
deleted file mode 100644
index 3ac7a5a8b4c..00000000000
--- a/emulators/x48/distinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (x48_041.tar.gz) = 7b166ab4a7570b0617a0d8d01d0938b6ae372ab6
-RMD160 (x48_041.tar.gz) = e41b32bd2b38c4163e4a1aae0776048b0c372637
-Size (x48_041.tar.gz) = 193864 bytes
-SHA1 (patch-aa) = 75af6f30b4e43d09212a50972957655f5bb4c837
-SHA1 (patch-ab) = 8053d3173be2b68f7ddb18b4bdebfe384f0336e2
-SHA1 (patch-ac) = ee5784614db4bf00c047e819aaa0f272d3bf9bce
-SHA1 (patch-ad) = c1f98b7672fe96ab8e203081dfedd6cf96075cfa
-SHA1 (patch-ae) = ba5a6be04dc16182fadd19977cdc359891c5138c
-SHA1 (patch-af) = 60adc15ae8c20528892cbcaa029a3dd206a7edca
diff --git a/emulators/x48/patches/patch-aa b/emulators/x48/patches/patch-aa
deleted file mode 100644
index 729ba0830f9..00000000000
--- a/emulators/x48/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- config.h.orig Sun Feb 4 18:30:34 2001
-+++ config.h
-@@ -29,7 +29,7 @@
- /*
- * Which OS are you on?
- */
--#define UNIX_DEF -DLINUX
-+/* #define UNIX_DEF -DLINUX */
- /* #define UNIX_DEF -DSOLARIS */
- /* #define UNIX_DEF -DSUNOS */
- /* #define UNIX_DEF -DIRIX */
-@@ -56,7 +56,7 @@
- /*
- * Which Compiler to use:
- */
--#define CC_DEF gcc
-+/* #define CC_DEF gcc */
-
- /*
- * Which Optimization Flags:
diff --git a/emulators/x48/patches/patch-ab b/emulators/x48/patches/patch-ab
deleted file mode 100644
index d6a1fe01a70..00000000000
--- a/emulators/x48/patches/patch-ab
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- src/Imakefile.orig Sun Feb 4 18:31:52 2001
-+++ src/Imakefile
-@@ -60,7 +60,7 @@
- LDOPTIONS = LDOPTIONS_DEF
- #endif
-
-- DEFINES = -I/usr/openwin/include UNIX_DEF XSHM_DEF READLINE_DEF
-+ DEFINES = UNIX_DEF XSHM_DEF READLINE_DEF
- HDRS = annunc.h append.h buttons.h constants.h debugger.h \
- device.h disasm.h errors.h global.h hp.h hp48.h \
- hp48_emu.h hp48char.h icon.h mmu.h options.h resources.h \
-@@ -87,9 +87,9 @@
- CO = co -l
- TARFILES = Imakefile X48.ad $(TARS1) $(SRCS2) $(SRCS3) $(SRCS4) $(HDRS)
-
--all:: $(BIN)/x48 $(BIN)/dump2rom $(BIN)/checkrom $(BIN)/mkcard
-+all:: x48 dump2rom checkrom mkcard
-
-- PROGRAMS = $(BIN)/x48 $(BIN)/dump2rom $(BIN)/checkrom $(BIN)/mkcard
-+ PROGRAMS = x48 dump2rom checkrom mkcard
-
- depend:: version.c X48.ad.h
-
-@@ -102,16 +102,20 @@
- RemoveTargetProgram($@) @@\
- $(CC) -o $@ $(LDOPTIONS) $(OBJS4) locallib $(LDLIBS) syslib $(EXTRA_LOAD_FLAGS) @@\
- @@\
--SaberProgramTarget(program,$(SRCS4),$(OBJS4),locallib,syslib) @@\
- @@\
- InstallProgram(program,$(BINDIR)) @@\
- InstallManPage(program,$(MANDIR))
- #endif /* ComplexProgramTarget_4 */
-
--ComplexProgramTarget_1($(BIN)/x48, $(X48LIBS),)
--ComplexProgramTarget_2($(BIN)/dump2rom,,)
--ComplexProgramTarget_3($(BIN)/checkrom,,)
--ComplexProgramTarget_4($(BIN)/mkcard,,)
-+NormalProgramTarget(x48, $(OBJS1),, $(X48LIBS),)
-+NormalProgramTarget(dump2rom, $(OBJS2),,,)
-+NormalProgramTarget(checkrom, $(OBJS3),,,)
-+NormalProgramTarget(mkcard, $(OBJS4),,,)
-+
-+InstallProgram(x48, $(BINDIR))
-+InstallProgram(dump2rom, $(BINDIR))
-+InstallProgram(checkrom, $(BINDIR))
-+InstallProgram(mkcard, $(BINDIR))
-
- InstallAppDefaults(X48)
-
diff --git a/emulators/x48/patches/patch-ac b/emulators/x48/patches/patch-ac
deleted file mode 100644
index af6129bfa72..00000000000
--- a/emulators/x48/patches/patch-ac
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- src/init.c.orig Sun Feb 4 18:32:22 2001
-+++ src/init.c
-@@ -1204,13 +1204,15 @@
- struct stat st;
- FILE *fp;
-
-- fprintf(stderr, "testing: Getting home dir\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: Getting home dir\n");
- get_home_directory(path);
- strcat(path, "/");
-
- saturn.rom = (word_4 *)NULL;
-
-- fprintf(stderr, "testing: Reading ROM files\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: Reading ROM files\n");
- strcpy(fnam, path);
- strcat(fnam, "rom");
- if (!read_rom_file(fnam, &saturn.rom, &rom_size))
-@@ -1367,7 +1369,8 @@
- exit (1);
- }
-
-- fprintf(stderr, "testing: Reading RAM file\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: Reading RAM file\n");
-
- strcpy(fnam, path);
- strcat(fnam, "ram");
-@@ -1466,11 +1469,13 @@
- saturn.card_status |= port2_is_ram ? 8 : 0;
- }
-
-+#ifdef notyet
- fprintf(stderr, "testing: Reading Enteries file\n");
- strcpy(fnam, path);
- strcat(fnam, "entries.o");
- if (!read_entries_file(fnam, &saturn.entries))
- return 0;
-+#endif
-
-
- return 1;
-@@ -1841,7 +1846,8 @@
- {
- if (!initialize)
- {
-- fprintf(stderr, "testing: Read Files\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: Read Files\n");
- if (read_files())
- {
- if (resetOnStartup)
diff --git a/emulators/x48/patches/patch-ad b/emulators/x48/patches/patch-ad
deleted file mode 100644
index 5e2431dd25f..00000000000
--- a/emulators/x48/patches/patch-ad
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- src/main.c.orig Sun Feb 4 18:32:37 2001
-+++ src/main.c
-@@ -70,6 +70,7 @@
- #include "x48_x11.h"
- #include "hp48.h"
- #include "debugger.h"
-+#include "resources.h"
-
- char *progname;
- char *res_name;
-@@ -169,7 +170,15 @@
- /*
- * Open up the display
- */
-- fprintf(stderr, "testing1\n");
-+#ifdef noyet
-+ /*
-+ * XXX options are not parsed yet so quiet is still 0. The
-+ * parsing of options is done by the X11 specific code in
-+ * InitDisplay.
-+ */
-+ if (!quiet)
-+ fprintf(stderr, "testing: InitDisplay\n");
-+#endif
- if (InitDisplay(argc, argv) < 0) {
- exit (1);
- }
-@@ -177,9 +186,11 @@
- /*
- * initialize emulator stuff
- */
-- fprintf(stderr, "testing1\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: init_emulator\n");
- init_emulator();
-- fprintf(stderr, "testing2\n");
-+ if (!quiet)
-+ fprintf(stderr, "testing: init_emulator done\n");
-
-
- /*
diff --git a/emulators/x48/patches/patch-ae b/emulators/x48/patches/patch-ae
deleted file mode 100644
index eda2f9c257d..00000000000
--- a/emulators/x48/patches/patch-ae
+++ /dev/null
@@ -1,193 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- src/serial.c.orig Sun Feb 4 18:32:56 2001
-+++ src/serial.c
-@@ -69,7 +69,7 @@
- #include <fcntl.h>
- #include <errno.h>
- #include <sys/time.h>
--#if defined(LINUX) || defined(HPUX)
-+#if defined(LINUX) || defined(HPUX) || defined(CSRG_BASED)
- #include <sys/ioctl.h>
- #endif
- #include <unistd.h>
-@@ -77,6 +77,8 @@
- #ifdef SOLARIS
- #include <sys/stream.h>
- #include <sys/stropts.h>
-+#endif
-+#if defined(SOLARIS) || defined(CSRG_BASED)
- #include <sys/termios.h>
- #endif
-
-@@ -129,6 +131,9 @@
- #else
- int c;
- #endif
-+#if defined(CSRG_BASED)
-+ char *ptr1, *ptr2;
-+#endif
- int n;
- char tty_dev_name[128];
- struct termios ttybuf;
-@@ -200,6 +205,51 @@
- }
- while ((wire_fd < 0) && (errno != ENOENT));
- #else /* LINUX */
-+#if defined(CSRG_BASED)
-+ c = c; /* XXX gcc */
-+/* This is how Stevens does it in:
-+ * Advanced programming in the UNIX environment
-+ */
-+ strcpy(tty_dev_name, "/dev/ptyXY");
-+ /* array index: 0123456789 (for references in following code) */
-+ for (ptr1 = "pqrstuvwxyzPQRST"; *ptr1 != 0; ptr1++)
-+ {
-+ tty_dev_name[8] = *ptr1;
-+ for (ptr2 = "0123456789abcdef"; *ptr2 != 0; ptr2++)
-+ {
-+ tty_dev_name[9] = *ptr2;
-+
-+ /* try open the master */
-+ if ((wire_fd = open(tty_dev_name, O_RDWR, 0666)) < 0)
-+ {
-+ if (errno == ENOENT)
-+ {
-+ wire_fd = -1; /* out of pty devices */
-+ ttyp = -1;
-+ goto break_for_pty;
-+ }
-+ else
-+ continue; /* try next pty device */
-+ }
-+
-+ tty_dev_name[5] = 't'; /* change pty to tty */
-+ if ((ttyp = open(tty_dev_name, O_RDWR, 0666)) < 0)
-+ {
-+ printf("open tty: %s failed: %s, trying with another\n",
-+ tty_dev_name, strerror(errno));
-+ close(wire_fd);
-+ wire_fd = -1;
-+ ttyp = -1;
-+ continue;
-+ }
-+ if (verbose)
-+ printf("%s: wire connection on %s\n", progname, tty_dev_name);
-+ wire_name = strdup(tty_dev_name);
-+ goto break_for_pty;
-+ }
-+ }
-+break_for_pty:
-+#else
- /*
- * Here we go for SUNOS, HPUX
- */
-@@ -231,6 +281,7 @@
- c++;
- }
- while ((wire_fd < 0) && (errno != ENOENT));
-+#endif /* CSRG_BASED */
- #endif /* LINUX */
- #endif /* SOLARIS */
- #endif /* IRIX */
-@@ -238,7 +289,7 @@
-
- if (ttyp >= 0)
- {
--#if defined(SUNOS) || defined(HPUX)
-+#if defined(SUNOS) || defined(HPUX) || defined(CSRG_BASED)
- if (tcgetattr(ttyp, &ttybuf) < 0)
- #else
- if (ioctl(ttyp, TCGETS, (char *)&ttybuf) < 0)
-@@ -263,7 +314,7 @@
-
- if (ttyp >= 0)
- {
--#if defined(SUNOS) || defined (HPUX)
-+#if defined(SUNOS) || defined (HPUX) || defined(CSRG_BASED)
- if (tcsetattr(ttyp, TCSANOW, &ttybuf) < 0)
- #else
- if (ioctl(ttyp, TCSETS, (char *)&ttybuf) < 0)
-@@ -291,7 +342,7 @@
-
- if (ir_fd >= 0)
- {
--#if defined(SUNOS) || defined (HPUX)
-+#if defined(SUNOS) || defined (HPUX) || defined(CSRG_BASED)
- if (tcgetattr(ir_fd, &ttybuf) < 0)
- #else
- if (ioctl(ir_fd, TCGETS, (char *)&ttybuf) < 0)
-@@ -315,7 +366,7 @@
-
- if (ir_fd >= 0)
- {
--#if defined(SUNOS) || defined(HPUX)
-+#if defined(SUNOS) || defined(HPUX) || defined(CSRG_BASED)
- if (tcsetattr(ir_fd, TCSANOW, &ttybuf) < 0)
- #else
- if (ioctl(ir_fd, TCSETS, (char *)&ttybuf) < 0)
-@@ -344,7 +395,7 @@
-
- if (ir_fd >= 0)
- {
--#if defined(SUNOS) || defined (HPUX)
-+#if defined(SUNOS) || defined (HPUX) || defined(CSRG_BASED)
- if (tcgetattr(ir_fd, &ttybuf) < 0)
- #else
- if (ioctl(ir_fd, TCGETS, (char *)&ttybuf) < 0)
-@@ -358,6 +409,10 @@
- }
- }
-
-+#if defined(CSRG_BASED)
-+ cfsetspeed(&ttybuf, baud);
-+#else
-+
- ttybuf.c_cflag &= ~CBAUD;
-
- baud &= 0x7;
-@@ -404,9 +459,11 @@
- ttybuf.c_cflag |= B9600;
- }
-
-+#endif /* CSRG_BASED */
-+
- if (ir_fd >= 0)
- {
--#if defined(SUNOS) || defined(HPUX)
-+#if defined(SUNOS) || defined(HPUX) || defined(CSRG_BASED)
- if (tcsetattr(ir_fd, TCSANOW, &ttybuf) < 0)
- #else
- if (ioctl(ir_fd, TCSETS, (char *)&ttybuf) < 0)
-@@ -422,7 +479,7 @@
-
- if (ttyp >= 0)
- {
--#if defined(SUNOS) || defined(HPUX)
-+#if defined(SUNOS) || defined(HPUX) || defined(CSRG_BASED)
- if (tcgetattr(ttyp, &ttybuf) < 0)
- #else
- if (ioctl(ttyp, TCGETS, (char *)&ttybuf) < 0)
-@@ -437,6 +494,9 @@
- }
- }
-
-+#if defined(CSRG_BASED)
-+ cfsetspeed(&ttybuf, baud);
-+#else
- ttybuf.c_cflag &= ~CBAUD;
-
- baud &= 0x7;
-@@ -482,10 +542,11 @@
- fprintf(stderr, "%s: can\'t set baud rate, using 9600\n", progname);
- ttybuf.c_cflag |= B9600;
- }
-+#endif
-
- if (ttyp >= 0)
- {
--#if defined(SUNOS) || defined(HPUX)
-+#if defined(SUNOS) || defined(HPUX) || defined(CSRG_BASED)
- if (tcsetattr(ttyp, TCSANOW, &ttybuf) < 0)
- #else
- if (ioctl(ttyp, TCSETS, (char *)&ttybuf) < 0)
diff --git a/emulators/x48/patches/patch-af b/emulators/x48/patches/patch-af
deleted file mode 100644
index b28d105db26..00000000000
--- a/emulators/x48/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
-
---- src/x48_x11.c.orig Sun Feb 4 18:33:36 2001
-+++ src/x48_x11.c
-@@ -3605,6 +3605,8 @@
- break;
- case XK_Alt_L:
- case XK_Alt_R:
-+ case XK_Meta_L:
-+ case XK_Meta_R:
- key_event(BUTTON_ALPHA, xev);
- wake = 1;
- break;
diff --git a/emulators/xbeeb/DESCR b/emulators/xbeeb/DESCR
deleted file mode 100644
index 1f8a58c8d70..00000000000
--- a/emulators/xbeeb/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-Xbeeb is an Acorn BBC Micro emulator with an X based interface.
-
-The emulation is good enough to run many games. Xbeeb includes a filesystem
-interface for native filesystem access.
-
-To run the emulator you must have ROM images from the original machines.
diff --git a/emulators/xbeeb/MESSAGE b/emulators/xbeeb/MESSAGE
deleted file mode 100644
index 51bac34a622..00000000000
--- a/emulators/xbeeb/MESSAGE
+++ /dev/null
@@ -1,40 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2003/05/06 17:41:11 jmmv Exp $
-
-You must copy the BBC "BASIC2" ROM image to
-
- ${PREFIX}/${XBEEBROOT}/roms/BASIC2.rom
-
-and the BBC "OS1.2" ROM image to
-
- ${PREFIX}/${XBEEBROOT}/roms/OS1.2.rom
-
-You also need to ensure that your X session can access the fonts
-needed. This can be done with:
-
- $ xset fp+ ${PREFIX}/lib/X11/fonts/xbeeb
-
-To make the effect permanent for future X sessions, you can do this by
-editing certain files in your X installation.
-
-For example if you are only using the "startx" command to start a local
-X session then you would add the above command to your ~/.xinitrc
-script.
-
-If you're running a local X server from xdm then you would need to set
-the complete set of font directories in the xdm/Xservers file with the
-'-fp' option common to all X servers.
-
-If you are using the X font server (xfs) then you would add the
-intlfonts install directory to the xfs/config file in the comma
-separated list of directories given for the "catalogue" setting.
-For example:
-
- catalogue = ${PREFIX}/lib/X11/fonts/misc/,
- ${PREFIX}/lib/X11/fonts/Speedo/,
- ${PREFIX}/lib/X11/fonts/Type1/,
- ${PREFIX}/lib/X11/fonts/100dpi/,
- ${PREFIX}/lib/X11/fonts/75dpi/,
- ${PREFIX}/lib/X11/fonts/xbeeb/
-
-===========================================================================
diff --git a/emulators/xbeeb/Makefile b/emulators/xbeeb/Makefile
deleted file mode 100644
index ccab5fd6617..00000000000
--- a/emulators/xbeeb/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2005/06/16 06:57:51 jlam Exp $
-#
-
-DISTNAME= xbeeb-0.3.6
-CATEGORIES= emulators x11
-MASTER_SITES= ftp://ftp.netcom.net.uk/pub/Micros/BBC/Emulators/Xbeeb/
-# for 0.4.1
-#MASTER_SITES= http://www.getafile.com/cgi-bin/merlot/get/james/xbeeb/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= skrll@NetBSD.org
-HOMEPAGE= http://www.cloud9.co.uk/james/BBCMicro/Xbeeb/
-COMMENT= Acorn BBC Micro emulator with an X based interface
-
-WRKSRC= ${WRKDIR}/xbeeb
-USE_IMAKE= yes
-MAN_PAGE= ${WRKDIR}/xbeeb.1
-
-XBEEBROOT= share/xbeeb
-MESSAGE_SUBST+= XBEEBROOT=${XBEEBROOT}
-PLIST_SUBST+= XBEEBROOT=${XBEEBROOT}
-
-INSTALLATION_DIRS= bin man/man1
-
-# xbeeb build starts in the source directory
-do-configure:
- cd ${WRKSRC}/src && ${XMKMF}
-
-post-patch:
- (cd ${WRKSRC}/src && \
- ${MV} Config.h Config.h.dist && \
- ${SED} 's+^\(#define[ ]*XBEEBROOT[ ]*\)[^ ].*$$+\1"${PREFIX}/${XBEEBROOT}/"+' Config.h.dist > Config.h)
- ${SED} -e 's+@XBEEBROOT@+${XBEEBROOT}+g' \
- -e 's+@PREFIX@+${PREFIX}+g' \
- ${FILESDIR}/xbeeb.1 > ${MAN_PAGE}
-
-do-build:
- (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} xbeeb)
- (cd ${WRKSRC}/fonts && \
- for i in *.bdf ; \
- do \
- bdftopcf $$i -o `${BASENAME} $$i .bdf`.pcf ; \
- done)
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/xbeeb ${PREFIX}/bin/xbeeb
- ${INSTALL_MAN} ${MAN_PAGE} ${PREFIX}/man/man1/xbeeb.1
- ${INSTALL_DATA_DIR} ${PREFIX}/${XBEEBROOT}
- ${INSTALL_DATA_DIR} ${PREFIX}/${XBEEBROOT}/roms
- ${INSTALL_DATA_DIR} ${PREFIX}/${XBEEBROOT}/docs
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/xbeeb
- ${INSTALL_DATA} ${WRKSRC}/roms/xdfs0.70.rom ${PREFIX}/${XBEEBROOT}/roms/xdfs0.70.rom
- for docfile in ${WRKSRC}/doc/*; do \
- ${INSTALL_DATA} $$docfile ${PREFIX}/${XBEEBROOT}/docs; \
- done
- ${CP} ${WRKSRC}/fonts/*.pcf ${PREFIX}/lib/X11/fonts/xbeeb
- mkfontdir ${PREFIX}/lib/X11/fonts/xbeeb
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xbeeb/PLIST b/emulators/xbeeb/PLIST
deleted file mode 100644
index a486087dd3b..00000000000
--- a/emulators/xbeeb/PLIST
+++ /dev/null
@@ -1,33 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:20 zuntum Exp $
-bin/xbeeb
-lib/X11/fonts/xbeeb/ttext-grc-ldh.pcf
-lib/X11/fonts/xbeeb/ttext-std-udh.pcf
-lib/X11/fonts/xbeeb/ttext-std-ldh.pcf
-lib/X11/fonts/xbeeb/ttext-grs.pcf
-lib/X11/fonts/xbeeb/ttext-grs-udh.pcf
-lib/X11/fonts/xbeeb/ttext-grs-ldh.pcf
-lib/X11/fonts/xbeeb/ttext-grc.pcf
-lib/X11/fonts/xbeeb/ttext-grc-udh.pcf
-lib/X11/fonts/xbeeb/ttext-std.pcf
-lib/X11/fonts/xbeeb/fonts.dir
-man/man1/xbeeb.1
-${XBEEBROOT}/roms/xdfs0.70.rom
-${XBEEBROOT}/docs/64doc
-${XBEEBROOT}/docs/Configuration
-${XBEEBROOT}/docs/DataXfer
-${XBEEBROOT}/docs/DiskEmulation
-${XBEEBROOT}/docs/Help
-${XBEEBROOT}/docs/Installation
-${XBEEBROOT}/docs/Keyboard
-${XBEEBROOT}/docs/KnownBugs
-${XBEEBROOT}/docs/MailingLists
-${XBEEBROOT}/docs/Options
-${XBEEBROOT}/docs/RomPatches
-${XBEEBROOT}/docs/SnapshotFormat
-${XBEEBROOT}/docs/Thanks
-${XBEEBROOT}/docs/WWWSites
-${XBEEBROOT}/docs/WorkingSoftware
-@dirrm lib/X11/fonts/xbeeb
-@dirrm ${XBEEBROOT}/docs
-@dirrm ${XBEEBROOT}/roms
-@dirrm ${XBEEBROOT}
diff --git a/emulators/xbeeb/distinfo b/emulators/xbeeb/distinfo
deleted file mode 100644
index 998b8df8905..00000000000
--- a/emulators/xbeeb/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (xbeeb-0.3.6.tgz) = 233f9a3bacfdcb4b6e17ee8e22c712a1c05983d6
-RMD160 (xbeeb-0.3.6.tgz) = 8dfe86613f1e678ad257134c4fdf3d17a0e0a378
-Size (xbeeb-0.3.6.tgz) = 270231 bytes
-SHA1 (patch-aa) = 68b91908397147aecf1e1644f597802d6380aa96
-SHA1 (patch-ab) = 96ad3aa048ed224757ca51e0abe43baeaaceacdb
-SHA1 (patch-ac) = 72622acf9671ac0f72bd9b8271fc17f25d3655f1
-SHA1 (patch-ad) = 120be917d8b0ffa83c537e7a4b9a86f354e46886
diff --git a/emulators/xbeeb/files/xbeeb.1 b/emulators/xbeeb/files/xbeeb.1
deleted file mode 100644
index a5baea47a16..00000000000
--- a/emulators/xbeeb/files/xbeeb.1
+++ /dev/null
@@ -1,209 +0,0 @@
-.\" $NetBSD: xbeeb.1,v 1.3 2004/02/01 00:15:04 snj Exp $
-.\"
-.Dd May 27, 2000
-.Dt XBEEB 1
-.Sh NAME
-.Nm xbeeb
-.Nd Acorn BBC Micro emulator with X interface
-.Sh SYNOPSIS
-.Nm
-.Op Fl ahV?
-.Op Fl o Ar file
-.Oo
-.Fl p Ns Op Ns Ar number
-.Ar file
-.Oc
-.Op Fl w Ar number
-.Op Fl s Ar number
-.Op Fl m Ar mode
-.Op Fl d Ar dir
-.Op Ar file
-.Sh DESCRIPTION
-The
-.Nm
-program is an X11 based emulator of the Acorn BBC
-(British Broadcasting Corporation) Micro. The BBC Micro
-was first produced in the early 1980s by Acorn Computers
-of Cambridge.
-.Pp
-The BBC Micro was based on the 6502 processor with a 16k
-operating system ROM, upto 32k RAM and 15 paged 16k ROMs for
-utilities.
-.Ss Options
-The options are as follows:
-.Bl -tag -width Ds
-.It Fl ?
-Display usage information.
-.It Fl a
-Emulate the Model A only - if available.
-.It Fl d Ar dir
-Use
-.Ar dir
-as the directory for disk emulation.
-.It Fl h
-Display usage information.
-.It Fl m Ar mode
-Start in display mode
-.Ar mode .
-.It Fl o Ar file
-Load the
-.Ar file
-as the Operating System image, i.e. at address 0xc000.
-.It Xo
-.Fl p Ns Op Ns Ar number
-.Ar file
-.Xc
-Load the ROM image specified by
-.Ar file
-into the paged ROM location specified by
-.Ar number .
-If
-.Ar number
-is not specified the image is loaded into ROM number 15.
-.It Fl s Ar number
-Set the DIP switches to
-.Ar number ,
-where
-.Ar number
-can be specified in octal, decimal or hex. Only the 5
-least significant bits of
-.Ar number
-are used by the emulator.
-.It Fl V
-Display the version information.
-.It Fl w Ar number
-Set the paged ROM slot specified by
-.Ar number
-as writable.
-.It Ar file
-Load the snapshot
-.Ar file
-as the start point of the emulator.
-.El
-.Ss Implementation
-All of the instruction set of a standard 6502 CPU,
-Illegal or undocumented opcodes on the NMOS 6502
-and changes for the CMOS R65C02 and R65C12 are implemented.
-.Pp
-The 6522 VIA implementation is almost complete. The
-emulation of the system VIA is sufficient to provide clock
-interrupts and keyboard handling for the OS.
-.Pp
-The CRTC, Serial ULA and display implementation is
-complete enough to provide a reasonable emulation of the
-display. X11 fonts for all the teletext characters are
-provided.
-.Ss Keyboard
-The keyboard handling is pretty much there, but not
-quite perfect as the Beeb has a somewhat non-standard
-keyboard layout compared with most available today.
-.Pp
-There are a number of keys on the BBC Micro that do not
-work in the same way as a standard PC keyboard. As the
-keycodes depend on your X setting experimentation is
-probably the best way to understanding the mapping. Some
-important keys should be as follows:
-.Pp
-.Bl -bullet -compact
-.It
-Pause is the BREAK key
-.It
-Right Alt is the SHIFT LOCK key
-.It
-F10 is the F0 key
-.It
-End quits the emulator
-.It
-Home creates a snapshot
-.It
-Enter on the keypad changes the directory used for the
-emulated file system
-.El
-.Ss Snapshots
-There is a snapshot format for saving the complete
-machine state.
-.Ss Disk Emulation
-The emulated disk system requires a directory containing a
-set of files present on a given disk, exactly as they
-would appear on a BBC disk. In addition there is a file
-called
-.Qq __CATALOG__
-which contains the name, load and
-execution address, length and sector number for each file
-as it would be displayed by *INFO
-.Pp
-The sectory number is unused in this emulation - it's
-there for the sake of completeness and maybe used in the
-future.
-.Sh FILES
-.Bl -tag -width @PREFIX@/@XBEEBROOT@/roms/xdfs0.70.rom -compact
-.It Pa @PREFIX@/@XBEEBROOT@/roms/OS1.2.rom
-the Operating System rom image
-.It Pa @PREFIX@/@XBEEBROOT@/roms/BASIC2.rom
-the BBC Basic rom image
-.It Pa @PREFIX@/@XBEEBROOT@/roms/xdfs0.70.rom
-the XDFS rom image required for disc emulation
-.El
-.Sh SEE ALSO
-The best site for information about BBC Micro is
-.Pa http://www.nvg.ntnu.no/bbc
-.Sh AUTHORS
-This program was written by James Fidell. This man page was
-put together by Nick Hudson (nick@nthcliff.demon.co.uk)
-.Sh BUGS
-The following are known bugs:
-.Bl -bullet
-.It
-Serial IO, the ADC, Econet, the FRED and JIM
-memory-mapped IO pages, the Tube and User VIA are pretty
-much all ignored.
-.It
-The mark/space ratio for flashing teletext is a guess.
-I haven't a clue what it really is.
-.It
-The emulator possibly only works on pseudo-colour X
-displays. It is untested on any others.
-.It
-The MODE 7 screen emulation flickers because it updates
-the whole screen when it changes, rather than just the
-changed bits. The reason it works this way is
-because of the handling of double height characters -
-the context of each line may change because of a change in
-the line above it.
-.It
-The code for re-initialising the screen when a snapshot
-has been loaded is quite horrid and is probably the
-source of a number of bugs. It needs more thought and
-work.
-.It
-There are numerous places where it is unknown how the
-emulator should handle a given situation. These are
-usually documented in the code, but will cause a fatal
-error if encountered.
-.It
-The cursor isn't implemented for bitmapped modes.
-.It
-Handling of mixed case in filenames is incomplete. If a
-filename is mixed case on the disk, its exact name must
-be used in any command for loading or running it.
-.It
-Although you won't hear anything, the emulator still
-does all that's necessary from the programming point of
-view to make sounds even if you don't have sound support.
-This means that there will be delays in programs that play
-sounds before they continue. The emulator hasn't crashed,
-honest.
-.It
-Handling of hardware-scrolled screens isn't perfect. In
-the efs-demo and xdfs-demo directories there's a program
-called B.DEMO that will usually demonstrate the problem.
-.It
-Changing the Horizontal Sync. register in the
-CRTC isn't implemented but is required for some games.
-.It
-The counter in Hopper is screwy. I did have this
-working at once stage, but I've broken it again.
-.It
-The screen window overlaps the window with the LED
-status in sometimes.
-.El
diff --git a/emulators/xbeeb/patches/patch-aa b/emulators/xbeeb/patches/patch-aa
deleted file mode 100644
index 2ac2c2a3c12..00000000000
--- a/emulators/xbeeb/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/05/22 22:13:12 skrll Exp $
-
---- src/Imakefile Tue Oct 8 13:04:30 1996
-+++ src/Imakefile Sat Apr 29 16:46:01 2000
-@@ -76,7 +76,7 @@
- #
- # SYS_LIBRARIES may need to include -lsocket and -lnsl...
- #
--SYS_LIBRARIES = -lm
-+SYS_LIBRARIES = -lm -lossaudio
-
- #
- # LOCAL_LIBRARIES are the X libraries to link...
diff --git a/emulators/xbeeb/patches/patch-ab b/emulators/xbeeb/patches/patch-ab
deleted file mode 100644
index b4aa7f2e3c9..00000000000
--- a/emulators/xbeeb/patches/patch-ab
+++ /dev/null
@@ -1,123 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/05/22 22:13:12 skrll Exp $
-
---- src/VoxWare.c Fri Oct 11 10:53:13 1996
-+++ src/VoxWare.c Sat Apr 29 18:29:53 2000
-@@ -51,6 +51,7 @@
-
- #include <sys/types.h>
- #include <sys/ioctl.h>
-+#include <sys/midiio.h>
- #include <unistd.h>
-
- #include "Config.h"
-@@ -60,7 +61,73 @@
- #include <math.h>
- #include <stdio.h>
- #include <fcntl.h>
--#include <sys/soundcard.h>
-+#include <soundcard.h>
-+
-+/* Pseudo controllers (not midi compatible) */
-+#define CTRL_PITCH_BENDER 255
-+#define CTRL_PITCH_BENDER_RANGE 254
-+#define CTL_PAN 0x0a
-+
-+/* Linux -> NetBSD */
-+#define EV_CHN_COMMON SEQ_CHN_COMMON
-+#define EV_CHN_VOICE SEQ_CHN_VOICE
-+#define SEQ_CONTROLLER SEQOLD_CONTROLLER
-+#define SEQ_EXTENDED SEQOLD_EXTENDED
-+
-+/* Missing soundcard.h definitions */
-+#define SEQ_PGM_CHANGE(dev, chn, patch) \
-+ _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
-+#define SEQ_SET_PATCH SEQ_PGM_CHANGE
-+
-+#define _CHN_COMMON(dev, event, chn, p1, p2, w14) \
-+ {_SEQ_NEEDBUF(8);\
-+ _seqbuf[_seqbufptr] = EV_CHN_COMMON;\
-+ _seqbuf[_seqbufptr+1] = (dev);\
-+ _seqbuf[_seqbufptr+2] = (event);\
-+ _seqbuf[_seqbufptr+3] = (chn);\
-+ _seqbuf[_seqbufptr+4] = (p1);\
-+ _seqbuf[_seqbufptr+5] = (p2);\
-+ *(short *)&_seqbuf[_seqbufptr+6] = (w14);\
-+ _SEQ_ADVBUF(8);}
-+#define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\
-+ _seqbuf[_seqbufptr] = SEQ_EXTENDED;\
-+ _seqbuf[_seqbufptr+1] = SEQ_CONTROLLER;\
-+ _seqbuf[_seqbufptr+2] = (dev);\
-+ _seqbuf[_seqbufptr+3] = (voice);\
-+ _seqbuf[_seqbufptr+4] = (controller);\
-+ _seqbuf[_seqbufptr+5] = ((value)&0xff);\
-+ _seqbuf[_seqbufptr+6] = ((value>>8)&0xff);\
-+ _seqbuf[_seqbufptr+7] = 0;\
-+ _SEQ_ADVBUF(8);}
-+#define _CHN_VOICE(dev, event, chn, note, parm) \
-+ {_SEQ_NEEDBUF(8);\
-+ _seqbuf[_seqbufptr] = EV_CHN_VOICE;\
-+ _seqbuf[_seqbufptr+1] = (dev);\
-+ _seqbuf[_seqbufptr+2] = (event);\
-+ _seqbuf[_seqbufptr+3] = (chn);\
-+ _seqbuf[_seqbufptr+4] = (note);\
-+ _seqbuf[_seqbufptr+5] = (parm);\
-+ _seqbuf[_seqbufptr+6] = (0);\
-+ _seqbuf[_seqbufptr+7] = 0;\
-+ _SEQ_ADVBUF(8);}
-+
-+#define SEQ_START_NOTE(dev, chn, note, vol) \
-+ _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
-+
-+#define SEQ_STOP_NOTE(dev, chn, note, vol) \
-+ _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
-+
-+#define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
-+#define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
-+#define SEQ_CONTROL(dev, chn, controller, value) \
-+ _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
-+#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
-+#define SEQ_DEFINEBUF(len) unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0
-+#define _SEQ_ADVBUF(len) _seqbufptr += len
-+#define _SEQ_NEEDBUF(len) if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump()
-+#define SEQ_DUMPBUF seqbuf_dump
-+
-+void seqbuf_dump();
-
- #include "VoxWare.h"
-
-@@ -152,7 +219,7 @@
- * check to see if any synth devices are available
- */
-
-- ioctl ( SequencerFD, SNDCTL_SEQ_NRSYNTHS, &NoDevs );
-+ ioctl ( SequencerFD, SEQUENCER_NRSYNTHS, &NoDevs );
- if ( !NoDevs )
- {
- fprintf( stderr, "No synth devices available, disabling sound.\n");
-@@ -170,7 +237,7 @@
- for ( i = 0; i < NoDevs; i++ )
- {
- info.device = i;
-- ioctl ( SequencerFD, SNDCTL_SYNTH_INFO, &info );
-+ ioctl ( SequencerFD, SEQUENCER_INFO, &info );
- if ( info.synth_type == SYNTH_TYPE_FM )
- SynthDevNo = i;
- break;
-@@ -185,7 +252,7 @@
- SoundEnabled = 1;
-
- info.device = SynthDevNo;
-- ioctl ( SequencerFD, SNDCTL_SYNTH_INFO, &info );
-+ ioctl ( SequencerFD, SEQUENCER_INFO, &info );
-
- #ifdef SOUND_DEBUG
- printf ( "Synth device %d info:\n", SynthDevNo );
-@@ -199,7 +266,7 @@
- for ( j = 0; j < 4; j++ )
- {
- Instr.channel = j;
-- Instr.key = FM_PATCH;
-+ Instr.key = SBI_FM_PATCH;
- Instr.device = SynthDevNo;
- for ( i = 0; i < 16; i++ )
- {
diff --git a/emulators/xbeeb/patches/patch-ac b/emulators/xbeeb/patches/patch-ac
deleted file mode 100644
index 2c5f5c0fca7..00000000000
--- a/emulators/xbeeb/patches/patch-ac
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2000/05/22 22:13:12 skrll Exp $
-
---- src/Memory.c.orig Sat Oct 12 16:03:26 1996
-+++ src/Memory.c Sun May 21 21:22:13 2000
-@@ -254,6 +254,19 @@
- }
-
- close ( fd );
-+#ifdef EMUL_FS
-+ /*
-+ * This code is taken from pch/pch.c to patch up the OS rom when
-+ * using EMUL_FS
-+ */
-+
-+ /* The OSFILE trap */
-+ Mem [ 0xc000 + 0x327d ] = 0x22;
-+
-+ /* The OSFSC trap */
-+ Mem [ 0xc000 + 0x31b1 ] = 0x02;
-+#endif
-+
- return;
- }
-
diff --git a/emulators/xbeeb/patches/patch-ad b/emulators/xbeeb/patches/patch-ad
deleted file mode 100644
index 71af80291c8..00000000000
--- a/emulators/xbeeb/patches/patch-ad
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/05/22 22:13:12 skrll Exp $
-
---- src/Config.h.orig Thu Oct 10 00:19:08 1996
-+++ src/Config.h Sun May 21 21:18:55 2000
-@@ -256,7 +256,7 @@
- */
-
- #ifndef XBEEBROOT
--#define XBEEBROOT "/home/james/beeb/"
-+#define XBEEBROOT "/usr/X11R6/share/xbeeb/"
- #endif
- #define XBEEBROMS XBEEBROOT"roms/"
- #define XBEEBSNAPS XBEEBROOT"snaps/"
-@@ -282,11 +282,7 @@
- * Names of ROMs to load by default
- */
-
--#ifdef EMUL_FS
--#define OS_ROM "OS1.2p1.rom"
--#else
- #define OS_ROM "OS1.2.rom"
--#endif
- #define LANG_ROM "BASIC2.rom"
-
- #ifdef XDFS
diff --git a/emulators/xcopilot/DESCR b/emulators/xcopilot/DESCR
deleted file mode 100644
index 1b2baf307c2..00000000000
--- a/emulators/xcopilot/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-XCopilot is an emulator for the 3Com/USRobotics
-Pilot/PalmPilot/PalmIII that runs on Unix systems under X11.
-
-XCopilot is a Unix/X11 port of the copilot emulator, which was
-originally written for Windows95. Greg Hewgill wrote copilot.
-Ivan A. Curtis created XCopilot.
diff --git a/emulators/xcopilot/Makefile b/emulators/xcopilot/Makefile
deleted file mode 100644
index 735a3620afa..00000000000
--- a/emulators/xcopilot/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2005/06/01 18:02:48 jlam Exp $
-#
-
-DISTNAME= xcopilot-0.6.6
-CATEGORIES= emulators
-MASTER_SITES= http://xcopilot.cuspy.com/build/
-
-MAINTAINER= nathanw@NetBSD.org
-HOMEPAGE= http://xcopilot.cuspy.com/
-COMMENT= PalmPilot emulator for X
-
-NOT_FOR_PLATFORM= *-*-alpha # suspected LP64 bugs
-
-GNU_CONFIGURE= YES
-
-post-extract:
- ${RM} -f ${WRKSRC}/mc68k/custom.c
-
-.include "../../graphics/xpm/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xcopilot/PLIST b/emulators/xcopilot/PLIST
deleted file mode 100644
index ebb3653b820..00000000000
--- a/emulators/xcopilot/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:23 zuntum Exp $
-bin/xcopilot
-man/man1/xcopilot.1
diff --git a/emulators/xcopilot/distinfo b/emulators/xcopilot/distinfo
deleted file mode 100644
index 2e4349890a5..00000000000
--- a/emulators/xcopilot/distinfo
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (xcopilot-0.6.6.tar.gz) = 91f76d1fd8fc19b6fea18853425aa3076e945d5d
-RMD160 (xcopilot-0.6.6.tar.gz) = e267495db384070e7e192043f23290f0004ecd4a
-Size (xcopilot-0.6.6.tar.gz) = 343264 bytes
-SHA1 (patch-aa) = 3354ed73dfa6c05273c7f430d45bacb0c8adbcf5
-SHA1 (patch-ab) = d0e1eba65c0e8c963953856b939629fa0b99ea3c
-SHA1 (patch-ac) = a495efbbbf5b28016b4b1b0e49c7e8f8b298faf4
-SHA1 (patch-ad) = b59e359dc575f3321385e54b87c9d6342461bf6f
-SHA1 (patch-ae) = 26067d585aac5fc30fcc8bc58b561acc4bdfae44
-SHA1 (patch-af) = 5b1a93a5b08444e53fdbb17e1148149542cc6dd1
-SHA1 (patch-ag) = 68a22072946811f9cc97434f532081a07fda567f
-SHA1 (patch-ah) = fa166c5ecf7458c91f89b216aee5acb6de270292
-SHA1 (patch-ai) = 255d997e2ef340a8d4b91ce25c2a3071df5c4520
-SHA1 (patch-aj) = 560a3dd902323ec1d07c292b6e8f95acb6c1c939
diff --git a/emulators/xcopilot/patches/patch-aa b/emulators/xcopilot/patches/patch-aa
deleted file mode 100644
index 2462dd36084..00000000000
--- a/emulators/xcopilot/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/02/05 07:38:15 nathanw Exp $
-
---- Makefile.in.orig Wed Feb 3 11:22:56 1999
-+++ Makefile.in Wed Feb 3 11:27:24 1999
-@@ -93,7 +93,7 @@
- xcopilot_DEPENDENCIES = mc68k/libmc68k.a mx/libmx.a
- xcopilot_LDFLAGS =
- CFLAGS = @CFLAGS@
--COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(X_CFLAGS) $(CFLAGS)
- LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
- man1dir = $(mandir)/man1
- MANS = $(man_MANS)
diff --git a/emulators/xcopilot/patches/patch-ab b/emulators/xcopilot/patches/patch-ab
deleted file mode 100644
index 623bc455bd4..00000000000
--- a/emulators/xcopilot/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/02/05 07:38:15 nathanw Exp $
-
---- mx/Makefile.in.orig Wed Feb 3 11:27:46 1999
-+++ mx/Makefile.in Wed Feb 3 11:27:07 1999
-@@ -102,7 +102,7 @@
- test_filesel_DEPENDENCIES = libmx.a
- test_filesel_LDFLAGS =
- CFLAGS = @CFLAGS@
--COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(X_CFLAGS) $(CFLAGS)
- LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
- DIST_COMMON = Makefile.am Makefile.in
-
diff --git a/emulators/xcopilot/patches/patch-ac b/emulators/xcopilot/patches/patch-ac
deleted file mode 100644
index ac3f560abe4..00000000000
--- a/emulators/xcopilot/patches/patch-ac
+++ /dev/null
@@ -1,74 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 1999/02/05 07:38:15 nathanw Exp $
-
---- mc68k/memory.c.orig Wed Feb 3 14:11:09 1999
-+++ mc68k/memory.c Fri Feb 5 01:28:39 1999
-@@ -377,6 +377,7 @@
- int i;
- char *rombuf;
- char *resetv;
-+ void *tmpmemory;
- int f;
- struct stat st;
-
-@@ -405,12 +406,24 @@
- rom_size = pow_of_2;
- }
-
-- rommemory = (UWORD*)mmap(0, rom_size, PROT_READ|PROT_WRITE,
-- MAP_FILE|MAP_PRIVATE, f, 0);
-- if (rommemory == (UWORD *)-1) {
-+ /* mmap'ing a larger region than the underlying object does not work.
-+ * Instead, mmap the actual object and copy into a power-of-two sized
-+ * buffer.
-+ */
-+ tmpmemory = mmap(0, st.st_size, PROT_READ|PROT_WRITE,
-+ MAP_FILE|MAP_PRIVATE, f, 0);
-+ if (tmpmemory == (void *)-1) {
- return PILOTCPU_ERROR_LOADING_ROM;
- }
--
-+
-+ /* We want the end of the buffer to be zero-filled */
-+ rommemory = (UWORD *) calloc(1, rom_size);
-+ if (rommemory == 0) {
-+ return PILOTCPU_ERROR_LOADING_ROM;
-+ }
-+ memcpy(rommemory, tmpmemory, st.st_size);
-+ munmap(tmpmemory, st.st_size);
-+
- if (!nocheck) {
- /* Check if the reset vector looks plausible */
- resetv = (char *)rommemory +
-@@ -430,23 +443,15 @@
- offset = resetv - find_entrypoint((char *)rommemory);
- }
-
-- /* Did we find it? If not, lets go with the original. */
-- if ((char *)offset != resetv) {
-- /* It may not always be page aligned... */
-- pageoffset = ((offset-1) & ~(getpagesize() - 1)) + getpagesize();
--
-- if ((st.st_size + offset) > rom_size)
-- rom_size <<= 1;
--
-- rommemory = (UWORD *)mmap((void*)(rommemory + pageoffset),
-- rom_size - pageoffset,
-- PROT_READ | PROT_WRITE,
-- MAP_FILE | MAP_PRIVATE | MAP_FIXED, f, 0);
-- if (rommemory == (UWORD *)-1)
-- return PILOTCPU_ERROR_LOADING_ROM;
--
-- memcpy(((char *)rommemory) - offset, rommemory, 256);
-- ((char *)rommemory) -= offset;
-+ if (offset != 0) {
-+ if ((st.st_size + offset) > rom_size) {
-+ rom_size <<= 1;
-+ rommemory = realloc(rommemory, rom_size);
-+ if (rommemory == 0)
-+ return PILOTCPU_ERROR_LOADING_ROM;
-+ }
-+
-+ memmove((char *)rommemory + offset, rommemory, st.st_size);
- }
- }
- }
diff --git a/emulators/xcopilot/patches/patch-ad b/emulators/xcopilot/patches/patch-ad
deleted file mode 100644
index 232a4a862a4..00000000000
--- a/emulators/xcopilot/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.1 1999/02/23 23:56:32 nathanw Exp $
-
---- mc68k/Makefile.in.orig Tue Feb 23 18:33:06 1999
-+++ mc68k/Makefile.in Tue Feb 23 18:33:15 1999
-@@ -283,8 +283,8 @@
- maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-
-
--custom.c: fab_custom.c
-- $(CC) -o fab_custom $<
-+custom.c: fab_custom.o
-+ $(CC) -o fab_custom $?
- ./fab_custom
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/emulators/xcopilot/patches/patch-ae b/emulators/xcopilot/patches/patch-ae
deleted file mode 100644
index 77403fde874..00000000000
--- a/emulators/xcopilot/patches/patch-ae
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ae,v 1.1 1999/03/15 13:54:24 simonb Exp $
-
---- main.c.orig Tue Aug 25 15:06:36 1998
-+++ main.c Tue Mar 16 00:45:28 1999
-@@ -638,7 +638,6 @@
- struct stat buf;
-
- expand_tilde(&pilot->DataDir);
-- add_slash(&pilot->DataDir);
- if (stat(pilot->DataDir, &buf) == -1) {
- if (errno == ENOENT) {
- if (mkdir(pilot->DataDir, S_IRWXU)) {
-@@ -651,6 +650,7 @@
- exit(1);
- }
- }
-+ add_slash(&pilot->DataDir);
-
- /* Set the memory version */
- pdebug_memversion = pilot->MemVersion;
diff --git a/emulators/xcopilot/patches/patch-af b/emulators/xcopilot/patches/patch-af
deleted file mode 100644
index fef854d81c3..00000000000
--- a/emulators/xcopilot/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 1999/09/13 21:31:51 tron Exp $
-
---- xcopilot.c.orig Tue Aug 25 06:53:31 1998
-+++ xcopilot.c Mon Sep 13 23:26:33 1999
-@@ -111,7 +111,7 @@
-
- XtGetApplicationResources(pilot.topWidget, &pilot, resources, XtNumber(ros),
- NULL, 0);
--
-+ pilot.threads = 0;
- if (pilot.DoublePixels)
- pilot.MagFactor = 2;
-
diff --git a/emulators/xcopilot/patches/patch-ag b/emulators/xcopilot/patches/patch-ag
deleted file mode 100644
index ebf7ffeba1d..00000000000
--- a/emulators/xcopilot/patches/patch-ag
+++ /dev/null
@@ -1,141 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2001/02/12 14:09:25 wiz Exp $
-
---- display.c.orig Tue Aug 25 15:56:02 1998
-+++ display.c Tue Feb 6 15:02:19 2001
-@@ -272,8 +272,13 @@
- }
-
- static int xcpHandleExpose(XEvent *event) {
-- xcpPutImage(event->xexpose.x, event->xexpose.y, event->xexpose.width,
-- event->xexpose.height);
-+ if (shared->LcdPower == lcdOff) {
-+ XClearWindow (xcpDisplay, xcpLCDWindow);
-+ XFlush(xcpDisplay);
-+ }
-+ else
-+ xcpPutImage(event->xexpose.x, event->xexpose.y, event->xexpose.width,
-+ event->xexpose.height);
- return event->xexpose.count;
- }
-
-@@ -360,15 +365,26 @@
- typedef struct _Key {
- const char *name;
- XRectangle bounds;
-+ KeySym key;
- } Key;
-
--static Key keys[] = {{"power", {0, 281, 16, 22}},
-- {"up", {100, 280, 25, 12}},
-- {"down", {100, 302, 25, 12}},
-- {"datebook", {24, 277, 28, 29}},
-- {"phone", {63, 277, 28, 29}},
-- {"todo", {134, 277, 28, 29}},
-- {"memo", {173, 277, 28, 29}}};
-+typedef struct _NonprintKey {
-+ KeySym sym;
-+ int code;
-+} NonprintKey;
-+
-+static Key keys[] = {{"power", {0, 281, 16, 22}, XK_Escape},
-+ {"up", {100, 280, 25, 12}, XK_Page_Up},
-+ {"down", {100, 302, 25, 12}, XK_Page_Down},
-+ {"datebook", {24, 277, 28, 29}, XK_F9},
-+ {"phone", {63, 277, 28, 29}, XK_F10},
-+ {"todo", {134, 277, 28, 29}, XK_F11},
-+ {"memo", {173, 277, 28, 29}, XK_F12}};
-+
-+static NonprintKey nonprint_keys[] = {{XK_Left, 0x1c /* chrLeftArrow */},
-+ {XK_Right, 0x1d /* chrRightArrow */},
-+ {XK_Down, 0x103 /* vchrNextField */},
-+ {XK_Up, 0x10c /* vchrPrevField */}};
-
- static void HandleKey(Widget w, XtPointer client_data, XEvent *event,
- Boolean *continue_to_dispatch)
-@@ -502,7 +518,7 @@
- {
- static KeySym keysym;
- static XComposeStatus compose;
-- int count, bufsize, in;
-+ int count, bufsize, in, i, code;
- char buffer[8];
-
- bufsize = 8;
-@@ -511,16 +527,55 @@
- bufsize,
- &keysym,
- &compose);
-+
-+ for (i = 0; i < XtNumber(keys); i++)
-+ if (keysym == keys[i].key) {
-+ xcpKeyEvent(1, i);
-+ return;
-+ }
-+
-+ if (count > 0) {
-+ if (buffer[0] == '\r')
-+ code = '\n';
-+ else
-+ code = buffer[0];
-+ }
-+ else {
-+ for (i = 0; i < XtNumber(nonprint_keys); i++)
-+ if (keysym == nonprint_keys[i].sym) {
-+ count = 1;
-+ code = nonprint_keys[i].code;
-+ }
-+ }
-+
- if (count > 0) {
-- if (buffer[0] == '\r') {
-- buffer[0] = '\n';
-- }
- in = shptr->kbin;
-- shptr->kb[in] = buffer[0];
-+ shptr->kb[in] = code;
- shptr->kbin = (in + 1) & 7;
- }
- }
-
-+static void xcpKBKey(XEvent *event)
-+{
-+ static KeySym keysym;
-+ static XComposeStatus compose;
-+ int count, bufsize, in, i;
-+ char buffer[8];
-+
-+ bufsize = 8;
-+ count = XLookupString((XKeyEvent *) event,
-+ buffer,
-+ bufsize,
-+ &keysym,
-+ &compose);
-+
-+ for (i = 0; i < XtNumber(keys); i++)
-+ if (keysym == keys[i].key) {
-+ xcpKeyEvent(0, i);
-+ return;
-+ }
-+}
-+
- static void HandleClientMessage(Widget w, XtPointer client_data, XEvent *event,
- Boolean *continue_to_dispatch)
- {
-@@ -542,6 +597,8 @@
- case KeyPress:
- xcpKBtoASCII(shptr, event);
- break;
-+ case KeyRelease:
-+ xcpKBKey(event);
- case ButtonPress: /* a mouse button was pressed */
- if (event->xbutton.button == 3)
- do_menu(event->xbutton.x_root, event->xbutton.y_root);
-@@ -623,7 +680,7 @@
- XtNborder, BlackPixel(xcpDisplay, xcpScreenNum), NULL);
-
- XtAddEventHandler(topWidget, ButtonPressMask | KeyPressMask |
-- OwnerGrabButtonMask, False, HandleXEvents,
-+ KeyReleaseMask | OwnerGrabButtonMask, False, HandleXEvents,
- (XtPointer)shptr);
-
- /*
diff --git a/emulators/xcopilot/patches/patch-ah b/emulators/xcopilot/patches/patch-ah
deleted file mode 100644
index a9d33c0abb8..00000000000
--- a/emulators/xcopilot/patches/patch-ah
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2001/02/12 14:09:25 wiz Exp $
-
---- xcopilot.1.orig Sun Feb 4 18:59:03 2001
-+++ xcopilot.1 Mon Feb 5 00:27:53 2001
-@@ -216,7 +216,18 @@
- it to tap the power button, any of the other buttons, or on the screen.
- You can use it to write in graffiti in the appropriate area of the LCD.
- Additionally, you can type, and what you type will be passed to
--XCopilot, making input easier.
-+XCopilot, making input easier. The hardware buttons are also bound
-+to the following keys:
-+.Pp
-+F9: Datebook
-+.Pp
-+F10: Address
-+.Pp
-+F11: Todo
-+.Pp
-+F12: Memopad
-+.Pp
-+ESC: Power
- .Pp
- \fBThe Right Mouse Menu\fP
- .Pp
diff --git a/emulators/xcopilot/patches/patch-ai b/emulators/xcopilot/patches/patch-ai
deleted file mode 100644
index 3796eee8d66..00000000000
--- a/emulators/xcopilot/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2001/02/12 14:09:25 wiz Exp $
-
---- mc68k/shared.h.orig Tue Feb 6 14:49:07 2001
-+++ mc68k/shared.h Tue Feb 6 14:49:32 2001
-@@ -95,7 +95,7 @@
- int pen, pendown, penx, peny; /* modified by lcd process */
- int key, keydown; /* modified by lcd process */
- int kbin, kbout; /* ring-buffer for X11 keyboard */
-- char kb[8]; /* ASCII data from X11 keyboard */
-+ int kb[8]; /* data from X11 keyboard (palm chr codes) */
-
- /*
- * X Output devices (display_proc)
diff --git a/emulators/xcopilot/patches/patch-aj b/emulators/xcopilot/patches/patch-aj
deleted file mode 100644
index 1031f29d72b..00000000000
--- a/emulators/xcopilot/patches/patch-aj
+++ /dev/null
@@ -1,502 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2003/09/30 17:47:44 tron Exp $
-
---- mc68k/fab_custom.c.orig 1998-07-29 01:08:48.000000000 +0200
-+++ mc68k/fab_custom.c 2003-09-30 19:22:12.000000000 +0200
-@@ -1027,252 +1027,251 @@
- * Max Okumoto
- *---------------------------------------------------------------------------*/
- static char *HACK[] = {
--"
--/****************************************
-- * Handle a key event. The fields *
-- * keydown and key of the shared image *
-- * are interpreted, and the dragonball *
-- * registers updated *
-- ****************************************/
--static void
--dokey(void)
--{
-- UBYTE d;
-- d = db_PDDATA.x;
-- if (CustShptr->keydown) {
-- db_PDDATA.x |= (1 << CustShptr->key);
-- CustShptr->keydown = 0;
-- CustShptr->key = -1;
-- } else if (CustShptr->key >= 0) {
-- db_PDDATA.x &= ~(1 << CustShptr->key);
-- CustShptr->key = -1;
-- }
-- db_PDDATA_edge |= db_PDDATA.x & ~d;
-- db_IPR.anon.PEN = CustShptr->pen;
-- db_IPR.x = (db_IPR.x & 0xffff00ff) |
-- ((((db_PDDATA_edge & db_PDIRQEDGE.x) |
-- (db_PDDATA.x & ~db_PDIRQEDGE.x)) & db_PDIRQEN.x) << 8);
--}
--
--void
--updateisr()
--{
-- db_IPR.anon.PEN = CustShptr->pen;
-- db_ISR.x = db_IPR.x & ~db_IMR.x;
-- if (db_ISR.x) {
-- specialflags |= SPCFLAG_INT;
-- }
-- CustShptr->run_updateisr = 0;
--}
--
--void
--maybe_updateisr()
--{
-- if (CustShptr->run_updateisr) {
-- dokey();
-- updateisr();
-- }
--}
--
--int
--intbase()
--{
-- return db_IVR.anon.VECTOR << 3;
--}
--
--int
--intlev()
--{
-- if (db_ISR.anon.IRQ7) return 7;
-- if (db_ISR.anon.SPIS) return 6;
-- if (db_ISR.anon.TMR1) return 6;
-- if (db_ISR.anon.IRQ6) return 6;
-- if (db_ISR.anon.PEN) return 5;
-- if (db_ISR.anon.SPIM) return 4;
-- if (db_ISR.anon.TMR2) return 4;
-- if (db_ISR.anon.UART) return 4;
-- if (db_ISR.anon.WDT) return 4;
-- if (db_ISR.anon.RTC) return 4;
-- if (db_ISR.anon.KB) return 4;
-- if (db_ISR.anon.PWM) return 4;
-- if (db_ISR.anon.INT0) return 4;
-- if (db_ISR.anon.INT1) return 4;
-- if (db_ISR.anon.INT2) return 4;
-- if (db_ISR.anon.INT3) return 4;
-- if (db_ISR.anon.INT4) return 4;
-- if (db_ISR.anon.INT5) return 4;
-- if (db_ISR.anon.INT6) return 4;
-- if (db_ISR.anon.INT7) return 4;
-- if (db_ISR.anon.IRQ3) return 3;
-- if (db_ISR.anon.IRQ2) return 2;
-- if (db_ISR.anon.IRQ1) return 1;
-- return -1;
--}
--
--static void
--pen(int down, int x, int y)
--{
-- if (!pendown && down) {
-- db_IPR.anon.PEN = 1;
-- updateisr();
-- } else if (pendown && !down) {
-- db_IPR.anon.PEN = 0;
-- updateisr();
-- }
-- pendown = down;
-- penx = x;
-- peny = y;
--}
--
--static void
--hotsync(int down)
--{
-- if (down) {
-- db_IPR.anon.IRQ1 = 1;
-- } else {
-- db_IPR.anon.IRQ1 = 0;
-- }
-- updateisr();
--}
--
--/*
-- * custptr is a pointer to a shared memory block which will \"back-up\"
-- * the register values of the custom circuits, allowing other processes
-- * to look at register values
-- */
--void
--custom_init(shared_img * shptr)
--{
-- CustShptr = shptr;
-- CustShptr->PICF = 0;
-- CustShptr->VPW = 0xff;
-- CustShptr->POSR = 0;
-- CustShptr->grpalette[0] = 1;
-- CustShptr->grpalette[1] = 0;
-- CustShptr->grpalette[2] = 3;
-- CustShptr->grpalette[3] = 7;
-- CustShptr->quit = 0;
-- CustShptr->run_updateisr = 0;
-- CustShptr->LcdPower = lcdOn;
-- CustShptr->Backlight = 0;
-- customreset();
--}
--
--void
--do_cycles(int longtime)
--{
-- if (db_TCTL2.anon.TEN) {
-- db_TCN2.anon.COUNT++;
-- if (db_TCN2.anon.COUNT > db_TCMP2.anon.COMPARE || longtime) {
-- db_TSTAT2.anon.COMP = 1;
-- if (db_TCTL2.anon.FRR == 0) {
-- db_TCN2.anon.COUNT = 0;
-- }
-- if (db_TCTL2.anon.IRQEN) {
-- db_IPR.anon.TMR2 = 1;
-- updateisr();
-- }
-- }
-- }
-- /*
-- * Determine if there are any chars to read from the serial port or
-- * debugger
-- */
--
-- /*
-- * WARNING: This uses a shared memory data structure to store the
-- * FIFO. The producer is adding things to this _at the same time_ as
-- * this is consuming. Examine main.c and take a course in concurrent
-- * programming before modifying this. :-) - Ian
-- */
--
-- if (CustShptr->serial.head != CustShptr->serial.tail &&
-- db_USTCNT.anon.UART_ENABLE && !db_URX.anon.DATA_READY) {
-- int curhead = CustShptr->serial.head;
-- db_URX.anon.DATA = CustShptr->serial.fifo[curhead];
-- curhead += 1;
-- if (curhead == FIFO_SIZE) {
-- curhead = 0;
-- }
-- CustShptr->serial.head = curhead;
-- db_URX.anon.DATA_READY = 1;
-- if (db_USTCNT.anon.RX_READY_ENABLE) {
-- db_IPR.anon.UART = 1;
-- updateisr();
-- }
-- }
-- if (CustShptr->gdb.head != CustShptr->gdb.tail &&
-- db_USTCNT.anon.UART_ENABLE && !db_URXdb.anon.DATA_READY) {
-- int curhead = CustShptr->gdb.head;
-- db_URXdb.anon.DATA = CustShptr->gdb.fifo[curhead];
-- curhead += 1;
-- if (curhead == FIFO_SIZE) {
-- curhead = 0;
-- }
-- CustShptr->gdb.head = curhead;
-- db_URXdb.anon.DATA_READY = 1;
-- }
--}
--
--struct EventType {
-- UWORD eType;
-- UWORD penDown;
-- UWORD screenX;
-- UWORD screenY;
-- UWORD data[8];
--};
--
--struct SndCommandType {
-- UWORD cmd;
-- UWORD param1hi;
-- UWORD param1lo;
-- UWORD param2;
-- UWORD param3;
--};
--
--#define keyDownEvent 4
--#define sysTrapEvtGetEvent 41245
--#define sysTrapSndDoCmd 41523
--
--int
--do_api(int api)
--{
-- switch (api) {
-- case sysTrapEvtGetEvent:
-- if (CustShptr->kbin != CustShptr->kbout) {
--
-- struct EventType *ev;
-- int out;
--
-- out = CustShptr->kbout;
-- ev = (struct EventType *) get_real_address(get_long(CustShptr->regs.a[7]));
--
-- ev->eType = keyDownEvent;
-- ev->data[0] = CustShptr->kb[out];
-- ev->data[1] = 0;
-- ev->data[2] = 0;
-- CustShptr->kbout = (out + 1) & 7;
-- return 1;
-- }
-- break;
-- case sysTrapSndDoCmd:
-- {
-- struct SndCommandType *sc;
-- sc = (struct SndCommandType *)
-- get_real_address(get_long(CustShptr->regs.a[7] + 4));
-- if ((sc->cmd >> 8) == 1) {
-- CustShptr->BellFreq = (sc->param1hi << 16) + sc->param1lo;
-- CustShptr->BellDur = sc->param2;
-- CustShptr->BellAmp = sc->param3;
-- CustShptr->LcdReq = lcdBell;
-- return 1;
-- }
-- }
-- break;
-- }
-- return 0;
--}
--"
-+"\n"
-+"/****************************************\n"
-+" * Handle a key event. The fields *\n"
-+" * keydown and key of the shared image *\n"
-+" * are interpreted, and the dragonball *\n"
-+" * registers updated *\n"
-+" ****************************************/\n"
-+"static void\n"
-+"dokey(void)\n"
-+"{\n"
-+" UBYTE d;\n"
-+" d = db_PDDATA.x;\n"
-+" if (CustShptr->keydown) {\n"
-+" db_PDDATA.x |= (1 << CustShptr->key);\n"
-+" CustShptr->keydown = 0;\n"
-+" CustShptr->key = -1;\n"
-+" } else if (CustShptr->key >= 0) {\n"
-+" db_PDDATA.x &= ~(1 << CustShptr->key);\n"
-+" CustShptr->key = -1;\n"
-+" }\n"
-+" db_PDDATA_edge |= db_PDDATA.x & ~d;\n"
-+" db_IPR.anon.PEN = CustShptr->pen;\n"
-+" db_IPR.x = (db_IPR.x & 0xffff00ff) |\n"
-+" ((((db_PDDATA_edge & db_PDIRQEDGE.x) |\n"
-+" (db_PDDATA.x & ~db_PDIRQEDGE.x)) & db_PDIRQEN.x) << 8);\n"
-+"}\n"
-+"\n"
-+"void\n"
-+"updateisr()\n"
-+"{\n"
-+" db_IPR.anon.PEN = CustShptr->pen;\n"
-+" db_ISR.x = db_IPR.x & ~db_IMR.x;\n"
-+" if (db_ISR.x) {\n"
-+" specialflags |= SPCFLAG_INT;\n"
-+" }\n"
-+" CustShptr->run_updateisr = 0;\n"
-+"}\n"
-+"\n"
-+"void\n"
-+"maybe_updateisr()\n"
-+"{\n"
-+" if (CustShptr->run_updateisr) {\n"
-+" dokey();\n"
-+" updateisr();\n"
-+" }\n"
-+"}\n"
-+"\n"
-+"int\n"
-+"intbase()\n"
-+"{\n"
-+" return db_IVR.anon.VECTOR << 3;\n"
-+"}\n"
-+"\n"
-+"int\n"
-+"intlev()\n"
-+"{\n"
-+" if (db_ISR.anon.IRQ7) return 7;\n"
-+" if (db_ISR.anon.SPIS) return 6;\n"
-+" if (db_ISR.anon.TMR1) return 6;\n"
-+" if (db_ISR.anon.IRQ6) return 6;\n"
-+" if (db_ISR.anon.PEN) return 5;\n"
-+" if (db_ISR.anon.SPIM) return 4;\n"
-+" if (db_ISR.anon.TMR2) return 4;\n"
-+" if (db_ISR.anon.UART) return 4;\n"
-+" if (db_ISR.anon.WDT) return 4;\n"
-+" if (db_ISR.anon.RTC) return 4;\n"
-+" if (db_ISR.anon.KB) return 4;\n"
-+" if (db_ISR.anon.PWM) return 4;\n"
-+" if (db_ISR.anon.INT0) return 4;\n"
-+" if (db_ISR.anon.INT1) return 4;\n"
-+" if (db_ISR.anon.INT2) return 4;\n"
-+" if (db_ISR.anon.INT3) return 4;\n"
-+" if (db_ISR.anon.INT4) return 4;\n"
-+" if (db_ISR.anon.INT5) return 4;\n"
-+" if (db_ISR.anon.INT6) return 4;\n"
-+" if (db_ISR.anon.INT7) return 4;\n"
-+" if (db_ISR.anon.IRQ3) return 3;\n"
-+" if (db_ISR.anon.IRQ2) return 2;\n"
-+" if (db_ISR.anon.IRQ1) return 1;\n"
-+" return -1;\n"
-+"}\n"
-+"\n"
-+"static void\n"
-+"pen(int down, int x, int y)\n"
-+"{\n"
-+" if (!pendown && down) {\n"
-+" db_IPR.anon.PEN = 1;\n"
-+" updateisr();\n"
-+" } else if (pendown && !down) {\n"
-+" db_IPR.anon.PEN = 0;\n"
-+" updateisr();\n"
-+" }\n"
-+" pendown = down;\n"
-+" penx = x;\n"
-+" peny = y;\n"
-+"}\n"
-+"\n"
-+"static void\n"
-+"hotsync(int down)\n"
-+"{\n"
-+" if (down) {\n"
-+" db_IPR.anon.IRQ1 = 1;\n"
-+" } else {\n"
-+" db_IPR.anon.IRQ1 = 0;\n"
-+" }\n"
-+" updateisr();\n"
-+"}\n"
-+"\n"
-+"/*\n"
-+" * custptr is a pointer to a shared memory block which will \"back-up\"\n"
-+" * the register values of the custom circuits, allowing other processes\n"
-+" * to look at register values\n"
-+" */\n"
-+"void\n"
-+"custom_init(shared_img * shptr)\n"
-+"{\n"
-+" CustShptr = shptr;\n"
-+" CustShptr->PICF = 0;\n"
-+" CustShptr->VPW = 0xff;\n"
-+" CustShptr->POSR = 0;\n"
-+" CustShptr->grpalette[0] = 1;\n"
-+" CustShptr->grpalette[1] = 0;\n"
-+" CustShptr->grpalette[2] = 3;\n"
-+" CustShptr->grpalette[3] = 7;\n"
-+" CustShptr->quit = 0;\n"
-+" CustShptr->run_updateisr = 0;\n"
-+" CustShptr->LcdPower = lcdOn;\n"
-+" CustShptr->Backlight = 0;\n"
-+" customreset();\n"
-+"}\n"
-+"\n"
-+"void\n"
-+"do_cycles(int longtime)\n"
-+"{\n"
-+" if (db_TCTL2.anon.TEN) {\n"
-+" db_TCN2.anon.COUNT++;\n"
-+" if (db_TCN2.anon.COUNT > db_TCMP2.anon.COMPARE || longtime) {\n"
-+" db_TSTAT2.anon.COMP = 1;\n"
-+" if (db_TCTL2.anon.FRR == 0) {\n"
-+" db_TCN2.anon.COUNT = 0;\n"
-+" }\n"
-+" if (db_TCTL2.anon.IRQEN) {\n"
-+" db_IPR.anon.TMR2 = 1;\n"
-+" updateisr();\n"
-+" }\n"
-+" }\n"
-+" }\n"
-+" /*\n"
-+" * Determine if there are any chars to read from the serial port or\n"
-+" * debugger\n"
-+" */\n"
-+"\n"
-+" /*\n"
-+" * WARNING: This uses a shared memory data structure to store the\n"
-+" * FIFO. The producer is adding things to this _at the same time_ as\n"
-+" * this is consuming. Examine main.c and take a course in concurrent\n"
-+" * programming before modifying this. :-) - Ian\n"
-+" */\n"
-+"\n"
-+" if (CustShptr->serial.head != CustShptr->serial.tail &&\n"
-+" db_USTCNT.anon.UART_ENABLE && !db_URX.anon.DATA_READY) {\n"
-+" int curhead = CustShptr->serial.head;\n"
-+" db_URX.anon.DATA = CustShptr->serial.fifo[curhead];\n"
-+" curhead += 1;\n"
-+" if (curhead == FIFO_SIZE) {\n"
-+" curhead = 0;\n"
-+" }\n"
-+" CustShptr->serial.head = curhead;\n"
-+" db_URX.anon.DATA_READY = 1;\n"
-+" if (db_USTCNT.anon.RX_READY_ENABLE) {\n"
-+" db_IPR.anon.UART = 1;\n"
-+" updateisr();\n"
-+" }\n"
-+" }\n"
-+" if (CustShptr->gdb.head != CustShptr->gdb.tail &&\n"
-+" db_USTCNT.anon.UART_ENABLE && !db_URXdb.anon.DATA_READY) {\n"
-+" int curhead = CustShptr->gdb.head;\n"
-+" db_URXdb.anon.DATA = CustShptr->gdb.fifo[curhead];\n"
-+" curhead += 1;\n"
-+" if (curhead == FIFO_SIZE) {\n"
-+" curhead = 0;\n"
-+" }\n"
-+" CustShptr->gdb.head = curhead;\n"
-+" db_URXdb.anon.DATA_READY = 1;\n"
-+" }\n"
-+"}\n"
-+"\n"
-+"struct EventType {\n"
-+" UWORD eType;\n"
-+" UWORD penDown;\n"
-+" UWORD screenX;\n"
-+" UWORD screenY;\n"
-+" UWORD data[8];\n"
-+"};\n"
-+"\n"
-+"struct SndCommandType {\n"
-+" UWORD cmd;\n"
-+" UWORD param1hi;\n"
-+" UWORD param1lo;\n"
-+" UWORD param2;\n"
-+" UWORD param3;\n"
-+"};\n"
-+"\n"
-+"#define keyDownEvent 4\n"
-+"#define sysTrapEvtGetEvent 41245\n"
-+"#define sysTrapSndDoCmd 41523\n"
-+"\n"
-+"int\n"
-+"do_api(int api)\n"
-+"{\n"
-+" switch (api) {\n"
-+" case sysTrapEvtGetEvent:\n"
-+" if (CustShptr->kbin != CustShptr->kbout) {\n"
-+"\n"
-+" struct EventType *ev;\n"
-+" int out;\n"
-+"\n"
-+" out = CustShptr->kbout;\n"
-+" ev = (struct EventType *) get_real_address(get_long(CustShptr->regs.a[7]));\n"
-+"\n"
-+" ev->eType = keyDownEvent;\n"
-+" ev->data[0] = CustShptr->kb[out];\n"
-+" ev->data[1] = 0;\n"
-+" ev->data[2] = 0;\n"
-+" CustShptr->kbout = (out + 1) & 7;\n"
-+" return 1;\n"
-+" }\n"
-+" break;\n"
-+" case sysTrapSndDoCmd:\n"
-+" {\n"
-+" struct SndCommandType *sc;\n"
-+" sc = (struct SndCommandType *)\n"
-+" get_real_address(get_long(CustShptr->regs.a[7] + 4));\n"
-+" if ((sc->cmd >> 8) == 1) {\n"
-+" CustShptr->BellFreq = (sc->param1hi << 16) + sc->param1lo;\n"
-+" CustShptr->BellDur = sc->param2;\n"
-+" CustShptr->BellAmp = sc->param3;\n"
-+" CustShptr->LcdReq = lcdBell;\n"
-+" return 1;\n"
-+" }\n"
-+" }\n"
-+" break;\n"
-+" }\n"
-+" return 0;\n"
-+"}\n\n"
- };
-
- /*---------------------------------------------------------------------------*
diff --git a/emulators/xm7/DESCR b/emulators/xm7/DESCR
deleted file mode 100644
index 7371eb0cb47..00000000000
--- a/emulators/xm7/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-XM7 is the X11 based emulator of FM-7, which was the very
-popular personal computer in Japan at 8-bits age. It has a
-built-in ROM BASIC, two M6809 microprocessors, and many other
-good features. It was produced by FUJITSU LIMITED.
-
-You must own a real machine and make required ROM files from
-it to run FM-7 software on it. But it'd be rather difficalt
-in these days.
diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile
deleted file mode 100644
index 5c3c723b946..00000000000
--- a/emulators/xm7/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2005/06/16 06:57:51 jlam Exp $
-#
-
-DISTNAME= xm71010s
-PKGNAME= xm7-1010s
-CATEGORIES= emulators
-MASTER_SITES= http://www.ipc-tokai.or.jp/~ytanaka/fm7/
-EXTRACT_SUFX= .lzh
-
-MAINTAINER= tech-pkg-ja@jp.NetBSD.org
-HOMEPAGE= http://www.ipc-tokai.or.jp/~ytanaka/fm7/xm7.shtml
-COMMENT= X11-based FM-7 emulator
-
-BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf
-
-RESTRICTED= source archive is not redistributable
-RESTRICTED+= no-commercial-use
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-
-# convert CRLF to LF
-EXTRACT_CMD= lha xqt ${DOWNLOADED_DISTFILE}
-
-WRKSRC= ${WRKDIR}/vm
-NO_CONFIGURE= yes
-MAKEFILE= makefile.x11
-INSTALLATION_DIRS= bin
-
-.include "../../mk/x11.buildlink3.mk"
-
-post-extract:
- @cd ${WRKDIR}; ${MV} linux/* vm
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xm7/PLIST b/emulators/xm7/PLIST
deleted file mode 100644
index 891017603b9..00000000000
--- a/emulators/xm7/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:26 zuntum Exp $
-bin/xm7
diff --git a/emulators/xm7/distinfo b/emulators/xm7/distinfo
deleted file mode 100644
index a01d86fec84..00000000000
--- a/emulators/xm7/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (xm71010s.lzh) = 1afad6f530e05545505582d47bb0aa92965e6f71
-RMD160 (xm71010s.lzh) = df1d96fa997c39ab6bbd0c9d3953a90cfbfb9efa
-Size (xm71010s.lzh) = 273065 bytes
-SHA1 (patch-aa) = fbff0be72f42200299bd11dae215955860eceed5
-SHA1 (patch-ab) = 09529a433f5ae6ebf2dedee1d4c29bee27819f75
-SHA1 (patch-ac) = e55f25cb7046455489ab052dbe268043983a9e5f
-SHA1 (patch-ad) = dfeb6e5f824b99f5464c719e8a658a7c501ff8fc
diff --git a/emulators/xm7/patches/patch-aa b/emulators/xm7/patches/patch-aa
deleted file mode 100644
index fbb17002617..00000000000
--- a/emulators/xm7/patches/patch-aa
+++ /dev/null
@@ -1,78 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2002/06/15 07:31:19 cjep Exp $
-
---- makefile.x11.orig Thu Mar 23 01:01:00 2000
-+++ makefile.x11 Sat Aug 12 12:54:54 2000
-@@ -6,21 +6,29 @@
-
- COMMONSRC = \
- debug.c disasm.c gui.c \
-- cpu_x86.asm fdc.c keyboard.c kanji.c tapelp.c \
-+ fdc.c keyboard.c kanji.c tapelp.c \
- maincpu.c mainmem.c mainetc.c system.c multipag.c \
- subcpu.c submem.c display.c subctrl.c tools.c ttlpalet.c \
- opn.c opna.cpp fmgen.cpp psg.cpp
-
-+.if defined(__i386__)
-+COMMONSRC += cpu_x86.asm
-+.endif
-+
- LOCALSRC = \
- xw_disp.c xw_key.c xw_main.c xw_file.c xw_snd.cpp
-
- COMMONOBJ = \
- debug.o disasm.o gui.o \
-- cpu_x86.o fdc.o keyboard.o kanji.o tapelp.o \
-+ fdc.o keyboard.o kanji.o tapelp.o \
- maincpu.o mainmem.o mainetc.o system.o multipag.o \
- subcpu.o submem.o display.o subctrl.o tools.o ttlpalet.o \
- opn.o opna.o fmgen.o psg.o
-
-+.if defined(__i386__)
-+COMMONSRC += cpu_x86.o
-+.endif
-+
- LOCALOBJ = \
- xw_disp.o xw_key.o xw_main.o xw_file.o xw_snd.o
-
-@@ -29,22 +37,27 @@
- SRCS = ${COMMONSRC} ${LOCALSRC}
- OBJS = ${COMMONOBJ} ${LOCALOBJ}
- #LIBS = -L/usr/X11R6/lib -lX11 -lXt -lXext -lm -lc
--LIBS = -L/usr/X11R6/lib -lX11 -lXt -lXext -lm -lc -lstdc++
-+LIBS = -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lX11 -lXt -lXext -lm -lc -lstdc++ \
-+ -lossaudio
-
- #CFLAGS = -D_XWIN -DNDEBUG -O3 -funroll-loops -I/usr/X11R6/include -I.
-+.if defined(__i386__)
- CFLAGS = -D_XWIN -DNDEBUG -DCPU_ASM -O3 -I/usr/X11R6/include -I.
-+.else
-+CFLAGS = -D_XWIN -DNDEBUG -O3 -I/usr/X11R6/include -I.
-+.endif
- ASFLAGS = -f elf -d _XWIN
-
- all: xm7
-
- xm7: ${OBJS}
-- gcc -o xm7 ${OBJS} ${LIBS}
-+ ${CC} -o xm7 ${OBJS} ${LIBS}
-
- .c.o:
-- gcc ${CFLAGS} -o $@ -c $<
-+ ${CC} ${CFLAGS} -o $@ -c $<
-
- .cpp.o:
-- g++ ${CFLAGS} -o $@ -c $<
-+ ${CC} ${CFLAGS} -o $@ -c $<
-
- .asm.o:
- nasm ${ASFLAGS} $<
-@@ -56,7 +69,7 @@
- find . -type l -exec rm -f {} \;
-
- convert:
-- ./convert.sh
-+ sh ./convert.sh
-
- symlink:
-- ./symlink.sh
-+ sh ./symlink.sh
diff --git a/emulators/xm7/patches/patch-ab b/emulators/xm7/patches/patch-ab
deleted file mode 100644
index b83b86e557a..00000000000
--- a/emulators/xm7/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2002/01/24 12:16:15 wiz Exp $
-
---- convert.sh.orig Wed Mar 22 16:01:00 2000
-+++ convert.sh Sun Dec 30 21:34:03 2001
-@@ -7,3 +7,7 @@
- rm t t.lzh
- done
-
-+for X in *.cpp;do
-+nkf -e < $X > t
-+mv t $X
-+done
diff --git a/emulators/xm7/patches/patch-ac b/emulators/xm7/patches/patch-ac
deleted file mode 100644
index d055877c20c..00000000000
--- a/emulators/xm7/patches/patch-ac
+++ /dev/null
@@ -1,429 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2004/07/11 17:23:15 kristerw Exp $
-
---- xw_disp.c.orig 2000-03-22 17:01:00.000000000 +0100
-+++ xw_disp.c 2004-07-11 19:10:44.000000000 +0200
-@@ -24,11 +24,14 @@
- #include <X11/Xatom.h>
- #include <X11/keysym.h>
- #include <string.h>
-+#if defined(__NetBSD__)
-+#include <errno.h>
-+#endif
- #include <sys/time.h>
- #include <sys/errno.h>
- /**/
- #include <X11/extensions/XShm.h>
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
- #include <machine/param.h>
- #endif
- #include <sys/types.h>
-@@ -79,36 +82,36 @@
- case 15:
- case 16:
- for( x = 0 ; x < XSIZE; x+=8 ) {
-- __asm__ ("
-- pushl %0
-- pushl %2
-- popl %%edi
-- popl %%esi
-- movl %1,%%ebx
--
-- movzbl (%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,(%%edi)
-- movzbl 1(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,2(%%edi)
-- movzbl 2(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,4(%%edi)
-- movzbl 3(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,6(%%edi)
-- movzbl 4(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,8(%%edi)
-- movzbl 5(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,10(%%edi)
-- movzbl 6(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,12(%%edi)
-- movzbl 7(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-+ __asm__ ("\n\
-+ pushl %0\n\
-+ pushl %2\n\
-+ popl %%edi\n\
-+ popl %%esi\n\
-+ movl %1,%%ebx\n\
-+\n\
-+ movzbl (%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,(%%edi)\n\
-+ movzbl 1(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,2(%%edi)\n\
-+ movzbl 2(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,4(%%edi)\n\
-+ movzbl 3(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,6(%%edi)\n\
-+ movzbl 4(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,8(%%edi)\n\
-+ movzbl 5(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,10(%%edi)\n\
-+ movzbl 6(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,12(%%edi)\n\
-+ movzbl 7(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
- movw %%ax,14(%%edi)" : :
- "g"(&(imgval[addr])), /* %0 <= &imgval[] */
- "g"(&palette), /* %1 <= palette */
-@@ -119,36 +122,36 @@
- break;
- case 8:
- for( x = 0 ; x < XSIZE; x+=8 ) {
-- __asm__ ("
-- pushl %0
-- pushl %2
-- popl %%edi
-- popl %%esi
-- movl %1,%%ebx
--
-- movzbl (%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,(%%edi)
-- movzbl 1(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,1(%%edi)
-- movzbl 2(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,2(%%edi)
-- movzbl 3(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,3(%%edi)
-- movzbl 4(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,4(%%edi)
-- movzbl 5(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,5(%%edi)
-- movzbl 6(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%ax,6(%%edi)
-- movzbl 7(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-+ __asm__ ("\n\
-+ pushl %0\n\
-+ pushl %2\n\
-+ popl %%edi\n\
-+ popl %%esi\n\
-+ movl %1,%%ebx\n\
-+\n\
-+ movzbl (%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,(%%edi)\n\
-+ movzbl 1(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,1(%%edi)\n\
-+ movzbl 2(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,2(%%edi)\n\
-+ movzbl 3(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,3(%%edi)\n\
-+ movzbl 4(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,4(%%edi)\n\
-+ movzbl 5(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,5(%%edi)\n\
-+ movzbl 6(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%ax,6(%%edi)\n\
-+ movzbl 7(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
- movb %%ax,7(%%edi)" : :
- "g"(&(imgval[addr])), /* %0 <= &imgval[] */
- "g"(&palette), /* %1 <= palette */
-@@ -205,77 +208,77 @@
- /* update imgval, based on vram_c */
- {
- #ifdef __i386__
-- __asm__ __volatile__ ("
-- movl %0,%%esi
-- movl %1,%%edi
--
-- movb 0x8000(%%esi),%%ah
-- movb 0x4000(%%esi),%%bl
-- movb (%%esi),%%bh
--
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,1(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,2(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,3(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,4(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,5(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-- movb %%al,6(%%edi)
-- xorb %%al,%%al
-- shlb $1,%%ah
-- rclb $1,%%al
-- shlb $1,%%bl
-- rclb $1,%%al
-- shlb $1,%%bh
-- rclb $1,%%al
-+ __asm__ __volatile__ ("\n\
-+ movl %0,%%esi\n\
-+ movl %1,%%edi\n\
-+ \n\
-+ movb 0x8000(%%esi),%%ah\n\
-+ movb 0x4000(%%esi),%%bl\n\
-+ movb (%%esi),%%bh\n\
-+ \n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,1(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,2(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,3(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,4(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,5(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
-+ movb %%al,6(%%edi)\n\
-+ xorb %%al,%%al\n\
-+ shlb $1,%%ah\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bl\n\
-+ rclb $1,%%al\n\
-+ shlb $1,%%bh\n\
-+ rclb $1,%%al\n\
- movb %%al,7(%%edi)" : :
- "g"(&(vram_c[addr])), /* %0 <= &vram_c[] */
- "g"(&(imgval[addr*8])) /* %1 <= &imgval[] */
-@@ -302,34 +305,34 @@
- #ifdef __i386__
- case 15:
- case 16:
-- __asm__ ("
-- movl %2,%%edi
-- movl %0,%%esi
-- movl %1,%%ebx
--
-- movzbl (%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,(%%edi)
-- movzbl 1(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,2(%%edi)
-- movzbl 2(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,4(%%edi)
-- movzbl 3(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,6(%%edi)
-- movzbl 4(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,8(%%edi)
-- movzbl 5(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,10(%%edi)
-- movzbl 6(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movw %%ax,12(%%edi)
-- movzbl 7(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-+ __asm__ ("\n\
-+ movl %2,%%edi\n\
-+ movl %0,%%esi\n\
-+ movl %1,%%ebx\n\
-+ \n\
-+ movzbl (%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,(%%edi)\n\
-+ movzbl 1(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,2(%%edi)\n\
-+ movzbl 2(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,4(%%edi)\n\
-+ movzbl 3(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,6(%%edi)\n\
-+ movzbl 4(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,8(%%edi)\n\
-+ movzbl 5(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,10(%%edi)\n\
-+ movzbl 6(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movw %%ax,12(%%edi)\n\
-+ movzbl 7(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
- movw %%ax,14(%%edi)" : :
- "g"(&(imgval[bufaddr])),/* %0 <= &imgval[] */
- "g"(&palette), /* %1 <= palette */
-@@ -337,34 +340,34 @@
- : "ax","bx","si","di" );
- break;
- case 8:
-- __asm__ ("
-- movl %2,%%edi
-- movl %0,%%esi
-- movl %1,%%ebx
--
-- movzbl (%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,(%%edi)
-- movzbl 1(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,1(%%edi)
-- movzbl 2(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,2(%%edi)
-- movzbl 3(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,3(%%edi)
-- movzbl 4(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,4(%%edi)
-- movzbl 5(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,5(%%edi)
-- movzbl 6(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-- movb %%al,6(%%edi)
-- movzbl 7(%%esi),%%eax
-- movl (%%ebx,%%eax,4),%%eax
-+ __asm__ ("\n\
-+ movl %2,%%edi\n\
-+ movl %0,%%esi\n\
-+ movl %1,%%ebx\n\
-+ \n\
-+ movzbl (%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,(%%edi)\n\
-+ movzbl 1(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,1(%%edi)\n\
-+ movzbl 2(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,2(%%edi)\n\
-+ movzbl 3(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,3(%%edi)\n\
-+ movzbl 4(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,4(%%edi)\n\
-+ movzbl 5(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,5(%%edi)\n\
-+ movzbl 6(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
-+ movb %%al,6(%%edi)\n\
-+ movzbl 7(%%esi),%%eax\n\
-+ movl (%%ebx,%%eax,4),%%eax\n\
- movb %%al,7(%%edi)" : :
- "g"(&(imgval[bufaddr])),/* %0 <= &imgval[] */
- "g"(&palette), /* %1 <= palette */
diff --git a/emulators/xm7/patches/patch-ad b/emulators/xm7/patches/patch-ad
deleted file mode 100644
index 90b13d4bd8d..00000000000
--- a/emulators/xm7/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/12/13 17:12:19 kei Exp $
-
---- xw_snd.cpp.orig Sat Aug 12 12:33:21 2000
-+++ xw_snd.cpp Sat Aug 12 12:36:19 2000
-@@ -24,6 +24,8 @@
- #include <sys/time.h>
- #ifdef __FreeBSD__
- #include <machine/soundcard.h>
-+#elif defined(__NetBSD__)
-+#include <soundcard.h>
- #else
- #include <linux/soundcard.h>
- #endif
diff --git a/emulators/xmame/DESCR b/emulators/xmame/DESCR
deleted file mode 100644
index d8b8e545719..00000000000
--- a/emulators/xmame/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Xmame is the X11 port of the MAME arcade game emulator.
-
-MAME is a virtual machine emulator; it includes emulators for numerous
-CPUs, sound and video chips used in arcade games, as well as special
-purpose decoding PALs and detailed information about the memory layout of
-each game.
-
-To play games in Xmame you must have a copy of the original game ROMs.
diff --git a/emulators/xmame/MESSAGE b/emulators/xmame/MESSAGE
deleted file mode 100644
index f677c690126..00000000000
--- a/emulators/xmame/MESSAGE
+++ /dev/null
@@ -1,10 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/24 12:29:59 wiz Exp $
-
-Some games, especially encrypted newer Neo-Geo games, require lots
-of memory to decrypt the graphic ROMs. In case the graphics look
-garbled, try doing
- ulimit -d unlimited
-before running xmame.
-
-===========================================================================
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
deleted file mode 100644
index ed6d602d863..00000000000
--- a/emulators/xmame/Makefile
+++ /dev/null
@@ -1,119 +0,0 @@
-# $NetBSD: Makefile,v 1.136 2005/10/23 20:03:25 kristerw Exp $
-#
-
-DISTNAME= xmame-0.101
-CATEGORIES= emulators games x11
-MASTER_SITES= http://x.mame.net/download/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= kristerw@NetBSD.org
-HOMEPAGE= http://x.mame.net/
-COMMENT= X11 emulator for old arcade machines
-
-RESTRICTED= "selling is not allowed"
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-USE_PKGINSTALL= YES
-USE_TOOLS+= gmake
-MAKEFILE= makefile.unix
-TARGET= ${PKGBASE}
-UNLIMIT_RESOURCES= datasize
-
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
-
-ROMPATH= ${PREFIX}/share/${TARGET}
-SPOOLDIR= ${VARBASE}/games/${TARGET}
-
-MAKE_FLAGS+= TARGET="${TARGET:S/x//}"
-MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}"
-MAKE_FLAGS+= CFLAGS="${CFLAGS}"
-MAKE_FLAGS+= X11INC= X11LIB=
-
-# Network support is broken since xmame-0.85
-#MAKE_FLAGS+= XMAME_NET=1
-
-# Determine which CPU-specific code to use.
-.for MARCH in alpha m68k i386 ia64 mips
-MAME_CPU.${MARCH}?= ${MARCH}
-.endfor
-MAME_CPU.x86_64?= amd64
-.if !defined(MAME_CPU.${MACHINE_ARCH})
-. include "../../mk/endian.mk"
-_MAME_CPU.big-endian= risc
-_MAME_CPU.little-endian= risc_lsb
-_MAME_CPU.unknown-endian= risc # assume unknown == big
-MAME_CPU.${MACHINE_ARCH}?= ${_MAME_CPU.${MACHINE_ENDIAN}-endian}
-.endif
-
-# Determine which operating system defaults to use.
-MAME_ARCH.NetBSD?= netbsd
-MAME_ARCH.Linux?= linux
-MAME_ARCH.SunOS?= solaris
-.if !defined(MAME_ARCH.${OPSYS})
-MAME_ARCH.${OPSYS}?= generic
-.endif
-
-MAKE_FLAGS+= DISPLAY_METHOD="${MAME_DISP_METHOD}"
-MAKE_FLAGS+= MY_CPU="${MAME_CPU.${MACHINE_ARCH}}"
-MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}"
-
-.if exists(${X11BASE}/include/X11/extensions/xf86dga.h)
-MAKE_FLAGS+= X11_DGA=1
-.endif
-.if exists(${X11BASE}/include/X11/extensions/Xv.h)
-MAKE_FLAGS+= X11_XV=1
-.endif
-
-# If supported, add appropriate definitions to build joystick drivers.
-.if exists(/usr/include/machine/joystick.h) || \
- exists(/usr/include/linux/joystick.h)
-MAKE_FLAGS+= JOY_STANDARD=1
-.endif
-.if ${OPSYS} == "NetBSD"
-. if exists(/usr/lib/libusb.a) || exists(/usr/lib/libusbhid.a)
-MAKE_FLAGS+= JOY_USB=1
-. endif
-.endif
-
-OWN_DIRS= ${SPOOLDIR}
-INSTALLATION_DIRS= bin man/man6
-
-post-configure:
- cd ${WRKSRC}/doc; \
- ${SED} -e "s|@ROMPATH@|${ROMPATH}|g" \
- -e "s|@SPOOLDIR@|${SPOOLDIR}|g" \
- ${TARGET}rc.dist > ${TARGET}rc
-.if !empty(MAKE_FLAGS:M*USB*)
- ${LN} -fs /usr/include/usb.h ${BUILDLINK_DIR}/include
- for FILE in /usr/lib/libusb*; do \
- ${LN} -fs $$FILE ${BUILDLINK_DIR}/lib; \
- done
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \
- ${PREFIX}/bin/${TARGET}
- ${INSTALL_PROGRAM} ${WRKSRC}/romcmp ${PREFIX}/bin/romcmp
- ${INSTALL_PROGRAM} ${WRKSRC}/chdman ${PREFIX}/bin/chdman
- ${INSTALL_PROGRAM} ${WRKSRC}/xml2info ${PREFIX}/bin/xml2info
- ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \
- ${PREFIX}/man/man6/${TARGET}.6
- ${INSTALL_DATA_DIR} ${ROMPATH}
- ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/xmame/
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/html/xmame/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmame
- ${INSTALL_DATA} ${WRKSRC}/doc/xmame-doc.txt ${PREFIX}/share/doc/xmame
-
-# Pragma once is not needed, and case warnings/errors on gcc
-SUBST_CLASSES= pragma
-SUBST_STAGE.pragma= pre-configure
-SUBST_FILES.pragma= src/*.h
-SUBST_SED.pragma= -e "s|\#pragma once||g"
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../textproc/expat/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xmame/PLIST b/emulators/xmame/PLIST
deleted file mode 100644
index a9b5d3f3e00..00000000000
--- a/emulators/xmame/PLIST
+++ /dev/null
@@ -1,27 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2004/12/30 19:38:20 kristerw Exp $
-bin/chdman
-bin/romcmp
-bin/xmame
-bin/xml2info
-man/man6/xmame.6
-share/doc/html/xmame/xmame-doc-2.html
-share/doc/html/xmame/xmame-doc-3.html
-share/doc/html/xmame/xmame-doc-4.html
-share/doc/html/xmame/xmame-doc-5.html
-share/doc/html/xmame/xmame-doc-6.html
-share/doc/html/xmame/xmame-doc-7.html
-share/doc/html/xmame/xmame-doc.html
-share/doc/html/xmame/xmame-gdoc-1.html
-share/doc/html/xmame/xmame-gdoc-2.html
-share/doc/html/xmame/xmame-gdoc-3.html
-share/doc/html/xmame/xmame-gdoc-4.html
-share/doc/html/xmame/xmame-gdoc-5.html
-share/doc/html/xmame/xmame-gdoc-6.html
-share/doc/html/xmame/xmame-gdoc-7.html
-share/doc/html/xmame/xmame-gdoc-8.html
-share/doc/html/xmame/xmame-gdoc.html
-share/doc/xmame/xmame-doc.txt
-share/xmame/xmamerc
-@dirrm share/xmame
-@dirrm share/doc/xmame
-@dirrm share/doc/html/xmame
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
deleted file mode 100644
index e1c387bcccb..00000000000
--- a/emulators/xmame/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.67 2005/10/23 20:03:25 kristerw Exp $
-
-SHA1 (xmame-0.101.tar.bz2) = 2746b914d8af534fac4802f22a68dcce982ea223
-RMD160 (xmame-0.101.tar.bz2) = 92ad8035fb134df64e825a976dcf002d38eeb9a8
-Size (xmame-0.101.tar.bz2) = 15978618 bytes
-SHA1 (patch-aa) = 909583adb17f7485ad5cd1e390cdbb73d367d7be
-SHA1 (patch-ab) = dd21329b7e1a05bc7ea12b5a98a05d502dc36656
-SHA1 (patch-ae) = efd91447d33b6cb1246bbd2264f92b4ab9be44e0
diff --git a/emulators/xmame/options.mk b/emulators/xmame/options.mk
deleted file mode 100644
index 459080f46e6..00000000000
--- a/emulators/xmame/options.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2005/09/03 18:16:07 xtraeme Exp $
-#
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.xmame
-PKG_OPTIONS_OPTIONAL_GROUPS= video
-PKG_OPTIONS_GROUP.video= sdl opengl
-PKG_SUPPORTED_OPTIONS= esound
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Msdl)
-MAME_DISP_METHOD?= SDL
-.include "../../devel/SDL/buildlink3.mk"
-.elif !empty(PKG_OPTIONS:Mopengl)
-MAME_DISP_METHOD?= xgl
-.include "../../graphics/Mesa/buildlink3.mk"
-.else
-MAME_DISP_METHOD?= x11
-.endif
-
-.if !empty(PKG_OPTIONS:Mesound)
-MAKE_FLAGS+= SOUND_ESOUND=1
-.include "../../audio/esound/buildlink3.mk"
-.endif
diff --git a/emulators/xmame/patches/patch-aa b/emulators/xmame/patches/patch-aa
deleted file mode 100644
index adeef65d18d..00000000000
--- a/emulators/xmame/patches/patch-aa
+++ /dev/null
@@ -1,78 +0,0 @@
-$NetBSD: patch-aa,v 1.36 2005/05/12 22:35:18 kristerw Exp $
-
---- makefile.unix.orig 2005-05-12 23:02:10.000000000 +0200
-+++ makefile.unix 2005-05-12 23:07:19.000000000 +0200
-@@ -33,7 +33,7 @@
- ###########################################################################
-
- # Uncomment one of these.
--TARGET = mame
-+# TARGET = mame
- # TARGET = mess
- # TARGET = mage
- # TARGET = mmsnd
-@@ -88,7 +88,7 @@
- # just as well. However, stay away from the `cc' Ultrix compiler if
- # possible.
-
--CC = gcc
-+# CC = gcc
- # CC = cc
- # CC = icc
- # CC = c89
-@@ -109,7 +109,7 @@
-
- # If you want to use whatever CFLAGS are currently set in your
- # environment, then comment this out.
--CFLAGS =
-+# CFLAGS =
-
-
- ###########################################################################
-@@ -118,7 +118,7 @@
- ###########################################################################
-
- # GCC on x86
--CFLAGS = -O2 -Wall -Wno-unused
-+# CFLAGS = -O2 -Wall -Wno-unused
-
- # GCC on x86 with some optimizations
- # CFLAGS = -O2 -Wall -Wno-unused -mcpu=i686 -fomit-frame-pointer \
-@@ -523,7 +523,7 @@
- ###########################################################################
-
- # i386, GNU asm
--MY_CPU = i386
-+# MY_CPU = i386
-
- # i386, no asm -- needed for the Intel C++ compiler, which does not fully
- # understand GCC's inline assembly syntax, though you may still enable
-@@ -558,7 +558,7 @@
- ###########################################################################
-
- # Linux
--ARCH = linux
-+# ARCH = linux
-
- # FreeBSD
- # ARCH = freebsd
-@@ -701,7 +701,7 @@
- X11_MITSHM = 1
-
- # Use Xv extension for hardware scaling.
--X11_XV = 1
-+# X11_XV = 1
-
- # Enable XFree86 DGA. This also causes "make install" to set the suid bit
- # on the executable.
-@@ -725,8 +725,8 @@
- # X11LIB = -L/usr/lib/X11
-
- # Standard location for XFree86
--X11INC = -I/usr/X11R6/include
--X11LIB = -L/usr/X11R6/lib
-+# X11INC = -I/usr/X11R6/include
-+# X11LIB = -L/usr/X11R6/lib
-
- # Standard location for Sun systems
- # X11INC = -I/usr/openwin/include
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
deleted file mode 100644
index e61711a4a18..00000000000
--- a/emulators/xmame/patches/patch-ab
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ab,v 1.31 2005/04/02 20:56:28 kristerw Exp $
-
---- src/unix/unix.mak.orig 2005-04-02 20:38:46.000000000 +0200
-+++ src/unix/unix.mak 2005-04-02 20:50:17.000000000 +0200
-@@ -258,7 +258,7 @@
- $(COREDEFS) $(SOUNDDEFS) $(CPUDEFS) $(ASMDEFS) \
- $(INCLUDES) $(INCLUDE_PATH)
-
--MY_LIBS = $(LIBS) $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz
-+MY_LIBS = $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz -lexpat
-
- ifdef SEPARATE_LIBM
- MY_LIBS += -lm
-@@ -578,15 +578,15 @@
-
- romcmp: $(OBJ)/romcmp.o $(OBJ)/unzip.o $(ZLIB)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
-
- chdman: $(OBJ)/chdman.o $(OBJ)/chd.o $(OBJ)/chdcd.o $(OBJ)/cdrom.o $(OBJ)/md5.o $(OBJ)/sha1.o $(OBJ)/version.o $(ZLIB)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
-
- xml2info: $(OBJ)/xml2info.o $(EXPAT)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lexpat -lz -o $@
-
- dat2html: $(DAT2HTML_OBJS)
- $(CC_COMMENT) @echo 'Compiling $@...'
diff --git a/emulators/xmame/patches/patch-ae b/emulators/xmame/patches/patch-ae
deleted file mode 100644
index da73e4b3592..00000000000
--- a/emulators/xmame/patches/patch-ae
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ae,v 1.23 2005/10/14 20:57:49 kristerw Exp $
-
---- src/unix/doc/xmamerc.dist.orig Sat Nov 6 21:40:52 2004
-+++ src/unix/doc/xmamerc.dist Sat Nov 6 21:42:31 2004
-@@ -62,10 +62,10 @@
- analogstick 0
-
- ### Fileio Related ###
--rompath /usr/local/share/xmame/roms
-+rompath @ROMPATH@
- snapshot_directory .
--cheat_file /usr/local/share/xmame/cheat.dat
--hiscore_file /usr/local/share/xmame/hiscore.dat
-+cheat_file @SPOOLDIR@/cheat.dat
-+hiscore_file @SPOOLDIR@/hiscore.dat
-
- ### Mame Related ###
- defaultgame robby
diff --git a/emulators/xmess/DESCR b/emulators/xmess/DESCR
deleted file mode 100644
index d30a206a69e..00000000000
--- a/emulators/xmess/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-X-MESS is the X11 port of the MESS game console emulator.
-
-MESS is a virtual machine emulator; it includes emulators for the CPUs,
-sound and video chips used in game consoles, as well as special purpose
-PALs and detailed information about the memory layout of each machine.
-
-To play games in X-MESS you must have a copy of the original game,
-extracted from a cartridge, floppy or tape image.
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
deleted file mode 100644
index 8918ff634f5..00000000000
--- a/emulators/xmess/Makefile
+++ /dev/null
@@ -1,114 +0,0 @@
-# $NetBSD: Makefile,v 1.76 2005/10/23 20:03:47 kristerw Exp $
-#
-
-DISTNAME= xmame-0.101
-PKGNAME= xmess-0.101
-CATEGORIES= emulators games x11
-MASTER_SITES= http://x.mame.net/download/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= kristerw@NetBSD.org
-HOMEPAGE= http://x.mame.net/
-COMMENT= X11 emulator for old computers and console machines
-
-RESTRICTED= "selling is not allowed"
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-USE_PKGINSTALL= YES
-USE_TOOLS+= gmake
-MAKEFILE= makefile.unix
-TARGET= ${PKGBASE}
-UNLIMIT_RESOURCES= datasize
-
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
-
-ROMPATH= ${PREFIX}/share/${TARGET}
-SPOOLDIR= ${VARBASE}/games/${TARGET}
-
-MAKE_FLAGS+= TARGET="${TARGET:S/x//}"
-MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}"
-MAKE_FLAGS+= CFLAGS="${CFLAGS}"
-MAKE_FLAGS+= X11INC= X11LIB=
-
-# Network support is broken since xmame-0.85
-#MAKE_FLAGS+= XMAME_NET=1
-
-# Determine which CPU-specific code to use.
-.for MARCH in alpha m68k i386 ia64 mips
-MAME_CPU.${MARCH}?= ${MARCH}
-.endfor
-MAME_CPU.x86_64?= amd64
-.if !defined(MAME_CPU.${MACHINE_ARCH})
-. include "../../mk/endian.mk"
-_MAME_CPU.big-endian= risc
-_MAME_CPU.little-endian= risc_lsb
-_MAME_CPU.unknown-endian= risc # assume unknown == big
-MAME_CPU.${MACHINE_ARCH}?= ${_MAME_CPU.${MACHINE_ENDIAN}-endian}
-.endif
-
-# Determine which operating system defaults to use.
-MAME_ARCH.NetBSD?= netbsd
-MAME_ARCH.Linux?= linux
-MAME_ARCH.SunOS?= solaris
-.if !defined(MAME_ARCH.${OPSYS})
-MAME_ARCH.${OPSYS}?= generic
-.endif
-
-MAKE_FLAGS+= DISPLAY_METHOD="${MAME_DISP_METHOD}"
-MAKE_FLAGS+= MY_CPU="${MAME_CPU.${MACHINE_ARCH}}"
-MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}"
-
-.if exists(${X11BASE}/include/X11/extensions/xf86dga.h)
-MAKE_FLAGS+= X11_DGA=1
-.endif
-.if exists(${X11BASE}/include/X11/extensions/Xv.h)
-MAKE_FLAGS+= X11_XV=1
-.endif
-
-# If supported, add appropriate definitions to build joystick drivers.
-.if exists(/usr/include/machine/joystick.h) || \
- exists(/usr/include/linux/joystick.h)
-MAKE_FLAGS+= JOY_STANDARD=1
-.endif
-.if ${OPSYS} == "NetBSD"
-. if exists(/usr/lib/libusb.a) || exists(/usr/lib/libusbhid.a)
-MAKE_FLAGS+= JOY_USB=1
-. endif
-.endif
-
-OWN_DIRS= ${SPOOLDIR}
-INSTALLATION_DIRS= bin man/man6
-
-post-configure:
- cd ${WRKSRC}/doc; \
- ${SED} -e "s|@ROMPATH@|${ROMPATH}|g" \
- -e "s|@SPOOLDIR@|${SPOOLDIR}|g" \
- ${TARGET}rc.dist > ${TARGET}rc
-.if !empty(MAKE_FLAGS:M*USB*)
- ${LN} -fs /usr/include/usb.h ${BUILDLINK_DIR}/include
- for FILE in /usr/lib/libusb*; do \
- ${LN} -fs $$FILE ${BUILDLINK_DIR}/lib; \
- done
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \
- ${PREFIX}/bin/${TARGET}
- ${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${PREFIX}/bin/imgtool
- ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \
- ${PREFIX}/man/man6/${TARGET}.6
- ${INSTALL_DATA_DIR} ${ROMPATH}
- ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
-
-# Pragma once is not needed, and case warnings/errors on gcc
-SUBST_CLASSES= pragma
-SUBST_STAGE.pragma= pre-configure
-SUBST_FILES.pragma= src/*.h
-SUBST_SED.pragma= -e "s|\#pragma once||g"
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../textproc/expat/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xmess/PLIST b/emulators/xmess/PLIST
deleted file mode 100644
index ac889c0fa46..00000000000
--- a/emulators/xmess/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2004/05/16 00:28:23 kristerw Exp $
-bin/imgtool
-bin/xmess
-man/man6/xmess.6
-share/xmess/xmessrc
-@dirrm share/xmess
diff --git a/emulators/xmess/distinfo b/emulators/xmess/distinfo
deleted file mode 100644
index 1a3ce3340dd..00000000000
--- a/emulators/xmess/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.41 2005/10/23 20:03:47 kristerw Exp $
-
-SHA1 (xmame-0.101.tar.bz2) = 2746b914d8af534fac4802f22a68dcce982ea223
-RMD160 (xmame-0.101.tar.bz2) = 92ad8035fb134df64e825a976dcf002d38eeb9a8
-Size (xmame-0.101.tar.bz2) = 15978618 bytes
-SHA1 (patch-aa) = 909583adb17f7485ad5cd1e390cdbb73d367d7be
-SHA1 (patch-ab) = dd21329b7e1a05bc7ea12b5a98a05d502dc36656
-SHA1 (patch-ae) = cf9b2684b4bdfdec7d2f09bcc424b7ee79d7f45a
diff --git a/emulators/xmess/options.mk b/emulators/xmess/options.mk
deleted file mode 100644
index e3d734e7378..00000000000
--- a/emulators/xmess/options.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2005/09/03 18:16:07 xtraeme Exp $
-#
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.xmess
-PKG_OPTIONS_OPTIONAL_GROUPS= video
-PKG_OPTIONS_GROUP.video= sdl opengl
-PKG_SUPPORTED_OPTIONS= esound
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Msdl)
-MAME_DISP_METHOD?= SDL
-.include "../../devel/SDL/buildlink3.mk"
-.elif !empty(PKG_OPTIONS:Mopengl)
-MAME_DISP_METHOD?= xgl
-.include "../../graphics/Mesa/buildlink3.mk"
-.else
-MAME_DISP_METHOD?= x11
-.endif
-
-.if !empty(PKG_OPTIONS:Mesound)
-MAKE_FLAGS+= SOUND_ESOUND=1
-.include "../../audio/esound/buildlink3.mk"
-.endif
diff --git a/emulators/xmess/patches/patch-aa b/emulators/xmess/patches/patch-aa
deleted file mode 100644
index ca0c95074ac..00000000000
--- a/emulators/xmess/patches/patch-aa
+++ /dev/null
@@ -1,78 +0,0 @@
-$NetBSD: patch-aa,v 1.21 2005/05/12 22:34:53 kristerw Exp $
-
---- makefile.unix.orig 2005-05-12 23:02:10.000000000 +0200
-+++ makefile.unix 2005-05-12 23:07:19.000000000 +0200
-@@ -33,7 +33,7 @@
- ###########################################################################
-
- # Uncomment one of these.
--TARGET = mame
-+# TARGET = mame
- # TARGET = mess
- # TARGET = mage
- # TARGET = mmsnd
-@@ -88,7 +88,7 @@
- # just as well. However, stay away from the `cc' Ultrix compiler if
- # possible.
-
--CC = gcc
-+# CC = gcc
- # CC = cc
- # CC = icc
- # CC = c89
-@@ -109,7 +109,7 @@
-
- # If you want to use whatever CFLAGS are currently set in your
- # environment, then comment this out.
--CFLAGS =
-+# CFLAGS =
-
-
- ###########################################################################
-@@ -118,7 +118,7 @@
- ###########################################################################
-
- # GCC on x86
--CFLAGS = -O2 -Wall -Wno-unused
-+# CFLAGS = -O2 -Wall -Wno-unused
-
- # GCC on x86 with some optimizations
- # CFLAGS = -O2 -Wall -Wno-unused -mcpu=i686 -fomit-frame-pointer \
-@@ -523,7 +523,7 @@
- ###########################################################################
-
- # i386, GNU asm
--MY_CPU = i386
-+# MY_CPU = i386
-
- # i386, no asm -- needed for the Intel C++ compiler, which does not fully
- # understand GCC's inline assembly syntax, though you may still enable
-@@ -558,7 +558,7 @@
- ###########################################################################
-
- # Linux
--ARCH = linux
-+# ARCH = linux
-
- # FreeBSD
- # ARCH = freebsd
-@@ -701,7 +701,7 @@
- X11_MITSHM = 1
-
- # Use Xv extension for hardware scaling.
--X11_XV = 1
-+# X11_XV = 1
-
- # Enable XFree86 DGA. This also causes "make install" to set the suid bit
- # on the executable.
-@@ -725,8 +725,8 @@
- # X11LIB = -L/usr/lib/X11
-
- # Standard location for XFree86
--X11INC = -I/usr/X11R6/include
--X11LIB = -L/usr/X11R6/lib
-+# X11INC = -I/usr/X11R6/include
-+# X11LIB = -L/usr/X11R6/lib
-
- # Standard location for Sun systems
- # X11INC = -I/usr/openwin/include
diff --git a/emulators/xmess/patches/patch-ab b/emulators/xmess/patches/patch-ab
deleted file mode 100644
index c90c620a8d2..00000000000
--- a/emulators/xmess/patches/patch-ab
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ab,v 1.20 2005/04/02 20:57:10 kristerw Exp $
-
---- src/unix/unix.mak.orig 2005-04-02 20:38:46.000000000 +0200
-+++ src/unix/unix.mak 2005-04-02 20:50:17.000000000 +0200
-@@ -258,7 +258,7 @@
- $(COREDEFS) $(SOUNDDEFS) $(CPUDEFS) $(ASMDEFS) \
- $(INCLUDES) $(INCLUDE_PATH)
-
--MY_LIBS = $(LIBS) $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz
-+MY_LIBS = $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz -lexpat
-
- ifdef SEPARATE_LIBM
- MY_LIBS += -lm
-@@ -578,15 +578,15 @@
-
- romcmp: $(OBJ)/romcmp.o $(OBJ)/unzip.o $(ZLIB)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
-
- chdman: $(OBJ)/chdman.o $(OBJ)/chd.o $(OBJ)/chdcd.o $(OBJ)/cdrom.o $(OBJ)/md5.o $(OBJ)/sha1.o $(OBJ)/version.o $(ZLIB)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
-
- xml2info: $(OBJ)/xml2info.o $(EXPAT)
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lexpat -lz -o $@
-
- dat2html: $(DAT2HTML_OBJS)
- $(CC_COMMENT) @echo 'Compiling $@...'
diff --git a/emulators/xmess/patches/patch-ae b/emulators/xmess/patches/patch-ae
deleted file mode 100644
index c43f464a1f2..00000000000
--- a/emulators/xmess/patches/patch-ae
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ae,v 1.10 2004/11/07 16:11:48 kristerw Exp $
-
---- doc/xmessrc.dist.orig Sun Nov 7 13:51:40 2004
-+++ doc/xmessrc.dist Sun Nov 7 13:53:30 2004
-@@ -66,11 +66,11 @@
- analogstick 0
-
- ### Fileio Related ###
--biospath /usr/local/share/xmess/bios
--softwarepath /usr/local/share/xmess/software
--hash_directory /usr/local/share/xmess/hash
-+biospath @ROMPATH@/bios
-+softwarepath @ROMPATH@/software
-+hash_directory @ROMPATH@/hash
- snapshot_directory .
--hiscore_file /usr/local/share/xmess/hiscore.dat
-+hiscore_file @SPOOLDIR@/hiscore.dat
-
- ### Mess Related ###
- language english
diff --git a/emulators/xtrs/DESCR b/emulators/xtrs/DESCR
deleted file mode 100644
index 7e1602a5507..00000000000
--- a/emulators/xtrs/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix
-and the X Window System. It includes lower case, the real time
-clock, hi-res graphics, serial port, parallel printer, mouse,
-cassette, sound and music output (requires OSS), 5" and 8" floppy
-disk drives in single and double density, and even hard disk drives.
-The emulated floppy and hard disk file formats are compatible with
-the popular MSDOS-based emulators by Jeff Vavasour, Matthew Reed,
-and David Keil, and (if you choose a capable enough file format),
-all features of the original TRS-80 floppy disk controller are
-emulated. Under Linux, physical floppy disk drives are also
-supported. Physical cassettes can be read and written too. The
-user interface is a bit spartan, but it gets the job done.
diff --git a/emulators/xtrs/Makefile b/emulators/xtrs/Makefile
deleted file mode 100644
index 71f2c9e89fd..00000000000
--- a/emulators/xtrs/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2005/07/18 00:50:21 kristerw Exp $
-#
-
-DISTNAME= xtrs-4.9
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= http://www.tim-mann.org/trs80/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= ${MASTER_SITES}
-COMMENT= TRS-80 Model I/III/4 Emulator for Unix
-
-
-BUILD_TARGET= default
-
-SUBST_CLASSES+= mf
-SUBST_STAGE.mf= post-patch
-SUBST_FILES.mf= Makefile.local
-SUBST_SED.mf= -e 's|/usr/local|${PREFIX}|g' \
- -e 's|/usr/X11/|${X11PREFIX}/|g' \
- -e 's|/usr/include/X11|${X11BASE}/include|g' \
- -e 's|^\(LDFLAGS = \)-L\(/usr/X11R6/lib\)|\1-Wl,-R\2 -L\2|g' \
- -e 's|/share/man|/man|g'
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/xtrs
- ${INSTALL_DATA} ${WRKSRC}/xtrsrom4p.hex ${PREFIX}/lib/xtrs/romimage.m4p
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xtrs
- ${INSTALL_DATA} ${WRKSRC}/xtrsrom4p.README ${PREFIX}/share/doc/xtrs
-
-# The sources assume <malloc.h> exists. Create a fake one for platforms
-# that don't have it.
-post-wrapper:
- if ${TEST} ! -f /usr/include/malloc.h; then \
- ${ECHO} "#include <stdlib.h>" \
- > ${BUILDLINK_DIR}/include/malloc.h; \
- fi
-
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xtrs/PLIST b/emulators/xtrs/PLIST
deleted file mode 100644
index bb47aa401da..00000000000
--- a/emulators/xtrs/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/25 16:26:47 uebayasi Exp $
-bin/cmddump
-bin/hex2cmd
-bin/mkdisk
-bin/xtrs
-lib/xtrs/romimage.m4p
-man/man1/cassette.1
-man/man1/cmddump.1
-man/man1/hex2cmd.1
-man/man1/mkdisk.1
-man/man1/xtrs.1
-share/doc/xtrs/xtrsrom4p.README
-@dirrm share/doc/xtrs
-@dirrm lib/xtrs
diff --git a/emulators/xtrs/distinfo b/emulators/xtrs/distinfo
deleted file mode 100644
index 16f1c7275af..00000000000
--- a/emulators/xtrs/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (xtrs-4.9.tar.gz) = abfbbdb972c7fa2b3545ed42698162a88168bded
-RMD160 (xtrs-4.9.tar.gz) = 6daabf36a53e4af8b9d6b97d91cba00cc55b406f
-Size (xtrs-4.9.tar.gz) = 422910 bytes
diff --git a/emulators/xyame/DESCR b/emulators/xyame/DESCR
deleted file mode 100644
index 38ea22a50fc..00000000000
--- a/emulators/xyame/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-YAME is a multi-system emulator which currently emulates the Gameboy,
-NES, and PC-Engine.
-
-This is a Japanese emulator. It has sound logging, frameskip, and
-realtime save/load. The man page is in Japanese though.
-
-This package contains the Linux binary of the program.
diff --git a/emulators/xyame/Makefile b/emulators/xyame/Makefile
deleted file mode 100644
index 64d068d3ca5..00000000000
--- a/emulators/xyame/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:52 jlam Exp $
-#
-
-DISTNAME= xyame038
-PKGNAME= xyame-038
-CATEGORIES= emulators
-MASTER_SITES= http://www.emuxhaven.net/emuxhaven/multis/
-
-MAINTAINER= wiz@NetBSD.org
-#HOMEPAGE= http://www.geocities.co.jp/Stylish/2068/yame.html
-COMMENT= Multi-system emulator (Gameboy, NES, and PC-Engine)
-
-DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-
-WRKSRC= ${WRKDIR}
-NO_CONFIGURE= yes
-NO_BUILD= yes
-
-CHECK_SHLIBS= no
-
-ONLY_FOR_PLATFORM+= *-*-i386
-INSTALLATION_DIRS= bin man/man6
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xyame ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/yame.6 ${PREFIX}/man/man6/xyame.6
-
-.include "../../emulators/suse_linux/Makefile.application"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xyame/PLIST b/emulators/xyame/PLIST
deleted file mode 100644
index 36ae4e74b74..00000000000
--- a/emulators/xyame/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/16 01:00:43 wiz Exp $
-bin/xyame
-man/man6/xyame.6
diff --git a/emulators/xyame/distinfo b/emulators/xyame/distinfo
deleted file mode 100644
index 45b15568ab6..00000000000
--- a/emulators/xyame/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (xyame038.tar.gz) = 0af5635c68e026d23688eda9607e4c2b702b9973
-RMD160 (xyame038.tar.gz) = 8da4752eabe48a241f4d898c7f7d6696df7d2738
-Size (xyame038.tar.gz) = 239396 bytes
diff --git a/emulators/z26/DESCR b/emulators/z26/DESCR
deleted file mode 100644
index 459af45c264..00000000000
--- a/emulators/z26/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-A fast and stable emulator for the mighty Atari 2600 game console.
-Lots of features and options, even comes with a man page with gobs of
-detailed information to help you fine tune everything. Try the
-various timing and video mode settings to get the maximum performance
-on your computer.
diff --git a/emulators/z26/Makefile b/emulators/z26/Makefile
deleted file mode 100644
index 1234ec226a4..00000000000
--- a/emulators/z26/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/21 03:49:56 minskim Exp $
-#
-
-DISTNAME= z26v213
-PKGNAME= z26-2.13
-CATEGORIES= emulators games
-MASTER_SITES= http://www.whimsey.com/z26/
-
-MAINTAINER= xmor61@users.sourceforge.net
-HOMEPAGE= http://www.whimsey.com/z26/
-COMMENT= Atari 2600 Emulator
-
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-
-ONLY_FOR_PLATFORM+= *-i386
-
-WRKSRC= ${WRKDIR}/z26_snapshot-20040523
-USE_TOOLS+= gmake perl
-BUILD_TARGET= netbsd
-MAKE_ENV+= "INSTALL_BINDIR=${PREFIX}/bin"
-MAKE_ENV+= "INSTALL_MANDIR=${PREFIX}/man/man1"
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/z26/PLIST b/emulators/z26/PLIST
deleted file mode 100644
index 89b5f3e9fb1..00000000000
--- a/emulators/z26/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/21 03:49:56 minskim Exp $
-bin/z26
-man/man1/z26.1
diff --git a/emulators/z26/distinfo b/emulators/z26/distinfo
deleted file mode 100644
index 172acb08404..00000000000
--- a/emulators/z26/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/21 03:49:56 minskim Exp $
-
-SHA1 (z26v213.tar.gz) = b9a913ab7965f021be79ee9079fdba79ad26a5da
-RMD160 (z26v213.tar.gz) = 52d0e99839bbc290e184d31a765ce3f3043937c4
-Size (z26v213.tar.gz) = 216375 bytes
diff --git a/emulators/zsnes/DESCR b/emulators/zsnes/DESCR
deleted file mode 100644
index 2704baf6418..00000000000
--- a/emulators/zsnes/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Play Super Nintendo games on your Intel x86 or compatible PC.
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
deleted file mode 100644
index 65bf35fe037..00000000000
--- a/emulators/zsnes/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.28 2005/06/01 18:02:48 jlam Exp $
-#
-
-DISTNAME= zsnes142src
-PKGNAME= zsnes-1.42
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zsnes/}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.zsnes.com/
-COMMENT= Super NES emulator
-
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-BUILD_TARGET= zsnes
-
-WRKSRC= ${WRKDIR}/zsnes_1_42/src
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/zsnes/PLIST b/emulators/zsnes/PLIST
deleted file mode 100644
index 987c3f99088..00000000000
--- a/emulators/zsnes/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:33 zuntum Exp $
-bin/zsnes
-man/man1/zsnes.1
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
deleted file mode 100644
index 26d623fe25c..00000000000
--- a/emulators/zsnes/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 18:49:22 agc Exp $
-
-SHA1 (zsnes142src.tar.gz) = d38ca8c1b4168edc5bb5815f504b52654100bc4b
-RMD160 (zsnes142src.tar.gz) = d794c69e876265715e141c26ecb6ed1802ffc27d
-Size (zsnes142src.tar.gz) = 1102840 bytes
-SHA1 (patch-ab) = fdcec7ca532199189821bb89ea9baaa3908bd449
-SHA1 (patch-ac) = 76e640aec3816eb4cbbfbe0dff1fcd2fa52f7876
-SHA1 (patch-ad) = 3c79a4c3ffe65151cd4d299b9837c6d20c8f8522
-SHA1 (patch-ae) = 81236ed52fe7095f6317f655374234ce17cf30dd
diff --git a/emulators/zsnes/patches/patch-ab b/emulators/zsnes/patches/patch-ab
deleted file mode 100644
index 4fcbaba2479..00000000000
--- a/emulators/zsnes/patches/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2005/01/20 00:43:15 xtraeme Exp $
-
---- gblhdr.h.orig 2005-01-20 01:34:53.000000000 +0100
-+++ gblhdr.h 2005-01-20 01:35:06.000000000 +0100
-@@ -122,4 +122,4 @@
- #endif
- #endif
-
--
-+ #include <pthread.h>
diff --git a/emulators/zsnes/patches/patch-ac b/emulators/zsnes/patches/patch-ac
deleted file mode 100644
index f339a3832b3..00000000000
--- a/emulators/zsnes/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/01/20 00:43:15 xtraeme Exp $
-
---- zip/unzip.c.orig 2005-01-20 01:32:47.000000000 +0100
-+++ zip/unzip.c 2005-01-20 01:33:03.000000000 +0100
-@@ -15,6 +15,10 @@
- #include "zlib.h"
- #include "zunzip.h"
-
-+#ifndef OF
-+# define OF(args) args
-+#endif
-+
- #ifdef STDC
- # include <stddef.h>
- # include <string.h>
diff --git a/emulators/zsnes/patches/patch-ad b/emulators/zsnes/patches/patch-ad
deleted file mode 100644
index 0c1063d2441..00000000000
--- a/emulators/zsnes/patches/patch-ad
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2005/01/20 00:43:15 xtraeme Exp $
-
---- linux/sw_draw.c.orig 2005-01-14 14:11:18.000000000 +0100
-+++ linux/sw_draw.c 2005-01-20 01:34:10.000000000 +0100
-@@ -124,6 +124,11 @@
-
- void sw_drawwin()
- {
-+#ifdef _PTH_PTHREAD_H_
-+ pthread_yield_np();
-+#endif
-+
-+
- NGNoTransp = 0; // Set this value to 1 within the appropriate
- // video mode if you want to add a custom
- // transparency routine or hardware
diff --git a/emulators/zsnes/patches/patch-ae b/emulators/zsnes/patches/patch-ae
deleted file mode 100644
index a745ccc48c2..00000000000
--- a/emulators/zsnes/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2005/01/20 00:43:15 xtraeme Exp $
-
---- zip/zunzip.h.orig 2005-01-20 01:37:57.000000000 +0100
-+++ zip/zunzip.h 2005-01-20 01:38:09.000000000 +0100
-@@ -41,6 +41,10 @@
- #ifndef _unz_H
- #define _unz_H
-
-+#ifndef OF
-+# define OF(args) args
-+#endif
-+
- #ifdef __cplusplus
- extern "C" {
- #endif