Changeset View
Changeset View
Standalone View
Standalone View
devel/renpy/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $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= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \ | |||||
cython>0:${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= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \ | |||||
dejavu>0:${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" \ | |||||
"" \ | |||||
"" | |||||
OPTIONS_DEFINE= DOCS | |||||
.include <bsd.port.options.mk> | |||||
post-extract: | |||||
${CHMOD} +x ${WRKSRC}/renpy.py | |||||
${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} | |||||
${TAR} cf - -C${WRKSRC} --exclude \*.orig ${PORTDATA} | \ | |||||
${TAR} xof - -C${STAGEDIR}${DATADIR} | |||||
.if ${PORT_OPTIONS:MDOCS} | |||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
${TAR} cf - -C${WRKSRC}/doc --exclude \*.orig . | \ | |||||
${TAR} xof - -C${STAGEDIR}${DOCSDIR} | |||||
.endif | |||||
.include <bsd.port.mk> |