diff options
-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 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 <bsd.port.pre.mk> 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 |