forked from Lainports/freebsd-ports
- Now depends on the new port textproc/p5-Text-TabularDisplay - Make PREFIX-clean under perl 5.005_03. PR: 66807 Submitted by: maintainer
40 lines
999 B
Makefile
40 lines
999 B
Makefile
# New ports collection makefile for: p5-Text-RecordParser
|
|
# Date created: Nov 23 2003
|
|
# Whom: Lars Thegler <lars@thegler.dk>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Text-RecordParser
|
|
PORTVERSION= 0.06
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Text
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lars@thegler.dk
|
|
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 <bsd.port.pre.mk>
|
|
|
|
.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 <bsd.port.post.mk>
|