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

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Decodes binary EDID information from monitors

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>