2020-11-20 13:10:23 +00:00
|
|
|
# builds on aarch64 but for !x86 it requires code to lookup the entry
|
|
|
|
|
# point from EFI and only FreeBSD/Linux implementations are present.
|
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2005-03-25 07:23:37 +00:00
|
|
|
|
2007-09-15 21:14:00 +00:00
|
|
|
COMMENT= dump DMI/SMBIOS contents in human-readable format
|
2025-12-19 14:45:42 +00:00
|
|
|
DISTNAME= dmidecode-3.7
|
2020-11-09 14:05:47 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
2005-03-25 07:23:37 +00:00
|
|
|
CATEGORIES= sysutils
|
2020-11-20 11:07:54 +00:00
|
|
|
|
2023-09-27 17:16:22 +00:00
|
|
|
SITES= ${SITE_SAVANNAH:=dmidecode/}
|
2005-03-25 07:23:37 +00:00
|
|
|
|
2020-11-20 11:07:54 +00:00
|
|
|
HOMEPAGE= https://www.nongnu.org/dmidecode/
|
2005-03-25 07:23:37 +00:00
|
|
|
|
2015-09-08 19:31:15 +00:00
|
|
|
# GPLv2+
|
2019-07-12 20:49:33 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2005-03-25 07:23:37 +00:00
|
|
|
|
|
|
|
|
WANTLIB= c
|
|
|
|
|
|
2015-09-08 19:31:15 +00:00
|
|
|
MAKE_FLAGS= CC="${CC}"
|
2024-04-25 11:53:34 +00:00
|
|
|
FAKE_FLAGS= mandir="${PREFIX}/man" \
|
|
|
|
|
compdir="${PREFIX}/share/bash-completion/completions"
|
2015-09-08 19:31:15 +00:00
|
|
|
NO_TEST= Yes
|
|
|
|
|
|
2005-03-25 07:23:37 +00:00
|
|
|
post-install:
|
2007-11-04 19:51:29 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dmidecode/
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dmidecode/
|
2005-03-25 07:23:37 +00:00
|
|
|
|
2020-11-20 11:07:54 +00:00
|
|
|
.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
|
|
|
|
|
PKG_ARGS+= -Dx86=1
|
|
|
|
|
.else
|
|
|
|
|
PKG_ARGS+= -Dx86=0
|
|
|
|
|
.endif
|
|
|
|
|
|
2005-03-25 07:23:37 +00:00
|
|
|
.include <bsd.port.mk>
|