Edit

IABSD.fr/ports/games/dxx-rebirth/Makefile

Branch :

  • Show log

    Commit

  • Author : thfr
    Date : 2026-05-07 13:56:43
    Hash : a03409b8
    Message : Update dxx-rebirth to recent commit, switching to github dxx-rebirth as upstream (this is an active fork; original author has abandoned project). This fixes issues with scons build system and upcoming python 3.14. While here, update README instructions to be a little more generic, acknowledging reality that distfiles on GOG.com keep updating/ renaming. Diff from sthen@, I added the README changes.

  • games/dxx-rebirth/Makefile
  • COMMENT =	source port of Descent, a 6-degrees-of-freedom shooter
    GH_ACCOUNT =	dxx-rebirth
    GH_PROJECT =	dxx-rebirth
    GH_COMMIT =	b749eadb4080f596ce90ef7b2be97d7c1213567f
    DISTNAME =	dxx-rebirth-0.60pl20260412
    CATEGORIES =	games x11
    
    HOMEPAGE =	https://www.dxx-rebirth.com/
    MAINTAINER =	Thomas Frohwein <thfr@openbsd.org>
    
    # GPLv3 with special exception for Parallax license
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL SDL_image SDL_mixer c m physfs png
    
    # requires -std=gnu++20
    COMPILER =	base-clang
    
    MODULES =	devel/scons
    MODSCONS_ENV =	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL -I${X11BASE}/include" \
    		CXXFLAGS="${CXXFLAGS}" \
    		LINKFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
    MODSCONS_FLAGS = \
    		ignore_unknown_variables=true \
    		ipv6=false \
    		verbosebuild=true \
    		show_tool_version=false
    
    BUILD_DEPENDS =	devel/boost,-main
    LIB_DEPENDS =	devel/physfs \
    		devel/sdl-image \
    		devel/sdl-mixer \
    		graphics/png
    
    NO_TEST =	Yes
    
    do-install:
    	${INSTALL_PROGRAM} ${WRKBUILD}/build/d1x-rebirth/d1x-rebirth ${PREFIX}/bin/
    	${INSTALL_PROGRAM} ${WRKBUILD}/build/d2x-rebirth/d2x-rebirth ${PREFIX}/bin/
    
    .include <bsd.port.mk>