aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/x86info/Makefile
blob: 5c475f1a33acc08b5293036e24a81544790f00ad (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
# New ports collection makefile for:    x86info
# Date created:         26 Aug 2001
# Whom:             Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#

PORTNAME=   x86info
PORTVERSION=    1.11
CATEGORIES= sysutils
MASTER_SITES=   http://www.codemonkey.org.uk/x86info/ \
        ftp://ftp.suse.com/pub/people/davej/x86info/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org

ONLY_FOR_ARCHS= i386
USE_REINPLACE=  yes

post-patch:
.for file in x86info.h mptable.c
    @${REINPLACE_CMD} -e "s|machine/types.h|sys/types.h|g" ${WRKSRC}/${file}
.endfor

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin

.include <bsd.port.mk>