opnsense-ports/sysutils/libcpuid/Makefile
Franco Fichtner 3e185b8ec5 */*: sync with upstream
Taken from: FreeBSD
2022-03-30 12:41:49 +02:00

35 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>