diff options
author | osa <osa@FreeBSD.org> | 2006-01-10 08:34:10 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2006-01-10 08:34:10 +0000 |
commit | e5768dbc71e133806c9fe896595180a6c5ade841 (patch) | |
tree | 8a30745efbd9b316d532bdad0488140c424779ae /multimedia | |
parent | 79f5c846b1f0b14e31c3fb8954e4f41cb9d3f379 (diff) | |
download | FreeBSD-ports-e5768dbc71e133806c9fe896595180a6c5ade841.zip FreeBSD-ports-e5768dbc71e133806c9fe896595180a6c5ade841.tar.gz |
Fix configure error by use perl5.8.
Bump PORTREVISION.
Notice from: pointyhat via kris
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/p5-Subtitles/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/p5-Subtitles/Makefile b/multimedia/p5-Subtitles/Makefile index 2790f30..7cb3049 100644 --- a/multimedia/p5-Subtitles/Makefile +++ b/multimedia/p5-Subtitles/Makefile @@ -7,7 +7,7 @@ PORTNAME= Subtitles PORTVERSION= 0.08 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Prima/KARASIK @@ -22,6 +22,11 @@ PERL_CONFIGURE= yes MAN1= subs.1 MAN3= Subtitles.3 +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +IGNORE= requires at least Perl 5.8. Install lang/perl5.8, and try again +.endif + .if defined(WITH_SUBTITLES_SUBPLAY) RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Prima.pm:${PORTSDIR}/x11-toolkits/p5-Prima \ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes @@ -35,4 +40,4 @@ post-patch: @${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |