2fee11d77e
to be somewhat incomplete. [1] - Bump portrevision. Reported by: Andriy Gapon <avg@icyb.net.ua> [1]
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# New ports collection makefile for: x86info
|
|
# Date created: 26 Aug 2001
|
|
# Whom: Erik Greenwald <erik@smluc.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= x86info
|
|
PORTVERSION= 1.27
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://codemonkey.org.uk/projects/x86info/ \
|
|
http://codemonkey.org.uk/projects/x86info/old/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= stas@FreeBSD.org
|
|
COMMENT= Utility to display information about the systems x86 processor(s)
|
|
|
|
USE_GMAKE= yes
|
|
USE_PYTHON_BUILD= yes
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
PLIST_FILES= bin/x86info bin/lsmsr
|
|
MAN1= x86info.1
|
|
MAN8= lsmsr.8
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${OSVERSION} < 701102
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu
|
|
CFLAGS+= -I"${LOCALBASE}"/include
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lsmsr ${PREFIX}/bin
|
|
${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/,} ${MAN8PREFIX}/man/man8
|
|
|
|
.include <bsd.port.post.mk>
|