aboutsummaryrefslogtreecommitdiffstats
path: root/misc/cpuid/Makefile
blob: 6cf7bca5dd2dfcf9aee313dabad24a15f4fbaffb (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
# ex:ts=8
# New ports collection makefile for:    cpuid
# Date created:         May 22, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cpuid
PORTVERSION=    3.3
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://www.ka9q.net/code/cpuid/

MAINTAINER= ports@FreeBSD.org
COMMENT=    CPU identification utility

PLIST_FILES=    bin/cpuid
USE_REINPLACE=  yes
ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE=  yes
ALL_TARGET= # empty

post-patch:
    @${REINPLACE_CMD} -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile

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

.include <bsd.port.mk>