aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/symon/Makefile
blob: e4e2805952bc712bef2b2759bdbe7912c01b7ee6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>