source: trunk/dports/textproc/expat/Portfile

Last change on this file was 149497, checked in by ryandesign@…, 15 months ago

expat: update to 2.2.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 149497 2016-06-23 01:46:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                expat
7version             2.2.0
8categories          textproc devel
9platforms           darwin freebsd
10maintainers         ryandesign openmaintainer
11license             MIT
12
13description         XML 1.0 parser written in C
14
15long_description    Expat is an XML parser library written in C. It is a \
16                    stream-oriented parser in which an application \
17                    registers handlers for things the parser might find \
18                    in the XML document (like start tags).
19                   
20homepage            http://www.libexpat.org/
21master_sites        sourceforge:project/${name}/${name}/${version}
22
23checksums           rmd160  fb4ff9f78c8f09019f571758f8d559a3c640002f \
24                    sha256  d9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff
25
26use_bzip2           yes
27use_parallel_build  yes
28
29test.run            yes
30test.target         check
31
32post-destroot {
33    set docdir ${destroot}${prefix}/share/doc/${name}
34    set examplesdir ${destroot}${prefix}/share/examples/${name}
35    xinstall -m 0755 -d ${examplesdir} ${docdir}/html
36   
37    xinstall -m 0644 -W ${worksrcpath} COPYING Changes README ${docdir}
38    xinstall -m 0644 {*}[glob ${worksrcpath}/doc/*] ${docdir}/html
39   
40    xinstall -m 0644 -W ${worksrcpath}/examples elements.c outline.c \
41        ${examplesdir}
42}
43
44livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.