aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/x86info/Makefile
blob: 2480aa87beadf9a482a82c2a1bd1f5a55cd03c06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    x86info
# Date created:         26 Aug 2001
# Whom:             Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#

PORTNAME=   x86info
PORTVERSION=    1.21
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://www.codemonkey.org.uk/projects/x86info/
EXTRACT_SUFX=   .tgz

MAINTAINER= stas@FreeBSD.org
COMMENT=    Utility to display information about the systems x86 processor(s)

ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES=    bin/x86info
MAN1=   x86info.1
MAKE_ARGS=  CFLAGS="${CFLAGS}"

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800042
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu
CFLAGS+=    -I"${LOCALBASE}"/include
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/x86info.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>