summaryrefslogtreecommitdiffstats
path: root/games/katawa-shoujo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/katawa-shoujo/Makefile')
-rw-r--r--games/katawa-shoujo/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/katawa-shoujo/Makefile b/games/katawa-shoujo/Makefile
index faa5c77..265b9cb 100644
--- a/games/katawa-shoujo/Makefile
+++ b/games/katawa-shoujo/Makefile
@@ -3,14 +3,16 @@
PORTNAME= katawa-shoujo
PORTVERSION= 1.3.1
DISTVERSIONSUFFIX=-[linux-x86][18161880]
-PORTREVISION= 1
+PORTREVISION= 2
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= [4ls]_${DISTNAME:S|-|_|:S|-|_|}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTFILES:N*\:icon:C/:.*//}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Bishoujo-style visual novel about disabled adolescents
@@ -41,6 +43,9 @@ DESKTOP_ENTRIES="Katawa Shoujo" \
OPTIONS_DEFINE= DOCS
+post-extract:
+ @${MV} ${WRKDIR}/*.rpy* ${WRKSRC}/game/ # :patch
+
pre-install:
${PRINTF} '#! /bin/sh\nrenpy ${DATADIR} "$$@"\n' \
>${WRKDIR}/${PORTNAME}
OpenPOWER on IntegriCloud