Index: games/Makefile =================================================================== --- games/Makefile +++ games/Makefile @@ -445,6 +445,7 @@ SUBDIR += kapman SUBDIR += kardsgt SUBDIR += kartofel + SUBDIR += katawa-shoujo SUBDIR += katomic SUBDIR += kblackbox SUBDIR += kblocks Index: games/katawa-shoujo/Makefile =================================================================== --- /dev/null +++ games/katawa-shoujo/Makefile @@ -0,0 +1,66 @@ +# $FreeBSD$ + +PORTNAME= katawa-shoujo +PORTVERSION= 1.2 +DISTVERSIONSUFFIX=-[linux-x86][8F3BA490] +CATEGORIES= games +MASTER_SITES= http://dl.katawa-shoujo.com/gold_${PORTVERSION}/:game \ + GENTOO/distfiles:icon +DISTFILES= [4ls]_${PORTNAME:S|-|_|}_${PORTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}:game \ + ${PORTNAME}-48.png:icon \ + ${PORTNAME}-256.png:icon +EXTRACT_ONLY= [4ls]_${PORTNAME:S|-|_|}_${PORTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Bishoujo-style visual novel about disabled adolescents + +LICENSE= CCbyNCND3 +LICENSE_NAME= Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported +LICENSE_TEXT= See https://creativecommons.org/licenses/by-nc-nd/3.0/ +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +RUN_DEPENDS= renpy:${PORTSDIR}/devel/renpy + +USES= tar:bz2 +NO_ARCH= yes +NO_BUILD= yes +INSTALLS_ICONS= yes +WRKSRC= ${WRKDIR}/Katawa\ Shoujo-linux-x86 +PORTDATA= * +PORTDOCS= * +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 + +MANUAL_PACKAGE_BUILD= huge (470MiB) + +.include + +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 + ${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR} +.endif + +.include Index: games/katawa-shoujo/distinfo =================================================================== --- /dev/null +++ games/katawa-shoujo/distinfo @@ -0,0 +1,6 @@ +SHA256 ([4ls]_katawa_shoujo_1.2-[linux-x86][8F3BA490].tar.bz2) = 558b74ab6b69cc61ac98905a9ca38695303963210ad846108963c6334a9205ae +SIZE ([4ls]_katawa_shoujo_1.2-[linux-x86][8F3BA490].tar.bz2) = 483215826 +SHA256 (katawa-shoujo-48.png) = a366a52fd9dd241182d163e28a37f537fa71d5d46f1fc899da08b492c371a0fd +SIZE (katawa-shoujo-48.png) = 3621 +SHA256 (katawa-shoujo-256.png) = 8130b39af5341b0e1c85cbd6ef5be229de2877d696e5b372e1aacf176778df45 +SIZE (katawa-shoujo-256.png) = 59803 Index: games/katawa-shoujo/pkg-descr =================================================================== --- /dev/null +++ games/katawa-shoujo/pkg-descr @@ -0,0 +1,11 @@ +Katawa Shoujo is a bishoujo-style visual novel set in the fictional +Yamaku High School for disabled children, located somewhere in modern +Japan. Hisao Nakai, a normal boy living a normal life, has his life +turned upside down when a congenital heart defect forces him to move +to a new school after a long hospitalization. Despite his +difficulties, Hisao is able to find friends - and perhaps love, if he +plays his cards right. There are five main paths corresponding to the +5 main female characters, each path following the storyline pertaining +to that character. + +WWW: http://www.katawa-shoujo.com/