summaryrefslogtreecommitdiffstats
path: root/sysutils/slmon/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-26 01:21:11 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-26 01:21:11 +0800
commitf4d307d1a287a93bc74f292e793fd9fe27739879 (patch)
tree33549554e5fab0bdcecb98acff9069ec4c500efe /sysutils/slmon/Makefile
parent8464e80d2f5d259cfe21da5761f402f926ba5ca9 (diff)
downloadmarcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.gz
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.bz2
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.lz
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.xz
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.zst
marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.zip
Add slmon, and chase the libgtop2 shared lib version.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5320 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/slmon/Makefile')
-rw-r--r--sysutils/slmon/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile
new file mode 100644
index 000000000..27f990f80
--- /dev/null
+++ b/sysutils/slmon/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# New ports collection makefile for: slmon
+# Date created: Nov 13, 2001
+# Whom: ijliao
+#
+# $FreeBSD: ports/sysutils/slmon/Makefile,v 1.19 2005/11/05 05:21:49 marcus Exp $
+#
+
+PORTNAME= slmon
+PORTVERSION= 0.5.13
+PORTREVISION= 2
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= S-Lang System Monitor
+
+LIB_DEPENDS= gtop-2.0.0:${PORTSDIR}/devel/libgtop2 \
+ slang.1:${PORTSDIR}/devel/libslang
+
+USE_REINPLACE= yes
+USE_GETOPT_LONG= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+MAN1= slmon.1
+PLIST_FILES= bin/slmon
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -lncurses -lm
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400010
+LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
+.endif
+
+.include <bsd.port.post.mk>