Index: head/net/sntop/Makefile =================================================================== --- head/net/sntop/Makefile (revision 404924) +++ head/net/sntop/Makefile (revision 404925) @@ -1,33 +1,40 @@ # Created by: Matt Emmerton # $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 + RUN_DEPENDS= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping GNU_CONFIGURE= yes PORTDOCS= COPYING CREDITS ChangeLog INSTALL README TODO -EXAMPLES= alarm.sh sntoprc.EXAMPLE +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 ${EXAMPLES} +.for example in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/net/sntop/pkg-plist =================================================================== --- head/net/sntop/pkg-plist (revision 404924) +++ head/net/sntop/pkg-plist (revision 404925) @@ -1,5 +1,3 @@ bin/sntop @sample etc/sntoprc.sample man/man1/sntop.1.gz -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alarm.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sntoprc.EXAMPLE