1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/sysutils/slmon/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
786 B
Makefile

# ex:ts=8
# New ports collection makefile for: slmon
# Date created: Nov 13, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= slmon
PORTVERSION= 0.5.13
PORTREVISION= 6
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
MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= slmon.1
PLIST_FILES= bin/slmon
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lncurses -lm
.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>