d1366f1741
Use uname -p instead of uname -m.
24 lines
604 B
Makefile
24 lines
604 B
Makefile
PORTNAME= lscpu
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
|
|
PATCH_SITES= https://github.com/NanXiao/lscpu/commit/
|
|
PATCHFILES= 6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch:-p2
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Display information about the CPU architecture
|
|
WWW= https://github.com/NanXiao/lscpu
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
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>
|