git: 6b742b74dc3e - 2023Q2 - games/narcissu2: switch to Steam icons
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 May 2023 19:12:32 UTC
The branch 2023Q2 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b742b74dc3e5a4e09f887f1b3a2297870d13201 commit 6b742b74dc3e5a4e09f887f1b3a2297870d13201 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-05-17 18:59:49 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-05-17 19:12:13 +0000 games/narcissu2: switch to Steam icons Inspired by: AUR (cherry picked from commit 7ca3e2e0da58f14d5666a38a14bcbc51c841c48b) --- games/narcissu2/Makefile | 17 +++++++++-------- games/narcissu2/distinfo | 6 ++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/games/narcissu2/Makefile b/games/narcissu2/Makefile index 40efbd40ad21..1b32c6c7e36c 100644 --- a/games/narcissu2/Makefile +++ b/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 @@ -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;" \ "" @@ -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 \ diff --git a/games/narcissu2/distinfo b/games/narcissu2/distinfo index 7e91c8987737..491c42d57303 100644 --- a/games/narcissu2/distinfo +++ b/games/narcissu2/distinfo @@ -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