summaryrefslogtreecommitdiff
path: root/sysutils/autojump
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/autojump')
-rw-r--r--sysutils/autojump/Makefile44
-rw-r--r--sysutils/autojump/distinfo2
-rw-r--r--sysutils/autojump/files/patch-install.sh77
-rw-r--r--sysutils/autojump/files/pkg-install.in14
-rw-r--r--sysutils/autojump/pkg-deinstall15
-rw-r--r--sysutils/autojump/pkg-descr7
-rw-r--r--sysutils/autojump/pkg-message10
7 files changed, 0 insertions, 169 deletions
diff --git a/sysutils/autojump/Makefile b/sysutils/autojump/Makefile
deleted file mode 100644
index 1be14fa4b39c..000000000000
--- a/sysutils/autojump/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# Created by: Neeraj Verma <neeraj.verma.ports@vermatech.com>
-# $FreeBSD$
-
-PORTNAME= autojump
-PORTVERSION= 13
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= http://www.vermatech.com/distfiles/
-DISTNAME= autojump_v${PORTVERSION}
-
-MAINTAINER= neeraj.verma.ports@vermatech.com
-COMMENT= Tool that acts as a complement to cd
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-RUN_DEPENDS= bash:shells/bash
-
-USES= python:run shebangfix
-NO_BUILD= yes
-SHEBANG_FILES= autojump jumpapplet
-SUB_FILES= pkg-install
-NO_ARCH= yes
-
-PLIST_FILES= bin/autojump \
- bin/jumpapplet \
- man/man1/autojump.1.gz \
- share/autojump/autojump.bash \
- share/autojump/autojump.zsh \
- share/autojump/icon.png \
- share/zsh/site-functions/_j
-
-do-install:
- @(cd ${INSTALL_WRKSRC} && ${SETENV} ${SH} ./install.sh \
- --prefix ${STAGEDIR}${PREFIX})
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
- ${INSTALL_DATA} ${WRKSRC}/_j \
- ${STAGEDIR}${PREFIX}/share/zsh/site-functions
-
-.include <bsd.port.mk>
diff --git a/sysutils/autojump/distinfo b/sysutils/autojump/distinfo
deleted file mode 100644
index 6f72e3e9c785..000000000000
--- a/sysutils/autojump/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (autojump_v13.tar.gz) = 020ef781b30f8cbe4f183f2ccadac720e3f747e82924aaa4b95da01d76cc2153
-SIZE (autojump_v13.tar.gz) = 22723
diff --git a/sysutils/autojump/files/patch-install.sh b/sysutils/autojump/files/patch-install.sh
deleted file mode 100644
index 5e3b68e60b94..000000000000
--- a/sysutils/autojump/files/patch-install.sh
+++ /dev/null
@@ -1,77 +0,0 @@
---- ./install.sh.orig 2010-10-01 10:49:18.000000000 -0400
-+++ ./install.sh 2011-12-03 23:04:22.000000000 -0500
-@@ -15,7 +15,7 @@
- #You should have received a copy of the GNU General Public License
- #along with autojump. If not, see <http://www.gnu.org/licenses/>.
-
--function show_help {
-+show_help() {
- echo "sudo ./install.sh [--prefix /usr/local]"
- }
-
-@@ -41,56 +41,12 @@ done
- echo "Installing to ${prefix} ..."
-
- # INSTALL AUTOJUMP
--sudo mkdir -p ${prefix}/share/autojump/
--sudo mkdir -p ${prefix}/bin/
--sudo mkdir -p ${prefix}/share/man/man1/
--sudo cp icon.png ${prefix}/share/autojump/
--sudo cp jumpapplet ${prefix}/bin/
--sudo cp autojump ${prefix}/bin/
--sudo cp autojump.1 ${prefix}/share/man/man1/
--
--if [ -d "/etc/profile.d" ]; then
-- sudo cp autojump.bash /etc/profile.d/
-- sudo cp autojump.sh /etc/profile.d/
--
-- # Make sure that the code we just copied has been sourced.
-- # check if .bashrc has sourced /etc/profile or /etc/profile.d/autojump.bash
-- if [ `grep -c "^[[:space:]]*source\|\. /etc/profile(\.d/autojump\.bash)[[:space:]]*$" ~/.bashrc` -eq 0 ]; then
-- echo "Your .bashrc doesn't seem to source /etc/profile or /etc/profile.d/autojump.bash"
-- echo "Adding the /etc/profile.d/autojump.bash to your .bashrc"
-- echo "" >> ~/.bashrc
-- echo "# Added by autojump install.sh" >> ~/.bashrc
-- echo "source /etc/profile.d/autojump.bash" >> ~/.bashrc
-- fi
-- echo "Done!"
-- echo
-- echo "You need to source your ~/.bashrc (source ~/.bashrc) before you can start using autojump."
--else
-- echo "Your distribution does not have a /etc/profile.d directory, the default that we install one of the scripts to. Would you like us to copy it into your ~/.bashrc file to make it work? (If you have done this once before, delete the old version before doing it again.) [y/n]"
-- read ans
-- if [ ${#ans} -gt 0 ]; then
-- if [ $ans = "y" -o $ans = "Y" -o $ans = "yes" -o $ans = "Yes" ]; then
--
-- # Answered yes. Go ahead and add the autojump code
-- echo "" >> ~/.bashrc
-- echo "#autojump" >> ~/.bashrc
-- cat autojump.bash | grep -v "^#" >> ~/.bashrc
--
-- # Since OSX uses .bash_profile, we need to make sure that .bashrc is properly sourced.
-- # Makes the assumption that if they have a line: source ~/.bashrc or . ~/.bashrc, that
-- # .bashrc has been properly sourced and you don't need to add it.
-- OS=`uname`
-- if [ $OS == 'Darwin' -a `grep -c "^[[:space:]]*source\|\. ~/\.bashrc[[:space:]]*$" ~/.bash_profile` -eq 0 ]; then
-- echo "You are using OSX and your .bash_profile doesn't seem to be sourcing .bashrc"
-- echo "Adding source ~/.bashrc to your bashrc"
-- echo -e "\n# Get the aliases and functions" >> ~/.bash_profile
-- echo -e "if [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi" >> ~/.bash_profile
-- fi
-- echo "You need to source your ~/.bashrc (source ~/.bashrc) before you can start using autojump."
-- else
-- echo "Then you need to put autojump.sh, or the code from it, somewhere where it will get read. Good luck!"
-- fi
-- else
-- echo "Then you need to put autojump.sh, or the code from it, somewhere where it will get read. Good luck!"
-- fi
--fi
-+mkdir -p ${prefix}/share/autojump/
-+mkdir -p ${prefix}/bin/
-+mkdir -p ${prefix}/man/man1/
-+cp icon.png ${prefix}/share/autojump/
-+cp autojump.bash ${prefix}/share/autojump/
-+cp autojump.zsh ${prefix}/share/autojump/
-+cp jumpapplet ${prefix}/bin/
-+cp autojump ${prefix}/bin/
-+cp autojump.1 ${prefix}/man/man1/
diff --git a/sysutils/autojump/files/pkg-install.in b/sysutils/autojump/files/pkg-install.in
deleted file mode 100644
index 0945d3f9bb5e..000000000000
--- a/sysutils/autojump/files/pkg-install.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-case $2 in
-POST-INSTALL)
- if [ -e /etc/profile ]; then \
- cp %%PREFIX%%/share/autojump/autojump.bash /etc/profile.autojump
- echo ". /etc/profile.autojump" >> /etc/profile
- fi
- if [ -e /etc/zshrc ]; then \
- cp %%PREFIX%%/share/autojump/autojump.zsh /etc/zshrc.autojump
- echo ". /etc/zshrc.autojump" >> /etc/zshrc
- fi
- ;;
-esac
diff --git a/sysutils/autojump/pkg-deinstall b/sysutils/autojump/pkg-deinstall
deleted file mode 100644
index 03d9c8fafad8..000000000000
--- a/sysutils/autojump/pkg-deinstall
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case $2 in
-POST-DEINSTALL)
- rm -f /etc/profile.autojump
- rm -f /etc/zshrc.autojump
- # delete the source (.) line from the /etc/profile and /etc/zshrc
- if [ -f /etc/profile ] ; then
- sed -i '' -e '/profile.autojump/d' /etc/profile
- fi
- if [ -f /etc/zshrc ] ; then
- sed -i '' -e '/zshrc.autojump/d' /etc/zshrc
- fi
- ;;
-esac
diff --git a/sysutils/autojump/pkg-descr b/sysutils/autojump/pkg-descr
deleted file mode 100644
index f1507269f03b..000000000000
--- a/sysutils/autojump/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Autojump is a tool that acts as a complement to cd: it makes navigating your
-filesystem a lot faster. It works by automagically maintaining a database of
-the directories you use the most from the command line, and allows you to jump
-back and forth between them, by typing just a few letters of the name of the
-directory you want to jump to.
-
-WWW: https://github.com/joelthelion/autojump/wiki
diff --git a/sysutils/autojump/pkg-message b/sysutils/autojump/pkg-message
deleted file mode 100644
index 1da40217e040..000000000000
--- a/sysutils/autojump/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-[
-{ type: install
- message: <<EOM
- AutoJump installed
-
- Note: Your /etc/profile was changed for this installation.
- changes will be reverted when you un-install the package.
-EOM
-}
-]