1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/graphics/p5-SWF-File/Makefile
Erwin Lansing acde26f363 Let the IGNORE message make a bit more sense and change it from:
===>  p5-Some-Module-0.7 Port requires perl 5.6.x or later. Install
lang/perl5 then try again.

to:

===>  p5-Some-Module-0.7 requires perl 5.6.x or later. Install
lang/perl5 then try again.

Approved by:    silence on -ports
2005-10-31 18:24:21 +00:00

43 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.41
PORTEPOCH= 1
CATEGORIES= graphics www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/Y/YS/YSAS
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Manipulating Flash movie (SWF) files
BUILD_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag \
${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
RUN_DEPENDS= ${BUILD_DEPENDS}
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} < 500600
IGNORE= requires perl 5.6.x or later. Install lang/perl5 or lang/perl5.8 then try again
.endif
.include <bsd.port.post.mk>