summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-11-21 14:00:50 +0000
committerpi <pi@FreeBSD.org>2015-11-21 14:00:50 +0000
commit209812b2d10cca6f053bc79938259579c8898fdd (patch)
treec3618f2544b80cdbc05525c3806c805ad17acc11
parentf9d1ebf6db4c9321c07bebdcafd661595431f7b6 (diff)
downloadFreeBSD-ports-209812b2d10cca6f053bc79938259579c8898fdd.zip
FreeBSD-ports-209812b2d10cca6f053bc79938259579c8898fdd.tar.gz
sysutils/rename: unbreak, new distsite
PR: 204498 Submitted by: matthew@reztek.cz
-rw-r--r--sysutils/rename/Makefile8
-rw-r--r--sysutils/rename/distinfo4
-rw-r--r--sysutils/rename/files/patch-Makefile.in8
-rw-r--r--sysutils/rename/files/patch-rename.c8
-rw-r--r--sysutils/rename/pkg-descr2
5 files changed, 12 insertions, 18 deletions
diff --git a/sysutils/rename/Makefile b/sysutils/rename/Makefile
index 504a751..996f508 100644
--- a/sysutils/rename/Makefile
+++ b/sysutils/rename/Makefile
@@ -5,20 +5,14 @@ PORTNAME= rename
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://mirror2.unixfreunde.de/ \
- http://freebsd.unixfreunde.de/sources/
+MASTER_SITES= http://rename.sourceforge.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Rename multiple files using regular expressions
-BROKEN= unfetchable
-
GNU_CONFIGURE= yes
USES= gmake
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-post-extract:
- @${RM} -f ${WRKSRC}/config.cache
-
.include <bsd.port.mk>
diff --git a/sysutils/rename/distinfo b/sysutils/rename/distinfo
index 47162bb..7db483c 100644
--- a/sysutils/rename/distinfo
+++ b/sysutils/rename/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rename-1.3.tar.gz) = d6b706344c9d89d225e51cc261ae973903a41bdbf971b6f4b3ad0d48415ee67a
-SIZE (rename-1.3.tar.gz) = 88118
+SHA256 (rename-1.3.tar.gz) = 02aed28f46b22213490a94b8490ee2a84b12c0962db33b4ea88c8c67a7adb8f4
+SIZE (rename-1.3.tar.gz) = 83854
diff --git a/sysutils/rename/files/patch-Makefile.in b/sysutils/rename/files/patch-Makefile.in
index b95a5cc..07ed17c 100644
--- a/sysutils/rename/files/patch-Makefile.in
+++ b/sysutils/rename/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2005-07-12 10:27:47.000000000 +0800
-+++ Makefile.in 2014-06-28 01:02:55.654057074 +0800
+--- Makefile.in.orig 2002-05-19 03:28:34 UTC
++++ Makefile.in
@@ -8,7 +8,7 @@ BINDIR = @prefix@/bin
MANDIR = @prefix@/man/man1
@@ -22,8 +22,8 @@
rm -f core rename *.o config.status config.cache config.h config.log Makefile
install:
-- install -o root -g wheel -m 0755 -s rename $(BINDIR)
-- install -o root -g wheel -m 0644 rename.1 $(MANDIR)
+- install -o root -g root -m 0755 -s rename $(BINDIR)
+- install -o root -g root -m 0644 rename.1 $(MANDIR)
-
+ $(BSD_INSTALL_PROGRAM) rename $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_MAN) rename.1 $(DESTDIR)$(MANDIR)
diff --git a/sysutils/rename/files/patch-rename.c b/sysutils/rename/files/patch-rename.c
index 17a74c2..d167ce2 100644
--- a/sysutils/rename/files/patch-rename.c
+++ b/sysutils/rename/files/patch-rename.c
@@ -1,5 +1,5 @@
---- ./rename.c.orig 2002-05-20 11:50:50.000000000 -0400
-+++ ./rename.c 2011-03-13 05:05:52.000000000 -0400
+--- rename.c.orig 2002-05-20 15:50:50 UTC
++++ rename.c
@@ -65,7 +65,7 @@
#if HAVE_REGEX_H
@@ -9,7 +9,7 @@
#include "regex.h"
#endif
-@@ -608,7 +608,7 @@
+@@ -608,7 +608,7 @@ int do_rename(char *oldp, char *newp)
skip:
if (attr & MOD_VERBO)
@@ -18,7 +18,7 @@
return rs;
}
-@@ -659,6 +659,6 @@
+@@ -659,6 +659,6 @@ Report bugs to <xuming@bigfoot.com>.\n";
if (mode)
printf(version, VERSION);
else
diff --git a/sysutils/rename/pkg-descr b/sysutils/rename/pkg-descr
index 3ae13d8..b2f8d1d 100644
--- a/sysutils/rename/pkg-descr
+++ b/sysutils/rename/pkg-descr
@@ -4,4 +4,4 @@ expression support for searching and substituting pattern strings in filenames.
Rename can rename, convert to lowercase/uppercase, and change the ownership of
a large number of files.
-WWW: http://rename.berlios.de/
+WWW: http://rename.sourceforge.net/
OpenPOWER on IntegriCloud