1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/sysutils/edid-decode/Makefile
Baptiste Daroussin 7074d7f6ae MANPREFIX: eliminate usage of MANPREFIX
While here move some manpages to share/man
2024-01-11 14:59:36 +01:00

32 lines
782 B
Makefile

PORTNAME= edid-decode
PORTVERSION= 0.1.20231124
PORTREVISION= 1
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}${PREFIX}/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>