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

Last change on this file was 154393, checked in by mojca@…, 13 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.4 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
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         XML-SAX-Expat 0.51
15revision            1
16maintainers         khindenburg openmaintainer
17license             {Artistic-1 GPL}
18description         SAX2 Driver for Expat (XML::Parser)
19long_description    This is an implementation of a SAX2 driver \
20                    sitting on top of Expat (XML::Parser)
21
22platforms           darwin
23supported_archs     noarch
24
25checksums           rmd160  3c0a5975bcd3eed1a588edb7dce8f724d1e1bc6d \
26                    sha256  4c016213d0ce7db2c494e30086b59917b302db8c292dcd21f39deebd9780c83f
27
28if {${perl5.major} != ""} {
29    depends_lib-append \
30                    port:p${perl5.major}-xml-parser \
31                    port:p${perl5.major}-xml-sax \
32                    port:p${perl5.major}-xml-namespacesupport
33
34    post-activate {
35        system "${perl5.bin} -I${perl5.lib} -MXML::SAX -e \"XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()\""
36    }
37}
Note: See TracBrowser for help on using the repository browser.