diff options
author | Lars Thegler <lth@FreeBSD.org> | 2005-09-13 12:51:07 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2005-09-13 12:51:07 +0000 |
commit | c509e5b55e61654cb105a082c7e6e5ff76906abd (patch) | |
tree | f230bcb8aeae4db5731ecb9ae7ad5cb9039b38d6 /devel/p5-IO-Prompt/Makefile | |
parent | c1f0131186baed9fba363523fd769a04b34c5bc3 (diff) |
Notes
Diffstat (limited to 'devel/p5-IO-Prompt/Makefile')
-rw-r--r-- | devel/p5-IO-Prompt/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/p5-IO-Prompt/Makefile b/devel/p5-IO-Prompt/Makefile new file mode 100644 index 000000000000..94a049f8418e --- /dev/null +++ b/devel/p5-IO-Prompt/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: devel/p5-IO-Prompt +# Date created: 13 September 2005 +# Whom: Lars Thegler <lth@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= IO-Prompt +PORTVERSION= 0.99.2 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/D/DC/DCONWAY +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Interactively prompt for user input + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \ + ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ + ${SITE_PERL}/${PERL_ARCH}/Want.pm:${PORTSDIR}/devel/p5-Want +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= IO::Prompt.3 + +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +post-patch: + @${PERL} -pi -e '$$_ = "" if m|use 5.008;|' \ + ${WRKSRC}/lib/IO/Prompt.pm +.endif +.if ${PERL_LEVEL} < 500600 +IGNORE= requires Perl 5.6. Install lang/perl5 or lang/perl5.8, and try again +.endif +.include <bsd.port.post.mk> |