aboutsummaryrefslogtreecommitdiff
path: root/misc/ondir
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-27 13:02:17 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-27 13:02:17 +0000
commit7bb9c720e36dd3b12b57312087425a5aee6b7829 (patch)
tree38b890f02d468156968daa19946c9c24bc2e9015 /misc/ondir
parent64c14acd76f55988c093d7335428eaaa48e393e0 (diff)
downloadports-7bb9c720e36dd3b12b57312087425a5aee6b7829.tar.gz
ports-7bb9c720e36dd3b12b57312087425a5aee6b7829.zip
Notes
Diffstat (limited to 'misc/ondir')
-rw-r--r--misc/ondir/Makefile23
-rw-r--r--misc/ondir/distinfo3
-rw-r--r--misc/ondir/files/patch-ondir.117
-rw-r--r--misc/ondir/pkg-descr8
4 files changed, 51 insertions, 0 deletions
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