summaryrefslogtreecommitdiffstats
path: root/sysutils/dmidecode/Makefile
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2003-11-19 21:23:26 +0000
committeranders <anders@FreeBSD.org>2003-11-19 21:23:26 +0000
commit87adfc0128cfbeb64b7e410465d36330881e09ff (patch)
treef6a3dda9f2bd1224acaa0b37fb04b7f8844feb2a /sysutils/dmidecode/Makefile
parent30f55b4637d4a9291608eec5ca3dfcf1b982ae05 (diff)
downloadFreeBSD-ports-87adfc0128cfbeb64b7e410465d36330881e09ff.zip
FreeBSD-ports-87adfc0128cfbeb64b7e410465d36330881e09ff.tar.gz
Add dmidecode, a tool for dumping DMI (SMBIOS) contents in
human-readable format.
Diffstat (limited to 'sysutils/dmidecode/Makefile')
-rw-r--r--sysutils/dmidecode/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/dmidecode/Makefile b/sysutils/dmidecode/Makefile
new file mode 100644
index 0000000..bf519cb
--- /dev/null
+++ b/sysutils/dmidecode/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: dmidecode
+# Date created: 19 November 2003
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dmidecode
+PORTVERSION= 2.3
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION}
+
+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
+
+DOCS= AUTHORS CHANGELOG README
+
+post-patch:
+ ${REINPLACE_CMD} -e "s@^(CC|PREFIX).*@@" ${WRKSRC}/Makefile
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud