source: trunk/dports/textproc/docbook-xsl/Portfile

Last change on this file was 144474, checked in by khindenburg@…, 21 months ago

docbook-xsl: update to 1.79.1 #50256

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 144474 2016-01-09 21:56:58Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xmlcatalog 1.0
6
7name            docbook-xsl
8version         1.79.1
9categories      textproc
10license         MIT Permissive
11description     The docbook xsl stylesheets
12long_description \
13    The DocBook XSL stylesheets are the official stylesheets for transforming\
14    DocBook XML documents into other document formats via XSLT.
15platforms       darwin
16maintainers     nomaintainer
17master_sites    sourceforge:docbook
18homepage        http://docbook.sourceforge.net/
19depends_run     port:xmlcatmgr
20
21use_bzip2       yes
22
23distfiles-append \
24                ${name}-doc-${version}${extract.suffix}
25
26checksums       ${distname}${extract.suffix} \
27                sha1    7487b2acc7106253bb77fcddc7e1a9788601ad23 \
28                rmd160  3859fa52e38e4719037a213034c6f19cb6331968 \
29                ${name}-doc-${version}${extract.suffix} \
30                sha1    4c7b36380dc519097614e948ef78487dacea7d2c \
31                rmd160  314c815ce7b0cbf2d10a9cdfc07c8ec69df684b4
32
33supported_archs noarch
34use_configure   no
35build           {}
36set srcxslpaths "assembly catalog.xml common eclipse epub epub3 extensions fo \
37                highlighting html htmlhelp images javahelp lib manpages params \
38                profiling roundtrip slides template tools webhelp website \
39                xhtml xhtml-1_1 xhtml5 \
40                VERSION VERSION.xsl"
41set srcdocpaths "AUTHORS BUGS README RELEASE-NOTES.html RELEASE-NOTES.txt \
42                TODO VERSION NEWS COPYING doc"
43set instxsldir  "share/xsl/${name}"
44set instdocdir  "share/doc/${name}"
45
46xml.catalog "${prefix}/${instxsldir}/catalog.xml"
47
48destroot {
49    foreach pathname "${instxsldir} ${instdocdir}" {
50        xinstall -m 755 -d ${destroot}${prefix}/${pathname}
51    }
52    foreach pathname ${srcxslpaths} {
53        copy ${worksrcpath}/${pathname} ${destroot}${prefix}/${instxsldir}
54    }
55    foreach pathname ${srcdocpaths} {
56        copy ${worksrcpath}/${pathname} ${destroot}${prefix}/${instdocdir}
57    }
58}
59
60if {${registry.format} == "receipt_flat"} {
61    notes \
62"######################################################################
63# As the flat registry format does not support post-deactivate hooks,
64# you will need to ensure that you manually remove the catalog
65# entry for this port when you uninstall it.  To do so, run
66# \"xmlcatmgr remove nextCatalog ${prefix}/${instxsldir}/catalog.xml\".
67######################################################################"
68}
69
70livecheck.url       http://docbook.sourceforge.net/release/xsl/
71livecheck.regex "=\"(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.