aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ttyload/Makefile
blob: ffac539b8944559693bb79c6e12c00c1065b3934 (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
27
28
# ex:ts=8
# New ports collection makefile for:	ttyload
# Date Created:			Nov 21, 2001
# Whom:				ijliao
#
# $FreeBSD$

PORTNAME=	ttyload
PORTVERSION=	0.4.4
CATEGORIES=	sysutils
MASTER_SITES=	http://www.daveltd.com/src/util/ttyload/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Give a color-coded graph of load averages over time

PLIST_FILES=	bin/ttyload
USE_REINPLACE=	yes
ALL_TARGET=	default

post-patch:
	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
		s,^DEBUG,#DEBUG,g ; \
		s,^CFLAGS\t=,CFLAGS+=,g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ttyload ${PREFIX}/bin

.include	<bsd.port.mk>