# New ports collection makefile for: devel/p5-IO-Prompt # Date created: 13 September 2005 # Whom: Lars Thegler # # $FreeBSD: ports/devel/p5-IO-Prompt/Makefile,v 1.3 2007/09/08 00:57:30 linimon Exp $ # PORTNAME= IO-Prompt PORTVERSION= 0.99.4 DISTVERSIONPREFIX= v 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 .if ${PERL_LEVEL} < 500800 post-patch: @${PERL} -pi -e '$$_ = "" if m|use 5.008;|' \ ${WRKSRC}/lib/IO/Prompt.pm .endif .include