View | Details | Raw Unified | Return to bug 183193
Collapse All | Expand All

(-)./Makefile (-14 / +7 lines)
Lines 9-40 Link Here
9
MASTER_SITE_SUBDIR=	${PORTNAME}
9
MASTER_SITE_SUBDIR=	${PORTNAME}
10
10
11
MAINTAINER=	anders@FreeBSD.org
11
MAINTAINER=	anders@FreeBSD.org
12
COMMENT=	A tool for dumping DMI (SMBIOS) contents in human-readable format
12
COMMENT=	Tool for dumping DMI (SMBIOS) contents in human-readable format
13
14
LICENSE=	GPLv2
13
15
14
ONLY_FOR_ARCHS=	i386 amd64 ia64
16
ONLY_FOR_ARCHS=	i386 amd64 ia64
15
17
16
USE_BZIP2=	yes
18
USE_BZIP2=	yes
17
MAKE_ENV+=	DOCSDIR="${DOCSDIR}"
19
MAKE_ENV+=	DOCSDIR="${DOCSDIR}"
18
LICENSE=	GPLv2
19
20
20
NO_STAGE=	yes
21
PLIST_FILES=	sbin/dmidecode \
22
		man/man8/dmidecode.8.gz
21
23
22
.if defined(NOPORTDOCS)
23
post-patch:
24
	@${REINPLACE_CMD} -e '/^install.*:/s,install-doc,,' ${WRKSRC}/Makefile
25
26
.else
27
PORTDOCS=	AUTHORS CHANGELOG README
24
PORTDOCS=	AUTHORS CHANGELOG README
28
.endif
29
30
MAN8=		dmidecode.8
31
PLIST_FILES=	sbin/dmidecode
32
25
33
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
34
27
35
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
28
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
36
MAN8+=		biosdecode.8 ownership.8 vpddecode.8
29
PLIST_FILES+=	sbin/biosdecode sbin/ownership sbin/vpddecode \
37
PLIST_FILES+=	sbin/biosdecode sbin/ownership sbin/vpddecode
30
		man/man8/biosdecode.8.gz man/man8/ownership.8.gz man/man8/vpddecode.8.gz
38
.endif
31
.endif
39
32
40
.include <bsd.port.post.mk>
33
.include <bsd.port.post.mk>

Return to bug 183193