mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
sysutils/inxi: add dmidecode only where it's supported
This commit is contained in:
parent
c99e9e4cda
commit
7cfb3aef37
@ -9,7 +9,6 @@ LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= bind-tools>=0:dns/bind-tools \
|
||||
dmidecode:sysutils/dmidecode \
|
||||
mesa-demos>=0:graphics/mesa-demos \
|
||||
p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS \
|
||||
p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny \
|
||||
@ -37,6 +36,12 @@ PORTDOCS= ${PORTNAME}.changelog README.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == riscv64 || ${ARCH} == riscv64sf
|
||||
RUN_DEPENDS+= dmidecode:sysutils/dmidecode
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
Loading…
Reference in New Issue
Block a user