New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

root/trunk/dports/textproc/libxml2/Portfile

Revision 89743, 2.0 KB (checked in by jmr@…, 35 hours ago)

libxml2: revert revision to save some rebuilds

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