summaryrefslogtreecommitdiff
path: root/astro/astroterm/Makefile
blob: 1b4c6959a95060f31d9bc2a8146fc45e33cdf2bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	astroterm
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.7
CATEGORIES=	astro
MASTER_SITES=	https://web.archive.org/web/20231007085824if_/http://tdc-www.harvard.edu/catalogs/:DATA
DISTFILES=	BSC5:DATA
DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	nxjoseph@protonmail.com
COMMENT=	Explore stars, planets, constellations, and more in your terminal!
WWW=		https://github.com/da-luce/astroterm

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	xxd:sysutils/xxd
LIB_DEPENDS=	libargtable2.so:devel/argtable

USES=		compiler meson ncurses ninja pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	da-luce

PLIST_FILES=	bin/${PORTNAME}

post-extract:
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/BSC5 \
		${WRKSRC}/data/bsc5

.include <bsd.port.mk>