aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lmmon/Makefile
blob: 1e20f4f4dc43e45e3088659a1b94c8908cfe8151 (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
PORTNAME=	lmmon
PORTVERSION=	0.65
PORTREVISION=	2
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" MANDIR=${PREFIX}/share/man/man

ONLY_FOR_ARCHS=	i386 amd64

PLIST_FILES=	bin/lmmon share/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>