ports/sysutils/lmmon/Makefile
Vladimir Druzenko 79f8f9c8f5 */*: convert Makefile patches to MAKE_ARGS after "Move man pages to share/man"
Replaced patches for Makefiles with "MAKE_ARGS+=MANDIR=${PREFIX}/share/man"

Reported by:	danfe, mat
Approved by:	portmgr (blanket)
2024-03-11 01:49:41 +03:00

27 lines
582 B
Makefile

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>