freebsd-ports/www/p5-Maypole-Component/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

25 lines
598 B
Makefile

# New ports collection makefile for: p5-Maypole-Component
# Date created: Aug 26 2004
# Whom: Marc G. Fournier
#
# $FreeBSD$
PORTNAME= Maypole-Component
PORTVERSION= 0.03
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../by-authors/id/S/SI/SIMON/
PKGNAMEPREFIX= p5-
MAINTAINER= scrappy@FreeBSD.org
COMMENT= Run Maypole sub-requests as components
PERL_CONFIGURE= yes
MAN3= Maypole::Component.3
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>