summaryrefslogtreecommitdiff
path: root/shells/bash-completion
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-18 20:43:09 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-18 20:43:09 +0000
commit45325003d1bbcc71e71013510a7a779eb3bb4777 (patch)
tree0c52b1a93b6036111a684c882aa686033560b252 /shells/bash-completion
parent- Update to version 1.7 (diff)
- Update to version 20040214
PR: ports/63023 Submitted by: maintainer
Diffstat (limited to 'shells/bash-completion')
-rw-r--r--shells/bash-completion/Makefile12
-rw-r--r--shells/bash-completion/distinfo3
-rw-r--r--shells/bash-completion/files/patch-aa22
3 files changed, 15 insertions, 22 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index 59ed9427c81f..e9b5940eb14f 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bash-completion
-PORTVERSION= 20040101
+PORTVERSION= 20040214
CATEGORIES= shells
MASTER_SITES= http://www.caliban.org/files/bash/
@@ -15,12 +15,22 @@ COMMENT= Programmable completion library for Bash 2.04 and up
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+.if defined(WITH_GSED)
+RUN_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed
+.endif
+
WRKSRC= ${WRKDIR}/bash_completion
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_FILES= etc/bash_completion
+pre-everything::
+ @${ECHO}
+ @${ECHO} "You can build ${PKGNAME} with the following options:"
+ @${ECHO} "WITH_GSED use GNU sed to enable additional completions"
+ @${ECHO}
+
pre-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
diff --git a/shells/bash-completion/distinfo b/shells/bash-completion/distinfo
index 3484ad391936..59606e6b5ccf 100644
--- a/shells/bash-completion/distinfo
+++ b/shells/bash-completion/distinfo
@@ -1 +1,2 @@
-MD5 (bash-completion-20040101.tar.gz) = 9694e44dc750e1cece97c81831b921ec
+MD5 (bash-completion-20040214.tar.gz) = 3146895647d4654952711bfb37352eda
+SIZE (bash-completion-20040214.tar.gz) = 93162
diff --git a/shells/bash-completion/files/patch-aa b/shells/bash-completion/files/patch-aa
index 3640ef8f21d6..5eace9dd220f 100644
--- a/shells/bash-completion/files/patch-aa
+++ b/shells/bash-completion/files/patch-aa
@@ -1,5 +1,5 @@
---- bash_completion.orig Wed Nov 12 02:20:42 2003
-+++ bash_completion Tue Dec 2 11:24:11 2003
+--- bash_completion.orig Wed Feb 18 09:10:18 2004
++++ bash_completion Wed Feb 18 09:11:01 2004
@@ -31,14 +31,14 @@
if [ -n "${FUNCNAME:-}" ]; then
# we're being sourced from within a function, so we can't use
@@ -19,21 +19,3 @@
2>/dev/null
fi
-@@ -1222,7 +1222,7 @@
- @(ex?(p?(ort))))
- mode=export
- ;;
-- @(annotate|diff|history|import|release|status|update|?(un)edit))
-+ @(annotate|blame|diff|history|import|release|status|update|?(un)edit))
- mode=$i
- ;;
- ?(r)log)
-@@ -1371,7 +1371,7 @@
- fi
- ;;
- "")
-- COMPREPLY=( $( compgen -W 'add admin annotate checkout ci co \
-+ COMPREPLY=( $( compgen -W 'add admin annotate blame checkout ci co \
- commit diff delete edit export \
- freeze get history import log new \
- patch rcs rdiff release remove \