mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
34 lines
798 B
Makefile
34 lines
798 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
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sntop
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for example in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|