forked from Lainports/opnsense-ports
29 lines
642 B
Makefile
29 lines
642 B
Makefile
PORTNAME= cpuid2cpuflags
|
|
PORTVERSION= 12
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Tool to generate CPU_FLAGS_* for your CPU
|
|
WWW= https://github.com/mgorny/cpuid2cpuflags
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BROKEN_riscv64= fails to build: src/platforms.h:15:4: error: "Unsupported platform, please report"
|
|
|
|
USES= autoreconf
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mgorny
|
|
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>
|