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,66 @@ +# $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 + +.include + +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 +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} +.endif + +.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,72 @@ +# $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 + +EXTRACT_DEPENDS=convmv:${PORTSDIR}/converters/convmv +RUN_DEPENDS= onscripter:${PORTSDIR}/devel/onscripter + +USES= lha +NO_ARCH= yes +NO_BUILD= yes +SUB_FILES= wrapper +SUB_LIST= PORTNAME="${PORTNAME}" +PORTDATA= * +PLIST_FILES= bin/${PORTNAME} \ + share/icons/hicolor/48x48/apps/${PORTNAME}.png + +DESKTOP_ENTRIES="Narcissu & Narcissu: Side 2nd" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;AdventureGame;" \ + "" + +# Default to UTF-8, same as Gnome; for locale charmap +.if !defined(LANG) && !defined(LC_CTYPE) +.MAKEFLAGS: LANG=ja_JP.UTF-8 +.endif + +post-extract: + @${TAR} -xf ${_DISTDIR}/${DISTFILES:M*\:icon:C/:.*//} \ + -C${WRKDIR} --no-same-owner --no-same-permissions + @(cd ${WRKSRC} && ${RM} -f *.exe *.dll *.txt) + # Fixup filenames of guest illustrations + -convmv --notest -r -f SJIS \ + -t $$(locale charmap) ${WRKSRC} 2>/dev/null + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/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/wrapper.in =================================================================== --- /dev/null +++ japanese/narcissu2/files/wrapper.in @@ -0,0 +1,9 @@ +#! /bin/sh + +mkdir -p ~/.onscripter/%%PORTNAME%% +if cd ~/.onscripter/%%PORTNAME%%; then + ln -fs %%DATADIR%%/* . + onscripter "$@" +else + echo "Cannot cd to ~/.onscripter/%%PORTNAME%%" +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