summaryrefslogtreecommitdiff
path: root/sysutils/cpulimit/Makefile
blob: 8064f49c1ea261b634f9e9c013bab0dcb9c15a82 (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
# Created by: 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

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|share/||g' ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile

.include <bsd.port.mk>