From c4f186535fe5c77657661c16b81be5965faaf481 Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 16 Feb 2003 04:27:08 +0000 Subject: Convert to use libgtop2. PR: 47487 Submitted by: Ports Fury --- sysutils/slmon/Makefile | 20 ++++++++++++++------ sysutils/slmon/pkg-comment | 1 - 2 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 sysutils/slmon/pkg-comment (limited to 'sysutils') diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile index c10eb43..94f781c 100644 --- a/sysutils/slmon/Makefile +++ b/sysutils/slmon/Makefile @@ -8,22 +8,30 @@ 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= intl.4:${PORTSDIR}/devel/gettext \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - gtop.1:${PORTSDIR}/devel/libgtop \ +LIB_DEPENDS= gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \ slang.1:${PORTSDIR}/devel/libslang USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lncurses -lintl -lgnugetopt" -MAN1= slmon.1 +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 diff --git a/sysutils/slmon/pkg-comment b/sysutils/slmon/pkg-comment deleted file mode 100644 index aec2fb6..0000000 --- a/sysutils/slmon/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -S-Lang System Monitor -- cgit v1.1