Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2015 18:43:05 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378363 - in head/devel: . renpy
Message-ID:  <201502031843.t13Ih5jn006831@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Feb  3 18:43:05 2015
New Revision: 378363
URL: https://svnweb.freebsd.org/changeset/ports/378363
QAT: https://qat.redports.org/buildarchive/r378363/

Log:
  Add new port devel/renpy
  
  PR:		195768
  Differential Revision:	https://reviews.freebsd.org/D1577
  Reviewed by:	games (amdmi3, earlier version)
  Approved by:	flo (mentor, earlier version)
  Approved by:	bapt (mentor)
  
  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/

Added:
  head/devel/renpy/
  head/devel/renpy/Makefile   (contents, props changed)
  head/devel/renpy/distinfo   (contents, props changed)
  head/devel/renpy/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Feb  3 18:15:16 2015	(r378362)
+++ head/devel/Makefile	Tue Feb  3 18:43:05 2015	(r378363)
@@ -4265,6 +4265,7 @@
     SUBDIR += regexx
     SUBDIR += regexxer
     SUBDIR += remake
+    SUBDIR += renpy
     SUBDIR += replay
     SUBDIR += rhtvision
     SUBDIR += rlog

Added: head/devel/renpy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/renpy/Makefile	Tue Feb  3 18:43:05 2015	(r378363)
@@ -0,0 +1,84 @@
+# $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=	APACHE20 BSD3CLAUSE DejaVu LGPL21 MIT OFL11 ZLIB
+LICENSE_COMB=	multi
+LICENSE_NAME_DejaVu=	Bitstream Vera and Arev fonts license
+LICENSE_FILE_DejaVu=	${WRKSRC}/renpy/common/DejaVuSans.txt
+LICENSE_PERMS_DejaVu=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+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}
+
+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
+PORTDOCS=	*
+PLIST_FILES=	bin/${PORTNAME}
+
+DESKTOP_ENTRIES="Ren'Py" \
+		"" \
+		"${DATADIR}/launcher/game/images/logo32.png" \
+		"${PORTNAME} %f" \
+		"Development;Game;AdventureGame;" \
+		""
+
+OPTIONS_DEFAULT=TKINTER
+OPTIONS_DEFINE=	DOCS EXAMPLES TKINTER
+
+TKINTER_DESC=	Install Tkinter to allow choosing Projects Directory
+TKINTER_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+PORTDATA+=	the_question tutorial
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
+		${WRKSRC}/launcher/game/project.rpy
+# 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} \
+		"! -name *.orig ! -name *.bak")
+	${CHMOD} +x ${STAGEDIR}${DATADIR}/renpy.py
+	${CHMOD} -R u+w ${STAGEDIR}${DATADIR}/templates
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
+		. ${STAGEDIR}${DOCSDIR} \
+		"! -name *.orig ! -name *.bak")
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/renpy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/renpy/distinfo	Tue Feb  3 18:43:05 2015	(r378363)
@@ -0,0 +1,2 @@
+SHA256 (renpy-6.18.3-source.tar.bz2) = c0c6af79ceb529e69cebfdb0e9849e50dc27e424dc2fd2b322c13d6ec938cba6
+SIZE (renpy-6.18.3-source.tar.bz2) = 23244450

Added: head/devel/renpy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/renpy/pkg-descr	Tue Feb  3 18:43:05 2015	(r378363)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502031843.t13Ih5jn006831>