Changeset View
Changeset View
Standalone View
Standalone View
games/openage/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= openage | PORTNAME= openage | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 0.3.0-1262 | DISTVERSION= 0.3.0-1262 | ||||
DISTVERSIONSUFFIX= -ga554ab49 | DISTVERSIONSUFFIX= -ga554ab49 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= games | CATEGORIES= games | ||||
MAINTAINER= martinfilla@post.cz | MAINTAINER= martinfilla@post.cz | ||||
COMMENT= Free engine clone of the Genie Engine | COMMENT= Free engine clone of the Genie Engine | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LICENSE_FILE= ${WRKSRC}/legal/GPLv3 | LICENSE_FILE= ${WRKSRC}/legal/GPLv3 | ||||
Show All 16 Lines | RUN_DEPENDS= ${PYNUMPY} \ | ||||
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} | ||||
USES= cmake:outsource compiler:c++17-lang python:3.4+ qt:5 shebangfix | USES= cmake:outsource compiler:c++17-lang python:3.4+ qt:5 shebangfix | ||||
SHEBANG_FILES= configure run.py buildsystem/cythonize.py | SHEBANG_FILES= configure run.py buildsystem/cythonize.py | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= SFTtech | GH_ACCOUNT= SFTtech | ||||
USE_SDL= image2 sdl2 | USE_SDL= image2 sdl2 | ||||
USE_GL= gl glu | USE_GL= gl glu | ||||
USE_QT= core gui network qml quick buildtools_build qmake_build | USE_QT= core declarative gui network buildtools_build qmake_build | ||||
USE_PYTHON= cython | USE_PYTHON= cython | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY | CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY | ||||
CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR} | CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR} | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|' ${WRKSRC}/buildsystem/modules/FindPython.cmake | @${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|' ${WRKSRC}/buildsystem/modules/FindPython.cmake | ||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/openage | @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openage | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg | @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |