blob: 13f27ef653242cde1f92d17329714a0ec86583b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
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 \
https://aur.archlinux.org/cgit/aur.git/plain/${PORTNAME}-en.png?h=${PORTNAME}-en&id=9768eea&foo=/:icon
DISTFILES= [Denpa]_Narcissu_2_Eng_[unix].tar.bz2.link:game \
Narcissu_2_Eng_v${PORTVERSION}_script_[All_platforms].zip:script \
${PORTNAME}-en.png:icon
EXTRACT_ONLY= ${DISTFILES:N*\:icon:C/:.*//}
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:games/ponscripter-sekai
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-installer
PORTDATA= *
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/man/man6/${PORTNAME}.6.gz
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} ${_DISTDIR}/${DISTFILES:M*\:icon:C/:.*//} \
${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}${PREFIX}/share/man/man6/${PORTNAME}.6
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|