source: trunk/dports/perl/p5-xml-sax-base/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.2 KB
Line 
1# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
2
3# This comment was inserted on 20160713 to force reindexing of
4# this port after the default homepage definition in the perl5
5# PortGroup was changed to use metacpan.org (r150080).
6# Reindexing is necessary for the new definition to take effect.
7# This comment may be removed in subsequent updates of this port.
8
9PortSystem          1.0
10PortGroup           perl5 1.0
11
12perl5.branches      5.24
13perl5.setup         XML-SAX-Base 1.08
14revision            2
15maintainers         khindenburg openmaintainer
16license             {Artistic-1 GPL}
17description         Base class SAX Drivers and Filters
18long_description    ${description}
19
20platforms           darwin
21
22checksums           rmd160  1ffa1558e1062aa47a229a2b5c5510ba708eea09 \
23                    sha256  666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e
24
25if {${perl5.major} != ""} {
26    pre-activate {
27        # XML::SAX::Exception moved to this port from p5-xml-sax
28        if {![catch {set vers [lindex [registry_active p${perl5.major}-xml-sax] 0]}]
29            && [vercmp [lindex $vers 1] 0.990] < 0} {
30            registry_deactivate_composite p${perl5.major}-xml-sax "" [list ports_nodepcheck 1]
31        }
32    }
33}
34                   
Note: See TracBrowser for help on using the repository browser.