summaryrefslogtreecommitdiff
path: root/www/p5-AMF-Perl/Makefile
blob: 65bce9d4573094f608e6c561e84752aac148699a (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	AMF-Perl
PORTVERSION=	0.15
PORTREVISION=	3
CATEGORIES=	www devel perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:SIMONF
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Flash Remoting in Perl

RUN_DEPENDS=	p5-Exception-Class>=0:devel/p5-Exception-Class \
		p5-DBI>=0:databases/p5-DBI

USES=		perl5
USE_PERL5=	configure patch

post-patch:
	@${PERL} -pi -e 's/=(?==head)//g' ${WRKSRC}/lib/AMF/Perl.pm

post-configure:
# dirty hack to deceive irritable pod2man
	@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile

.include <bsd.port.mk>