astro/starfetch: New port: Command line tool that displays constellations
- submitter becomes maintainer Description: starfetch is a tool that prints out a scheme of a given constellation and some information about it: its quadrant, its right ascension, its declination, its area and its main stars number. WWW: https://github.com/Haruno19/starfetch/ PR: 267183
This commit is contained in:
parent
57fae14d04
commit
180c65af41
|
@ -115,6 +115,7 @@
|
|||
SUBDIR += sofa
|
||||
SUBDIR += sscalc
|
||||
SUBDIR += stardates
|
||||
SUBDIR += starfetch
|
||||
SUBDIR += starplot
|
||||
SUBDIR += stars
|
||||
SUBDIR += stellarium
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
PORTNAME= starfetch
|
||||
DISTVERSION= 0.0.3
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= https://github.com/Haruno19/${PORTNAME}/releases/download/${DISTVERSION}/
|
||||
|
||||
MAINTAINER= DtxdF@disroot.org
|
||||
COMMENT= Command line tool that displays constellations
|
||||
WWW= https://github.com/Haruno19/starfetch/
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
CXXFLAGS+= -std=c++17
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^string path = /s#=.*#= "${DATADIR}/";#' ${WRKSRC}/src/${PORTNAME}.cpp
|
||||
|
||||
do-build:
|
||||
${CXX} ${CXXFLAGS} ${WRKSRC}/src/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
|
||||
|
||||
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}
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1666478439
|
||||
SHA256 (starfetch-0.0.3.tar.gz) = 4afb6e37c72464feb1813a574fe5a60c285e08ebfbf1f3e8f2b9318573c7497a
|
||||
SIZE (starfetch-0.0.3.tar.gz) = 399822
|
|
@ -0,0 +1,3 @@
|
|||
starfetch is a tool that prints out a scheme of a given constellation
|
||||
and some information about it: its quadrant, its right ascension,
|
||||
its declination, its area and its main stars number.
|
|
@ -0,0 +1,31 @@
|
|||
bin/starfetch
|
||||
%%DATADIR%%/constellations/antlia.json
|
||||
%%DATADIR%%/constellations/apus.json
|
||||
%%DATADIR%%/constellations/aquarius.json
|
||||
%%DATADIR%%/constellations/ara.json
|
||||
%%DATADIR%%/constellations/aries.json
|
||||
%%DATADIR%%/constellations/bootes.json
|
||||
%%DATADIR%%/constellations/cancer.json
|
||||
%%DATADIR%%/constellations/capricorn.json
|
||||
%%DATADIR%%/constellations/cassiopeia.json
|
||||
%%DATADIR%%/constellations/corona_borealis.json
|
||||
%%DATADIR%%/constellations/crux.json
|
||||
%%DATADIR%%/constellations/cygnus.json
|
||||
%%DATADIR%%/constellations/gemini.json
|
||||
%%DATADIR%%/constellations/leo.json
|
||||
%%DATADIR%%/constellations/libra.json
|
||||
%%DATADIR%%/constellations/lupus.json
|
||||
%%DATADIR%%/constellations/ophiuchus.json
|
||||
%%DATADIR%%/constellations/orion.json
|
||||
%%DATADIR%%/constellations/pisces.json
|
||||
%%DATADIR%%/constellations/sagittarius.json
|
||||
%%DATADIR%%/constellations/scorpio.json
|
||||
%%DATADIR%%/constellations/taurus.json
|
||||
%%DATADIR%%/constellations/ursa_major.json
|
||||
%%DATADIR%%/constellations/ursa_minor.json
|
||||
%%DATADIR%%/constellations/virgo.json
|
||||
%%DATADIR%%/constellations/canes_venatici.json
|
||||
%%DATADIR%%/constellations/lyra.json
|
||||
%%DATADIR%%/constellations/monoceros.json
|
||||
%%DATADIR%%/help_message.txt
|
||||
%%DATADIR%%/template
|
Loading…
Reference in New Issue