aboutsummaryrefslogtreecommitdiff
path: root/sysutils/schedutils/Makefile
blob: d154a4e83298fa74ef8c59a435581353146a641a (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
26
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	schedutils
PORTVERSION=	0.7.2
CATEGORIES=	sysutils
MASTER_SITES=	SF

MAINTAINER=	skreuzer@FreeBSD.org
COMMENT=	Collection of realtime scheduling tools

LICENSE=	BSD

GNU_CONFIGURE=	yes

post-patch:
	${REINPLACE_CMD} -e '/ctype.h/d' ${WRKSRC}/isnumber.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/getsched ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/resched ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/sched ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/sched.8 ${STAGEDIR}${PREFIX}/man/man8
	${LN} -sf sched.8.gz ${STAGEDIR}${PREFIX}/man/man8/resched.8.gz

.include <bsd.port.mk>