summaryrefslogtreecommitdiff
path: root/www/p5-Apache-Admin-Config/Makefile
blob: fbb7b21a55d9c7f95465a3c437e42225400c3e1c (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
# New ports collection makefile for:	www/p5-Apache-Admin-Config
# Date created:				05 December 2001
# Whom:					Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#

PORTNAME=	Apache-Admin-Config
PORTVERSION=	0.91
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Apache
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	A perl module to manipulate Apache configuration files

PERL_CONFIGURE=	yes

MAN3=		Apache::Admin::Config.3

post-patch:
	${PERL} -pi -e 's/(!\$$)/0 && $1/;' \
		-e 's|(VERSION_FROM\s+=>\s+)(.*)(,.*)$$|$$1$$2$$3\nMAN3PODS=>{$$2=>q!\\\$$(INST_MAN3DIR)/${MAN3}!},|;' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>