ports/78772: New port: sysutils/detox cleans up filenames

Doug Harple dharple at nycap.rr.com
Sun Mar 13 10:00:16 UTC 2005


>Number:         78772
>Category:       ports
>Synopsis:       New port: sysutils/detox cleans up filenames
>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 Mar 13 10:00:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Doug Harple
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD iga 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Fri Feb 18 00:59:29 EST 2005 root at iga:/usr/src/sys/i386/compile/IGA-router i386


>Description:
        detox replaces spaces and other difficult to work with characters in
        filenames.  It can also translate ISO-8859-1 characters and UTF-8
        characters.

>How-To-Repeat:

>Fix:



--- detox-1.1.1-port.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:
#
#	detox
#	detox/Makefile
#	detox/pkg-descr
#	detox/pkg-plist
#	detox/distinfo
#	detox/pkg-message
#	detox/files
#	detox/files/patch-Makefile.in
#
echo c - detox
mkdir -p detox > /dev/null 2>&1
echo x - detox/Makefile
sed 's/^X//' >detox/Makefile << 'END-of-detox/Makefile'
X# New ports collection makefile for:	detox
X# Date created:		4 March 2005
X# Whom:			Doug Harple
X#
X# $FreeBSD$
X#
X
XPORTNAME=	detox
XPORTVERSION=	1.1.1
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	detox
X
XMAINTAINER=	purgedhalo at users.sourceforge.net
XCOMMENT=	Removes non-standard characters from filenames
X
XMAN1=		detox.1
XMAN5=		detoxrc.5 detox.tbl.5
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
X
Xpost-install:
X	@cat pkg-message
X
X.include <bsd.port.mk>
END-of-detox/Makefile
echo x - detox/pkg-descr
sed 's/^X//' >detox/pkg-descr << 'END-of-detox/pkg-descr'
XThis is a port of detox, which is a program that renames files to make them
Xeasier to work with under Unix and related operating systems.  Spaces and
Xvarious other unsafe characters (such as "$") get replaced with "_".  ISO
X8859-1 (Latin-1) characters can be replaced as well, as can UTF-8 characters.
X
XWWW: http://detox.sourceforge.net/
X
X- Doug Harple
Xpurgedhalo at users.sourceforge.net
END-of-detox/pkg-descr
echo x - detox/pkg-plist
sed 's/^X//' >detox/pkg-plist << 'END-of-detox/pkg-plist'
Xbin/detox
Xetc/detoxrc.sample
Xshare/detox/iso8859_1.tbl.sample
Xshare/detox/unicode.tbl.sample
X at dirrm share/detox
END-of-detox/pkg-plist
echo x - detox/distinfo
sed 's/^X//' >detox/distinfo << 'END-of-detox/distinfo'
XMD5 (detox-1.1.1.tar.bz2) = 1219f38e34e56186ff18b3c0aa12bb0d
XSIZE (detox-1.1.1.tar.bz2) = 53871
END-of-detox/distinfo
echo x - detox/pkg-message
sed 's/^X//' >detox/pkg-message << 'END-of-detox/pkg-message'
X
XThank you for checking out detox.  To fully configure detox, please create
Xworking copies of the .sample config file and translation tables, like this:
X
X$ cp -i ${PREFIX}/etc/detoxrc.sample ${PREFIX}/etc/detoxrc
X$ cp -i ${PREFIX}/share/detox/iso8859_1.tbl.sample ${PREFIX}/share/detox/iso8859_1.tbl
X$ cp -i ${PREFIX}/share/detox/unicode.tbl.sample ${PREFIX}/share/detox/unicode.tbl
X
END-of-detox/pkg-message
echo c - detox/files
mkdir -p detox/files > /dev/null 2>&1
echo x - detox/files/patch-Makefile.in
sed 's/^X//' >detox/files/patch-Makefile.in << 'END-of-detox/files/patch-Makefile.in'
X--- Makefile.in.orig	Sun Mar 13 02:25:54 2005
X+++ Makefile.in	Sun Mar 13 02:26:11 2005
X@@ -92,7 +92,7 @@
X # Actions
X #
X 
X-install: install-base install-safe-config install-sample-config
X+install: install-base install-sample-config
X 
X force-install: install-base install-unsafe-config install-sample-config
X 
END-of-detox/files/patch-Makefile.in
exit
--- detox-1.1.1-port.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list