blob: 66f2b4683c995e3bebcdecc568f3d1d40763e75e (
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
41
|
# Created by: Matt Emmerton <matt@gsicomp.on.ca>
# $FreeBSD$
PORTNAME= sntop
PORTVERSION= 1.4.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Monitor status of network nodes using fping
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
RUN_DEPENDS= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
GNU_CONFIGURE= yes
PORTDOCS= COPYING CREDITS ChangeLog INSTALL README TODO
PORTEXAMPLES= alarm.sh sntoprc.EXAMPLE
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sntop
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for example in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|