aboutsummaryrefslogtreecommitdiff
path: root/www/p5-AMF-Perl/Makefile
blob: b20affc0c54587c4dca902741b866c7cb3df9a54 (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
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	Flash-FLAP
# Date created:	   20 May 2003
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=	AMF-Perl
PORTVERSION=	0.15
PORTREVISION=	1
CATEGORIES=	www devel perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	../../authors/id/S/SI/SIMONF
PKGNAMEPREFIX=	p5-

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

RUN_DEPENDS=	${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
		${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI

PERL_CONFIGURE=	yes

NOMANCOMPRESS=	no
MAN3=		AMF::Perl.3 AMF::Perl::App::Executive.3 \
		AMF::Perl::IO::Deserializer.3 AMF::Perl::IO::InputStream.3 \
		AMF::Perl::IO::OutputStream.3 AMF::Perl::IO::Serializer.3 \
		AMF::Perl::Sql::MysqlRecordSet.3 AMF::Perl::Util::Object.3 \
		AMF::Perl::Util::RemotingService.3

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>