faf59c66a4
Changes: http://git.savannah.gnu.org/cgit/dmidecode.git/tree/CHANGELOG PR: 205070 Submitted by: pi
42 lines
921 B
Makefile
42 lines
921 B
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dmidecode
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Tool for dumping DMI (SMBIOS) contents in human-readable format
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64 ia64
|
|
MAKE_ENV= DOCSDIR="${DOCSDIR}"
|
|
USES= tar:xz
|
|
|
|
PLIST_FILES= etc/periodic/daily/dmidecode \
|
|
man/man8/dmidecode.8.gz \
|
|
sbin/dmidecode
|
|
PORTDOCS= AUTHORS CHANGELOG README
|
|
SUB_FILES= dmidecode
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
${INSTALL_SCRIPT} ${WRKDIR}/dmidecode \
|
|
${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
|
PLIST_FILES+= man/man8/biosdecode.8.gz \
|
|
man/man8/ownership.8.gz \
|
|
man/man8/vpddecode.8.gz \
|
|
sbin/biosdecode \
|
|
sbin/ownership \
|
|
sbin/vpddecode
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|