mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
8d6597e0bb
With hat: portmgr Sponsored by: Absolight
42 lines
914 B
Makefile
42 lines
914 B
Makefile
# 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>
|