openbsd-ports/sysutils/cpuid/Makefile

28 lines
418 B
Makefile

# $OpenBSD: Makefile,v 1.3 2019/07/12 20:49:41 sthen Exp $
ONLY_FOR_ARCHS= i386 amd64
COMMENT= simple tool to dump cpuid information
PKGNAME= cpuid-20160409
REVISION= 0
DISTFILES=
CATEGORIES= sysutils
# ISC
PERMIT_PACKAGE= Yes
WANTLIB= c
NO_TEST= Yes
do-build:
cp ${FILESDIR}/cpuid.c ${WRKSRC}/
@cd ${WRKSRC}; make cpuid
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin
.include <bsd.port.mk>