freebsd-ports/sysutils/cpuid2cpuflags/Makefile
Alexey Dokuchaev d419cf37c4 The program attempts to obtain the identification and capabilities
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
2019-12-20 05:18:17 +00:00

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>