MFH: r421470
Fix bin/renpy's shebang after r410677 and appease stage-qa Warning: Bad symlink '/usr/local/bin/renpy' pointing to an absolute pathname '/usr/local/share/renpy/renpy.py' Approved by: ports-secteam blanket
This commit is contained in:
parent
3e6e9c50ab
commit
53d45706bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2016Q3/; revision=421473
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= renpy
|
||||
PORTVERSION= 6.99.10
|
||||
DISTVERSIONSUFFIX=-sdk
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel games
|
||||
MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/
|
||||
|
||||
|
@ -34,6 +34,7 @@ USE_SDL= sdl2
|
|||
EXCLUDE= 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}"
|
||||
|
@ -84,7 +85,7 @@ add-empty-dirs:
|
|||
post-install:
|
||||
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \
|
||||
-exec ${STRIP_CMD} {} +
|
||||
${LN} -fs ${DATADIR}/renpy.py \
|
||||
${LN} -fs ../${DATADIR_REL}/renpy.py \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
|
||||
"${PORTDATA}" ${STAGEDIR}${DATADIR} \
|
||||
|
|
Loading…
Reference in a new issue