b6291b0997
information using sysctl(3) CTL_HW* identifiers, it does not properly guard x86-specific code paths. Requested by: mat
26 lines
583 B
Makefile
26 lines
583 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lscpu
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Display information about the CPU architecture
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= unconditionally invokes x86-specific code
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= NanXiao
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|