ports/92167: [NEW PORT] misc/vils: Use your favorite editor to rename files
Jeffrey H. Johnson
CPE1704TKS at bellsouth.net
Sun Jan 22 19:20:08 UTC 2006
>Number: 92167
>Category: ports
>Synopsis: [NEW PORT] misc/vils: Use your favorite editor to rename files
>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 22 19:20:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jeffrey H. Johnson
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006
>Description:
This is the last of the little stuff that I use
everyday that I thought might be useful to have a
port. If this is of too little significance, I
apologize bother the ports guys. I know of a few
people that use it, at least.
I found this implementation on the 'net. It is
a cleaner zsh reimplementation of an sh script of
the same name that was around in the late 80's and
early 90's. I can't recall who it was that shipped
it originally.
-x-
This little script enables you to ``edit an ls'',
i.e. it will load a list of filenames into your
favourite editor (presumably vi). Any changes to
the filenames will result in renaming the respective
files. Read the comments in the script for details.
AUTHOR: Oliver Fromme <olli at fromme.com>
BSD-style copyright and standard disclaimer applies.
-x-
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- vils-20020228.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:
#
# vils
# vils/Makefile
# vils/distinfo
# vils/pkg-descr
#
echo c - vils
mkdir -p vils > /dev/null 2>&1
echo x - vils/Makefile
sed 's/^X//' >vils/Makefile << 'END-of-vils/Makefile'
X# New ports collection makefile for: vils
X# Date created: 22 January 2006
X# Whom: Jeffrey H. Johnson <CPE1704TKS at bellsouth.net>
X#
X# $FreeBSD: ports/misc/vils/Makefile,v 1.00 2006/01/22 13:23:42 trn Exp $
X#
X
XPORTNAME= vils
XPORTVERSION= 20020228
XCATEGORIES= misc
XMASTER_SITES= http://www.secnetix.de/~olli/scripts/
XDISTFILES= vils
X#EXTRACT_ONLY=
X
XMAINTAINER= CPE1704TKS at bellsouth.net
XCOMMENT= Use your favorite editor to rename files
X
XBUILD_DEPENDS= zsh:${PORTSDIR}/shells/zsh
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPLIST_FILES= bin/vils
X
Xdo-extract:
X ${MKDIR} ${WRKDIR}
X ${CP} ${DISTDIR}/vils ${WRKDIR}/vils
X
Xdo-build:
X @${REINPLACE_CMD} -e 's/\/bin\/zsh/\/usr\/local\/bin\/zsh/' ${WRKDIR}/vils
X
Xdo-install:
X ${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vils ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-vils/Makefile
echo x - vils/distinfo
sed 's/^X//' >vils/distinfo << 'END-of-vils/distinfo'
XMD5 (vils) = cad9cd336a31154765bba8a55aecebf1
XSHA256 (vils) = b8f7e73a29e3a53b38d22d0be0cc3752a98da853bd4d9bb85538b62491b87dbe
XSIZE (vils) = 2076
END-of-vils/distinfo
echo x - vils/pkg-descr
sed 's/^X//' >vils/pkg-descr << 'END-of-vils/pkg-descr'
XThis little script enables you to ``edit an ls'',
Xi.e. it will load a list of filenames into your
Xfavourite editor (presumably vi). Any changes to
Xthe filenames will result in renaming the respective
Xfiles. Read the comments in the script for details.
X
XAUTHOR: Oliver Fromme <olli at fromme.com>
X
XBSD-style copyright and standard disclaimer applies.
END-of-vils/pkg-descr
exit
--- vils-20020228.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list