New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

root/trunk/dports/textproc/libxml2/Portfile

Revision 91036, 1.9 KB (checked in by jmr@…, 2 months ago)

libxml2: add locale to reinplace (#33660), remove archcheck portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem            1.0
4
5name                  libxml2
6version               2.7.8
7# skip to revision 3 if a rev bump is needed with version 2.7.8
8#revision              2
9categories            textproc
10description           gnome xml library
11platforms             darwin
12license               MIT
13maintainers           gmail.com:cedric.luthi
14homepage              http://xmlsoft.org/
15
16master_sites          ftp://fr.rpmfind.net/pub/libxml/ \
17                      ftp://gd.tuwien.ac.at/pub/libxml/ \
18                      ${homepage}sources/ \
19                      ftp://xmlsoft.org/${name}/
20
21checksums           md5     8127a65e8c3b08856093099b52599c86 \
22                    sha1    859dd535edbb851cc15b64740ee06551a7a17d40 \
23                    rmd160  30709622cfe3e2175e73d6701b7e19a25ab5ac47
24
25depends_lib           port:libiconv port:zlib
26
27post-extract {
28    reinplace -locale C "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.optflags -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.type  regex
63livecheck.url   ${homepage}news.html
64livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
Note: See TracBrowser for help on using the browser.