aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/symon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/symon/Makefile')
-rw-r--r--sysutils/symon/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
new file mode 100644
index 000000000000..e4e2805952bc
--- /dev/null
+++ b/sysutils/symon/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: sysutils/symon
+# Date created: 17.02.2005
+# Whom: Ulrich Spoerlein <q@uni.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= symon
+PORTVERSION= 2.70
+CATEGORIES= sysutils
+MASTER_SITES= http://www.xs4all.nl/~wpd/symon/philes/
+
+MAINTAINER= q@uni.de
+COMMENT= Performance and information monitoring tool
+
+LIB_DEPENDS= rrd.0:${PORTSDIR}/net/rrdtool
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ARGS+= SYSCONFDIR=${LOCALBASE}/etc BINDIR=bin
+PKGMESSAGE= ${WRKDIR}/.pkg-message
+
+MAN8= symon.8 symux.8
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+post-patch:
+ @${ECHO} "" > ${WRKSRC}/platform/FreeBSD/Makefile.inc
+.endif
+
+post-build:
+ @${SED} 's,%%LOCALBASE%%,${LOCALBASE},g' pkg-message > ${PKGMESSAGE}
+
+pre-install:
+ @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>