[127680] trunk/dports/textproc/libxml2/Portfile

larryv at macports.org larryv at macports.org
Fri Oct 31 20:10:36 PDT 2014


Revision: 127680
          https://trac.macports.org/changeset/127680
Author:   larryv at macports.org
Date:     2014-10-31 20:10:36 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
libxml2: Rearrange and reformat

Modified Paths:
--------------
    trunk/dports/textproc/libxml2/Portfile

Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile	2014-11-01 02:55:18 UTC (rev 127679)
+++ trunk/dports/textproc/libxml2/Portfile	2014-11-01 03:10:36 UTC (rev 127680)
@@ -8,26 +8,27 @@
 name                libxml2
 version             2.9.2
 categories          textproc
+platforms           darwin
+license             MIT
+maintainers         nomaintainer
+
 description         GNOME XML C parser and toolkit
 long_description    Libxml is the XML C library developed for the GNOMEproject.  \
                     XML itself is a metalanguage to design markup languages. \
                     Though the library is written in C, a variety of language bindings make it \
                     available in other environments.
-
-platforms           darwin
-license             MIT
-maintainers         nomaintainer
 homepage            http://xmlsoft.org/
 
+depends_lib         port:libiconv \
+                    port:xz \
+                    port:zlib
+
 master_sites        ftp://gd.tuwien.ac.at/pub/libxml/ \
                     ${homepage}sources/ \
                     ftp://xmlsoft.org/${name}/
-
 checksums           rmd160  969b4ed8782f455fd4a6ca1c1b4ffa7651090070 \
                     sha256  5178c30b151d044aefb1b08bf54c3003a0ac55c59c866763997529d60770d5bc
 
-depends_lib         port:libiconv port:zlib port:xz
-
 post-extract {
     reinplace -locale C "s|/etc|${prefix}/etc|g" \
         ${worksrcpath}/catalog.c \
@@ -50,10 +51,10 @@
 test.target         check
 
 variant debug description {Enable debug build} {
-    configure.optflags -O0 -g -Wno-uninitialized
-    configure.args-append --with-run-debug
+    configure.optflags      -O0 -g -Wno-uninitialized
+    configure.args-append   --with-run-debug
 }
 
-livecheck.type  regex
-livecheck.url   ${homepage}news.html
-livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
+livecheck.type      regex
+livecheck.url       ${homepage}news.html
+livecheck.regex     {<h3>(\d+(?:\.\d+)*): .*</h3>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/531572d5/attachment.html>


More information about the macports-changes mailing list