mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Install DOCS and EXAMPLES [1]
- Pass maintainership to submitter [1] - Move pkg-message -> files/pkg-message-in and use SUB_FILES PR: ports/97300 Submitted by: Fernan Aguero <fernan at iib.unsam.edu.ar>
This commit is contained in:
parent
79d280e478
commit
ba83c18e43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162583
@ -9,19 +9,32 @@ PORTNAME= sntop
|
||||
PORTVERSION= 1.4.3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= sntop
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= fernan@iib.unsam.edu.ar
|
||||
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
|
||||
|
||||
MAN1= sntop.1
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/sntop
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
.for example in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
|
||||
.endfor
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
********************************************************************
|
||||
A sample configuration file (sntoprc.sample) has been placed in
|
||||
$(PREFIX)/etc.
|
||||
%%PREFIX%%/etc.
|
||||
|
||||
You must edit this file and do one of the following:
|
||||
for a per-user config: move to ~/.sntoprc
|
@ -1,2 +1,5 @@
|
||||
bin/sntop
|
||||
etc/sntoprc.sample
|
||||
%%EXAMPLESDIR%%/alarm.sh
|
||||
%%EXAMPLESDIR%%/sntoprc.EXAMPLE
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user