source: trunk/dports/textproc/libxml2/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem            1.0
4PortGroup             muniversal 1.0
5
6name                  libxml2
7version               2.7.3
8categories            textproc
9description           gnome xml library
10platforms             darwin
11maintainers           gmail.com:cedric.luthi
12homepage              http://xmlsoft.org/
13
14master_sites          ftp://fr.rpmfind.net/pub/libxml/ \
15                      ftp://gd.tuwien.ac.at/pub/libxml/ \
16                      ftp://ftp.planetmirror.com/pub/xmlsoft/ \
17                      gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/ \
18                      ${homepage}sources/ \
19                      ftp://xmlsoft.org/${name}/
20
21checksums           md5     8f4fda3969237c2a33bdb1583b5d06b2 \
22                    sha1    fd4e427fb55c977876bc74c0e552ef7d3d794a07 \
23                    rmd160  14018347531fd135366cee9fd9d760a1988546e2
24
25depends_lib           port:libiconv port:zlib
26
27post-extract {
28    reinplace "s|/etc|${prefix}/etc|g" \
29        ${worksrcpath}/catalog.c \
30        ${worksrcpath}/runtest.c \
31        ${worksrcpath}/xmlcatalog.c \
32        ${worksrcpath}/xmllint.c \
33        ${worksrcpath}/doc/xmlcatalog.1 \
34        ${worksrcpath}/doc/xmllint.1
35
36}
37
38configure.args          --enable-static \
39                        --without-python
40
41use_parallel_build      yes
42
43destroot.keepdirs       ${destroot}${prefix}/etc/xml
44post-destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/etc/xml
46}
47
48test.run              yes
49test.target           check
50
51variant debug description {Enable debug build} {
52        configure.cflags-append -O0 -g -Wno-uninitialized
53        configure.args-append --with-run-debug
54}
55
56long_description \
57Libxml is the XML C library developed for the Gnome project.  \
58XML itself is a metalanguage to design markup languages. \
59Though the library is written in C, a variety of language bindings make it \
60available in other environments.
61
62livecheck.check regex
63livecheck.url   ${homepage}news.html
64livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
Note: See TracBrowser for help on using the repository browser.