mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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
This commit is contained in:
parent
7dbdc9f4bf
commit
d0f288a559
2 changed files with 10 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
||||||
PORTNAME= starfetch
|
PORTNAME= starfetch
|
||||||
DISTVERSION= 0.0.3
|
DISTVERSION= 0.0.4
|
||||||
CATEGORIES= astro
|
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
|
MAINTAINER= DtxdF@disroot.org
|
||||||
COMMENT= Command line tool that displays constellations
|
COMMENT= Command line tool that displays constellations
|
||||||
WWW= https://github.com/Haruno19/starfetch/
|
WWW= https://github.com/Haruno19/starfetch
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
@ -13,17 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
CXXFLAGS+= -std=c++17
|
CXXFLAGS+= -std=c++17
|
||||||
|
|
||||||
post-patch:
|
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:
|
do-build:
|
||||||
${CXX} ${CXXFLAGS} ${WRKSRC}/src/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
|
${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${WRKSRC}/src/starfetch.cpp -o ${WRKSRC}/starfetch
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
${INSTALL_PROGRAM} ${WRKSRC}/starfetch ${STAGEDIR}${PREFIX}/bin/starfetch
|
||||||
|
(cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '! -name \._*')
|
||||||
post-install:
|
|
||||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
||||||
(cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1666478439
|
TIMESTAMP = 1691651185
|
||||||
SHA256 (starfetch-0.0.3.tar.gz) = 4afb6e37c72464feb1813a574fe5a60c285e08ebfbf1f3e8f2b9318573c7497a
|
SHA256 (starfetch-0.0.4.tar.gz) = 10899d964db3f8cdf91f26e6e4ee60f558ab6c8a6c7778f64f5395affbf3de2b
|
||||||
SIZE (starfetch-0.0.3.tar.gz) = 399822
|
SIZE (starfetch-0.0.4.tar.gz) = 591205
|
||||||
|
|
Loading…
Add table
Reference in a new issue