ports/146000: NEW PORT: sysutils/tren

Tim Daneliuk tren at tundraware.com
Fri Apr 23 19:10:05 UTC 2010


>Number:         146000
>Category:       ports
>Synopsis:       NEW PORT: sysutils/tren
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 23 19:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tim Daneliuk
>Release:        8.0-Stable
>Organization:
TundraWare Inc.
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	tren
#	tren/Makefile
#	tren/distinfo
#	tren/pkg-descr
#	tren/pkg-plist
#
echo c - tren
mkdir -p tren > /dev/null 2>&1
echo x - tren/Makefile
sed 's/^X//' >tren/Makefile << '3a29a4669f3bd16d3a1e694e0d6e6bb1'
X# New ports collection makefile for:   tren
X# Date created:        23 April 2010
X# Whom:                tundra
X#
X# $FreeBSD$
X#
X
XPORTNAME=		tren
XPORTVERSION=	1.217
XCATEGORIES=		sysutils
XMASTER_SITES=	http://www.tundraware.com/Software/tren/
X
XMAINTAINER=		tren at tundraware.com
XCOMMENT=		A Powerful File And Directory Batch Renaming Tool
X
XUSE_PYTHON=		yes
X
XMAN1=          tren.1
XMANCOMPRESSED= yes
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for f in WHATSNEW.txt tren-license.txt tren.html tren.pdf tren.ps tren.rst
X	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
3a29a4669f3bd16d3a1e694e0d6e6bb1
echo x - tren/distinfo
sed 's/^X//' >tren/distinfo << '048a70343bcd960ba5dee61a2c97b231'
XMD5 (tren-1.217.tar.gz) = 0f75b4e0e7a0daab340fc826c8cb1b77
XSHA256 (tren-1.217.tar.gz) = 2e833bc7865408de97ff8cf79c2ab54d0b8f117d70fb9565802074825530dc20
XSIZE (tren-1.217.tar.gz) = 617317
048a70343bcd960ba5dee61a2c97b231
echo x - tren/pkg-descr
sed 's/^X//' >tren/pkg-descr << '2066a2c5f8cedbfeb2942b749003f0c4'
X'tren' is a general purpose file and directory renaming tool. Unlike
Xcommands like 'mv', 'tren' is particularly well suited for renaming
X*batches* of files and/or directories with a single command line
Xinvocation.  'tren' eliminates the tedium of having to script simpler
Xtools to provide higher-level renaming capabilities.
X
X'tren' is also adept at renaming only *part of an existing file or
Xdirectory name* either based on a literal string or a regular
Xexpression pattern.  You can replace any single, group, or all
Xinstances of a given string in a file or directory name.
X
X'tren' implements the idea of a *renaming token*.  These are special
Xnames you can embed in your renaming requests that represent things
Xlike the file's original name, its length, date of creation, and so
Xon.  There are even renaming tokens that will substitute the content
Xof any environment variable or the results of running a program from a
Xshell back into the new file name.
X
X'tren' can automatically generate *sequences* of file names based on
Xtheir dates, lengths, times within a given date, and so on.  In fact,
Xsequences can be generated on the basis of any of the file's 'stat'
Xinformation.  Sequence "numbers" can be ascending or descending and
Xthe count can start at any initial value.  Counting can take place in
Xone of several internally defined counting "alphabets" (decimal, hex,
Xoctal, alpha, etc.) OR you can define your own counting alphabet.
XThis allows you to create sequences in any base (2 or higher please :)
Xusing any symbol set for the count.
X
X'tren' is written in pure Python and requires Python version 2.6.x or
Xlater.  It is known to run on various Unix-like variants (FreeBSD,
XLinux, MacOS X) as well as Windows.  It will also take advantage of
X'win32all' Python extensions on a Windows system, if they are present.
2066a2c5f8cedbfeb2942b749003f0c4
echo x - tren/pkg-plist
sed 's/^X//' >tren/pkg-plist << '0bc1412a82a318362e3932fda14f2438'
Xbin/tren.py
X%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW.txt
X%%PORTDOCS%%%%DOCSDIR%%/tren-license.txt
X%%PORTDOCS%%%%DOCSDIR%%/tren.html
X%%PORTDOCS%%%%DOCSDIR%%/tren.pdf
X%%PORTDOCS%%%%DOCSDIR%%/tren.ps
X%%PORTDOCS%%%%DOCSDIR%%/tren.rst
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
0bc1412a82a318362e3932fda14f2438
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list