aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Maypole-Component/Makefile
blob: 4214b2c3ade8da2ffc5f1997133620f34c3966e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PORTNAME=	Maypole-Component
PORTVERSION=	0.03
PORTREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:SIMON
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Run Maypole sub-requests as components
WWW=		https://metacpan.org/release/Maypole-Component

USES=		perl5
USE_PERL5=	configure patch

post-patch:
	@${PERL} -pi -e 's/use 5.006/use 5.005/' ${WRKSRC}/Makefile.PL
	@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/Component.pm

.include <bsd.port.mk>