the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: ondir
Version: 0.2.2
Revision: 1010
Maintainer: Ben Hines
Source: http://ondir.sourceforge.net/%v/%n-%v.tar.gz
Source-MD5: 892592d33f82f0264f27f63d9df9db75
ConfigureParams: --mandir='%p/share/man' --sysconfdir="%p/etc/ondir"
GCC: 4.0
CompileScript: <<
make PREFIX=%p LDFLAGS="-L%p/lib"
<<
SetCXXFLAGS: -Wno-implicit
InstallScript: <<
make install PREFIX=%p DESTDIR=%d
mkdir -p %i/share/
mv %i/man %i/share/man
<<
DocFiles: COPYING INSTALL README AUTHORS scripts.tcsh scripts.sh ondirrc.eg
Description: Auto-execute scripts as you traverse dirs
DescDetail: <<
ondir executes a script when entering or leaving a directory. It also
executes all scripts for the intermediate directories between two. A
perfect example of the usefulness of this program is modifying your
umask when changing into your public_html directory.
<<
DescUsage: <<
For ondir to work, you must copy the commands in
%p/share/doc/ondir/scripts.tcsh (or .sh) into your .cshrc or
.tcshrc. Then add your directory traversal commands into your
~/.ondirrc per the man page.
<<
DescPort: <<
Using make LDFLAGS to get rid of the -s flag added in Makefile.in.
<<
License: GPL
Homepage: http://ondir.sourceforge.net/