freebsd-ports/graphics/p5-SWF-File/Makefile
Martin Matuska ddcc0de921 Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress.
Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903
Bump PORTREVISION
2010-09-21 07:56:43 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: SWF-File
# Date created: 20 May 2003
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= SWF-File
PORTVERSION= 0.42
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Manipulating Flash movie (SWF) files
RUN_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag
BUILD_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag
PERL_CONFIGURE= yes
MAN3= SWF::BinStream.3 SWF::BinStream::Codec.3 \
SWF::BinStream::Codec::Zlib.3 SWF::BinStream::File.3 \
SWF::Element.3 SWF::File.3 SWF::Parser.3
post-patch:
@${FIND} ${WRKSRC} -type f |\
${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//'
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
.endif
.include <bsd.port.post.mk>