freebsd-ports/sysutils/cpulimit/Makefile
Rodrigo Osorio 06df180a9e */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
2023-11-06 11:03:47 +01:00

25 lines
625 B
Makefile

PORTNAME= cpulimit
PORTVERSION= 2.2
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 \
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}${MANPREFIX}/man/man1/cpulimit.1
.include <bsd.port.mk>