Changeset View
Changeset View
Standalone View
Standalone View
games/narcissu2/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= narcissu2-en | |||||
AMDmi3: Not sure if -en suffix is needed - english is assumed by default. If you think it's needed… | |||||
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} | |||||
Not Done Inline ActionsJust curious, what's -p needed for? AMDmi3: Just curious, what's -p needed for? | |||||
Not Done Inline ActionsTo keep modification time of the files under DATADIR consistent. It also helps if the user wants to know last time the translation was updated. jbeich: To keep modification time of the files under DATADIR consistent. It also helps if the user… | |||||
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} | |||||
.include <bsd.port.mk> | |||||
Not Done Inline ActionsYou may drop this condition and .include <bsd.port.options.mk>, option files are automatically handled by PORTDOCS=*. Conditional installation is only meaningful if installation takes noticeable amount of time. AMDmi3: You may drop this condition and .include <bsd.port.options.mk>, option files are automatically… |
Not sure if -en suffix is needed - english is assumed by default. If you think it's needed, it's better to use PKGNAMESUFFIX=-en instead.