1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/sysutils/dmidecode/Makefile
Martin Wilke 96cd8f5b67 - Update to 2.10
PR:		129310
Submitted by:	"Beat Gätzi" <beat@chruetertee.ch>
Approved by:	maintainer timeout
2008-12-14 20:19:55 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: dmidecode
# Date created: 19 November 2003
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dmidecode
PORTVERSION= 2.10
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
ftp://ftp.nuug.no/pub/anders/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= anders@FreeBSD.org
COMMENT= A tool for dumping DMI (SMBIOS) contents in human-readable format
ONLY_FOR_ARCHS= i386 amd64 ia64
USE_BZIP2= yes
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DOCSDIR="${DOCSDIR}"
PORTDOCS= AUTHORS CHANGELOG README
MAN8= biosdecode.8 dmidecode.8 ownership.8 vpddecode.8
PLIST_FILES= sbin/biosdecode sbin/dmidecode sbin/ownership sbin/vpddecode
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^install.*:/s,install-doc,,' ${WRKSRC}/Makefile
.endif
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>