aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-09-06 23:48:05 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-09-06 23:48:05 +0000
commit53d45706bd883410d4d63673f7aba7c6c129c66c (patch)
tree84ebf9d46f15ccfc68d43690d262d9b626a89499
parent3e6e9c50ab204fb559e40d3cbafd21b80f6048f2 (diff)
downloadports-53d45706bd883410d4d63673f7aba7c6c129c66c.tar.gz
ports-53d45706bd883410d4d63673f7aba7c6c129c66c.zip
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
Notes
Notes: svn path=/branches/2016Q3/; revision=421473
-rw-r--r--devel/renpy/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/renpy/Makefile b/devel/renpy/Makefile
index 332aaef9edf5..f2b4a404096c 100644
--- a/devel/renpy/Makefile
+++ b/devel/renpy/Makefile
@@ -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} \