diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
commit | 0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch) | |
tree | ca9945973b3815f11f68140f3be1ab0a2cb34abb /textproc/p5-ack/Makefile | |
parent | 604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff) | |
download | ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip |
Notes
Diffstat (limited to 'textproc/p5-ack/Makefile')
-rw-r--r-- | textproc/p5-ack/Makefile | 9 |
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> |