1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup perl5 1.0 |
---|
5 | |
---|
6 | perl5.setup Time-Period 1.20 |
---|
7 | maintainers behanna.org:chris |
---|
8 | description Determine if a time is within the next specified period. |
---|
9 | |
---|
10 | homepage http://search.cpan.org/~pryan/Period-${version}/Period.pm |
---|
11 | master_sites http://search.cpan.org/CPAN/authors/id/P/PR/PRYAN/ |
---|
12 | |
---|
13 | long_description \ |
---|
14 | {Time::Period is a module that provides the inPeriod method, which takes \ |
---|
15 | an argument of a time and a delta from the current time, and returns true \ |
---|
16 | if the time is within now + delta, false otherwise. It is used for \ |
---|
17 | firing scheduled events--backups, expiration of backups, etc.} |
---|
18 | |
---|
19 | platforms darwin freebsd |
---|
20 | |
---|
21 | distfiles Period-${version}${extract.suffix} |
---|
22 | |
---|
23 | checksums md5 63b073af8ec96e7fa48801cd6fcccdd1 \ |
---|
24 | sha1 98d324e9858debfa918d60892600650230a86e87 \ |
---|
25 | rmd160 4439c41e6f18498fd768f2bb0a44f75510284fa3 |
---|
26 | |
---|
27 | # |
---|
28 | # We have to hack around the non-standard distfile name. |
---|
29 | # |
---|
30 | post-extract { |
---|
31 | file rename "${workpath}/Period-${version}" "${worksrcpath}" |
---|
32 | } |
---|
33 | |
---|