source: trunk/dports/perl/p5-error/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.6 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         Error 0.17024
15license             {Artistic-1 GPL}
16maintainers         khindenburg openmaintainer
17description         Error/exception handling in an OO-ish way
18long_description    The Error package provides two interfaces.  Firstly \
19                    Error provides a procedural interface to exception \
20                    handling. Secondly Error is a  base class for \
21                    errors/exeptions that can either be thrown, for \
22                    subsequent catch, or can simply be recorded.
23platforms           darwin
24
25checksums           rmd160  55deff0f0ab5853ade702b8e3ecbb3e9b07e337d \
26                    sha256  074db7c783a67b0667eca64a4f6a0c3de94998afc92c01d6453163eb04b9150d
27
28if {${perl5.major} != ""} {
29post-destroot {
30    set docdir ${prefix}/share/doc/${subport}
31    xinstall -d ${destroot}${docdir}
32    xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
33
34    set examplesdir ${prefix}/share/examples/${subport}
35    xinstall -d ${destroot}[file dirname ${examplesdir}]
36    copy ${worksrcpath}/examples ${destroot}${examplesdir}
37}
38
39supported_archs noarch
40}
Note: See TracBrowser for help on using the repository browser.