# Created by: chinsan # $FreeBSD$ PORTNAME= ack PORTVERSION= 1.96 PORTREVISION= 1 CATEGORIES= textproc perl5 sysutils MASTER_SITES= CPAN MASTER_SITE_SUBDIR= App MAINTAINER= perl@FreeBSD.org COMMENT= A grep-like text finder for large trees of text BUILD_DEPENDS= p5-File-Next>=0.40:${PORTSDIR}/sysutils/p5-File-Next RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes CONFLICTS_INSTALL= ja-ack-[0-9]* MAN1= ack.1 OPTIONS_DEFINE= BASH_COMPLETE BASH_COMPLETE_DESC= install bash completion files .include COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d .if ${PORT_OPTIONS:MBASH_COMPLETE} RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion PLIST_SUB+= BASH="" post-install: ${INSTALL_DATA} ${WRKSRC}/etc/ack.bash_completion.sh ${COMPLETION_DIR} .else PLIST_SUB+= BASH="@comment " .endif .include