freebsd-ports/net/sntop/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

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>