mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
92cec64c8a
Add LICENSE Fix build under CLANG PR: ports/159732 Submitted by: Jesse <jessefrgsmith@yahoo.ca> (maintainer) [1] Approved by: wxs (mentor)
29 lines
588 B
Makefile
29 lines
588 B
Makefile
# New ports collection makefile for: cpulimit
|
|
# Date created: 30 Mar 2011
|
|
# Whom: Jesse Smith <jessefrgsmith@yahoo.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cpulimit
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/limitcpu/limitcpu/
|
|
|
|
MAINTAINER= jessefrgsmith@yahoo.ca
|
|
COMMENT= A program to limit the CPU usage of a process
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CFLAGS+= -lkvm -Wall -O2
|
|
MANCOMPRESSED= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/||g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|