# $OpenBSD$ COMMENT = enhanced/scripting/removed limits doom engine V = 3.40.20 DISTNAME = ee-${V}-src PKGNAME = eternity-${V} CATEGORIES = games x11 MASTER_SITES = http://eternity.mancubus.net/ EXTRACT_SUFX = .zip HOMEPAGE = http://www.doomworld.com/eternity/ MAINTAINER = Ryan Freeman # GPL PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes BUILD_DEPENDS = archivers/unzip MODULES = devel/cmake WANTLIB += GL SDL c m z pthread stdc++ SDL_mixer SDL_net png LIB_DEPENDS = devel/sdl-mixer \ devel/sdl-net \ graphics/png SEPARATE_BUILD = concurrent CONFIGURE_STYLE = cmake CFLAGS += -I/usr/X11R6/include MAKE_FLAGS = PRETTY_OUTPUT=0 # SMALL compiler isn't 64bit safe at all and depreciated upstream, and # make sure we don't unconditionally strip the resulting executable CFLAGS += "-DEE_NO_SMALL_SUPPORT -DCMAKE_BUILD_TYPE=Debug" post-extract: # install non-bash requiring launch script, fill with proper prefix ${SUBST_CMD} -c ${FILESDIR}/eternity.sh ${WRKSRC}/eternity.sh .include