detox is a program that renames files to make them easier to work

with under Unix and related operating systems.  Spaces and various
other unsafe characters (such as "$") get replaced with "_".  ISO
8859-1 (Latin-1) characters can be replaced as well, as can UTF-8
characters.  More details are contained in the detox.1 man page.

ok dcoppa@, landry@ (6 months ago)
This commit is contained in:
kili 2011-06-30 21:00:29 +00:00
parent 8d09128154
commit 09ddf91c6a
4 changed files with 63 additions and 0 deletions

41
sysutils/detox/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD:
COMMENT = utility designed to clean up filenames
DISTNAME = detox-1.2.0
CATEGORIES = sysutils
HOMEPAGE = http://detox.sourceforge.net/
#BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=detox/}
EXTRACT_SUFX = .tar.bz2
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
NO_REGRESS = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/detox
${INSTALL_DATA_DIR} ${PREFIX}/share/detox
${INSTALL_PROGRAM} ${WRKBUILD}/detox ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/inline-detox ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/detox.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/detoxrc.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKBUILD}/detox.tbl.5 ${PREFIX}/man/man5
${INSTALL_DATA} ${WRKBUILD}/detoxrc ${PREFIX}/share/examples/detox
${INSTALL_DATA} ${WRKBUILD}/iso8859_1.tbl ${PREFIX}/share/detox
${INSTALL_DATA} ${WRKBUILD}/unicode.tbl ${PREFIX}/share/detox
.include <bsd.port.mk>

5
sysutils/detox/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (detox-1.2.0.tar.bz2) = 2jTGvDxozi+wCOJQZucpJw==
RMD160 (detox-1.2.0.tar.bz2) = AusaXrwo9vbgJNWLmYdY0VYAKnA=
SHA1 (detox-1.2.0.tar.bz2) = z7iKGt769O45M7r5plMMECuqR84=
SHA256 (detox-1.2.0.tar.bz2) = q/rZDufT4PxTzjudoyU/moAM3ZLj+MwSoZOUp7Hc2/g=
SIZE (detox-1.2.0.tar.bz2) = 86118

5
sysutils/detox/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
detox is a program that renames files to make them easier to work
with under Unix and related operating systems. Spaces and various
other unsafe characters (such as "$") get replaced with "_". ISO
8859-1 (Latin-1) characters can be replaced as well, as can UTF-8
characters. More details are contained in the detox.1 man page.

12
sysutils/detox/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/06/30 21:00:29 kili Exp $
@bin bin/detox
@bin bin/inline-detox
@man man/man1/detox.1
@man man/man5/detox.tbl.5
@man man/man5/detoxrc.5
share/detox/
share/detox/iso8859_1.tbl
share/detox/unicode.tbl
share/examples/detox/
share/examples/detox/detoxrc
@sample ${SYSCONFDIR}/detoxrc