aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k8temp/Makefile
blob: 45bc50f68dfcf38966c1f338b068aa0f5024a4b2 (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
# New ports collection makefile for:    k8temp
# Date created:        21 October 2007
# Whom:                Thomas Hurst <tom@hur.st>
#
# $FreeBSD$
#

PORTNAME=   k8temp
PORTVERSION=    0.4.0
CATEGORIES= sysutils
MASTER_SITES=   http://hur.st/k8temp/

MAINTAINER= tom@hur.st
COMMENT=    Athlon 64 and Opteron on-die temperature reader

ONLY_FOR_ARCHS= i386 amd64

MAN8=   k8temp.8

PLIST_FILES=    sbin/k8temp

post-patch:
    @${REINPLACE_CMD} -e 's|WARNS=.*[6-9]|WARNS=5|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/k8temp ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/k8temp.8 ${PREFIX}/man/man8

.include <bsd.port.mk>

WARNS= 6