View | Details | Raw Unified | Return to bug 267183 | Differences between
and this patch

Collapse All | Expand All

(-)b/astro/starfetch/Makefile (+29 lines)
Added Link Here
1
PORTNAME=	starfetch
2
DISTVERSION=	0.0.3
3
CATEGORIES=	astro
4
MASTER_SITES=	https://github.com/Haruno19/${PORTNAME}/releases/download/${DISTVERSION}/
5
6
MAINTAINER=	DtxdF@disroot.org
7
COMMENT=	Command line tool that displays constellations
8
WWW=		https://github.com/Haruno19/starfetch/
9
10
LICENSE=	GPLv3
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
CXXFLAGS+=	-std=c++17
14
15
post-patch:
16
	@${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/${PORTNAME}.cpp
17
18
do-build:
19
	${CXX} ${CXXFLAGS} ${WRKSRC}/src/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
20
21
do-install:
22
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
23
24
post-install:
25
	${MKDIR} ${STAGEDIR}${DATADIR}
26
	(cd ${WRKSRC}/res && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
27
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
28
29
.include <bsd.port.mk>
(-)b/astro/starfetch/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1666478439
2
SHA256 (starfetch-0.0.3.tar.gz) = 4afb6e37c72464feb1813a574fe5a60c285e08ebfbf1f3e8f2b9318573c7497a
3
SIZE (starfetch-0.0.3.tar.gz) = 399822
(-)b/astro/starfetch/pkg-descr (+3 lines)
Added Link Here
1
starfetch is a tool that prints out a scheme of a given constellation
2
and some information about it: its quadrant, its right ascension,
3
its declination, its area and its main stars number.
(-)b/astro/starfetch/pkg-plist (-1 / +31 lines)
Added Link Here
0
- 
1
bin/starfetch
2
%%DATADIR%%/constellations/antlia.json
3
%%DATADIR%%/constellations/apus.json
4
%%DATADIR%%/constellations/aquarius.json
5
%%DATADIR%%/constellations/ara.json
6
%%DATADIR%%/constellations/aries.json
7
%%DATADIR%%/constellations/bootes.json
8
%%DATADIR%%/constellations/cancer.json
9
%%DATADIR%%/constellations/capricorn.json
10
%%DATADIR%%/constellations/cassiopeia.json
11
%%DATADIR%%/constellations/corona_borealis.json
12
%%DATADIR%%/constellations/crux.json
13
%%DATADIR%%/constellations/cygnus.json
14
%%DATADIR%%/constellations/gemini.json
15
%%DATADIR%%/constellations/leo.json
16
%%DATADIR%%/constellations/libra.json
17
%%DATADIR%%/constellations/lupus.json
18
%%DATADIR%%/constellations/ophiuchus.json
19
%%DATADIR%%/constellations/orion.json
20
%%DATADIR%%/constellations/pisces.json
21
%%DATADIR%%/constellations/sagittarius.json
22
%%DATADIR%%/constellations/scorpio.json
23
%%DATADIR%%/constellations/taurus.json
24
%%DATADIR%%/constellations/ursa_major.json
25
%%DATADIR%%/constellations/ursa_minor.json
26
%%DATADIR%%/constellations/virgo.json
27
%%DATADIR%%/constellations/canes_venatici.json
28
%%DATADIR%%/constellations/lyra.json
29
%%DATADIR%%/constellations/monoceros.json
30
%%DATADIR%%/help_message.txt
31
%%DATADIR%%/template

Return to bug 267183