aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/slmon/Makefile
blob: a809ac7aa33653719d2cb92e2da0b0839aba9f6e (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
# ex:ts=8
# New ports collection makefile for:    slmon
# Date created:         Nov 13, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   slmon
PORTVERSION=    0.5.6
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    slang:${PORTSDIR}/devel/libslang \
        gtop:${PORTSDIR}/devel/libgtop \
        intl:${PORTSDIR}/devel/gettext \
        gnugetopt:${PORTSDIR}/devel/libgnugetopt

GNU_CONFIGURE=  yes
LIBGTOP_CONFIG= ${LOCALBASE}/bin/libgtop-config
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lncurses -lintl -lgnugetopt"
USE_GMAKE=  yes
MAN1=   slmon.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400010
LIB_DEPENDS+=   ncurses:${PORTSDIR}/devel/ncurses
.endif

.include <bsd.port.post.mk>