diff options
author | minskim <minskim@pkgsrc.org> | 2005-12-01 03:32:03 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-12-01 03:32:03 +0000 |
commit | 10a6064f335b4ba6abb403f8b9bd2c756d7277ef (patch) | |
tree | acc3de1648d88aff9e256a55f678353dad213318 /sysutils | |
parent | 2f72a5986e58648c0c03f6b13b131d94634afa23 (diff) | |
download | pkgsrc-10a6064f335b4ba6abb403f8b9bd2c756d7277ef.tar.gz |
Import detox from pkgsrc-wip. Packaged by Bartosz Kuzma.
Detox is a utility designed to clean up filenames. It replaces
difficult to work with characters, such as spaces, with standard
equivalents. It will also clean up filenames with UTF-8 or Latin-1
(or CP-1252) characters in them.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/detox/DESCR | 4 | ||||
-rw-r--r-- | sysutils/detox/Makefile | 25 | ||||
-rw-r--r-- | sysutils/detox/PLIST | 10 | ||||
-rw-r--r-- | sysutils/detox/distinfo | 6 | ||||
-rw-r--r-- | sysutils/detox/patches/patch-aa | 13 |
5 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/detox/DESCR b/sysutils/detox/DESCR new file mode 100644 index 00000000000..22c6562dd0c --- /dev/null +++ b/sysutils/detox/DESCR @@ -0,0 +1,4 @@ +Detox is a utility designed to clean up filenames. It replaces +difficult to work with characters, such as spaces, with standard +equivalents. It will also clean up filenames with UTF-8 or Latin-1 +(or CP-1252) characters in them. diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile new file mode 100644 index 00000000000..a5aadfa63ec --- /dev/null +++ b/sysutils/detox/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $ +# + +DISTNAME= detox-1.2.0-rc1 +PKGNAME= ${DISTNAME:S/-rc/rc} +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=detox/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= bartosz@atom.eu.org +HOMEPAGE= http://detox.sourceforge.net/ +COMMENT= Removes non-standard characters from filenames + +GNU_CONFIGURE= yes +INSTALL_TARGET= install-base install-unsafe-config + +USE_PKGINSTALL= yes +EGDIR= ${PREFIX}/share/examples/detox +CONF_FILES= ${EGDIR}/detoxrc ${PKG_SYSCONFDIR}/detoxrc + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/detoxrc ${EGDIR}/detoxrc + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/detox/PLIST b/sysutils/detox/PLIST new file mode 100644 index 00000000000..eb49677b125 --- /dev/null +++ b/sysutils/detox/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $ +bin/detox +man/man1/detox.1 +man/man5/detox.tbl.5 +man/man5/detoxrc.5 +share/detox/iso8859_1.tbl +share/detox/unicode.tbl +share/examples/detox/detoxrc +@dirrm share/examples/detox +@dirrm share/detox diff --git a/sysutils/detox/distinfo b/sysutils/detox/distinfo new file mode 100644 index 00000000000..d6bdcaebb9a --- /dev/null +++ b/sysutils/detox/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $ + +SHA1 (detox-1.2.0-rc1.tar.bz2) = d48025bf0e7a427b42c8411f575d1b0479d86017 +RMD160 (detox-1.2.0-rc1.tar.bz2) = 31fa2ef1c58b8710e11590e7a12bd7184d7b96af +Size (detox-1.2.0-rc1.tar.bz2) = 74289 bytes +SHA1 (patch-aa) = 31eca361d838b78642873c380ebf497483790cdb diff --git a/sysutils/detox/patches/patch-aa b/sysutils/detox/patches/patch-aa new file mode 100644 index 00000000000..765b26c76ba --- /dev/null +++ b/sysutils/detox/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $ + +--- Makefile.in.orig 2005-08-28 07:46:30.000000000 +0200 ++++ Makefile.in +@@ -124,7 +124,7 @@ install-safe-config: + fi + + install-unsafe-config: +- ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir} ++# ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir} + ${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox + ${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox + |