aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-06 06:48:09 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-06 06:48:09 +0800
commit6bfe16603150aba2af230040ccf84fb232fbeadd (patch)
treef35248a4a218fd4d33aeb19277c52a10a8b66e5b /games
parentbd2d104b1095dc2214de4e2ed7d89bf667f8626e (diff)
downloadfreebsd-ports-gnome-6bfe16603150aba2af230040ccf84fb232fbeadd.tar.gz
freebsd-ports-gnome-6bfe16603150aba2af230040ccf84fb232fbeadd.tar.zst
freebsd-ports-gnome-6bfe16603150aba2af230040ccf84fb232fbeadd.zip
games/narcissu2: add new port
PR: 195800 Reviewed by: games (amdmi3) Approved by: bapt (mentor, previous version) Differential Revision: https://reviews.freebsd.org/D1807 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. http://www.neechin.net/narcissu/
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/narcissu2/Makefile60
-rw-r--r--games/narcissu2/distinfo6
-rw-r--r--games/narcissu2/pkg-descr10
4 files changed, 77 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 02eed0dfb720..faa49028256d 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -616,6 +616,7 @@
SUBDIR += nadar
SUBDIR += naev
SUBDIR += naev-data
+ SUBDIR += narcissu2
SUBDIR += nazghul
SUBDIR += nehquake
SUBDIR += nelly
diff --git a/games/narcissu2/Makefile b/games/narcissu2/Makefile
new file mode 100644
index 000000000000..cbbe2f4acfbc
--- /dev/null
+++ b/games/narcissu2/Makefile
@@ -0,0 +1,60 @@
+# $FreeBSD$
+
+PORTNAME= narcissu2
+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}-en/:icon
+DISTFILES= [Denpa]_Narcissu_2_Eng_[unix].tar.bz2.link:game \
+ Narcissu_2_Eng_v${PORTVERSION}_script_[All_platforms].zip:script \
+ ${PORTNAME}-en.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
+WRKSRC= ${WRKDIR}/${PORTNAME}-installer
+PORTDATA= *
+PORTDOCS= README
+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}-en/${PORTNAME}-en.png \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png
+ (cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
+ ${INSTALL_DATA} -p ${WRKDIR}/*.utf ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.6 \
+ ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \
+ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/games/narcissu2/distinfo b/games/narcissu2/distinfo
new file mode 100644
index 000000000000..1c739190a27a
--- /dev/null
+++ b/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
diff --git a/games/narcissu2/pkg-descr b/games/narcissu2/pkg-descr
new file mode 100644
index 000000000000..8186354c25ff
--- /dev/null
+++ b/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/