42 lines
811 B
Makefile
42 lines
811 B
Makefile
ONLY_FOR_ARCHS = amd64 i386
|
|
|
|
GH_ACCOUNT = dhewm
|
|
GH_PROJECT = dhewm3
|
|
GH_TAGNAME = 1.5.2
|
|
|
|
COMMENT = open-source version of Doom 3
|
|
|
|
CATEGORIES = games
|
|
|
|
HOMEPAGE = https://github.com/dhewm/dhewm3
|
|
|
|
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} SDL2 c curl m openal z
|
|
|
|
MODULES = devel/cmake
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = devel/sdl2 \
|
|
audio/openal \
|
|
net/curl
|
|
|
|
NO_TEST = Yes
|
|
|
|
WRKSRC = ${WRKDIST}/neo
|
|
|
|
CFLAGS += -I${X11BASE}/include \
|
|
-DLINUX_DEFAULT_PATH=\\\"${TRUEPREFIX}/share/dhewm3\\\"
|
|
CXXFLAGS += -I${X11BASE}/include \
|
|
-DLINUX_DEFAULT_PATH=\\\"${TRUEPREFIX}/share/dhewm3\\\"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/dhewm3
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/dhewm3/base
|
|
|
|
.include <bsd.port.mk>
|