summaryrefslogtreecommitdiff
path: root/sysutils/screenfetch/Makefile
blob: b092e566751966bdab1c4939ec1ea6b777ee1657 (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
# $NetBSD: Makefile,v 1.1 2016/07/18 22:56:44 kamil Exp $

DISTNAME=	screenFetch-3.7.0
PKGNAME=	${DISTNAME:tl}
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GITHUB:=KittyKatt/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/KittyKatt/screenFetch/
COMMENT=	Fetches system/theme information in terminal for screenshots
LICENSE=	gnu-gpl-v3

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_TOOLS+=	bash:run
USE_LANGUAGES=	# none

REPLACE_BASH+=	screenfetch-dev

NO_BUILD=	yes

# These are optional, however the purpose of screenfetch is to make use of them
DEPENDS+=	curl-[0-9]*:../../www/curl
DEPENDS+=	scrot-[0-9]*:../../graphics/scrot

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

do-install:
	${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} screenfetch-dev \
		${DESTDIR}${PREFIX}/bin/screenfetch
	${RUN} cd ${WRKSRC} && ${INSTALL_DATA} screenfetch.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/screenfetch.1

.include "../../mk/bsd.pkg.mk"