diff options
Diffstat (limited to 'games/renpy')
| -rw-r--r-- | games/renpy/Makefile | 101 | ||||
| -rw-r--r-- | games/renpy/distinfo | 3 | ||||
| -rw-r--r-- | games/renpy/files/patch-issue869 | 11 | ||||
| -rw-r--r-- | games/renpy/files/patch-system-fribidi | 61 | ||||
| -rw-r--r-- | games/renpy/pkg-descr | 7 |
5 files changed, 0 insertions, 183 deletions
diff --git a/games/renpy/Makefile b/games/renpy/Makefile deleted file mode 100644 index 06e5d169acc4..000000000000 --- a/games/renpy/Makefile +++ /dev/null @@ -1,101 +0,0 @@ -PORTNAME= renpy -PORTVERSION= 7.4.11 -DISTVERSIONSUFFIX=-sdk -PORTREVISION= 5 -CATEGORIES= games devel -MASTER_SITES= https://www.renpy.org/dl/${PORTVERSION}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Framework for developing visual-novel type games -WWW= https://www.renpy.org/ - -LICENSE= APACHE20 BSD3CLAUSE DejaVu LGPL21+ MIT OFL11 ZLIB -LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/LICENSE.txt -LICENSE_NAME_DejaVu= Bitstream Vera and Arev fonts license -LICENSE_FILE_DejaVu= ${WRKSRC}/renpy/common/DejaVuSans.txt -LICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept - -# https://github.com/renpy/renpy/issues/2003 -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2025-10-31 - -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}game_sdl2>0:devel/py-game_sdl2@${PY_FLAVOR} -LIB_DEPENDS= libfribidi.so:converters/fribidi \ - libpng.so:graphics/png \ - libavcodec.so:multimedia/ffmpeg \ - libfreetype.so:print/freetype2 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}game_sdl2>0:devel/py-game_sdl2@${PY_FLAVOR} - -# Upstream tends to reroll distfiles before moving under /release/ -PORTSCOUT= site:http://www.renpy.org/dl/release/ - -USES= python:2.7 sdl shebangfix tar:bz2 -USE_PYTHON= autoplist distutils cython -USE_SDL= sdl2 -EXCLUDE= fribidi-src gen 'module/*.py[co]' 'renpy/*.py[co]' -EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} -SHEBANG_FILES= renpy.py launcher/game/tkaskdir.py -TARGET_ORDER_OVERRIDE=610:fix-shebang -BUILD_WRKSRC= ${WRKSRC}/module -INSTALL_WRKSRC= ${BUILD_WRKSRC} -MAKE_ENV+= RENPY_DEPS_INSTALL="${LOCALBASE}" \ - RENPY_CYTHON=cython-${PYTHON_VER} -PORTDATA= gui launcher renpy renpy.py -PORTDOCS= * -PLIST_FILES= bin/${PORTNAME} - -DESKTOP_ENTRIES="Ren'Py" \ - "" \ - "${DATADIR}/launcher/game/images/logo32.png" \ - "${PORTNAME} %f" \ - "Development;Game;AdventureGame;" \ - "" - -OPTIONS_DEFAULT=DIST -OPTIONS_DEFINE= DOCS DIST EXAMPLES - -DIST_DESC= Distribution runtimes for Windows, OS X, Linux -DIST_VARS= LICENSE+="ART20 PSFL" \ - PORTDATA+="lib renpy.app renpy.exe renpy-32.exe renpy.sh" -EXAMPLES_VARS= PORTDATA+="the_question tutorial" - -post-extract: - @${FIND} ${WRKSRC}/lib ${WRKSRC}/renpy.app -type d -empty -delete - -post-patch: - @${REINPLACE_CMD} -e 's,/usr/bin/python[[:>:]],${PYTHON_CMD},' \ - ${WRKSRC}/launcher/game/choose_directory.rpy -# Avoid having to add -I/usr/include -L/usr/lib - @${REINPLACE_CMD} '/library("z")/d' ${BUILD_WRKSRC}/${PYSETUP} - -post-build: - @${PYTHON_CMD} -m compileall -d ${DATADIR} ${WRKSRC} - @${PYTHON_CMD} -O -m compileall -d ${DATADIR} ${WRKSRC} - -add-plist-post: add-empty-dirs -add-empty-dirs: -# Keep images directory in gui and templates, see renpy@d81ea29 - ${FIND} ${WRKSRC} -type d -empty \ - ! \( -name "gen" -or -name "saves" -or -name "pysdlsound" \) | \ - ${SED} 's,^${WRKSRC},@dir ${DATADIR},' >>${TMPPLIST} - -post-install: - ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \ - -exec ${STRIP_CMD} {} + - ${LN} -fs ../${DATADIR_REL}/renpy.py \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - (cd ${WRKSRC} && ${COPYTREE_SHARE} \ - "${PORTDATA}" ${STAGEDIR}${DATADIR} \ - "! -name *.orig ! -name *.bak \ - ! -name saves ! -name log.txt") - ${CHMOD} +x ${STAGEDIR}${DATADIR}/renpy.py - -post-install-DOCS-on: - (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ - . ${STAGEDIR}${DOCSDIR} \ - "! -name *.orig ! -name *.bak") - -.include <bsd.port.mk> diff --git a/games/renpy/distinfo b/games/renpy/distinfo deleted file mode 100644 index 6aac8c57b79b..000000000000 --- a/games/renpy/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1638428552 -SHA256 (renpy-7.4.11-sdk.tar.bz2) = a73378f06a5925ea0d163b5825c298ed65dafb3d0cdccd9f34d7eace46adef1f -SIZE (renpy-7.4.11-sdk.tar.bz2) = 111943054 diff --git a/games/renpy/files/patch-issue869 b/games/renpy/files/patch-issue869 deleted file mode 100644 index 4a4d0c4b7c53..000000000000 --- a/games/renpy/files/patch-issue869 +++ /dev/null @@ -1,11 +0,0 @@ -Restore shebang before ecd36ec. - ---- renpy.py.orig 2016-01-27 03:31:10 UTC -+++ renpy.py -@@ -1,4 +1,5 @@ --#!/usr/bin/env python #@PydevCodeAnalysisIgnore -+#!/usr/bin/env python -+#@PydevCodeAnalysisIgnore - - # This file is part of Ren'Py. The license below applies to Ren'Py only. - # Games and other projects that use Ren'Py may use a different license. diff --git a/games/renpy/files/patch-system-fribidi b/games/renpy/files/patch-system-fribidi deleted file mode 100644 index 56ed9a9b93ac..000000000000 --- a/games/renpy/files/patch-system-fribidi +++ /dev/null @@ -1,61 +0,0 @@ -Partially revert 4a9efc0cab7d as module/fribidi-src/ is missing from source archive. - -gen/_renpybidi.c:564:10: fatal error: 'fribidi.h' file not found -#include "fribidi.h" - ^ - ---- module/renpybidicore.c.orig 2019-12-14 15:31:48.000000000 +0000 -+++ module/renpybidicore.c 2021-01-01 15:45:23.115935083 +0000 -@@ -1,10 +1,6 @@ - #include <Python.h> - --#ifdef RENPY_BUILD - #include <fribidi.h> --#else --#include <fribidi-src/lib/fribidi.h> --#endif - - #include <stdlib.h> - ---- module/setup.py.orig 2018-07-11 04:29:32 UTC -+++ module/setup.py -@@ -92,6 +92,7 @@ has_avresample = library("avresample", optional=True) - has_swresample = library("swresample", optional=True) - has_swscale = library("swscale", optional=True) - library("freetype") -+has_fribidi = include("fribidi.h", directory="fribidi", optional=True) and library("fribidi", optional=True) - library("z") - has_libglew = library("GLEW", optional=True) - has_libglew32 = library("glew32", optional=True) -@@ -105,6 +106,16 @@ else: - sdl = [ 'SDL2' ] - png = 'png' - -+ -+if has_fribidi and (not android) and (not ios): -+ try: -+ # Some versions of fribidi require glib, and it doesn't hurt to include it in -+ # our path. -+ glib_flags = subprocess.check_output(["pkg-config", "--cflags", "glib-2.0"]) -+ setuplib.extra_compile_args.extend(glib_flags.split()) -+ except: -+ pass -+ - steam_sdk = os.environ.get("RENPY_STEAM_SDK", None) - steam_platform = os.environ.get("RENPY_STEAM_PLATFORM", "") - -@@ -134,11 +145,12 @@ renpybidicore.c - """.split() - cython( - "_renpybidi", -- FRIBIDI_SOURCES, -- includes=[ -+ has_fribidi and [ i for i in FRIBIDI_SOURCES if 'fribidi-src' not in i ] or FRIBIDI_SOURCES, -+ includes=has_fribidi and [] or [ - BASE + "/fribidi-src/", - BASE + "/fribidi-src/lib/", - ], -+ libs=has_fribidi and ['fribidi'] or [], - define_macros=[ - ("FRIBIDI_ENTRY", ""), - ("HAVE_CONFIG_H", "1"), diff --git a/games/renpy/pkg-descr b/games/renpy/pkg-descr deleted file mode 100644 index 8b6e60bdedab..000000000000 --- a/games/renpy/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Ren'Py is a visual novel engine -- used by thousands of creators from -around the world -- that helps you use words, images, and sounds to -tell interactive stories that run on computers and mobile devices. -These can be both visual novels and life simulation games. The easy -to learn script language allows anyone to efficiently write large -visual novels, while its Python scripting is enough for complex -simulation games. |
