aboutsummaryrefslogtreecommitdiffstats
path: root/net/cfgstoragemk/Makefile
blob: d71aef4322d8d5f8547cc159343cc9c1b817ba3a (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
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
MASTER_SITES=   http://savannah.gnu.org/download/cfgstoragemk/
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>