summaryrefslogtreecommitdiff
path: root/audio/somafm-cli/Makefile
blob: ee1fb0dcb984931fadd29f4509757c921fa1dc84 (plain)
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
31
32
33
34
35
36
37
38
39
40
41

PORTNAME=	somafm-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.1
CATEGORIES=	audio

MAINTAINER=	lcook@FreeBSD.org
COMMENT=	Listen to SomaFM in your terminal

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/README.md

RUN_DEPENDS=	bash:shells/bash \
		curl:ftp/curl \
		jq:textproc/jq \
		mpv:multimedia/mpv

USES=		shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	rockymadden
SHEBANG_FILES=	src/somafm

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/somafm

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/src/somafm \
		${STAGEDIR}${PREFIX}/bin/somafm

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>