aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dmidecode/Makefile
blob: 6e74d3abede497f590c8a0aedaf2aa61507beb5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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>