# -*- 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 # $Id$ PortSystem 1.0 name xml2rfc version 1.36 categories textproc platforms darwin license BSD maintainers nomaintainer supported_archs noarch description RFC formatting utility using XML source long_description \ xml2rfc is a tool for creating Internet-Drafts and RFCs \ using the format described in RFC 2629. homepage http://xml.resource.org/ master_sites http://xml.resource.org/authoring/ extract.suffix .tgz checksums rmd160 4e9a76b0419443a9368854924ef364676b7d831c \ sha256 eb1c59597fcb40575bf56e2d04e1c8d7e1b3e965c32e20801354d7404e1f270c depends_build bin:unzip:unzip patchfiles fast-sync.sh.diff \ patch-example.xml.diff use_configure no destroot { xinstall -m 755 ${worksrcpath}/xml2rfc.tcl \ ${destroot}${prefix}/bin/xml2rfc system "ln -s xml2rfc ${destroot}${prefix}/bin/xml2html; \ ln -s xml2rfc ${destroot}${prefix}/bin/xml2txt; \ ln -s xml2rfc ${destroot}${prefix}/bin/xml2nroff" xinstall -d ${destroot}${prefix}/share/doc/xml2rfc foreach file [glob -directory ${worksrcpath} \ "README.*" "draft-mrose-writing-rfcs.*" "rfc2629.*" \ "*.ent" "sample.*"] { xinstall -m 644 ${file} \ ${destroot}${prefix}/share/doc/xml2rfc/ } xinstall -d ${destroot}${prefix}/share/xsl/xml2rfc } livecheck.type regex livecheck.url [lindex $master_sites 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}