diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-05-17 00:04:06 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-05-17 00:04:06 +0800 |
commit | ba83c18e437c05db901741d8e60715d7bfc69414 (patch) | |
tree | f1892b6b86d80d8cdab4ae8921e4cd4a264d5ff0 /net | |
parent | 79d280e478e3e073b7f3fe6c0db24bb34656c9e3 (diff) | |
download | freebsd-ports-gnome-ba83c18e437c05db901741d8e60715d7bfc69414.tar.gz freebsd-ports-gnome-ba83c18e437c05db901741d8e60715d7bfc69414.tar.zst freebsd-ports-gnome-ba83c18e437c05db901741d8e60715d7bfc69414.zip |
- 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>
Diffstat (limited to 'net')
-rw-r--r-- | net/sntop/Makefile | 17 | ||||
-rw-r--r-- | net/sntop/files/pkg-message.in (renamed from net/sntop/pkg-message) | 2 | ||||
-rw-r--r-- | net/sntop/pkg-plist | 3 |
3 files changed, 19 insertions, 3 deletions
diff --git a/net/sntop/Makefile b/net/sntop/Makefile index a1263975f201..394adce75100 100644 --- a/net/sntop/Makefile +++ b/net/sntop/Makefile @@ -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> diff --git a/net/sntop/pkg-message b/net/sntop/files/pkg-message.in index ebef148000bc..5038ba649305 100644 --- a/net/sntop/pkg-message +++ b/net/sntop/files/pkg-message.in @@ -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 diff --git a/net/sntop/pkg-plist b/net/sntop/pkg-plist index 4702c4e53d24..d30c6cf40f19 100644 --- a/net/sntop/pkg-plist +++ b/net/sntop/pkg-plist @@ -1,2 +1,5 @@ bin/sntop etc/sntoprc.sample +%%EXAMPLESDIR%%/alarm.sh +%%EXAMPLESDIR%%/sntoprc.EXAMPLE +@dirrm %%EXAMPLESDIR%% |