diff options
author | pav <pav@FreeBSD.org> | 2004-10-27 18:49:08 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-10-27 18:49:08 +0000 |
commit | afc4044dd0f3b10df585d0b351249ae0be55e6e2 (patch) | |
tree | 5212d62929bfcc1abb378e42f92598d2b38a5cff /shells/bash-completion | |
parent | d9ef8a154d5280f2d945598ddebccdc7463ad379 (diff) | |
download | FreeBSD-ports-afc4044dd0f3b10df585d0b351249ae0be55e6e2.zip FreeBSD-ports-afc4044dd0f3b10df585d0b351249ae0be55e6e2.tar.gz |
- Update to 20041017
PR: ports/73174
Submitted by: Kirk Strauser <kirk@strauser.com> (maintainer)
Diffstat (limited to 'shells/bash-completion')
-rw-r--r-- | shells/bash-completion/Makefile | 7 | ||||
-rw-r--r-- | shells/bash-completion/distinfo | 4 | ||||
-rw-r--r-- | shells/bash-completion/files/patch-aa | 27 |
3 files changed, 22 insertions, 16 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 5717c0f..1a7d95f 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -6,14 +6,18 @@ # PORTNAME= bash-completion -PORTVERSION= 20040711 +PORTVERSION= 20041017 CATEGORIES= shells MASTER_SITES= http://www.caliban.org/files/bash/ MAINTAINER= kirk@strauser.com COMMENT= Programmable completion library for Bash 2.04 and up +.if defined(WITH_BASH2) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 +.else +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +.endif .if defined(WITH_GSED) RUN_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed @@ -28,6 +32,7 @@ PLIST_FILES= etc/bash_completion pre-everything:: @${ECHO} @${ECHO} "You can build ${PKGNAME} with the following options:" + @${ECHO} "WITH_BASH2 use shells/bash2 instead of shells/bash" @${ECHO} "WITH_GSED use GNU sed to enable additional completions" @${ECHO} diff --git a/shells/bash-completion/distinfo b/shells/bash-completion/distinfo index 65c9491..4f0854c 100644 --- a/shells/bash-completion/distinfo +++ b/shells/bash-completion/distinfo @@ -1,2 +1,2 @@ -MD5 (bash-completion-20040711.tar.gz) = 90ee706965dbf7b24515220d3bdc1f85 -SIZE (bash-completion-20040711.tar.gz) = 99087 +MD5 (bash-completion-20041017.tar.gz) = b9f75cc7b11e5768d360f4a28f44067b +SIZE (bash-completion-20041017.tar.gz) = 102970 diff --git a/shells/bash-completion/files/patch-aa b/shells/bash-completion/files/patch-aa index 001c544..dd36d6b 100644 --- a/shells/bash-completion/files/patch-aa +++ b/shells/bash-completion/files/patch-aa @@ -1,25 +1,26 @@ ---- bash_completion.orig Wed Mar 31 19:45:32 2004 -+++ bash_completion Sat Jun 5 16:53:42 2004 -@@ -31,14 +31,14 @@ +--- bash_completion.orig Mon Oct 25 10:10:30 2004 ++++ bash_completion Mon Oct 25 10:12:35 2004 +@@ -31,14 +31,15 @@ if [ -n "${FUNCNAME:-}" ]; then # we're being sourced from within a function, so we can't use # 'declare', as this will create local variables within a function -- BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} 2>/dev/null -- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \ -+ BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} 2>/dev/null -+ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \ +- BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}" 2>/dev/null +- BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" \ ++ BASH_COMPLETION="${BASH_COMPLETION:-/usr/local/etc/bash_completion}" \ ++ 2>/dev/null ++ BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d}" \ 2>/dev/null else -- declare -r BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} \ -+ declare -r BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} \ +- declare -r BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}" \ ++ declare -r BASH_COMPLETION="${BASH_COMPLETION:-/usr/local/etc/bash_completion}" \ 2>/dev/null declare -r \ -- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \ -+ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \ +- BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}"\ ++ BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d}"\ 2>/dev/null fi -@@ -1056,7 +1056,7 @@ +@@ -1131,7 +1132,7 @@ else len=${#cur} idx=0 @@ -28,7 +29,7 @@ if [[ "$cur" == "${pval:0:$len}" ]]; then COMPREPLY[$idx]="$pval:" idx=$(($idx+1)) -@@ -1132,7 +1132,7 @@ +@@ -1207,7 +1208,7 @@ fi len=${#cur} idx=0 |