aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lmmon/Makefile
blob: 8171a46eb6ab277a7aa84a8db0df45726157df8b (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
# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$

PORTNAME=	lmmon
PORTVERSION=	0.65
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	LOCAL/bf

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Display information gathered from MB power management controller

LICENSE=	BSD2CLAUSE

USES=		ncurses uidfix
GNU_CONFIGURE=	yes
MAKE_ARGS+=	LDFLAGS="${LDFLAGS} -lncurses"

ONLY_FOR_ARCHS=	i386 amd64

PLIST_FILES=	bin/lmmon man/man8/lmmon.8.gz

FIXFILES=	configure configure.in lmmon.c

post-patch:
	@${REINPLACE_CMD} -e 's,machine/smb.h,dev/smbus/smb.h,' \
		${FIXFILES:S,^,${WRKSRC}/,}

.include <bsd.port.mk>