aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/x86info/Makefile
blob: 143152fa782aff6c1ce8059b7b5fa7476cf3e921 (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
34
35
36
37
# Created by: Erik Greenwald <erik@smluc.org>
# $FreeBSD$

PORTNAME=   x86info
PORTVERSION=    1.30
CATEGORIES= sysutils
MASTER_SITES=   http://codemonkey.org.uk/projects/x86info/
EXTRACT_SUFX=   .tgz

MAINTAINER= eadler@FreeBSD.org
COMMENT=    x86 CPU identification utility

LICENSE=    GPLv2

LIB_DEPENDS=    pci:${PORTSDIR}/devel/libpci

ONLY_FOR_ARCHS= i386 amd64

USE_GCC=    any
USES=   gmake pkgconfig
ALL_TARGET= x86info lsmsr
USE_PYTHON_BUILD=yes
MAKE_JOBS_SAFE= yes

MAN1=       x86info.1
MAN8=       lsmsr.8
PLIST_FILES=    bin/lsmsr bin/x86info

.include <bsd.port.pre.mk>

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>