mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
7074d7f6ae
While here move some manpages to share/man
27 lines
650 B
Makefile
27 lines
650 B
Makefile
PORTNAME= cpulimit
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/limitcpu/limitcpu/
|
|
|
|
MAINTAINER= jessefrgsmith@yahoo.ca
|
|
COMMENT= Limit the CPU usage of a process
|
|
WWW= https://limitcpu.sourceforge.net/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CFLAGS+= -lkvm -Wall -O2
|
|
|
|
PLIST_FILES= bin/cpulimit \
|
|
share/man/man1/cpulimit.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/||g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cpulimit ${STAGEDIR}${PREFIX}/bin/cpulimit
|
|
${INSTALL_MAN} ${WRKSRC}/cpulimit.1 ${STAGEDIR}${PREFIX}/share/man/man1/cpulimit.1
|
|
|
|
.include <bsd.port.mk>
|