mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Update to 20041017
PR: ports/73174 Submitted by: Kirk Strauser <kirk@strauser.com> (maintainer)
This commit is contained in:
parent
eb0476c2dd
commit
da5a605249
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120334
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user