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

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

textproc/docbook-dsssl:

  • Maintainer timeout.
  • Use new xmlcatalog port group. Closes #43385
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 119781 2014-05-06 19:42:13Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xmlcatalog 1.0
6
7name            docbook-dsssl
8version         1.79
9revision        3
10categories      textproc
11license         MIT
12description     The docbook DSSSL stylesheets
13platforms       darwin
14maintainers     decibel.org:decibel
15supported_archs noarch
16master_sites    sourceforge:docbook
17homepage        http://docbook.sf.net/
18checksums       md5 8459913bbd8a5724a6fe4b9ed5bab5af
19use_configure   no
20
21set things_to_install "common contrib dtds frames html images lib olink print catalog VERSION"
22
23set install_dir ${prefix}/share/dsssl/${name}
24sgml.catalog "${install_dir}/catalog"
25
26build {}
27
28destroot {
29    # Docs
30    xinstall -m 755 -d ${destroot}${install_dir} \
31        ${destroot}${prefix}/share/doc/${name} \
32        ${destroot}${prefix}/share/${name}
33   
34    # bin
35    xinstall -m 755 -W ${worksrcpath} bin/collateindex.pl \
36        ${destroot}${prefix}/bin
37    # man
38    xinstall -m 644 -W ${worksrcpath} bin/collateindex.pl.1 \
39        ${destroot}${prefix}/share/man/man1
40
41    # everything else
42    xinstall -m 644 -W ${worksrcpath} BUGS ChangeLog README \
43        RELEASE-NOTES.html RELEASE-NOTES.xml RELEASE-NOTES.txt WhatsNew \
44        ${destroot}${prefix}/share/doc/${name}
45    foreach dirname $things_to_install {
46        file copy ${worksrcpath}/${dirname} ${destroot}${install_dir}
47    }
48}
Note: See TracBrowser for help on using the repository browser.