summaryrefslogtreecommitdiffstats
path: root/net-mgmt/cfgstoragemk/Makefile
blob: 9d182c8e2065a620afe15cfc5f013a52d5d82abe (plain)
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
27
28
29
30
# ex:ts=8
# Ports collection makefile for:	cfgstoragemk
# Date created:			Jul 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	cfgstoragemk
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	http://freebsd.unixfreunde.de/sources/
DISTNAME=	cfgstoragemaker-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	MRTG configuration generator for storage monitoring via SNMP

USE_PERL5=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

MAN1=	cfgstoragemaker.1

post-patch:
	@${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/cfgstoragemaker
	@${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g ; \
		s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/cfgstoragemaker.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud