diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-03-13 21:24:10 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-03-13 21:24:10 +0000 |
commit | 2417b24ccd4fd6d934f36c6adc976d0b2d238594 (patch) | |
tree | 501ae1ad1b8a189b1c60595e5a54c6872d4f1db4 | |
parent | Fix configure on 4.x. (diff) |
- Add detox 1.1.1, a program that renames files to make them
easier to work with under Unix and related operating systems.
PR: ports/78772
Submitted by: Doug Harple <dharple@nycap.rr.com>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/detox/Makefile | 22 | ||||
-rw-r--r-- | sysutils/detox/distinfo | 2 | ||||
-rw-r--r-- | sysutils/detox/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/detox/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/detox/pkg-plist | 11 |
6 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 9704c033b40e..dffe6129d975 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -92,6 +92,7 @@ SUBDIR += dcfldd SUBDIR += deleted SUBDIR += detach + SUBDIR += detox SUBDIR += di SUBDIR += dim SUBDIR += dirdiff diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile new file mode 100644 index 000000000000..4a2f0331e1f0 --- /dev/null +++ b/sysutils/detox/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: detox +# Date created: 4 March 2005 +# Whom: Doug Harple +# +# $FreeBSD$ +# + +PORTNAME= detox +PORTVERSION= 1.1.1 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= purgedhalo@users.sourceforge.net +COMMENT= Removes non-standard characters from filenames + +MAN1= detox.1 +MAN5= detoxrc.5 detox.tbl.5 +USE_BZIP2= yes +GNU_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/sysutils/detox/distinfo b/sysutils/detox/distinfo new file mode 100644 index 000000000000..e1ad4746dd44 --- /dev/null +++ b/sysutils/detox/distinfo @@ -0,0 +1,2 @@ +MD5 (detox-1.1.1.tar.bz2) = 1219f38e34e56186ff18b3c0aa12bb0d +SIZE (detox-1.1.1.tar.bz2) = 53871 diff --git a/sysutils/detox/files/patch-Makefile.in b/sysutils/detox/files/patch-Makefile.in new file mode 100644 index 000000000000..d8cb7f1aa361 --- /dev/null +++ b/sysutils/detox/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Mar 13 02:25:54 2005 ++++ Makefile.in Sun Mar 13 02:26:11 2005 +@@ -92,7 +92,7 @@ + # Actions + # + +-install: install-base install-safe-config install-sample-config ++install: install-base install-sample-config + + force-install: install-base install-unsafe-config install-sample-config + diff --git a/sysutils/detox/pkg-descr b/sysutils/detox/pkg-descr new file mode 100644 index 000000000000..372ddb5447fb --- /dev/null +++ b/sysutils/detox/pkg-descr @@ -0,0 +1,9 @@ +This is a port of detox, which 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. + +WWW: http://detox.sourceforge.net/ + +- Doug Harple +purgedhalo@users.sourceforge.net diff --git a/sysutils/detox/pkg-plist b/sysutils/detox/pkg-plist new file mode 100644 index 000000000000..06f76ea3919a --- /dev/null +++ b/sysutils/detox/pkg-plist @@ -0,0 +1,11 @@ +bin/detox +@unexec if cmp -s %D/etc/detoxrc %D/etc/detoxrc.sample; then rm -f %D/etc/detoxrc; fi +etc/detoxrc.sample +@exec [ -f %D/etc/detoxrc ] || cp %B/%f %D/etc/detoxrc +@unexec if cmp -s %D/%%DATADIR%%/iso8859_1.tbl %D/%%DATADIR%%/iso8859_1.tbl.sample; then rm -f %D/%%DATADIR%%/iso8859_1.tbl; fi +%%DATADIR%%/iso8859_1.tbl.sample +@exec [ -f %D/%%DATADIR%%/iso8859_1.tbl ] || cp %B/%f %D/%%DATADIR%%/iso8859_1.tbl +@unexec if cmp -s %D/%%DATADIR%%/unicode.tbl %D/%%DATADIR%%/unicode.tbl.sample; then rm -f %D/%%DATADIR%%/unicode.tbl; fi +%%DATADIR%%/unicode.tbl.sample +@exec [ -f %D/%%DATADIR%%/unicode.tbl ] || cp %B/%f %D/%%DATADIR%%/unicode.tbl +@dirrm share/detox |