ports/143189: [NEW PORT] misc/ondir: Automatically executes scripts as you traverse directories
ports at c0decafe.net
ports at c0decafe.net
Sun Jan 24 22:20:03 UTC 2010
>Number: 143189
>Category: ports
>Synopsis: [NEW PORT] misc/ondir: Automatically executes scripts as you traverse directories
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 24 22:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: ports at c0decafe.net
>Release: FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD kitchen.c0decafe.net 7.2-STABLE FreeBSD 7.2-STABLE #6: Sat Dec 5 16:40:07 EET
>Description:
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
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- ondir-0.2.2.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ondir
# ondir/pkg-descr
# ondir/Makefile
# ondir/distinfo
# ondir/files
# ondir/files/patch-ondir.1
#
echo c - ondir
mkdir -p ondir > /dev/null 2>&1
echo x - ondir/pkg-descr
sed 's/^X//' >ondir/pkg-descr << '56de5cbbfb27508747fd063a3c010ac7'
XOn Dir is a program that automatically executes scripts as you traverse
Xdirectories at a terminal.
X
XIn addition to executing scripts in the directory you are entering or leaving,
Xondir also executes scripts in directories that are traversed on the way to that
Xdirectory.
X
XWWW: http://swapoff.org/wiki/OnDir
56de5cbbfb27508747fd063a3c010ac7
echo x - ondir/Makefile
sed 's/^X//' >ondir/Makefile << 'cf415d04f4d8b4404edf57f1c28d5a87'
X# New ports collection makefile for: ondir
X# Date created: 2010-01-24
X# Whom: ports at c0decafe.net <ports at c0decafe.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= ondir
XPORTVERSION= 0.2.2
XCATEGORIES= misc
XMASTER_SITES= http://swapoff.org/files/${PORTNAME}/
X
XMAINTAINER= ports at c0decafe.net
XCOMMENT= Automatically executes scripts as you traverse directories
X
XALL_TARGET= ${PORTNAME}
XMAKE_ARGS= PREFIX=${PREFIX} CONF=${PREFIX}/etc/ondirrc
XMAN1= ${PORTNAME}.1
XMANCOMPRESSED= no
X
XPLIST_FILES= bin/${PORTNAME}
X
X.include <bsd.port.mk>
cf415d04f4d8b4404edf57f1c28d5a87
echo x - ondir/distinfo
sed 's/^X//' >ondir/distinfo << '5708337a3a9950933083c714c33d5cac'
XMD5 (ondir-0.2.2.tar.gz) = 892592d33f82f0264f27f63d9df9db75
XSHA256 (ondir-0.2.2.tar.gz) = 475fe7bd447756b4effde87c8aa67e063d805b775785b9f39858422dc244aef2
XSIZE (ondir-0.2.2.tar.gz) = 20138
5708337a3a9950933083c714c33d5cac
echo c - ondir/files
mkdir -p ondir/files > /dev/null 2>&1
echo x - ondir/files/patch-ondir.1
sed 's/^X//' >ondir/files/patch-ondir.1 << '97ec07a7f517995c638108a59498ecf9'
X--- ondir.1.orig 2010-01-24 23:43:46.000000000 +0200
X+++ ondir.1 2010-01-24 23:44:09.000000000 +0200
X@@ -108,12 +108,12 @@
X .LP
X The TCSH script you should add to your profile is:
X .LP
X-alias cwdcmd eval \`ondir \-t \$owd \$cwd\`
X+alias cwdcmd eval \\`ondir \\$owd \\$cwd\\`
X .br
X .br
X # Run ondir on login
X .br
X-eval `ondir \-t /`
X+eval `ondir /`
X .br
X .SH "AUTHORS"
X .LP
97ec07a7f517995c638108a59498ecf9
exit
--- ondir-0.2.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list