aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-ack
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2012-01-11 04:08:52 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2012-01-11 04:08:52 +0000
commit43f3351e32c6a504eeea1a953ebad401d0f5a83e (patch)
tree37a1f414d8ac9b81caf9da844ac14c98c067cd9e /textproc/p5-ack
parentec20d7fabf495daac3c43bc054e9679163e4b261 (diff)
downloadports-43f3351e32c6a504eeea1a953ebad401d0f5a83e.tar.gz
ports-43f3351e32c6a504eeea1a953ebad401d0f5a83e.zip
Notes
Diffstat (limited to 'textproc/p5-ack')
-rw-r--r--textproc/p5-ack/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile
index 17864b98a6a2..1a0f4c3c937c 100644
--- a/textproc/p5-ack/Makefile
+++ b/textproc/p5-ack/Makefile
@@ -23,10 +23,12 @@ PERL_CONFIGURE= yes
MAN1= ack.1
+OPTIONS= BASH_COMPLETE "use bash completion" off
+
.include <bsd.port.pre.mk>
COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d
-.if exists(${COMPLETION_DIR})
+.if defined(WITH_BASH_COMPLETE)
RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion
PLIST_SUB+= BASH=""
post-install: