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

devans at macports.org devans at macports.org
Mon Oct 20 06:19:43 PDT 2014


Revision: 127062
          https://trac.macports.org/changeset/127062
Author:   devans at macports.org
Date:     2014-10-20 06:19:43 -0700 (Mon, 20 Oct 2014)
Log Message:
-----------
libxml2: add mode line and retab accordingly, update description.

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

Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile	2014-10-20 12:50:51 UTC (rev 127061)
+++ trunk/dports/textproc/libxml2/Portfile	2014-10-20 13:19:43 UTC (rev 127062)
@@ -1,28 +1,34 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem            1.0
+PortSystem          1.0
 
 # Please keep the version of the libxml2 and py-libxml2 ports the same.
 
-name                  libxml2
-version               2.9.1
-categories            textproc
-description           gnome xml library
-platforms             darwin
-license               MIT
-maintainers           nomaintainer
-homepage              http://xmlsoft.org/
+name                libxml2
+version             2.9.1
+categories          textproc
+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.
 
-master_sites          ftp://fr.rpmfind.net/pub/libxml/ \
-                      ftp://gd.tuwien.ac.at/pub/libxml/ \
-                      ${homepage}sources/ \
-                      ftp://xmlsoft.org/${name}/
+platforms           darwin
+license             MIT
+maintainers         nomaintainer
+homepage            http://xmlsoft.org/
 
-checksums             rmd160  257285d9ac070ed9f58666b7bd7c4653651c871b \
-                      sha256  fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb
+master_sites        ftp://fr.rpmfind.net/pub/libxml/ \
+                    ftp://gd.tuwien.ac.at/pub/libxml/ \
+                    ${homepage}sources/ \
+                    ftp://xmlsoft.org/${name}/
 
-depends_lib           port:libiconv port:zlib port:xz
+checksums           rmd160  257285d9ac070ed9f58666b7bd7c4653651c871b \
+                    sha256  fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb
 
+depends_lib         port:libiconv port:zlib port:xz
+
 post-extract {
     reinplace -locale C "s|/etc|${prefix}/etc|g" \
         ${worksrcpath}/catalog.c \
@@ -33,30 +39,22 @@
         ${worksrcpath}/doc/xmllint.1
 }
 
-configure.args          --enable-static \
-                        --without-python
+configure.args      --enable-static \
+                    --without-python
 
-use_parallel_build      yes
-
-destroot.keepdirs       ${destroot}${prefix}/etc/xml
+destroot.keepdirs   ${destroot}${prefix}/etc/xml
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/etc/xml
 }
 
-test.run              yes
-test.target           check
+test.run            yes
+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
 }
 
-long_description \
-Libxml is the XML C library developed for the Gnome project.  \
-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.
-
 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/20141020/805865a7/attachment-0001.html>


More information about the macports-changes mailing list