aboutsummaryrefslogtreecommitdiffstats
path: root/devel/renpy
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-11-05 09:18:42 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:52:48 +0800
commitfa2a45777a0a045011e5e8b8a1ae31916416c54a (patch)
tree3dd41583b674fea3b83508e142963846300fcd2d /devel/renpy
parent4e583ee400fbcc0f9f63bcf20975fa346f4fab13 (diff)
downloadfreebsd-ports-gnome-fa2a45777a0a045011e5e8b8a1ae31916416c54a.tar.gz
freebsd-ports-gnome-fa2a45777a0a045011e5e8b8a1ae31916416c54a.tar.zst
freebsd-ports-gnome-fa2a45777a0a045011e5e8b8a1ae31916416c54a.zip
devel/renpy: partially unbreak creating a project after r421471
/usr/local/share/renpy/gui/game does not appear to be a Ren'Py game
Diffstat (limited to 'devel/renpy')
-rw-r--r--devel/renpy/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/renpy/Makefile b/devel/renpy/Makefile
index d5d29ab73a53..2d44a0a51f44 100644
--- a/devel/renpy/Makefile
+++ b/devel/renpy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= renpy
PORTVERSION?= 6.99.13
DISTVERSIONSUFFIX=-sdk
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= devel games
MASTER_SITES= https://www.renpy.org/dl/${PORTVERSION}/
@@ -45,7 +45,7 @@ TARGET_ORDER_OVERRIDE=610:fix-shebang
BUILD_WRKSRC= ${WRKSRC}/module
INSTALL_WRKSRC= ${BUILD_WRKSRC}
MAKE_ENV+= RENPY_DEPS_INSTALL="${LOCALBASE}"
-PORTDATA= launcher renpy renpy.py templates
+PORTDATA= gui launcher renpy renpy.py templates
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
@@ -96,8 +96,9 @@ post-build:
add-plist-post: add-empty-dirs
add-empty-dirs:
-# Keep images directory in templates, see renpy@d81ea29
- ${FIND} ${WRKSRC}/templates -type d ! -name "saves" -empty | \
+# Keep images directory in gui and templates, see renpy@d81ea29
+ ${FIND} ${WRKSRC} -type d -empty \
+ ! \( -name "saves" -or -name "pysdlsound" \) | \
${SED} 's,^${WRKSRC},@dir ${DATADIR},' >>${TMPPLIST}
post-install: