Index: games/Makefile =================================================================== --- games/Makefile +++ games/Makefile @@ -617,6 +617,7 @@ SUBDIR += nadar SUBDIR += naev SUBDIR += naev-data + SUBDIR += narcissu2 SUBDIR += nazghul SUBDIR += nehquake SUBDIR += nelly Index: games/narcissu2/Makefile =================================================================== --- /dev/null +++ games/narcissu2/Makefile @@ -0,0 +1,62 @@ +# $FreeBSD$ + +PORTNAME= narcissu2-en +PORTVERSION= 1.1 +CATEGORIES= games +MASTER_SITES= http://www.neechin.net/file_download/22/:game \ + http://www.neechin.net/file_download/27/:script \ + http://aur.archlinux.org/packages/na/${PORTNAME}/:icon +DISTFILES= [Denpa]_Narcissu_2_Eng_[unix].tar.bz2.link:game \ + Narcissu_2_Eng_v1.1_script_[All_platforms].zip:script \ + ${PORTNAME}.tar.gz:icon + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Visual novel about an encounter of terminally ill + +LICENSE= Freeware +LICENSE_NAME= Narcissu and Narcissu 2 License (from README) +LICENSE_TEXT= Permission has been granted to anyone to redistribute \ + these games by means such as the Internet, provided such \ + distribution is free of charge and the contents of the \ + game data are not modified. +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +RUN_DEPENDS= ponscr:${PORTSDIR}/devel/ponscripter-sekai + +NO_ARCH= yes +NO_BUILD= yes +INSTALLS_ICONS= yes +WRKSRC= ${WRKDIR}/${PORTNAME:C/-.*//}-installer +PORTDATA= * +PORTDOCS= * +PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz \ + share/icons/hicolor/48x48/apps/${PORTNAME}.png + +DESKTOP_ENTRIES="Narcissu & Narcissu: Side 2nd" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;AdventureGame;" \ + "" + +OPTIONS_DEFINE= DOCS + +pre-install: + ${PRINTF} '#! /bin/sh\nponscr --root ${DATADIR} "$$@"\n' \ + >${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps + ${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + ${INSTALL_DATA} -p ${WRKDIR}/*.utf ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME:C/-.*//}.6 \ + ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +.include Index: games/narcissu2/distinfo =================================================================== --- /dev/null +++ games/narcissu2/distinfo @@ -0,0 +1,6 @@ +SHA256 ([Denpa]_Narcissu_2_Eng_[unix].tar.bz2.link) = fb5646e8d3ec9575339d59fae0af1804d036da9174776432e15616f60271e6ce +SIZE ([Denpa]_Narcissu_2_Eng_[unix].tar.bz2.link) = 287533563 +SHA256 (Narcissu_2_Eng_v1.1_script_[All_platforms].zip) = 7af724e8d0c3131b2b0047e013b9d011375ca79330e49310ecb51c7bf89091f9 +SIZE (Narcissu_2_Eng_v1.1_script_[All_platforms].zip) = 915697 +SHA256 (narcissu2-en.tar.gz) = 6f0777c81d60549bad1798743e24dd0331d803318e23492c0f1d092e3871e846 +SIZE (narcissu2-en.tar.gz) = 6189 Index: games/narcissu2/pkg-descr =================================================================== --- /dev/null +++ games/narcissu2/pkg-descr @@ -0,0 +1,10 @@ +The anonymous protagonist is diagnosed with a terminal illness shortly +after his twentieth birthday, and is admitted to a hospital in Mito, +Ibaraki. There he meets Setsumi, a woman a few years older, who is +also terminally ill. Finding that they both reject to die either in +hospital or at home, they steal a car and run away together. -- VNDB + +This package includes English translation for both Narcissu and +Narcissu: Side 2nd. + +WWW: http://www.neechin.net/narcissu/ Index: japanese/Makefile =================================================================== --- japanese/Makefile +++ japanese/Makefile @@ -172,6 +172,7 @@ SUBDIR += mypaedia-fpw-package SUBDIR += namazu SUBDIR += namazu2 + SUBDIR += narcissu2 SUBDIR += navi2ch SUBDIR += ne SUBDIR += nethack34 Index: japanese/narcissu2/Makefile =================================================================== --- /dev/null +++ japanese/narcissu2/Makefile @@ -0,0 +1,62 @@ +# $FreeBSD$ + +PORTNAME= narcissu2 +PORTVERSION= 1 +CATEGORIES= japanese games +MASTER_SITES= http://caras.rassyai.com/~stage-nana/:game \ + http://mirror0.fuzzy2.com/2007/05/stage-nana/:game \ + http://mirror.studio-ramble.com/upload/280/200705/:game \ + http://mirror1.lapistan.jp:8000/mirror01/2007/05/stage-nana/:game \ + http://mirror2.fuzzy2.com/2007/05/stage-nana/:game \ + http://mirror3.fuzzy2.com/2007/05/stage-nana/:game \ + http://mirror4.fuzzy2.com/2007/05/stage-nana/:game \ + http://mirror11.fuzzy2.com/2007/05/stage-nana/:game \ + http://aur.archlinux.org/packages/na/${PORTNAME}-en/:icon +DISTNAME= naru2 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:game \ + ${PORTNAME}-en.tar.gz:icon +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Visual novel about an encounter of terminally ill + +LICENSE= Freeware +LICENSE_NAME= Narcissu and Narcissu 2 License (from English README) +LICENSE_TEXT= Permission has been granted to anyone to redistribute \ + these games by means such as the Internet, provided such \ + distribution is free of charge and the contents of the \ + game data are not modified. +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +RUN_DEPENDS= onscripter:${PORTSDIR}/devel/onscripter + +USES= lha +NO_ARCH= yes +NO_BUILD= yes +SUB_FILES= ons_wrapper +PORTDATA= * +PLIST_FILES= bin/${PORTNAME} \ + share/icons/hicolor/48x48/apps/${PORTNAME}.png + +DESKTOP_ENTRIES="Narcissu & Narcissu: Side 2nd" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;AdventureGame;" \ + "" + +post-extract: + @${TAR} -xf ${_DISTDIR}/${DISTFILES:M*\:icon:C/:.*//} \ + -C${WRKDIR} --no-same-owner --no-same-permissions + @(cd ${WRKSRC} && ${RM} -f *.exe *.dll *.txt) + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/ons_wrapper \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-en/${PORTNAME}-en.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png + ${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + +.include Index: japanese/narcissu2/distinfo =================================================================== --- /dev/null +++ japanese/narcissu2/distinfo @@ -0,0 +1,4 @@ +SHA256 (naru2.lzh) = ff38b0b5549aaff2ad26adb5d60584b53ce421f4aaecda8d05d0adcc12a652c6 +SIZE (naru2.lzh) = 282478817 +SHA256 (narcissu2-en.tar.gz) = 6f0777c81d60549bad1798743e24dd0331d803318e23492c0f1d092e3871e846 +SIZE (narcissu2-en.tar.gz) = 6189 Index: japanese/narcissu2/files/ons_wrapper.in =================================================================== --- /dev/null +++ japanese/narcissu2/files/ons_wrapper.in @@ -0,0 +1,13 @@ +#! /bin/sh + +# ONScripter stores saves and configuration files in game data directory. +# As the directory is read-only we mirror it under ~/.onscripter using +# symlinks and run the game from there. + +mkdir -p ~/.onscripter/${0##*/} +if cd ~/.onscripter/${0##*/}; then + ln -fs %%DATADIR%%/* . + onscripter "$@" +else + echo "Cannot cd to ~/.onscripter/${0##*/}" +fi Index: japanese/narcissu2/pkg-descr =================================================================== --- /dev/null +++ japanese/narcissu2/pkg-descr @@ -0,0 +1,10 @@ +The anonymous protagonist is diagnosed with a terminal illness shortly +after his twentieth birthday, and is admitted to a hospital in Mito, +Ibaraki. There he meets Setsumi, a woman a few years older, who is +also terminally ill. Finding that they both reject to die either in +hospital or at home, they steal a car and run away together. -- VNDB + +This package includes original Japanese version for both Narcissu and +Narcissu: Side 2nd. + +WWW: http://stage-nana.sakura.ne.jp/narcissu.htm