aboutsummaryrefslogtreecommitdiff
path: root/sysutils/edid-decode/Makefile
blob: 8b8a3c02cbe831674eef2882dc1b8680c7a4a5f5 (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=	edid-decode
PORTVERSION=	0.1.20220803
CATEGORIES=	sysutils
MASTER_SITES=	LOCAL/ehaupt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Decodes binary EDID information from monitors
WWW=		https://git.linuxtv.org/edid-decode.git

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		compiler:c++11-lang gmake tar:xz

LDFLAGS+=	-lm

PLIST_FILES=	bin/edid-decode \
		share/man/man1/edid-decode.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/share/man/man1

dist: clean
	@${MKDIR} ${WRKSRC}
	@git clone https://git.linuxtv.org/edid-decode.git ${WRKSRC}
	@${RM} -rf ${WRKSRC}/.git*
	@${TAR} -C ${WRKDIR} -cvJpf ${DISTDIR}/${DISTFILES} ${DISTNAME}

.include <bsd.port.mk>