2003-11-19 22:23:26 +01:00
|
|
|
# New ports collection makefile for: dmidecode
|
|
|
|
# Date created: 19 November 2003
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dmidecode
|
2005-11-25 20:34:54 +01:00
|
|
|
PORTVERSION= 2.7
|
2003-11-19 22:23:26 +01:00
|
|
|
CATEGORIES= sysutils
|
2003-12-22 01:19:36 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
2004-06-03 10:20:50 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-11-19 22:23:26 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
USE_REINPLACE= yes
|
2005-03-20 22:24:32 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
2005-11-25 20:34:54 +01:00
|
|
|
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DOCSDIR="${DOCSDIR}"
|
2003-11-19 22:23:26 +01:00
|
|
|
|
2005-03-20 22:24:32 +01:00
|
|
|
PORTDOCS= AUTHORS CHANGELOG README
|
2003-11-19 22:23:26 +01:00
|
|
|
|
2004-06-09 10:06:21 +02:00
|
|
|
MAN8= biosdecode.8 dmidecode.8 ownership.8 vpddecode.8
|
|
|
|
|
2003-11-19 22:23:26 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
2005-03-20 22:24:32 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2003-11-19 22:23:26 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|