b3daa81ba4
PR: 47487 Submitted by: Ports Fury
42 lines
861 B
Makefile
42 lines
861 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: slmon
|
|
# Date created: Nov 13, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= slmon
|
|
PORTVERSION= 0.5.11
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= S-Lang System Monitor
|
|
|
|
LIB_DEPENDS= gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \
|
|
slang.1:${PORTSDIR}/devel/libslang
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
MAN1= slmon.1
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -lncurses
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
LDFLAGS+= -lgnugetopt
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
|
LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|