summaryrefslogtreecommitdiff
path: root/sysutils/cpuid2cpuflags/Makefile
blob: 02272642fe026b7a5a65b90c93209799d4ca35ee (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
PORTNAME=	cpuid2cpuflags
PORTVERSION=	16
CATEGORIES=	sysutils
MASTER_SITES=	${WWW}/releases/download/v${PORTVERSION}/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Tool to generate CPU_FLAGS_* for your CPU
WWW=		https://github.com/projg2/cpuid2cpuflags

LICENSE=	GPLv2+

BROKEN_riscv64=		fails to build: src/platforms.h:15:4: error: "Unsupported platform, please report"

USES=		tar:bzip2
GNU_CONFIGURE=	yes
TEST_TARGET=	check

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	README

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>