Revision
116541
Author
ryandesign@macports.org
Date
2014-01-27 21:37:15 -0800 (Mon, 27 Jan 2014)

Log Message

xfe: update to 1.37 and rewrite master_sites to avoid redirects (#41911; maintainer timeout)

Modified Paths

Diff

Modified: trunk/dports/x11/xfe/Portfile (116540 => 116541)


--- trunk/dports/x11/xfe/Portfile	2014-01-28 04:04:52 UTC (rev 116540)
+++ trunk/dports/x11/xfe/Portfile	2014-01-28 05:37:15 UTC (rev 116541)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name			xfe
-version			1.35
-revision		1
+version			1.37
 categories		x11
 platforms		darwin freebsd
 license			GPL-2+
@@ -20,21 +19,20 @@
 view/creation/extraction and much more.
 
 homepage 		http://roland65.free.fr/xfe/
-master_sites		sourceforge:xfe
+master_sites		sourceforge:project/xfe/xfe/${version}/
 
-checksums		sha1 9d5319cd11e3af24282bb8b789904fd2da33936c \
-			rmd160 5c33e3f3bd21a68829a69cd3871c1d8276a66d6f
+checksums		rmd160  de93e388c521adfad3996021b551f54a77729d2c \
+			sha256  4dbb2e24b18a63d78afd0219232f05cd7401370750e2db5f8fa70a6fef022abd
 
 depends_build		port:intltool
 
 depends_lib		port:fox port:libpng port:freetype
 
-patchfiles		patch-filepanel.diff
+post-patch {
+    reinplace "s|/usr/local/share|${prefix}/share|g" \
+        ${worksrcpath}/src/XFileExplorer.cpp \
+        ${worksrcpath}/src/xfedefs.h
+}
 
-post-configure		{
-				reinplace "s;/usr/local/share;${prefix}/share;" \
-				          ${worksrcpath}/src/xfedefs.h
-			}
-
 # Fix build with freetype 2.5.1+
 configure.args      ac_cv_header_freetype_config_ftheader_h=yes