source: trunk/dports/textproc/docbook-sgml-4.2/Portfile

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

textproc/docbook-sgml-4.2:

  • Maintainer timeout.
  • Use new xmlcatalog port group. Closes #43386
  • 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 119782 2014-05-06 19:50:37Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup xmlcatalog 1.0
6
7name            docbook-sgml-4.2
8version         [strsed ${name} {s/docbook-sgml-//}]
9revision        1
10description     Version ${version} of the DocBook SGML DTDs
11long_description \
12    Version ${version} of the DocBook SGML DTDs, which provide a structured,\
13    semantic markup format for books and documentation, especially for\
14    computer hardware and software.
15
16categories      textproc
17license         MIT Permissive
18platforms       darwin
19maintainers     phlo.org:fgp
20supported_archs noarch
21homepage        http://www.docbook.org/sgml/${version}/
22
23depends_lib     port:iso8879
24depends_run     port:docbook-dsssl
25
26master_sites    http://www.oasis-open.org/docbook/sgml/${version}/
27distname        docbook-${version}
28worksrcdir      ${distname}
29
30checksums       rmd160  f97bf5c595f1f28d0bb4be6549b27f701da7c9f8 \
31                sha256  67ebd2c94b342718c6865d2de60f5d4ff02d77a7e4b0d9e72a48c45f2b2635c3
32
33use_zip         yes
34extract.mkdir   yes
35
36use_configure   no
37
38set install_dir ${prefix}/share/sgml/docbook/${version}
39sgml.catalog "${install_dir}/docbook.cat"
40
41build {}
42
43destroot {
44    set destroot_dir    ${destroot}${install_dir}
45    set destroot_files  [readdir ${worksrcpath}]
46    xinstall -m 755 -d ${destroot_dir}
47    foreach file ${destroot_files} {
48        copy ${worksrcpath}/${file} ${destroot_dir}
49    }
50}
Note: See TracBrowser for help on using the repository browser.