1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/games/endgame-singularity/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

59 lines
2.1 KiB
Makefile

PORTNAME= singularity
PORTVERSION= 1.00
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= endgame-
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Simulates the life of a true AI
WWW= http://emhsoft.com/singularity/
LICENSE= GPLv2+ MIT CC-BY-SA-3.0 NASA AEFONTS BITSTREAM AREV \
MEMESBRUH03 CC0-1.0
LICENSE_COMB= multi
LICENSE_NAME_NASA= NASA Terms of Use
LICENSE_NAME_AEFONTS= Brian Kent - Aenigma Games & Fonts
LICENSE_NAME_BITSTREAM= Bitstream Vera Fonts Copyright
LICENSE_NAME_AREV= Arev Fonts Copyright
LICENSE_NAME_MEMESBRUH03= memesbruh03 Copyright
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.gpl.txt
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/LICENSE.CC-BY-SA-3.txt
LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSE.cc0.txt
LICENSE_PERMS_NASA= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_AEFONTS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_BITSTREAM=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_AREV= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_MEMESBRUH03= dist-mirror dist-sell pkg-mirror pkg-sell \
auto-accept
RUN_DEPENDS= ${PYGAME} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}polib>=0:devel/py-polib@${PY_FLAVOR}
USES= python sdl shebangfix
USE_PYTHON= autoplist distutils
USE_SDL= image mixer
PORTDOCS= AUTHORS.txt Changelog.txt README.txt TODO
NO_ARCH= yes
SHEBANG_FILES= singularity/i18n/utils/languages.py
OPTIONS_DEFINE= MUSIC DOCS
OPTIONS_DEFAULT= MUSIC
MUSIC_DESC= Install original music pack
MUSIC_RUN_DEPENDS= endgame-singularity-music>=006:games/endgame-singularity-music
post-extract:
@${MV} ${WRKSRC}/singularity/data ${WRKSRC}/
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/data
(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/data)
${INSTALL_DATA} ${WRKSRC}/singularity.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>