Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (37 sloc) 1.78 KB
# -*- 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
PortSystem 1.0
# BYTEORDER doesn't get defined during a normal universal build.
PortGroup muniversal 1.0
name expat
version 2.2.7
revision 0
checksums rmd160 69422879994f197d8b2fe613a7e24d50703f0188 \
sha256 cbc9102f4a31a8dafd42d642e9a3aa31e79a0aedaa1f6efd2795ebc83174ec18 \
size 524943
categories textproc devel
platforms darwin freebsd
maintainers {ryandesign @ryandesign} openmaintainer
license MIT
description XML 1.0 parser written in C
long_description Expat is an XML parser library written in C. It is a \
stream-oriented parser in which an application \
registers handlers for things the parser might find \
in the XML document (like start tags).
homepage http://www.libexpat.org/
master_sites sourceforge:project/${name}/${name}/${version}
use_bzip2 yes
configure.args --without-docbook
use_parallel_build yes
test.run yes
test.target check
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
set examplesdir ${destroot}${prefix}/share/examples/${name}
xinstall -m 0755 -d ${examplesdir} ${docdir}/html
xinstall -m 0644 -W ${worksrcpath} COPYING Changes README.md ${docdir}
xinstall -m 0644 -W ${worksrcpath}/doc expat.png reference.html style.css \
valid-xhtml10.png ${docdir}/html
xinstall -m 0644 -W ${worksrcpath}/examples elements.c outline.c \
${examplesdir}
}
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
You can’t perform that action at this time.