From owner-svn-ports-all@FreeBSD.ORG  Tue Feb  3 18:43:07 2015
Return-Path: <owner-svn-ports-all@FreeBSD.ORG>
Delivered-To: svn-ports-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1CA30787;
 Tue,  3 Feb 2015 18:43:07 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id F1A8D11A;
 Tue,  3 Feb 2015 18:43:06 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t13Ih6Dk006838;
 Tue, 3 Feb 2015 18:43:06 GMT (envelope-from jbeich@FreeBSD.org)
Received: (from jbeich@localhost)
 by svn.freebsd.org (8.14.9/8.14.9/Submit) id t13Ih5jn006831;
 Tue, 3 Feb 2015 18:43:05 GMT (envelope-from jbeich@FreeBSD.org)
Message-Id: <201502031843.t13Ih5jn006831@svn.freebsd.org>
X-Authentication-Warning: svn.freebsd.org: jbeich set sender to
 jbeich@FreeBSD.org using -f
From: Jan Beich <jbeich@FreeBSD.org>
Date: Tue, 3 Feb 2015 18:43:05 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r378363 - in head/devel: . renpy
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2015 18:43:07 -0000

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/