diff options
author | miwi <miwi@FreeBSD.org> | 2010-01-27 21:02:17 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-01-27 21:02:17 +0800 |
commit | a0791c6db62ae73a92443f10775ebd5bdd1ed5df (patch) | |
tree | 6f3b28128f09c4ad935244f238aa5a12999be219 | |
parent | d733861f82a7226cdfeb65e8cc0c17ef10f5806d (diff) | |
download | freebsd-ports-gnome-a0791c6db62ae73a92443f10775ebd5bdd1ed5df.tar.gz freebsd-ports-gnome-a0791c6db62ae73a92443f10775ebd5bdd1ed5df.tar.zst freebsd-ports-gnome-a0791c6db62ae73a92443f10775ebd5bdd1ed5df.zip |
On Dir is a program that automatically executes scripts as you traverse
directories at a terminal.
In addition to executing scripts in the directory you are entering or leaving,
ondir also executes scripts in directories that are traversed on the way to that
directory.
WWW: http://swapoff.org/wiki/OnDir
PR: ports/143189
Submitted by: ports at c0decafe.net <ports at c0decafe.net>
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/ondir/Makefile | 23 | ||||
-rw-r--r-- | misc/ondir/distinfo | 3 | ||||
-rw-r--r-- | misc/ondir/files/patch-ondir.1 | 17 | ||||
-rw-r--r-- | misc/ondir/pkg-descr | 8 |
5 files changed, 52 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 47b8f8290d58..34368b09f8b2 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -370,6 +370,7 @@ SUBDIR += nsf SUBDIR += numchar SUBDIR += nut + SUBDIR += ondir SUBDIR += opencyc SUBDIR += orville-write SUBDIR += ossp-uuid diff --git a/misc/ondir/Makefile b/misc/ondir/Makefile new file mode 100644 index 000000000000..fa857a8ad228 --- /dev/null +++ b/misc/ondir/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: ondir +# Date created: 2010-01-24 +# Whom: ports@c0decafe.net <ports@c0decafe.net> +# +# $FreeBSD$ +# + +PORTNAME= ondir +PORTVERSION= 0.2.2 +CATEGORIES= misc +MASTER_SITES= http://swapoff.org/files/${PORTNAME}/ + +MAINTAINER= ports@c0decafe.net +COMMENT= Automatically executes scripts as you traverse directories + +ALL_TARGET= ${PORTNAME} +MAKE_ARGS= PREFIX=${PREFIX} CONF=${PREFIX}/etc/ondirrc +MAN1= ${PORTNAME}.1 +MANCOMPRESSED= no + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/misc/ondir/distinfo b/misc/ondir/distinfo new file mode 100644 index 000000000000..593fc1d8f203 --- /dev/null +++ b/misc/ondir/distinfo @@ -0,0 +1,3 @@ +MD5 (ondir-0.2.2.tar.gz) = 892592d33f82f0264f27f63d9df9db75 +SHA256 (ondir-0.2.2.tar.gz) = 475fe7bd447756b4effde87c8aa67e063d805b775785b9f39858422dc244aef2 +SIZE (ondir-0.2.2.tar.gz) = 20138 diff --git a/misc/ondir/files/patch-ondir.1 b/misc/ondir/files/patch-ondir.1 new file mode 100644 index 000000000000..691997a0fe26 --- /dev/null +++ b/misc/ondir/files/patch-ondir.1 @@ -0,0 +1,17 @@ +--- ondir.1.orig 2010-01-24 23:43:46.000000000 +0200 ++++ ondir.1 2010-01-24 23:44:09.000000000 +0200 +@@ -108,12 +108,12 @@ + .LP + The TCSH script you should add to your profile is: + .LP +-alias cwdcmd eval \`ondir \-t \$owd \$cwd\` ++alias cwdcmd eval \\`ondir \\$owd \\$cwd\\` + .br + .br + # Run ondir on login + .br +-eval `ondir \-t /` ++eval `ondir /` + .br + .SH "AUTHORS" + .LP diff --git a/misc/ondir/pkg-descr b/misc/ondir/pkg-descr new file mode 100644 index 000000000000..ace472874102 --- /dev/null +++ b/misc/ondir/pkg-descr @@ -0,0 +1,8 @@ +On Dir is a program that automatically executes scripts as you traverse +directories at a terminal. + +In addition to executing scripts in the directory you are entering or leaving, +ondir also executes scripts in directories that are traversed on the way to that +directory. + +WWW: http://swapoff.org/wiki/OnDir |