git: 630a2b648fea - main - games/opentyrian: update 2.1.20220318 → 2.1.20221123
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Nov 2022 15:57:30 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=630a2b648feab12bcf7f7f93033bf97d4f1ff3c5 commit 630a2b648feab12bcf7f7f93033bf97d4f1ff3c5 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-11-25 11:36:42 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-11-25 15:57:20 +0000 games/opentyrian: update 2.1.20220318 → 2.1.20221123 - Fix passing version to the build system - Modernize empty directory handling in plist - Strip binary - Upstream now installs desktop entry and icons --- games/opentyrian/Makefile | 8 +++----- games/opentyrian/distinfo | 6 +++--- games/opentyrian/pkg-plist | 8 ++++++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/games/opentyrian/Makefile b/games/opentyrian/Makefile index 04d003ca3fc5..958a224788d8 100644 --- a/games/opentyrian/Makefile +++ b/games/opentyrian/Makefile @@ -1,6 +1,6 @@ PORTNAME= opentyrian DISTVERSIONPREFIX= v -DISTVERSION= 2.1.20220318 +DISTVERSION= 2.1.20221123 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org @@ -14,7 +14,7 @@ USES= gmake pkgconfig sdl USE_GITHUB= yes USE_SDL= sdl2 net2 -MAKE_ENV= VCS_IDREV="${DISTVERSION}" \ +MAKE_ENV= VCS_IDREV="${ECHO_CMD} ${DISTVERSION}" \ gamesdir="${PREFIX}/share" DATADIR= ${PREFIX}/share/tyrian @@ -26,9 +26,7 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: - ${INSTALL_DATA} ${WRKSRC}/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ - ${INSTALL_DATA} ${WRKSRC}/linux/icons/tyrian-32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opentyrian @${MKDIR} ${STAGEDIR}${DATADIR} - ${TOUCH} ${STAGEDIR}${DATADIR}/.keepme .include <bsd.port.mk> diff --git a/games/opentyrian/distinfo b/games/opentyrian/distinfo index 42ac32159fc8..0e88a7b217af 100644 --- a/games/opentyrian/distinfo +++ b/games/opentyrian/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647642356 -SHA256 (opentyrian-opentyrian-v2.1.20220318_GH0.tar.gz) = e0c6afbb5d395c919f9202f4c9b3b4da7bd6e993e9da6152f995012577e1ccbd -SIZE (opentyrian-opentyrian-v2.1.20220318_GH0.tar.gz) = 298403 +TIMESTAMP = 1669373030 +SHA256 (opentyrian-opentyrian-v2.1.20221123_GH0.tar.gz) = e0e8a8b0d61de10a3a65789ace9ea8e8c5d8dc67f3e423d2c852d64da38aeeb9 +SIZE (opentyrian-opentyrian-v2.1.20221123_GH0.tar.gz) = 297694 diff --git a/games/opentyrian/pkg-plist b/games/opentyrian/pkg-plist index 3df2ab02ea50..65d6bd85321a 100644 --- a/games/opentyrian/pkg-plist +++ b/games/opentyrian/pkg-plist @@ -1,5 +1,9 @@ bin/opentyrian share/applications/opentyrian.desktop +share/icons/hicolor/128x128/apps/opentyrian.png +share/icons/hicolor/22x22/apps/opentyrian.png +share/icons/hicolor/24x24/apps/opentyrian.png +share/icons/hicolor/32x32/apps/opentyrian.png +share/icons/hicolor/48x48/apps/opentyrian.png share/man/man6/opentyrian.6.gz -share/pixmaps/opentyrian.png -%%DATADIR%%/.keepme +@dir %%DATADIR%%