Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 506025) +++ head/emulators/Makefile (revision 506026) @@ -1,180 +1,181 @@ # $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 += cannonball SUBDIR += catapult SUBDIR += cinc SUBDIR += cingb SUBDIR += citra SUBDIR += citra-qt5 SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dtcyber SUBDIR += dynagen SUBDIR += dynagui SUBDIR += dynamips-community SUBDIR += e-uae SUBDIR += edumips64 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 += 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 += mesen 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 += pcem SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc SUBDIR += pipelight SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-unicorn SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qemu-utils SUBDIR += qemu2 SUBDIR += qmc2 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 += 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-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += yuzu SUBDIR += yuzu-qt5 SUBDIR += xzx SUBDIR += zsnes .include Index: head/emulators/cannonball/Makefile =================================================================== --- head/emulators/cannonball/Makefile (nonexistent) +++ head/emulators/cannonball/Makefile (revision 506026) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= cannonball +DISTVERSION= g20171201 +CATEGORIES= emulators games + +MAINTAINER= santhosh.raju@gmail.com +COMMENT= Enhanced OutRun Engine + +LICENSE= MAME-LICENSE +LICENSE_NAME= MAME license +LICENSE_FILE= ${WRKSRC}/docs/license.txt +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +LIB_DEPENDS= libboost_program_options.so:devel/boost-libs + +USES= cmake:insource pkgconfig sdl +USE_SDL= sdl + +CMAKE_ARGS= ${WRKSRC}/cmake \ + -DTARGET=bsd + +USE_GITHUB= yes +GH_ACCOUNT= djyt +GH_TAGNAME= 0c0814d + +BUILD_WRKSRC= ${WRKSRC}/cmake +CONFIGURE_WRKSRC= ${WRKSRC}/cmake + +SUB_FILES= ${PORTNAME}.sh + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR}/res + ${MKDIR} ${STAGEDIR}${DATADIR}/conf + ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilemap.bin ${STAGEDIR}${DATADIR}/res/tilemap.bin + ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilepatch.bin ${STAGEDIR}${DATADIR}/res/tilepatch.bin + ${INSTALL_DATA} ${WRKSRC}/cmake/config.xml ${STAGEDIR}${DATADIR}/conf/config.xml + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/cmake/cannonball ${STAGEDIR}${PREFIX}/libexec + +.include Property changes on: head/emulators/cannonball/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/cannonball/distinfo =================================================================== --- head/emulators/cannonball/distinfo (nonexistent) +++ head/emulators/cannonball/distinfo (revision 506026) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560212844 +SHA256 (djyt-cannonball-g20171201-0c0814d_GH0.tar.gz) = 9f79a26df838ad64b96137ddf5e843f3e76e639c2112f5bfaae39296698019d5 +SIZE (djyt-cannonball-g20171201-0c0814d_GH0.tar.gz) = 277297 Property changes on: head/emulators/cannonball/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/cannonball/files/cannonball.sh.in =================================================================== --- head/emulators/cannonball/files/cannonball.sh.in (nonexistent) +++ head/emulators/cannonball/files/cannonball.sh.in (revision 506026) @@ -0,0 +1,27 @@ +#!/bin/sh + +if [ -n "${XDG_DATA_HOME}" ]; then + CANNONBALL_DIR=${XDG_DATA_HOME}/cannonball +else + CANNONBALL_DIR=${HOME}/.local/share/cannonball +fi + +RESOURCE_DIR=${CANNONBALL_DIR}/res +ROMS_DIR=${CANNONBALL_DIR}/roms + +mkdir -p "${CANNONBALL_DIR}" "${ROMS_DIR}" + +if [ ! -f "${CANNONBALL_DIR}/config.xml" ]; then + cp %%PREFIX%%/share/cannonball/conf/config.xml \ + "${CANNONBALL_DIR}" +fi + +if [ ! -d "${RESOURCE_DIR}" ]; then + mkdir -p "${RESOURCE_DIR}" + cp %%PREFIX%%/share/cannonball/res/tilemap.bin \ + "${RESOURCE_DIR}" + cp %%PREFIX%%/share/cannonball/res/tilepatch.bin \ + "${RESOURCE_DIR}" +fi + +cd "${CANNONBALL_DIR}" && exec "%%PREFIX%%/libexec/cannonball" "$@" Property changes on: head/emulators/cannonball/files/cannonball.sh.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/cannonball/files/patch-cmake_CMakeLists.txt =================================================================== --- head/emulators/cannonball/files/patch-cmake_CMakeLists.txt (nonexistent) +++ head/emulators/cannonball/files/patch-cmake_CMakeLists.txt (revision 506026) @@ -0,0 +1,16 @@ +Remove the boost directory reference. + +Not required in ports, since boost libraries are directly installed +in ${LOCALBASE}/include + +--- cmake/CMakeLists.txt.orig 2019-06-10 03:25:18 UTC ++++ cmake/CMakeLists.txt +@@ -25,7 +25,7 @@ else() + include(${DCMAKE}) + endif(TARGET) + +-set(BOOST_INCLUDEDIR ${lib_base}/boost_1_54_0) ++set(BOOST_INCLUDEDIR ${lib_base}) + find_package(Boost REQUIRED) + + # Include Property changes on: head/emulators/cannonball/files/patch-cmake_CMakeLists.txt ___________________________________________________________________ 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/cannonball/files/patch-cmake_bsd.cmake =================================================================== --- head/emulators/cannonball/files/patch-cmake_bsd.cmake (nonexistent) +++ head/emulators/cannonball/files/patch-cmake_bsd.cmake (revision 506026) @@ -0,0 +1,25 @@ +Create a cmake file for FreeBSD build. + +--- cmake/bsd.cmake.orig 2019-06-10 03:23:23 UTC ++++ cmake/bsd.cmake +@@ -0,0 +1,20 @@ ++# Default CMake Setup. Used for FreeBSD Builds. ++ ++set(lib_base /usr/local/include) ++set(sdl_root ${lib_base}/SDL) ++ ++include_directories("${sdl_root}") ++ ++link_libraries(cannonball ++ SDL ++) ++ ++# Linking ++link_directories( ++ "/usr/local/lib" ++) ++ ++# Location for Cannonball to create save files ++# Used to auto-generate setup.hpp with various file paths ++set(xml_directory ./) ++set(sdl_flags "SDL_DOUBLEBUF | SDL_SWSURFACE") Property changes on: head/emulators/cannonball/files/patch-cmake_bsd.cmake ___________________________________________________________________ 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/cannonball/pkg-descr =================================================================== --- head/emulators/cannonball/pkg-descr (nonexistent) +++ head/emulators/cannonball/pkg-descr (revision 506026) @@ -0,0 +1,4 @@ +Cannonball is a program which allows you to play an enhanced version +of Yu Suzuki's seminal arcade racer, OutRun, on a variety of systems. + +WWW: https://github.com/djyt/cannonball/wiki Property changes on: head/emulators/cannonball/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/cannonball/pkg-message =================================================================== --- head/emulators/cannonball/pkg-message (nonexistent) +++ head/emulators/cannonball/pkg-message (revision 506026) @@ -0,0 +1,16 @@ +=========================================================================== +$FreeBSD$ + +In order for Cannonball to work you need to provide a copy of the +OutRun revision B romset to the roms subdirectory. Rename the files if +necessary. + +The roms subdirectory can be found at $XDG_DATA_HOME/cannonball/roms +which defaults to $HOME/.local/share/cannonball/roms + +Configuration can be found at $XDG_DATA_HOME/cannonball/config.xml +which defaults to $HOME/.local/share/cannonball/config.xml + +NOTE: The directories will be created on the first run of Cannonball +if they do not exist. +=========================================================================== Property changes on: head/emulators/cannonball/pkg-message ___________________________________________________________________ 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/cannonball/pkg-plist =================================================================== --- head/emulators/cannonball/pkg-plist (nonexistent) +++ head/emulators/cannonball/pkg-plist (revision 506026) @@ -0,0 +1,5 @@ +bin/cannonball +libexec/cannonball +%%DATADIR%%/conf/config.xml +%%DATADIR%%/res/tilemap.bin +%%DATADIR%%/res/tilepatch.bin Property changes on: head/emulators/cannonball/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