summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/bash-completion-classic/Makefile12
-rw-r--r--shells/bash-completion-classic/distinfo3
-rw-r--r--shells/bash-completion-classic/files/patch-aa22
-rw-r--r--shells/bash-completion/Makefile12
-rw-r--r--shells/bash-completion/distinfo3
-rw-r--r--shells/bash-completion/files/patch-aa22
6 files changed, 30 insertions, 44 deletions
diff --git a/shells/bash-completion-classic/Makefile b/shells/bash-completion-classic/Makefile
index 59ed942..e9b5940 100644
--- a/shells/bash-completion-classic/Makefile
+++ b/shells/bash-completion-classic/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-classic/distinfo b/shells/bash-completion-classic/distinfo
index 3484ad3..59606e6 100644
--- a/shells/bash-completion-classic/distinfo
+++ b/shells/bash-completion-classic/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-classic/files/patch-aa b/shells/bash-completion-classic/files/patch-aa
index 3640ef8..5eace9d 100644
--- a/shells/bash-completion-classic/files/patch-aa
+++ b/shells/bash-completion-classic/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 \
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index 59ed942..e9b5940 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 3484ad3..59606e6 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 3640ef8..5eace9d 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 \
OpenPOWER on IntegriCloud