diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
| commit | 3add449a170be706377b66bee46af25633bc945c (patch) | |
| tree | 7415df14a37624ff0b24fd40bde079927a88c28a /shells/bash-completion-classic | |
| parent | 975af646f278430e563b72219a2c3055b211eb1a (diff) | |
Diffstat (limited to 'shells/bash-completion-classic')
| -rw-r--r-- | shells/bash-completion-classic/Makefile | 43 | ||||
| -rw-r--r-- | shells/bash-completion-classic/distinfo | 2 | ||||
| -rw-r--r-- | shells/bash-completion-classic/files/patch-aa | 39 | ||||
| -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, 100 deletions
diff --git a/shells/bash-completion-classic/Makefile b/shells/bash-completion-classic/Makefile deleted file mode 100644 index 5717c0f5c179..000000000000 --- a/shells/bash-completion-classic/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# New ports collection makefile for: bash_completion -# Date created: 29 May 2003 -# Whom: kirk@strauser.com -# -# $FreeBSD$ -# - -PORTNAME= bash-completion -PORTVERSION= 20040711 -CATEGORIES= shells -MASTER_SITES= http://www.caliban.org/files/bash/ - -MAINTAINER= kirk@strauser.com -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} - -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 65c94919629c..000000000000 --- a/shells/bash-completion-classic/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (bash-completion-20040711.tar.gz) = 90ee706965dbf7b24515220d3bdc1f85 -SIZE (bash-completion-20040711.tar.gz) = 99087 diff --git a/shells/bash-completion-classic/files/patch-aa b/shells/bash-completion-classic/files/patch-aa deleted file mode 100644 index 001c5448b350..000000000000 --- a/shells/bash-completion-classic/files/patch-aa +++ /dev/null @@ -1,39 +0,0 @@ ---- bash_completion.orig Wed Mar 31 19:45:32 2004 -+++ bash_completion Sat Jun 5 16:53:42 2004 -@@ -31,14 +31,14 @@ - 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 - -@@ -1056,7 +1056,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)) -@@ -1132,7 +1132,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 - |
