Skip to content

Commit

Permalink
games/narcissu2: switch to Steam icons
Browse files Browse the repository at this point in the history
Inspired by:	AUR

(cherry picked from commit 7ca3e2e)
  • Loading branch information
jbeich committed May 17, 2023
1 parent 2691394 commit 6b742b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
17 changes: 9 additions & 8 deletions games/narcissu2/Makefile
@@ -1,12 +1,13 @@
PORTNAME= narcissu2
PORTVERSION= 1.1
PORTREVISION= 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
https://github.com/07th-mod/ponscripter-fork/raw/v3.0.2/src/resources/:icon
DISTFILES= [Denpa]_Narcissu_2_Eng_[unix].tar.bz2:game \
Narcissu_2_Eng_v${PORTVERSION}_script_[All_platforms].zip:script \
${PORTNAME}-en.png:icon
narci2.ico:icon narci2.png:icon
EXTRACT_ONLY= ${DISTFILES:N*\:icon:C/:.*//}

MAINTAINER= jbeich@FreeBSD.org
Expand All @@ -29,12 +30,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-installer
PORTDATA= *
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/man/man6/${PORTNAME}.6.gz
share/man/man6/${PORTNAME}.6.gz \
share/pixmaps/narci2.ico \
share/pixmaps/narci2.png

DESKTOP_ENTRIES="Narcissu & Narcissu: Side 2nd" \
"" \
"${PORTNAME}" \
"narci2" \
"${PORTNAME}" \
"Game;AdventureGame;" \
""
Expand All @@ -47,9 +49,8 @@ pre-install:

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
${INSTALL_DATA} ${DISTFILES:M*\:icon:C/:.*//:S,^,${_DISTDIR},} \
${STAGEDIR}${PREFIX}/share/pixmaps
(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${INSTALL_DATA} -p ${WRKDIR}/*.utf ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.6 \
Expand Down
6 changes: 4 additions & 2 deletions games/narcissu2/distinfo
Expand Up @@ -3,5 +3,7 @@ SHA256 ([Denpa]_Narcissu_2_Eng_[unix].tar.bz2) = fb5646e8d3ec9575339d59fae0af180
SIZE ([Denpa]_Narcissu_2_Eng_[unix].tar.bz2) = 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.png) = 060c224096414404177e14737e4402a7beb70e007da9840b82f89d69eace4312
SIZE (narcissu2-en.png) = 3752
SHA256 (narci2.ico) = 910095fb356ce5bd417afd0d5e019e14bafbcf7355a81c520c322993132390e7
SIZE (narci2.ico) = 52880
SHA256 (narci2.png) = 63e96870b348c13c0c58780b3031a17d4c356cea63b0b2280e922df193ef4446
SIZE (narci2.png) = 1576

0 comments on commit 6b742b7

Please sign in to comment.