[97266] trunk/dports/graphics/libwpg/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 1 15:23:03 PDT 2012


Revision: 97266
          https://trac.macports.org/changeset/97266
Author:   ryandesign at macports.org
Date:     2012-09-01 15:23:02 -0700 (Sat, 01 Sep 2012)
Log Message:
-----------
libwpg: update to 0.2.1 (#35919); fix license; use xz distfile; rewrite master_sites to avoid redirects; fix livecheck; disable -Werror to fix build with clang

Modified Paths:
--------------
    trunk/dports/graphics/libwpg/Portfile

Modified: trunk/dports/graphics/libwpg/Portfile
===================================================================
--- trunk/dports/graphics/libwpg/Portfile	2012-09-01 22:21:42 UTC (rev 97265)
+++ trunk/dports/graphics/libwpg/Portfile	2012-09-01 22:23:02 UTC (rev 97266)
@@ -4,13 +4,14 @@
 PortSystem              1.0
 
 name                    libwpg
-version                 0.1.3
-license                 LGPL-2
+version                 0.2.1
+license                 LGPL-2+
 categories              graphics
 maintainers             devans openmaintainer
 platforms               darwin
 homepage                http://libwpg.sourceforge.net/
-master_sites            sourceforge
+master_sites            sourceforge:project/libwpg/libwpg/libwpg-${version}
+use_xz                  yes
 
 description \
     Libwpg is a C++ library for reading and parsing graphics in WPG (Word Perfect Graphics) format.
@@ -19,9 +20,8 @@
     ${description} WPG is the format used among others in Corel software such as WordPerfect(tm) \
     and Presentations(tm).
 
-checksums               md5     db556b750bf3eac8481a4cc5e29e5af1 \
-                        sha1    6d350eb0ad57b97499ef8335506f172b0c21375a \
-                        rmd160  6e9e0545215af2ee05780887ad57ca1ae7ef78f5
+checksums               rmd160  03d75fef8fa46e73e7027afef775f0130b2b7809 \
+                        sha256  adc09c822337c16da8ef2ad7df9018019a126d6b17afe5961638cf9e49b70335
 
 depends_build \
     port:pkgconfig
@@ -29,5 +29,6 @@
 depends_lib \
     port:libwpd
 
-livecheck.url           http://sourceforge.net/projects/${name}/files/${name}
-livecheck.regex         "${name}-(0.1(?:\\.\\d+)*)"
+configure.args          --disable-werror
+
+livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120901/4be63aee/attachment-0001.html>


More information about the macports-changes mailing list