1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +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:
Renato Botelho 2006-05-16 16:04:06 +00:00
parent 79d280e478
commit ba83c18e43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162583
3 changed files with 19 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -1,2 +1,5 @@
bin/sntop
etc/sntoprc.sample
%%EXAMPLESDIR%%/alarm.sh
%%EXAMPLESDIR%%/sntoprc.EXAMPLE
@dirrm %%EXAMPLESDIR%%