source: trunk/dports/perl/p5-uri/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.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=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         URI 1.71
15platforms           darwin
16maintainers         nomaintainer
17license             {Artistic-1 GPL}
18supported_archs     noarch
19
20description         Uniform Resource Identifiers (absolute and relative)
21
22long_description    This package contains the URI.pm module with friends. The module \
23                    implements the URI class. Objects of this class represent Uniform Resource \
24                    Identifier references as specified in RFC 2396 and updated by RFC 2732.
25
26checksums           rmd160  e74aa2ac7e2364732e41d76c395a485131669a35 \
27                    sha256  9c8eca0d7f39e74bbc14706293e653b699238eeb1a7690cc9c136fb8c2644115
28
29if {${perl5.major} != ""} {
30    depends_lib-append \
31                     port:p${perl5.major}-mime-base64
32
33    post-destroot {
34        set docdir ${prefix}/share/doc/${subport}
35        xinstall -d ${destroot}${docdir}
36        xinstall -m 644 -W ${worksrcpath} Changes README ${destroot}${docdir}
37    }
38}
Note: See TracBrowser for help on using the repository browser.