aboutsummaryrefslogtreecommitdiffstats
path: root/net/sntop/Makefile
blob: efc048c8ee310f4778bd74dfa7c3b3a7de092fac (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
# New ports collection makefile for:    sntop
# Date created:     05 August 2000
# Whom:         Matt Emmerton <matt@gsicomp.on.ca>
#
# $FreeBSD$
#

PORTNAME=   sntop
PORTVERSION=    1.4.3
CATEGORIES= net
MASTER_SITES=   SF

MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT=    Monitor status of network nodes using fping

RUN_DEPENDS=    ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping

GNU_CONFIGURE=  yes
PORTDOCS=   COPYING CREDITS ChangeLog INSTALL README TODO
EXAMPLES=   alarm.sh sntoprc.EXAMPLE
SUB_FILES=  pkg-message

MAN1=       sntop.1

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/sntop
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
    @${MKDIR} ${EXAMPLESDIR}
.for example in ${EXAMPLES}
    ${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
.endfor
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>