diff options
author | dirk <dirk@FreeBSD.org> | 2001-04-05 16:27:53 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-04-05 16:27:53 +0000 |
commit | ab992ab0f50ca8d6448a504112b3e91671064e78 (patch) | |
tree | 3a059ad42d1c3110aaafea8cab67de99cc4e05ab /net | |
parent | 9bbd1f62fcc36a212089a73abc0d3ffa56f70212 (diff) | |
download | FreeBSD-ports-ab992ab0f50ca8d6448a504112b3e91671064e78.zip FreeBSD-ports-ab992ab0f50ca8d6448a504112b3e91671064e78.tar.gz |
nsc-0.50c - Netsaint Console monitor.
Diffstat (limited to 'net')
-rw-r--r-- | net/nsc/Makefile | 24 | ||||
-rw-r--r-- | net/nsc/distinfo | 1 | ||||
-rw-r--r-- | net/nsc/files/patch-aa | 21 | ||||
-rw-r--r-- | net/nsc/pkg-comment | 1 | ||||
-rw-r--r-- | net/nsc/pkg-descr | 5 | ||||
-rw-r--r-- | net/nsc/pkg-plist | 1 |
6 files changed, 53 insertions, 0 deletions
diff --git a/net/nsc/Makefile b/net/nsc/Makefile new file mode 100644 index 0000000..e9f35e9 --- /dev/null +++ b/net/nsc/Makefile @@ -0,0 +1,24 @@ +# ports collection makefile for: nsc +# Date created: Tue Apr 3 14:25:48 CEST 2001 +# Whom: Dirk Froemberg <dirk@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nsc +PORTVERSION= 0.50c +CATEGORIES= net +MASTER_SITES= http://www.goth.dk/~goth/nsc/ + +MAINTAINER= dirk@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Curses.pm:${PORTSDIR}/devel/p5-Curses + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +do-install: + ${PERL} -i -pe 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/nsc.pl + ${INSTALL_SCRIPT} ${WRKSRC}/nsc.pl ${PREFIX}/bin/nsc + +.include <bsd.port.mk> diff --git a/net/nsc/distinfo b/net/nsc/distinfo new file mode 100644 index 0000000..539a7fc --- /dev/null +++ b/net/nsc/distinfo @@ -0,0 +1 @@ +MD5 (nsc-0.50c.tar.gz) = 9a75d49f65808e185b40e9f8e50abe01 diff --git a/net/nsc/files/patch-aa b/net/nsc/files/patch-aa new file mode 100644 index 0000000..435a97d --- /dev/null +++ b/net/nsc/files/patch-aa @@ -0,0 +1,21 @@ +--- nsc.pl.orig Mon Mar 6 19:07:46 2000 ++++ nsc.pl Tue Apr 3 14:41:23 2001 +@@ -1,4 +1,4 @@ +-#!/bin/perl -w ++#!%%PERL%% -w + # vim:aw: + + # nsc.pl - curses-based console monitor for Netsaint +@@ -41,9 +41,9 @@ + my $fnConfig = "$ENV{'HOME'}/.nsc.conf"; + + my %NSC_KEYWORDS = ( +- 'nslog', '/usr/local/netsaint/var/status.log', +- 'hostcfg', '/usr/local/netsaint/etc/hosts.cfg', +- 'reloadcmd','/etc/rc.d/init.d/netsaint reload', ++ 'nslog', '%%PREFIX%%/var/netsaint/status.log', ++ 'hostcfg', '%%PREFIX%%/etc/netsaint/hosts.cfg', ++ 'reloadcmd','%%PREFIX%%/etc/rc.d/netsaint.sh reload', + 'showall', '1', + 'details', '1', + 'reverse', '0', diff --git a/net/nsc/pkg-comment b/net/nsc/pkg-comment new file mode 100644 index 0000000..a4c5a26 --- /dev/null +++ b/net/nsc/pkg-comment @@ -0,0 +1 @@ +Netsaint Console monitor diff --git a/net/nsc/pkg-descr b/net/nsc/pkg-descr new file mode 100644 index 0000000..cbaaf4b --- /dev/null +++ b/net/nsc/pkg-descr @@ -0,0 +1,5 @@ +nsc is a curses-based console monitor for Netsaint. It allows you +to monitor Netsaint services without the expense or availability +of a GUI. + +WWW: http://www.goth.dk/~goth/nsc/ diff --git a/net/nsc/pkg-plist b/net/nsc/pkg-plist new file mode 100644 index 0000000..fee2153 --- /dev/null +++ b/net/nsc/pkg-plist @@ -0,0 +1 @@ +bin/nsc |