aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cpufetch/Makefile
blob: af12fafcdf49817e23b031137564d1d9b47e12b3 (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=	cpufetch
DISTVERSIONPREFIX=	v
DISTVERSION=	1.05
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	jbo@FreeBSD.org
COMMENT=	Simple yet fancy CPU architecture fetching tool
WWW=		https://github.com/Dr-Noob/cpufetch

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=		amd64 i386
ONLY_FOR_ARCHS_REASON=	not yet ported to other architectures

USES=		gmake

USE_GITHUB=	yes
GH_ACCOUNT=	Dr-Noob

PLIST_FILES=	bin/cpufetch \
		share/man/man1/cpufetch.1.gz

# Custom install as upstream uses invalid -Dm755 and -Dm644 instead of ${INSTALL_PROGRAM} and ${INSTALL_DATA} accordingly.
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cpufetch ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>