# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
description gnome xslt library and xsltproc
Libxslt is the XSLT C library developed for the Gnome project. \
XSLT itself is a an XML language to define transformation for XML. \
Libxslt is based on libxml2 the XML C library developed for the Gnome project. \
It also implements most of the EXSLT set of processor-portable extensions \
functions and some of Saxon's evaluate and expressions extensions.
homepage http://xmlsoft.org/XSLT/
master_sites http://xmlsoft.org/sources/ \
ftp://xmlsoft.org/libxslt/ \
ftp://fr.rpmfind.net/pub/libxml/ \
ftp://gd.tuwien.ac.at/pub/libxml/
# gnome mirrors only have up to 1.1.22, ticket #17737
# gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
checksums rmd160 fc65b2730625eca4e9fda62fd9a91210b2bee368 \
sha256 526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460
configure.args --mandir=${prefix}/share/man \
--with-libxml-prefix=${prefix} \
if {${name} eq ${subport}} {
depends_lib-append port:libiconv \
reinplace s|need_relink=yes|need_relink=no| ${worksrcpath}/ltmain.sh
if {![variant_isset doc]} {
reinplace -E "/^install-data-am:/s|install-data-local||" ${worksrcpath}/doc/Makefile.in
reinplace -E "/^all-local:/s|web||" ${worksrcpath}/doc/Makefile.in
fs-traverse -depth f $worksrcpath {
if {[file isdirectory $f] && [file tail $f] eq ".libs"} {