# New ports collection makefile for: p5-ack # Date created: 2006/08/15 # Whom: chinsan # # $FreeBSD$ # PORTNAME= ack PORTVERSION= 1.96 PORTREVISION= 1 CATEGORIES= textproc perl5 sysutils MASTER_SITES= CPAN MASTER_SITE_SUBDIR= App PKGNAMEPREFIX= p5- 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 MAN1= ack.1 OPTIONS= BASH_COMPLETE "use bash completion" off .include COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d .if defined(WITH_BASH_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