aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-16 04:27:08 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-16 04:27:08 +0000
commitb3daa81ba4c785489fb4295ccd4f697ee1fcbbe4 (patch)
tree14c2601bcb6003c8b12a1653787df6adc2fd99fc /sysutils
parent21a0da7f7ba4ed1c310d9dc765928d2ced78d7fa (diff)
downloadports-b3daa81ba4c785489fb4295ccd4f697ee1fcbbe4.tar.gz
ports-b3daa81ba4c785489fb4295ccd4f697ee1fcbbe4.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/slmon/Makefile20
-rw-r--r--sysutils/slmon/pkg-comment1
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