[82814] trunk/dports/sysutils/convmv

ryandesign at macports.org ryandesign at macports.org
Sat Aug 20 16:54:46 PDT 2011


Revision: 82814
          http://trac.macports.org/changeset/82814
Author:   ryandesign at macports.org
Date:     2011-08-20 16:54:46 -0700 (Sat, 20 Aug 2011)
Log Message:
-----------
convmv:

 * update to 1.15
 * update homepage and master_sites to avoid redirects to an https server with an invalid certificate
 * fix livecheck
 * indicate license

Modified Paths:
--------------
    trunk/dports/sysutils/convmv/Portfile
    trunk/dports/sysutils/convmv/files/patch-convmv.diff

Modified: trunk/dports/sysutils/convmv/Portfile
===================================================================
--- trunk/dports/sysutils/convmv/Portfile	2011-08-20 23:52:55 UTC (rev 82813)
+++ trunk/dports/sysutils/convmv/Portfile	2011-08-20 23:54:46 UTC (rev 82814)
@@ -3,11 +3,11 @@
 PortSystem 1.0
 
 name			convmv
-version			1.14
-revision		1
+version             1.15
 categories		sysutils perl
 platforms		darwin
 maintainers		nomaintainer
+license             GPL-2+
 supported_archs		noarch
 
 description		Convert filenames from one encoding to another
@@ -23,12 +23,11 @@
 			detect if certain files are UTF-8 encoded and will skip them by \
 			default. To turn this smartness off use the --nosmart switch.
 
-homepage		http://j3e.de/linux/convmv/man/
-master_sites	http://j3e.de/linux/convmv/
+homepage		http://www.j3e.de/linux/convmv/man/
+master_sites	http://www.j3e.de/linux/convmv/
 
-checksums		md5     d41238051c13b2e6c0cc2310a8f69d68 \
-				sha1    e6261eed4771014e84ffe68aac8041c02fb1834d \
-				rmd160  3b9c2a89dccad4d0361241a71d588f37450338b0
+checksums           rmd160  f92c74f93ed02c1c817a6e899f9be910ce6b362e \
+                    sha256  c315aec78490b588000467d1c51081b36e629de0537c5a17fd48b1acaf8a5135
 
 depends_lib		bin:perl:perl5
 
@@ -43,3 +42,6 @@
 		${destroot}${prefix}/share/doc/${name}
 }
 
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}

Modified: trunk/dports/sysutils/convmv/files/patch-convmv.diff
===================================================================
--- trunk/dports/sysutils/convmv/files/patch-convmv.diff	2011-08-20 23:52:55 UTC (rev 82813)
+++ trunk/dports/sysutils/convmv/files/patch-convmv.diff	2011-08-20 23:54:46 UTC (rev 82814)
@@ -1,19 +1,8 @@
---- convmv.orig	2008-12-11 18:38:34.000000000 -0600
-+++ convmv	2011-05-24 11:53:29.000000000 -0500
+--- convmv.orig	2011-08-20 16:22:34.000000000 -0500
++++ convmv	2011-08-20 18:49:09.000000000 -0500
 @@ -1,4 +1,4 @@
 -#!/usr/bin/perl
 +#!/usr/bin/env perl
- # convmv 1.14 - converts filenames from one encoding to another
- # Copyright © 2003-2008 Bjoern JACKE <bjoern at j3e.de>
+ # convmv 1.15 - converts filenames from one encoding to another
+ # Copyright © 2003-2011 Bjoern JACKE <bjoern at j3e.de>
  #
-@@ -577,10 +577,8 @@
- 	if (-e $newname and !$opt_exec) {
- 		if ($opt_replace and !&compare($oldfile,$newname)) {
- 			if ($opt_notest) {
--				unlink $newname or print $outerr "Error: $!\n";
- 				rename ($oldfile, $newname) or print $outerr "Error: $!\n";
- 			} elsif ($opt_parsable) {
--				print "unlink".$del.$dir."/".$oldfile.$fin_del;
- 				print "rename".$del.$dir."/".$oldfile.$del.$dir."/".$newname.$fin_del;
- 			}
- 		} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110820/f57d2702/attachment.html>


More information about the macports-changes mailing list