source: trunk/dports/perl/p5-xml-sax/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 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.2 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 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         XML-SAX 0.99
9revision            2
10maintainers         khindenburg openmaintainer
11license             {Artistic-1 GPL}
12categories-append   textproc
13
14description         Perl extension for SAX XML parsers.
15long_description    XML::SAX consists of several framework classes \
16                    for using and building Perl SAX2 XML parsers, \
17                    filters, and drivers.
18
19platforms           darwin
20
21checksums           rmd160  2e787c5e66da37b99da239df541a3bf5b1c1be4f \
22                    sha256  32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6f5ad84
23
24if {${perl5.major} != ""} {
25depends_lib-append      port:p${perl5.major}-xml-namespacesupport \
26                    port:p${perl5.major}-xml-sax-base
27
28supported_archs noarch
29
30use_parallel_build      yes
31
32post-activate {
33    if {! [file isfile ${perl5.lib}/XML/SAX/ParserDetails.ini]} {
34        system [concat ${perl5.bin} {-MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"}]
35    }
36}
37}
Note: See TracBrowser for help on using the repository browser.