View | Details | Raw Unified | Return to bug 273039
Collapse All | Expand All

(-)b/astro/starfetch/Makefile (-7 / +8 lines)
Lines 1-11 Link Here
1
PORTNAME=	starfetch
1
PORTNAME=	starfetch
2
DISTVERSION=	0.0.3
2
DISTVERSION=	0.0.4
3
CATEGORIES=	astro
3
CATEGORIES=	astro
4
MASTER_SITES=	https://github.com/Haruno19/${PORTNAME}/releases/download/${DISTVERSION}/
4
MASTER_SITES=	https://github.com/Haruno19/${PORTNAME}/releases/download/${DISTVERSION}/
5
5
6
MAINTAINER=	DtxdF@disroot.org
6
MAINTAINER=	DtxdF@disroot.org
7
COMMENT=	Command line tool that displays constellations
7
COMMENT=	Command line tool that displays constellations
8
WWW=		https://github.com/Haruno19/starfetch/
8
WWW=		https://github.com/Haruno19/starfetch
9
9
10
LICENSE=	GPLv3
10
LICENSE=	GPLv3
11
LICENSE_FILE=	${WRKSRC}/LICENSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
Lines 13-29 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
13
CXXFLAGS+=	-std=c++17
13
CXXFLAGS+=	-std=c++17
14
14
15
post-patch:
15
post-patch:
16
	@${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/${PORTNAME}.cpp
16
	@${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/starfetch.cpp
17
17
18
do-build:
18
do-build:
19
	${CXX} ${CXXFLAGS} ${WRKSRC}/src/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
19
	${CXX} ${CXXFLAGS} ${WRKSRC}/src/starfetch.cpp -o ${WRKSRC}/starfetch
20
20
21
do-install:
21
do-install:
22
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
22
	${INSTALL_PROGRAM} ${WRKSRC}/starfetch ${STAGEDIR}${PREFIX}/bin/starfetch
23
23
24
post-install:
24
post-install:
25
	${MKDIR} ${STAGEDIR}${DATADIR}
25
	${MKDIR} ${STAGEDIR}${DATADIR}
26
	(cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
26
	cd ${WRKSRC}/res && ${FIND} . -name '._*' -exec ${RM} -f {} \;
27
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
27
	cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
28
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/starfetch
28
29
29
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)b/astro/starfetch/distinfo (-4 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1666478439
1
TIMESTAMP = 1691651185
2
SHA256 (starfetch-0.0.3.tar.gz) = 4afb6e37c72464feb1813a574fe5a60c285e08ebfbf1f3e8f2b9318573c7497a
2
SHA256 (starfetch-0.0.4.tar.gz) = 10899d964db3f8cdf91f26e6e4ee60f558ab6c8a6c7778f64f5395affbf3de2b
3
SIZE (starfetch-0.0.3.tar.gz) = 399822
3
SIZE (starfetch-0.0.4.tar.gz) = 591205
4
- 

Return to bug 273039