Index: head/emulators/cannonball/Makefile =================================================================== --- head/emulators/cannonball/Makefile (revision 568623) +++ head/emulators/cannonball/Makefile (revision 568624) @@ -1,44 +1,45 @@ # $FreeBSD$ PORTNAME= cannonball -DISTVERSION= g20191023 -PORTREVISION= 1 +DISTVERSION= 0.31 CATEGORIES= emulators games MAINTAINER= fox@FreeBSD.org 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 +BUILD_DEPENDS= ${LOCALBASE}/include/boost/exception/all.hpp:devel/boost-libs -USES= cmake:insource pkgconfig sdl +USES= cmake:insource gl pkgconfig sdl USE_SDL= sdl2 +USE_GL= gl glu CMAKE_ARGS+= ${WRKSRC}/cmake \ - -DBSD_PREFIX_PATH=${LOCALBASE} \ - -DTARGET=bsd + -DTARGET=linux.cmake +CFLAGS+= -I${LOCALBASE}/include + USE_GITHUB= yes GH_ACCOUNT= djyt -GH_TAGNAME= b6aa525 +GH_TAGNAME= v${DISTVERSION} 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_MAN} ${WRKSRC}/docs/cannonball.6 ${STAGEDIR}${MAN1PREFIX}/man/man6 ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/cmake/cannonball ${STAGEDIR}${PREFIX}/libexec .include Index: head/emulators/cannonball/distinfo =================================================================== --- head/emulators/cannonball/distinfo (revision 568623) +++ head/emulators/cannonball/distinfo (revision 568624) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571852926 -SHA256 (djyt-cannonball-g20191023-b6aa525_GH0.tar.gz) = 4ddc436505392c635eed6d0f770792cab115a440db586851196c82ce33c2c196 -SIZE (djyt-cannonball-g20191023-b6aa525_GH0.tar.gz) = 278312 +TIMESTAMP = 1615884344 +SHA256 (djyt-cannonball-0.31-v0.31_GH0.tar.gz) = 8743fcfabeeaf8820ab47196e1b29b1702c1f71b784b6336f79d5f8725bc561b +SIZE (djyt-cannonball-0.31-v0.31_GH0.tar.gz) = 269125 Index: head/emulators/cannonball/files/patch-cmake_linux.cmake =================================================================== --- head/emulators/cannonball/files/patch-cmake_linux.cmake (nonexistent) +++ head/emulators/cannonball/files/patch-cmake_linux.cmake (revision 568624) @@ -0,0 +1,20 @@ +Adds support for building in BSD. + +Will be removed once upstream makes a release with +https://github.com/djyt/cannonball/commit/a9c71cbf229b9f808ae172a09d12a773fc869209 + +--- cmake/linux.cmake.orig 2021-03-16 11:22:26 UTC ++++ cmake/linux.cmake +@@ -0,0 +1,12 @@ ++# ----------------------------------------------------------------------------- ++# CannonBall BSD Setup ++# ----------------------------------------------------------------------------- ++ ++# Use OpenGL for rendering. ++find_package(OpenGL REQUIRED) ++ ++# Platform Specific Libraries ++set(platform_link_libs ++ ${OPENGL_LIBRARIES} ++) ++ Property changes on: head/emulators/cannonball/files/patch-cmake_linux.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