1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/dmidecode/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
943 B
Makefile

# New ports collection makefile for: dmidecode
# Date created: 19 November 2003
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dmidecode
PORTVERSION= 2.11
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+= DOCSDIR="${DOCSDIR}"
LICENSE= GPLv2
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} -e '/^install.*:/s,install-doc,,' ${WRKSRC}/Makefile
.else
PORTDOCS= AUTHORS CHANGELOG README
.endif
MAN8= dmidecode.8
PLIST_FILES= sbin/dmidecode
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
MAN8+= biosdecode.8 ownership.8 vpddecode.8
PLIST_FILES+= sbin/biosdecode sbin/ownership sbin/vpddecode
.endif
.include <bsd.port.post.mk>