summaryrefslogtreecommitdiff
path: root/games/renpy6/Makefile
blob: b9a7a204b449a2095359c197006d4a4d50d9ca93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

PORTVERSION=	6.18.3
PORTREVISION=	10
PKGNAMESUFFIX=	6

CONFLICTS_INSTALL=	${PORTNAME}-[0-9]*

MASTERDIR=	${.CURDIR}/../renpy
PATCHDIR=	${.CURDIR}/files
DISTINFO_FILE=	${.CURDIR}/distinfo

PORTSCOUT=	limit:^6\.18\.*

BUILD_DEPENDS=	${PYGAME}
RUN_DEPENDS=	${PYGAME}

USE_SDL=	sdl
PORTDATA=	templates

post-patch:
	@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
		${WRKSRC}/launcher/game/project.rpy

post-install:
	${CHMOD} -R u+w ${STAGEDIR}${DATADIR}/templates

.include "${MASTERDIR}/Makefile"