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

Last change on this file was 119129, checked in by pixilla@…, 3 years ago

textproc/docbook-xsl-ns:

  • Use new PortGroup xmlcatalog. See #41708
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 119129 2014-04-17 22:39:20Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xmlcatalog 1.0
6
7name            docbook-xsl-ns
8version         1.76.1
9revision        1
10categories      textproc
11license         MIT Permissive
12description     DocBook XSL NS (namespaced) Stylesheets
13long_description \
14    This package contains a release of XSL stylesheets for \
15    processing namespaced DocBook documents (DocBook 5 or \
16    later). The stylesheets are the same as the concurrent \
17    stylesheet release except that the templates match on \
18    elements in the DocBook namespace.
19platforms       darwin
20supported_archs noarch
21maintainers     nomaintainer
22master_sites    sourceforge:project/docbook/${name}/${version}
23homepage        http://docbook.sourceforge.net/
24depends_run     port:xmlcatmgr
25
26use_zip         yes
27
28checksums       md5     38a3361334ac3d135a851bcfa77beb0e \
29                sha1    8d2fa4a376f2caa018f668831279eacd03b4568e \
30                rmd160  c05c6e020b19e83c1fb4350953a1e1a193919832
31
32use_configure   no
33build           {}
34set srcxslpaths "catalog.xml common docsrc eclipse epub extensions fo \
35                highlighting html htmlhelp images javahelp lib manpages \
36                params profiling roundtrip slides template tools webhelp \
37                website xhtml xhtml-1_1 VERSION"
38set srcdocpaths "AUTHORS BUGS README RELEASE-NOTES.html RELEASE-NOTES.xml \
39                RELEASE-NOTES.pdf RELEASE-NOTES.txt TODO VERSION NEWS COPYING"
40set instxsldir  "share/xsl/${name}"
41set instdocdir  "share/doc/${name}"
42xml.catalog "${prefix}/${instxsldir}/catalog.xml"
43
44destroot {
45    foreach pathname "${instxsldir} ${instdocdir}" {
46        xinstall -m 755 -d ${destroot}${prefix}/${pathname}
47    }
48    foreach pathname ${srcxslpaths} {
49        copy ${worksrcpath}/${pathname} ${destroot}${prefix}/${instxsldir}
50    }
51    foreach pathname ${srcdocpaths} {
52        copy ${worksrcpath}/${pathname} ${destroot}${prefix}/${instdocdir}
53    }
54}
55
56livecheck.distname  ${name}
Note: See TracBrowser for help on using the repository browser.