aboutsummaryrefslogtreecommitdiff
path: root/sysutils/slmon/Makefile
blob: 710d2e2a7c556c2759e90072dd88a9f3d90fa29d (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
29
30
31
32
33
34
35
36
37
38
39
# Created by: ijliao
# $FreeBSD$

PORTNAME=	slmon
PORTVERSION=	0.5.13
PORTREVISION=	7
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/SLmon/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	S-Lang System Monitor

LIB_DEPENDS=	gtop-2.0.7:${PORTSDIR}/devel/libgtop \
		slang.2:${PORTSDIR}/devel/libslang2


BROKEN=		Does not build

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAN1=		slmon.1
PLIST_FILES=	bin/slmon

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lncurses -lm

NO_STAGE=	yes
.include <bsd.port.pre.mk>

# For gmake>=3.82
post-patch:
	@${REINPLACE_CMD} -e 's/^   */	/' ${WRKSRC}/Makefile.in

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

.include <bsd.port.post.mk>