blob: e20b5f51ca3a0aac6b23fb5f2f23b157d36bb3a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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: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>
|