diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-31 10:58:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-31 10:58:05 +0000 |
commit | 950dba335e09de7042a8b32352fd8285af867181 (patch) | |
tree | ba19b421aa29268545df0d059d54093e577c3f50 /net | |
parent | 00644457cb0ffbfad62bec831fa6540a9eae07db (diff) | |
download | ports-950dba335e09de7042a8b32352fd8285af867181.tar.gz ports-950dba335e09de7042a8b32352fd8285af867181.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/sntop/Makefile | 11 | ||||
-rw-r--r-- | net/sntop/pkg-plist | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/net/sntop/Makefile b/net/sntop/Makefile index e3e3c2472979..b89107c0567b 100644 --- a/net/sntop/Makefile +++ b/net/sntop/Makefile @@ -10,23 +10,30 @@ 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 diff --git a/net/sntop/pkg-plist b/net/sntop/pkg-plist index a077f42b54e6..79f71f986978 100644 --- a/net/sntop/pkg-plist +++ b/net/sntop/pkg-plist @@ -1,5 +1,3 @@ bin/sntop @sample etc/sntoprc.sample man/man1/sntop.1.gz -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alarm.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sntoprc.EXAMPLE |