freebsd-ports/www/p5-Maypole-Component/Makefile

24 lines
522 B
Makefile

# Created by: Marc G. Fournier
# $FreeBSD$
PORTNAME= Maypole-Component
PORTVERSION= 0.03
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SIMON
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Run Maypole sub-requests as components
USES= perl5
USE_PERL5= configure patch
MAN3= Maypole::Component.3
NO_STAGE= yes
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>