source: trunk/dports/perl/p5-template-toolkit/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Template-Toolkit 2.26
9
10license             {Artistic-1 GPL}
11maintainers         nomaintainer
12platforms           darwin
13
14description         Template processing system modules
15
16long_description    The Template Toolkit is a collection of modules \
17                    which implement a fast, flexible, powerful and \
18                    extensible template processing system. It was \
19                    originally designed and remains primarily useful \
20                    for generating dynamic web content, but it can \
21                    be used equally well for processing any other \
22                    kind of text based documents: HTML, XML, POD, \
23                    PostScript, LaTeX, and so on.
24
25homepage            http://www.template-toolkit.org/
26
27checksums           rmd160  53c45d92a6d54b5995464ecf92adc845e056c00b \
28                    sha256  e7e1cf36026f1ef96d8233e18a3fb39e1eafe9109edc639ecf25b20651cd76be
29
30if {${perl5.major} != ""} {
31    depends_build-append \
32                    port:p${perl5.major}-cgi \
33                    port:p${perl5.major}-image-info
34
35    depends_lib-append \
36                    port:p${perl5.major}-appconfig \
37                    port:p${perl5.major}-test-leaktrace
38
39                    configure.post_args \
40                        TT_PREFIX=${prefix}/share/tt2 \
41                        TT_ACCEPT=y \
42                        TT_QUIET=y
43
44    post-destroot {
45        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
46        xinstall -m 644 -W ${worksrcpath} INSTALL README \
47            ${destroot}${prefix}/share/doc/${subport}
48    }
49}
Note: See TracBrowser for help on using the repository browser.