diff options
author | naddy <naddy@FreeBSD.org> | 2003-02-16 12:27:08 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-02-16 12:27:08 +0800 |
commit | c4f186535fe5c77657661c16b81be5965faaf481 (patch) | |
tree | f75b2c66f1ffd588c83aa12b10bff1652c9a8f9d /sysutils | |
parent | 0cc97626e7dd3ace56723b740975755fff589b75 (diff) | |
download | freebsd-ports-gnome-c4f186535fe5c77657661c16b81be5965faaf481.tar.gz freebsd-ports-gnome-c4f186535fe5c77657661c16b81be5965faaf481.tar.zst freebsd-ports-gnome-c4f186535fe5c77657661c16b81be5965faaf481.zip |
Convert to use libgtop2.
PR: 47487
Submitted by: Ports Fury
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/slmon/Makefile | 20 | ||||
-rw-r--r-- | sysutils/slmon/pkg-comment | 1 |
2 files changed, 14 insertions, 7 deletions
diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile index c10eb43d410a..94f781c79c2b 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 <bsd.port.pre.mk> diff --git a/sysutils/slmon/pkg-comment b/sysutils/slmon/pkg-comment deleted file mode 100644 index aec2fb65d60e..000000000000 --- a/sysutils/slmon/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -S-Lang System Monitor |