# New ports collection makefile for: p5-Text-RecordParser # Date created: Nov 23 2003 # Whom: Lars Thegler # # $FreeBSD$ PORTNAME= Text-RecordParser PORTVERSION= 0.06 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Text PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Read record-oriented files BUILD_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/Text/TabularDisplay.pm:${PORTSDIR}/textproc/p5-Text-TabularDisplay RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN1= tablify.1 MAN3= Text::RecordParser.3 .include .if ${PERL_LEVEL} <= 500503 # make PREFIX-clean under perl 5.005_03 post-configure: ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile .endif .if ${PERL_LEVEL} < 500601 EXTRA_PATCHES= ${PATCHDIR}/5.005-RecordParser.pm \ ${PATCHDIR}/5.005-bin::tablify \ ${PATCHDIR}/5.005-t::02-filename-fh.t .endif .include