forked from Lainports/freebsd-ports
of the currently used CPU, and print the matching set of CPU_FLAGS_* flags for Gentoo Linux, but it could be useful for FreeBSD as well. WWW: https://github.com/mgorny/cpuid2cpuflags
28 lines
538 B
Makefile
28 lines
538 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpuid2cpuflags
|
|
PORTVERSION= 8
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Tool to generate CPU_FLAGS_* for your CPU
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= autoreconf
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mgorny
|
|
GNU_CONFIGURE= yes
|
|
|
|
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>
|