[113156] trunk/dports/x11/tkdiff/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 10 18:32:23 PST 2013


Revision: 113156
          https://trac.macports.org/changeset/113156
Author:   ryandesign at macports.org
Date:     2013-11-10 18:32:23 -0800 (Sun, 10 Nov 2013)
Log Message:
-----------
tkdiff: update to 4.2 (#41291); rewrite master_sites to avoid redirects

Modified Paths:
--------------
    trunk/dports/x11/tkdiff/Portfile

Modified: trunk/dports/x11/tkdiff/Portfile
===================================================================
--- trunk/dports/x11/tkdiff/Portfile	2013-11-11 01:54:29 UTC (rev 113155)
+++ trunk/dports/x11/tkdiff/Portfile	2013-11-11 02:32:23 UTC (rev 113156)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			tkdiff
-version			4.1.4
+version             4.2
 categories		x11 devel
 license			GPL-2+
 platforms		darwin
@@ -17,15 +17,17 @@
 				navigation.
 
 homepage		http://tkdiff.sourceforge.net/
-master_sites	sourceforge
-distname		${distname}-unix
-checksums		md5 f904fbbb71ab2ab5390f747e6c1114ee \
-				sha1 b44386cde4ff46cff0ee563dd96d004fe8028943
+master_sites        sourceforge:project/tkdiff/tkdiff/${version}/
+worksrcdir          ${name}-unix
 
+checksums           rmd160  96bb5b6ebc004dc5247c0f7fbce4b20816af8024 \
+                    sha256  734bb417184c10072eb64e8d274245338e41b7fdeff661b5ef30e89f3e3aa357
+
 depends_run		port:tk
 
 configure {
 	reinplace "s|exec wish|exec ${prefix}/bin/wish|g" ${worksrcpath}/tkdiff
+    reinplace "s|4\.1\.4|${version}|g" ${worksrcpath}/README.txt
 }
 
 build	{}
@@ -33,6 +35,6 @@
 destroot {
 	xinstall -m 755 ${worksrcpath}/tkdiff ${destroot}${prefix}/bin
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
-	xinstall -m 644 -W ${worksrcpath} COPYING Changelog \
+    xinstall -m 644 -W ${worksrcpath} CHANGELOG.txt LICENSE.txt README.txt \
 		${destroot}${prefix}/share/doc/${name}/
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131110/4dcc6568/attachment-0001.html>


More information about the macports-changes mailing list