1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/katawa-shoujo/Makefile
Jan Beich 77e341255c games/renpy: bump expiration for master port
Upstream is working on Python 3 support for RenPy 7. However, RenPy 6
may need to be retired, so propagate the warning to the only consumer.
2020-03-08 11:49:33 +00:00

65 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= katawa-shoujo
PORTVERSION= 1.3.1
DISTVERSIONSUFFIX=-[linux-x86][18161880]
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://dl.katawa-shoujo.com/gold_${PORTVERSION}/:game \
http://dl.katawa-shoujo.com/patches/:patch \
GENTOO:icon
DISTFILES= [4ls]_${DISTNAME:S|-|_|:S|-|_|}${EXTRACT_SUFX}:game \
${PORTNAME:S|-|_|}_italiano_v1.0.zip:patch \
${PORTNAME}-48.png:icon \
${PORTNAME}-256.png:icon
EXTRACT_ONLY= ${DISTFILES:N*\:icon:C/:.*//}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Bishoujo-style visual novel about disabled adolescents
LICENSE= CC-BY-NC-ND-3.0
DEPRECATED= Uses deprecated version of RenPy
EXPIRATION_DATE= 2020-08-15
RUN_DEPENDS= renpy6<6.99.11:games/renpy6
USES= tar:bz2
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/Katawa\ Shoujo-${PORTVERSION}-linux
PORTDATA= *
PORTDOCS= *.pdf
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/icons/hicolor/256x256/apps/${PORTNAME}.png
DESKTOP_ENTRIES="Katawa Shoujo" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;AdventureGame;" \
""
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/*.rpy* ${WRKSRC}/game/ # :patch
pre-install:
${PRINTF} '#! /bin/sh\nrenpy ${DATADIR} "$$@"\n' \
>${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.for i in 48 256
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${i}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png
.endfor
(cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>