blob: e96e35c7dfb88aaadfef255f2c2285eb4939b8d9 (
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: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>
|