git: d0f288a55991 - main - astro/starfetch: Update to 0.0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 09:41:32 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d0f288a5599116fc41163034ebd62a3d8c8e6277
commit d0f288a5599116fc41163034ebd62a3d8c8e6277
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-08-10 08:46:40 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-13 09:32:55 +0000
astro/starfetch: Update to 0.0.4
* Remove trailing slash in WWW
* Use a hardcoded string instead of ${PORTNAME}
* Remove AppleDouble encoded Macintosh files
(included in this release, cause `Abort (core dumped)`)
ChangeLog: https://github.com/Haruno19/starfetch/releases/tag/0.0.4
* Overall better and cleaner code
* Compatibility for Windows systems
* Full Qt5/6 GUI version for starfetch
* Lets the user choose between black, white, cyan, magenta, yellow,
red and blue to color part of the output
PR: 273039
---
astro/starfetch/Makefile | 18 +++++++-----------
astro/starfetch/distinfo | 6 +++---
2 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/astro/starfetch/Makefile b/astro/starfetch/Makefile
index a68e44bed04a..eea241fce5d3 100644
--- a/astro/starfetch/Makefile
+++ b/astro/starfetch/Makefile
@@ -1,11 +1,11 @@
PORTNAME= starfetch
-DISTVERSION= 0.0.3
+DISTVERSION= 0.0.4
CATEGORIES= astro
-MASTER_SITES= https://github.com/Haruno19/${PORTNAME}/releases/download/${DISTVERSION}/
+MASTER_SITES= https://github.com/Haruno19/starfetch/releases/download/${DISTVERSION}/
MAINTAINER= DtxdF@disroot.org
COMMENT= Command line tool that displays constellations
-WWW= https://github.com/Haruno19/starfetch/
+WWW= https://github.com/Haruno19/starfetch
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -13,17 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CXXFLAGS+= -std=c++17
post-patch:
- @${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/${PORTNAME}.cpp
+ @${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/starfetch.cpp
do-build:
- ${CXX} ${CXXFLAGS} ${WRKSRC}/src/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
+ ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${WRKSRC}/src/starfetch.cpp -o ${WRKSRC}/starfetch
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-post-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/starfetch ${STAGEDIR}${PREFIX}/bin/starfetch
+ (cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '! -name \._*')
.include <bsd.port.mk>
diff --git a/astro/starfetch/distinfo b/astro/starfetch/distinfo
index de99ddcb44c0..1fc6c2b948a5 100644
--- a/astro/starfetch/distinfo
+++ b/astro/starfetch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666478439
-SHA256 (starfetch-0.0.3.tar.gz) = 4afb6e37c72464feb1813a574fe5a60c285e08ebfbf1f3e8f2b9318573c7497a
-SIZE (starfetch-0.0.3.tar.gz) = 399822
+TIMESTAMP = 1691651185
+SHA256 (starfetch-0.0.4.tar.gz) = 10899d964db3f8cdf91f26e6e4ee60f558ab6c8a6c7778f64f5395affbf3de2b
+SIZE (starfetch-0.0.4.tar.gz) = 591205