source: trunk/dports/perl/p5-datetime-format-strptime/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.8 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         DateTime-Format-Strptime 1.68
15license             Artistic-2
16maintainers         nomaintainer
17description         Parse and format strp and strf time patterns
18long_description    This module implements most of strptime(3), the \
19                    POSIX function that is the reverse of strftime(3), \
20                    for DateTime. While strftime takes a DateTime and a \
21                    pattern and returns a string, strptime takes a \
22                    string and a pattern and returns the DateTime \
23                    object associated.
24
25platforms           darwin
26
27checksums           rmd160  7962e4335c2f8ab0ef78d4401a9bf21650eb095a \
28                    sha256  d0f97e282b4de61390b5c3a498d3b9ee553f728c169c0845c6de02102d823929
29
30if {${perl5.major} != ""} {
31    depends_build-append \
32                    port:p${perl5.major}-test-fatal \
33                    port:p${perl5.major}-test-warnings
34
35    depends_lib-append \
36                    port:p${perl5.major}-datetime \
37                    port:p${perl5.major}-datetime-locale \
38                    port:p${perl5.major}-datetime-timezone \
39                    port:p${perl5.major}-package-deprecationmanager \
40                    port:p${perl5.major}-params-validate \
41                    port:p${perl5.major}-try-tiny
42
43    supported_archs noarch
44}
Note: See TracBrowser for help on using the repository browser.