Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4257,6 +4257,7 @@ SUBDIR += regexx SUBDIR += regexxer SUBDIR += remake + SUBDIR += renpy SUBDIR += replay SUBDIR += rhtvision SUBDIR += rlog Index: devel/renpy/Makefile =================================================================== --- /dev/null +++ devel/renpy/Makefile @@ -0,0 +1,72 @@ +# $FreeBSD$ + +PORTNAME= renpy +PORTVERSION= 6.18.3 +DISTVERSIONSUFFIX=-source +CATEGORIES= devel games +MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/ \ + GENTOO/distfiles + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Framework for developing visual-novel type games + +LICENSE= BSD3CLAUSE LGPL21 MIT ZLIB +LICENSE_COMB= multi + +BUILD_DEPENDS= ${PYGAME} \ + cython:${PORTSDIR}/lang/cython +LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi \ + libGLEW.so:${PORTSDIR}/graphics/glew \ + libpng.so:${PORTSDIR}/graphics/png \ + libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ + libfreetype.so:${PORTSDIR}/print/freetype2 +RUN_DEPENDS= ${PYGAME} \ + ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu + +USES= python:2.7 shebangfix tar:bz2 +USE_PYTHON= autoplist distutils +USE_SDL= sdl +SHEBANG_FILES= renpy.py launcher/game/tkaskdir.py +python_OLD_CMD= /usr/bin/env python +python_CMD= ${PYTHON_CMD} +BUILD_WRKSRC= ${WRKSRC}/module +INSTALL_WRKSRC= ${BUILD_WRKSRC} +MAKE_ENV+= RENPY_DEPS_INSTALL="${LOCALBASE}" +PORTDATA= launcher renpy renpy.py templates the_question tutorial +PORTDOCS= * +PLIST_FILES= bin/${PORTNAME} + +DESKTOP_ENTRIES="Ren'Py" \ + "" \ + "${DATADIR}/launcher/game/images/logo32.png" \ + "${PORTNAME} %f" \ + "Development;IDE;Game;AdventureGame;" \ + "" + +OPTIONS_DEFINE= DOCS + +.include + +post-extract: + ${RM} ${WRKSRC}/renpy/common/DejaVuSans.* + +post-patch: +# Avoid having to add -I/usr/include -L/usr/lib + ${REINPLACE_CMD} '/library("z")/d' ${BUILD_WRKSRC}/${PYSETUP} + +post-install: + ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \ + -exec ${STRIP_CMD} {} + + ${LN} -fs ${DATADIR}/renpy.py \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "${PORTDATA}" ${STAGEDIR}${DATADIR}) + ${CHMOD} +x ${STAGEDIR}${DATADIR}/renpy.py +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ + . ${STAGEDIR}${DOCSDIR}) +.endif + +.include Index: devel/renpy/distinfo =================================================================== --- /dev/null +++ devel/renpy/distinfo @@ -0,0 +1,2 @@ +SHA256 (renpy-6.18.3-source.tar.bz2) = c0c6af79ceb529e69cebfdb0e9849e50dc27e424dc2fd2b322c13d6ec938cba6 +SIZE (renpy-6.18.3-source.tar.bz2) = 23244450 Index: devel/renpy/pkg-descr =================================================================== --- /dev/null +++ devel/renpy/pkg-descr @@ -0,0 +1,7 @@ +Ren'Py is a visual novel engine that helps you use words, images, and +sounds to tell stories with the computer. These can be both visual +novels and life simulation games. The easy to learn script language +allows you to efficiently write large visual novels, while its Python +scripting is enough for complex simulation games. + +WWW: http://www.renpy.org/