diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-09-07 07:44:31 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-09-07 07:44:31 +0800 |
commit | fc4e30781c28dc28eff6af0c2bf10d2fd1b84e51 (patch) | |
tree | 1e89ef1ab17a68067b11a4bdd3364a51d8165fb8 | |
parent | 4950ff8a7258fc4cc621934a38af83d89a81c3b5 (diff) | |
download | freebsd-ports-gnome-fc4e30781c28dc28eff6af0c2bf10d2fd1b84e51.tar.gz freebsd-ports-gnome-fc4e30781c28dc28eff6af0c2bf10d2fd1b84e51.tar.zst freebsd-ports-gnome-fc4e30781c28dc28eff6af0c2bf10d2fd1b84e51.zip |
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'
-rw-r--r-- | devel/renpy/Makefile | 5 |
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} \ |