pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/autojump Import autojump-22.2.4 as shells/autoj...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22912fcc92c3
branches:  trunk
changeset: 646438:22912fcc92c3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Feb 08 17:31:49 2015 +0000

description:
Import autojump-22.2.4 as shells/autojump.

autojump is a faster way to navigate your filesystem. It works by
maintaining a database of the directories you use the most from
the command line.

Directories must be visited first before they can be jumped to.

diffstat:

 shells/autojump/DESCR                    |   5 +++++
 shells/autojump/Makefile                 |  29 +++++++++++++++++++++++++++++
 shells/autojump/PLIST                    |  12 ++++++++++++
 shells/autojump/distinfo                 |   6 ++++++
 shells/autojump/patches/patch-install.py |  22 ++++++++++++++++++++++
 5 files changed, 74 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r 847e87e9bde9 -r 22912fcc92c3 shells/autojump/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/autojump/DESCR     Sun Feb 08 17:31:49 2015 +0000
@@ -0,0 +1,5 @@
+autojump is a faster way to navigate your filesystem. It works by
+maintaining a database of the directories you use the most from
+the command line.
+
+Directories must be visited first before they can be jumped to.
diff -r 847e87e9bde9 -r 22912fcc92c3 shells/autojump/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/autojump/Makefile  Sun Feb 08 17:31:49 2015 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2015/02/08 17:31:49 wiz Exp $
+
+VERSION=       22.2.4
+DISTNAME=      autojump-${VERSION}
+CATEGORIES=    shells
+MASTER_SITES=  -https://github.com/joelthelion/autojump/archive/release-v${VERSION}${EXTRACT_SUFX}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/joelthelion/autojump/
+COMMENT=       Change directory command that learns to easily navigate directories
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/autojump-release-v${VERSION}
+
+INSTALLATION_DIRS+=    bin share/autojump ${PKGMANDIR}/man1
+
+do-build:
+       # nothing
+
+# the install.py script is not friendly to destdir installation as non-root
+# cd ${WRKSRC} && ${ENV} SHELL=${BASH} ${PYTHONBIN} install.py -fs -p ${PREFIX} -d ${DESTDIR}
+do-install:
+       cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} autojump autojump_argparse.py autojump_data.py autojump_utils.py ${DESTDIR}${PREFIX}/bin
+       cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} icon.png ${DESTDIR}${PREFIX}/share/autojump
+       cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} autojump*sh ${DESTDIR}${PREFIX}/share/autojump
+       cd ${WRKSRC}/docs && ${INSTALL_SCRIPT} autojump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 847e87e9bde9 -r 22912fcc92c3 shells/autojump/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/autojump/PLIST     Sun Feb 08 17:31:49 2015 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/08 17:31:49 wiz Exp $
+bin/autojump
+bin/autojump_argparse.py
+bin/autojump_data.py
+bin/autojump_utils.py
+man/man1/autojump.1
+share/autojump/autojump.bash
+share/autojump/autojump.fish
+share/autojump/autojump.sh
+share/autojump/autojump.tcsh
+share/autojump/autojump.zsh
+share/autojump/icon.png
diff -r 847e87e9bde9 -r 22912fcc92c3 shells/autojump/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/autojump/distinfo  Sun Feb 08 17:31:49 2015 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/02/08 17:31:49 wiz Exp $
+
+SHA1 (autojump-22.2.4.tar.gz) = df9ff56e128efb8a8e1af574dbac9e4b3c47c1d6
+RMD160 (autojump-22.2.4.tar.gz) = 761710ce83a67059a3abe771c577b111acb77245
+Size (autojump-22.2.4.tar.gz) = 52724 bytes
+SHA1 (patch-install.py) = 74a881c8f86cc2651768828a438d239b5553262c
diff -r 847e87e9bde9 -r 22912fcc92c3 shells/autojump/patches/patch-install.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/autojump/patches/patch-install.py  Sun Feb 08 17:31:49 2015 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-install.py,v 1.1 2015/02/08 17:31:49 wiz Exp $
+
+Remove duplicate mkdirs.
+
+--- install.py.orig    2015-01-25 07:13:20.000000000 +0000
++++ install.py
+@@ -175,7 +175,6 @@ def main(args):
+ 
+     mkdir(bin_dir, args.dryrun)
+     mkdir(doc_dir, args.dryrun)
+-    mkdir(etc_dir, args.dryrun)
+     mkdir(share_dir, args.dryrun)
+ 
+     cp('./bin/autojump', bin_dir, args.dryrun)
+@@ -197,7 +196,6 @@ def main(args):
+             modify_autojump_lua(args.clinkdir, bin_dir, args.dryrun)
+     else:
+         mkdir(etc_dir, args.dryrun)
+-        mkdir(share_dir, args.dryrun)
+         mkdir(zshshare_dir, args.dryrun)
+ 
+         cp('./bin/autojump.sh', etc_dir, args.dryrun)



Home | Main Index | Thread Index | Old Index