aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nsc/Makefile
blob: 597411d2f58752a94c0d9bf63ed4c5c3bd045e6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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.51
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	dirk

MAINTAINER=	dirk@FreeBSD.org
COMMENT=	Netsaint Console monitor

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/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>