Files
ports/sysutils/libcpuid/Makefile
T
Piotr Kubaj 9482644374 sysutils/libcpuid: enable on powerpc*
While CPUID doesn't exist on powerpc*, upstream added compilation fixes for non-x86 and this will unbreak also some reverse dependencies.
2022-03-29 06:14:12 +00:00

36 lines
764 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= libcpuid
PORTVERSION= 0.5.1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= danfe@FreeBSD.org
COMMENT= Small x86 CPU identification library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 i386 powerpc64le powerpc64 powerpc
USE_GITHUB= yes
GH_ACCOUNT= anrieff
USES= autoreconf libtool pathfix python:test shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_TARGET= test
SHEBANG_FILES= tests/create_test.py tests/run_tests.py
PORTDOCS= AUTHORS ChangeLog Readme.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>