summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-05 15:56:34 +0000
committerrillig <rillig@pkgsrc.org>2007-11-05 15:56:34 +0000
commit61ac5daff5233271d512a18a40c10d2bbb7b33a3 (patch)
tree5d4c90ee7bf42fb425a5625f9f9c2e3f12438e4d /sysutils
parentf9398f2617a950c96821498b1827f1f07f75d2b0 (diff)
downloadpkgsrc-61ac5daff5233271d512a18a40c10d2bbb7b33a3.tar.gz
Imported rename from PR 37280.
Rename is a command-line rename tool. It can substitute, lowcase, upcase large numbers of file names, or change their ownerships. This is a quick and powerful tool written in C with extended regular expression support for searching and substituting pattern strings in filenames.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rename/DESCR5
-rw-r--r--sysutils/rename/Makefile15
-rw-r--r--sysutils/rename/PLIST3
-rw-r--r--sysutils/rename/distinfo6
-rw-r--r--sysutils/rename/patches/patch-aa15
5 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/rename/DESCR b/sysutils/rename/DESCR
new file mode 100644
index 00000000000..f1521819159
--- /dev/null
+++ b/sysutils/rename/DESCR
@@ -0,0 +1,5 @@
+Rename is a command-line rename tool. It can substitute, lowcase,
+upcase large numbers of file names, or change their ownerships.
+This is a quick and powerful tool written in C with extended regular
+expression support for searching and substituting pattern strings
+in filenames.
diff --git a/sysutils/rename/Makefile b/sysutils/rename/Makefile
new file mode 100644
index 00000000000..1414cd05221
--- /dev/null
+++ b/sysutils/rename/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/05 15:56:34 rillig Exp $
+
+DISTNAME= rename-1.3
+PKGREVISION= 1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rename/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://rename.sourceforge.net/
+COMMENT= Rename recursively with regex patterns
+
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/rename/PLIST b/sysutils/rename/PLIST
new file mode 100644
index 00000000000..2c8674ecc38
--- /dev/null
+++ b/sysutils/rename/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/05 15:56:34 rillig Exp $
+bin/rename
+man/man1/rename.1
diff --git a/sysutils/rename/distinfo b/sysutils/rename/distinfo
new file mode 100644
index 00000000000..8ec31d4ae86
--- /dev/null
+++ b/sysutils/rename/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/05 15:56:34 rillig Exp $
+
+SHA1 (rename-1.3.tar.gz) = 8d835e628aeb1f71816e092c0de57daf2519f43a
+RMD160 (rename-1.3.tar.gz) = 56bd0ebaabbf9aae1fb93a12ca1cf9fccee5c5ab
+Size (rename-1.3.tar.gz) = 83854 bytes
+SHA1 (patch-aa) = 5a287999d712b540964de5f447194c00160f8805
diff --git a/sysutils/rename/patches/patch-aa b/sysutils/rename/patches/patch-aa
new file mode 100644
index 00000000000..fc6a5e28aa5
--- /dev/null
+++ b/sysutils/rename/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/05 15:56:34 rillig Exp $
+
+--- Makefile.in.orig 2002-05-18 23:28:34.000000000 -0400
++++ Makefile.in 2007-11-04 19:42:05.000000000 -0500
+@@ -30,8 +30,8 @@
+ rm -f core rename *.o config.status config.cache config.h config.log Makefile
+
+ install:
+- install -o root -g root -m 0755 -s rename $(BINDIR)
+- install -o root -g root -m 0644 rename.1 $(MANDIR)
++ ${BSD_INSTALL_PROGRAM} rename $(BINDIR)
++ ${BSD_INSTALL_MAN} rename.1 $(MANDIR)
+
+ rename.o: rename.c rename.h
+ regex.o: regex.c regex.h