2016-08-05 23:08:37 +00:00
|
|
|
PORTNAME= zdoom
|
|
|
|
PORTVERSION= 2.8.1
|
2023-07-28 17:13:07 +00:00
|
|
|
PORTREVISION= 11
|
2016-08-05 23:08:37 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2017-07-06 01:39:08 +00:00
|
|
|
MAINTAINER= kevans@FreeBSD.org
|
2016-08-05 23:08:37 +00:00
|
|
|
COMMENT= Source port for Doom-engine games
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://www.zdoom.org/
|
2016-08-05 23:08:37 +00:00
|
|
|
|
2016-09-08 14:19:46 +00:00
|
|
|
LICENSE= DOOM
|
|
|
|
LICENSE_NAME= Limited Use Software License Agreement
|
|
|
|
LICENSE_FILE= ${WRKSRC}/docs/doomlic.txt
|
|
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
|
2016-08-05 23:08:37 +00:00
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libsndfile.so:audio/libsndfile
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= rheit
|
|
|
|
|
2016-08-12 15:37:36 +00:00
|
|
|
PORTSCOUT= limit:^.+\.[1-9]{1,3}[1-8]?$$
|
|
|
|
|
2016-09-08 14:19:46 +00:00
|
|
|
DATADIR= ${DMDIR}/${PORTNAME}
|
|
|
|
|
2021-03-05 01:26:26 +00:00
|
|
|
USES= cmake dos2unix gettext gnome jpeg openal pkgconfig sdl
|
|
|
|
DOS2UNIX_FILES= src/p_spec.cpp
|
2016-08-05 23:08:37 +00:00
|
|
|
USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango
|
|
|
|
USE_SDL= sdl2
|
|
|
|
CMAKE_ARGS= -DNO_FMOD:BOOL=ON
|
2016-09-08 14:19:46 +00:00
|
|
|
CXXFLAGS+= -DSHARE_DIR=\\\"${DATADIR}\\\"
|
2016-08-05 23:08:37 +00:00
|
|
|
|
2016-11-09 22:59:05 +00:00
|
|
|
DESKTOP_ENTRIES= "ZDoom" "" "${PORTNAME}" "${PORTNAME}" "Game;Shooter;" ""
|
|
|
|
|
2016-08-05 23:08:37 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
2016-11-09 22:59:05 +00:00
|
|
|
${DATADIR}/${PORTNAME}.pk3 \
|
|
|
|
share/pixmaps/${PORTNAME}.xpm
|
2016-08-05 23:08:37 +00:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= FLUIDSYNTH
|
|
|
|
OPTIONS_DEFAULT=FLUIDSYNTH
|
|
|
|
|
|
|
|
FLUIDSYNTH_DESC= FluidSynth sound library support
|
|
|
|
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
|
|
|
FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../doom-data/Makefile.include"
|
2021-10-26 09:37:43 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
|
|
|
CMAKE_ARGS+= -DNO_ASM:BOOL=ON
|
|
|
|
.endif
|
2016-08-05 23:08:37 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/${PORTNAME}.pk3 ${STAGEDIR}${DATADIR}
|
2016-11-09 22:59:05 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
2016-08-05 23:08:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|