aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-ack/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
commit0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch)
treeca9945973b3815f11f68140f3be1ab0a2cb34abb /textproc/p5-ack/Makefile
parent604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff)
downloadports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz
ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip
Notes
Diffstat (limited to 'textproc/p5-ack/Makefile')
-rw-r--r--textproc/p5-ack/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile
index ec30d15ac12f..1d5c334c2099 100644
--- a/textproc/p5-ack/Makefile
+++ b/textproc/p5-ack/Makefile
@@ -23,12 +23,13 @@ PERL_CONFIGURE= yes
MAN1= ack.1
-OPTIONS= BASH_COMPLETE "use bash completion" off
+OPTIONS_DEFINE= BASH_COMPLETE
+BASH_COMPLETE_DESC= install bash completion files
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d
-.if defined(WITH_BASH_COMPLETE)
+.if ${PORT_OPTIONS:MBASH_COMPLETE}
RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion
PLIST_SUB+= BASH=""
post-install:
@@ -37,4 +38,4 @@ post-install:
PLIST_SUB+= BASH="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>