diff options
Diffstat (limited to 'shells/bash-completion-classic')
-rw-r--r-- | shells/bash-completion-classic/Makefile | 48 | ||||
-rw-r--r-- | shells/bash-completion-classic/distinfo | 2 | ||||
-rw-r--r-- | shells/bash-completion-classic/files/patch-aa | 40 | ||||
-rw-r--r-- | shells/bash-completion-classic/pkg-descr | 7 | ||||
-rw-r--r-- | shells/bash-completion-classic/pkg-message | 9 |
5 files changed, 0 insertions, 106 deletions
diff --git a/shells/bash-completion-classic/Makefile b/shells/bash-completion-classic/Makefile deleted file mode 100644 index 4a1f38922bb4..000000000000 --- a/shells/bash-completion-classic/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# New ports collection makefile for: bash_completion -# Date created: 29 May 2003 -# Whom: kirk@strauser.com -# -# $FreeBSD$ -# - -PORTNAME= bash-completion -PORTVERSION= 20050112 -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 -.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_BASH2 use shells/bash2 instead of shells/bash" - @${ECHO} "WITH_GSED use GNU sed to enable additional completions" - @${ECHO} - -pre-patch: - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE} - -do-install: - ${INSTALL_DATA} ${WRKSRC}/bash_completion ${PREFIX}/etc/bash_completion - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/shells/bash-completion-classic/distinfo b/shells/bash-completion-classic/distinfo deleted file mode 100644 index f1e83bafe44b..000000000000 --- a/shells/bash-completion-classic/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (bash-completion-20050112.tar.gz) = 474ce9d1e16be6229d730ed8385fc871 -SIZE (bash-completion-20050112.tar.gz) = 106710 diff --git a/shells/bash-completion-classic/files/patch-aa b/shells/bash-completion-classic/files/patch-aa deleted file mode 100644 index dd36d6b3651d..000000000000 --- a/shells/bash-completion-classic/files/patch-aa +++ /dev/null @@ -1,40 +0,0 @@ ---- 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}" \ - 2>/dev/null - else -- 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}"\ - 2>/dev/null - fi - -@@ -1131,7 +1132,7 @@ - else - len=${#cur} - idx=0 -- for pval in $( /usr/sbin/postconf -m ); do -+ for pval in $( postconf -m ); do - if [[ "$cur" == "${pval:0:$len}" ]]; then - COMPREPLY[$idx]="$pval:" - idx=$(($idx+1)) -@@ -1207,7 +1208,7 @@ - fi - len=${#cur} - idx=0 -- for pval in $( /usr/sbin/postconf | cut -d ' ' -f 1 ); do -+ for pval in $( postconf | cut -d ' ' -f 1 ); do - if [[ "$cur" == "${pval:0:$len}" ]]; then - COMPREPLY[$idx]="$pval$eqext" - idx=$(($idx+1)) diff --git a/shells/bash-completion-classic/pkg-descr b/shells/bash-completion-classic/pkg-descr deleted file mode 100644 index 4f48a96869d3..000000000000 --- a/shells/bash-completion-classic/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This is a programmable completion library for bash2 users. It features the -ability to tab-complete arguments for many common programs. - -WWW: http://www.caliban.org/bash/index.shtml - -- Kirk Strauser -kirk@strauser.com diff --git a/shells/bash-completion-classic/pkg-message b/shells/bash-completion-classic/pkg-message deleted file mode 100644 index 7bbf0ac073f2..000000000000 --- a/shells/bash-completion-classic/pkg-message +++ /dev/null @@ -1,9 +0,0 @@ - -The programmable completion library is not enabled by default for various -reasons. To use it, you should source %%PREFIX%%/etc/bash_completion from -your .bashrc file. For example: - - if [ -f %%PREFIX%%/etc/bash_completion ]; then - . %%PREFIX%%/etc/bash_completion - fi - |