diff --git a/games/cataclysm-dda/Makefile b/games/cataclysm-dda/Makefile index 1a263604ffe1..c5820c33f447 100644 --- a/games/cataclysm-dda/Makefile +++ b/games/cataclysm-dda/Makefile @@ -1,62 +1,66 @@ PORTNAME= cataclysm-dda DISTVERSION= 0.G PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 1ab7d1793b3a34779e4616b8c0c7fab37a6da3be.patch:-p1 # Fix build with clang 19 \ + https://github.com/CleverRaven/Cataclysm-DDA/issues/77355 + MAINTAINER= eduardo@FreeBSD.org COMMENT= Roguelike set in a post-apocalyptic world WWW= https://cataclysmdda.org LICENSE= CC-BY-SA-3.0 LICENSE_FILE= ${WRKSRC}/LICENSE.txt FLAVORS= curses tiles FLAVOR?= curses FLAVORS_SUB= yes tiles_PKGNAMESUFFIX= -tiles curses_CONFLICTS_INSTALL= cataclysm-dda-tiles tiles_CONFLICTS_INSTALL= cataclysm-dda USES= cmake compiler:c++14-lang USE_GITHUB= yes GH_ACCOUNT= CleverRaven GH_PROJECT= Cataclysm-DDA CMAKE_OFF= BACKTRACE TESTS CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CMAKE_OFF= -DLOCALIZE=OFF PORTDOCS= * .if ${FLAVOR} == tiles USES+= pkgconfig sdl USE_SDL= image2 mixer2 ttf2 CMAKE_ON+= SOUND TILES .else USES+= ncurses CMAKE_ARGS+= -DCURSES_INCLUDE_PATH:STRING="${NCURSESINC}" .endif PORTSCOUT= limit:^0\.[A-Z] post-patch: @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' ${WRKSRC}/src/version.cmake post-install: ${INSTALL_MAN} ${WRKSRC}/doc/cataclysm.6 ${STAGEDIR}${PREFIX}/share/man/man6 ${INSTALL_MAN} ${WRKSRC}/doc/cataclysm-tiles.6 ${STAGEDIR}${PREFIX}/share/man/man6 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/games/cataclysm-dda/distinfo b/games/cataclysm-dda/distinfo index 0825cf68459e..64f243a7c58f 100644 --- a/games/cataclysm-dda/distinfo +++ b/games/cataclysm-dda/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1692464788 +TIMESTAMP = 1729975950 SHA256 (CleverRaven-Cataclysm-DDA-0.G_GH0.tar.gz) = e559d0d495b314ed39890920b222b4ae5067db183b5d39d4263700bfd66f36fb SIZE (CleverRaven-Cataclysm-DDA-0.G_GH0.tar.gz) = 157200161 +SHA256 (1ab7d1793b3a34779e4616b8c0c7fab37a6da3be.patch) = 8cb870013ac014a87209afbafa7147d0fe85b0d6738f764d285251d12e037477 +SIZE (1ab7d1793b3a34779e4616b8c0c7fab37a6da3be.patch) = 1963