mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
b850fa5d4d
Changes: 0.95 Tuesday 21 April 2015 - Some improvements in the POD documentation. - New time_zone parameter to sun_rise and sun_set. - New tests for fork-less systems - New tests to check for parameter checking 0.94 Tuesday 10 March 2015 - Fix typos in the POD documentation - Fix problem in the t/03dst.t test file. 0.93 Tuesday 3 March 2015 - Stylistic and kwalitee issues: license, distro structure, etc. - Fix ticket 62593 (patch from Slaven Rezic) - Parameters to sunrise can be passed by name (using a hashref) - The upper_limb is not longer hard-coded, it is now a parameter - The behaviour for polar day and polar night can change: no warning, but a special return value. - Make degree-trigonometric functions available for import.
23 lines
489 B
Makefile
23 lines
489 B
Makefile
# Created by: Anton Berezin <tobez@tobez.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Astro-Sunrise
|
|
PORTVERSION= 0.95
|
|
CATEGORIES= astro perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
COMMENT= Perl extension for computing the sunrise/sunset on a given day
|
|
|
|
BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure patch
|
|
|
|
post-patch:
|
|
${PERL} -pi -e 's/(qw\(.*)\[1\];/($$1)[1];/; s/\r\n/\n/;' \
|
|
${WRKSRC}/Sunrise.pm
|
|
|
|
.include <bsd.port.mk>
|