aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/i7z/Makefile
blob: 34eba1522f2a6933e026ff6bdc6daebb16dc7697 (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
# $FreeBSD$

PORTNAME=   i7z
PORTVERSION=    0.27.2
CATEGORIES= sysutils
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= zont@FreeBSD.org
COMMENT=    Thermal and C-state reporting utility for Intel-Core-i CPUs

LICENSE=    GPLv2

USES=       gmake

PLIST_FILES=    bin/${PORTNAME} \
        man/man1/${PORTNAME}.1.gz

ONLY_FOR_ARCHS= i386 amd64

# Disable scheduling flags as they cause segfaults since they are enabled at
# default FreeBSD optimization levels (-O2, -O3, -Os)
CFLAGS+=    -fno-schedule-insns2 -fno-schedule-insns -fno-caller-saves

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.man \
        ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1

.include <bsd.port.mk>