Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 492410) +++ head/emulators/Makefile (revision 492411) @@ -1,183 +1,184 @@ # $FreeBSD$ # COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += advancemame SUBDIR += advancemenu SUBDIR += advancemess SUBDIR += aftp SUBDIR += almostti SUBDIR += aqemu SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += catapult SUBDIR += cinc SUBDIR += cingb SUBDIR += citra SUBDIR += citra-qt5 SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dboxfe SUBDIR += desmume SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dtcyber SUBDIR += dynagen SUBDIR += dynagui SUBDIR += dynamips-community SUBDIR += e-uae SUBDIR += emulationstation SUBDIR += fceux SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gem5 SUBDIR += gens SUBDIR += gngb SUBDIR += gngeo SUBDIR += gns3 SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hugo SUBDIR += i386-wine SUBDIR += i386-wine-devel SUBDIR += ia64sim SUBDIR += ines SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += kcemu SUBDIR += klh10 SUBDIR += lib765 SUBDIR += libdsk SUBDIR += libspectrum SUBDIR += linux-c6 SUBDIR += linux-c7 SUBDIR += linux-power9-functional-sim SUBDIR += linux_base-c6 SUBDIR += linux_base-c7 SUBDIR += lisaem SUBDIR += loemu SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mess SUBDIR += mgba SUBDIR += mtools SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-qt SUBDIR += mupen64plus-rsp-cxd4 SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nestopia SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-vm-tools SUBDIR += open-vm-tools-nox11 SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc SUBDIR += pipelight SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-unicorn SUBDIR += q4wine SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv SUBDIR += qemu-riscv SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qemu-utils SUBDIR += qmc2 SUBDIR += qtemu SUBDIR += quasi88 SUBDIR += riscv-fesvr SUBDIR += riscv-isa-sim SUBDIR += rpcs3 SUBDIR += rtc SUBDIR += rubygem-fission SUBDIR += simh SUBDIR += skyeye SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += swine + SUBDIR += teo SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tpm-emulator SUBDIR += tuxnes SUBDIR += uae SUBDIR += ucon64 SUBDIR += unicorn SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-additions-nox11 SUBDIR += virtualbox-ose-kmod SUBDIR += virtualbox-ose-nox11 SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vpcs SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += winetricks SUBDIR += wxmupen64plus SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen-kernel411 SUBDIR += xen-kernel47 SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yabause SUBDIR += yape SUBDIR += zsnes .include Index: head/emulators/teo/Makefile =================================================================== --- head/emulators/teo/Makefile (nonexistent) +++ head/emulators/teo/Makefile (revision 492411) @@ -0,0 +1,39 @@ +# Created by: Thomas Bernard +# $FreeBSD$ + +PORTNAME= teo +PORTVERSION= 1.8.4 +CATEGORIES= emulators +MASTER_SITES= SF/teoemulator/linux/${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= nanard@free.fr +COMMENT= Thomson TO8 emulator + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/licence-en.txt + +LIB_DEPENDS= libasound.so:audio/alsa-lib \ + libpng.so:graphics/png + +USES= gmake gnome pkgconfig +USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_XORG= x11 xext + +ALL_TARGET= default +WRKSRC= ${WRKDIR}/teo + +post-patch: + @${ECHO_CMD} "MAKEFILE_INC = makefile.lnx" > ${WRKSRC}/Makefile + @${ECHO_CMD} "include makefile.all" >> ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|"system/|"${DATADIR}/|' \ + ${WRKSRC}/src/hardware.c ${WRKSRC}/src/linux/udebug/udtoolb.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/teo ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR}/rom + ${INSTALL_DATA} ${WRKSRC}/system/rom/* ${STAGEDIR}${DATADIR}/rom + @${MKDIR} ${STAGEDIR}${DATADIR}/icons + ${INSTALL_DATA} ${WRKSRC}/system/icons/* ${STAGEDIR}${DATADIR}/icons + +.include Property changes on: head/emulators/teo/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/distinfo =================================================================== --- head/emulators/teo/distinfo (nonexistent) +++ head/emulators/teo/distinfo (revision 492411) @@ -0,0 +1,3 @@ +TIMESTAMP = 1549611723 +SHA256 (teo-1.8.4-src.tar.gz) = 93b636861a67cc72223713c2708391eaf969a7a10ccf2f0288fb41ae6e22c437 +SIZE (teo-1.8.4-src.tar.gz) = 1552423 Property changes on: head/emulators/teo/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/files/patch-makefile.all =================================================================== --- head/emulators/teo/files/patch-makefile.all (nonexistent) +++ head/emulators/teo/files/patch-makefile.all (revision 492411) @@ -0,0 +1,11 @@ +--- makefile.all.orig 2019-02-06 11:40:40 UTC ++++ makefile.all +@@ -151,8 +151,6 @@ TEO_SRC_WIN_FILES = \ + + # ------ compiler flags ------ + +-CC = gcc +- + WFLAGS = -Wall + + ifdef PGCC Property changes on: head/emulators/teo/files/patch-makefile.all ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/files/patch-makefile.lnx =================================================================== --- head/emulators/teo/files/patch-makefile.lnx (nonexistent) +++ head/emulators/teo/files/patch-makefile.lnx (revision 492411) @@ -0,0 +1,28 @@ +--- makefile.lnx.orig 2019-02-06 11:40:45 UTC ++++ makefile.lnx +@@ -15,7 +15,7 @@ UNIX_TOOLS = 1 + ifdef DEBUGMODE + + # -- debugging build -- +-CFLAGS = -g -DDEBUG $(WFLAGS) ++CFLAGS += -g -DDEBUG $(WFLAGS) + LFLAGS = -g + DESCRIPTION = debugging + +@@ -23,14 +23,14 @@ else + ifdef PROFILEMODE + + # -- profiling build -- +-CFLAGS = -pg $(WFLAGS) $(OFLAGS) ++CFLAGS += -pg $(WFLAGS) $(OFLAGS) + LFLAGS = -pg + DESCRIPTION = profiling + + else + + # -- optimised build -- +-CFLAGS = $(WFLAGS) $(OFLAGS) ++CFLAGS += $(WFLAGS) + LFLAGS = -s + DESCRIPTION = optimized + Property changes on: head/emulators/teo/files/patch-makefile.lnx ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/files/patch-src_linux_ufloppy.c =================================================================== --- head/emulators/teo/files/patch-src_linux_ufloppy.c (nonexistent) +++ head/emulators/teo/files/patch-src_linux_ufloppy.c (revision 492411) @@ -0,0 +1,37 @@ +# HG changeset patch +# User François Mouret +# Date 1544541950 -3600 +# Tue Dec 11 16:25:50 2018 +0100 +# Node ID e49c586caa6bfd5cbc710fbbef05cf6f3c361fcd +# Parent e5023114c1b22b12a07de65eaa3460cae578ec49 +Avoid floppy reactions for non Linux systems (thanks to Thomas Bernard) + +--- src/linux/ufloppy.c.orig 2017-11-03 16:40:23 UTC ++++ src/linux/ufloppy.c +@@ -44,6 +44,7 @@ + */ + + ++#if defined(linux) + #ifndef SCAN_DEPEND + #include + #include +@@ -404,3 +405,18 @@ void ufloppy_Exit (void) + } + } + ++#else ++ ++/* for non linux systems, such as FreeBSD, etc. */ ++ ++int ufloppy_Init (int to_drive_type[4], int enable_write) ++{ ++ return 0; ++} ++ ++void ufloppy_Exit (void) ++{ ++} ++ ++#endif ++ Property changes on: head/emulators/teo/files/patch-src_linux_ufloppy.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/files/patch-src_std.c =================================================================== --- head/emulators/teo/files/patch-src_std.c (nonexistent) +++ head/emulators/teo/files/patch-src_std.c (revision 492411) @@ -0,0 +1,12 @@ +--- src/std.c.orig 2017-11-03 16:40:23 UTC ++++ src/std.c +@@ -364,8 +364,7 @@ char *std_ApplicationPath (const char di + { + static char *fname = NULL; + +- fname = NULL; +-#ifdef DEBIAN_BUILD ++#if !defined(__DJGPP__) && !defined(_WIN32) + /* create private directory if necessary */ + fname = std_strdup_printf ("%s/.config/%s", getenv("HOME"), dirname); + if (access (fname, F_OK) < 0) Property changes on: head/emulators/teo/files/patch-src_std.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/pkg-descr =================================================================== --- head/emulators/teo/pkg-descr (nonexistent) +++ head/emulators/teo/pkg-descr (revision 492411) @@ -0,0 +1,7 @@ +Teo is an emulator of the Thomson TO8 microcomputer for PC, running +on MSDOS, Windows, Linux, and FreeBSD. + +The compatibility is close to 100% for softwares which don't use +non emulated peripherals and don't hold physical protections. + +WWW: https://sourceforge.net/projects/teoemulator/ Property changes on: head/emulators/teo/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/teo/pkg-plist =================================================================== --- head/emulators/teo/pkg-plist (nonexistent) +++ head/emulators/teo/pkg-plist (revision 492411) @@ -0,0 +1,11 @@ +bin/teo +%%DATADIR%%/icons/leave.ico +%%DATADIR%%/icons/run.ico +%%DATADIR%%/icons/step.ico +%%DATADIR%%/icons/stepover.ico +%%DATADIR%%/rom/basic1.rom +%%DATADIR%%/rom/basic512.rom +%%DATADIR%%/rom/expl.rom +%%DATADIR%%/rom/extramon.rom +%%DATADIR%%/rom/monitor1.rom +%%DATADIR%%/rom/monitor2.rom Property changes on: head/emulators/teo/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property