summaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-Sunrise/Makefile
blob: fa9a464139a4d20eaf47d42aa29ebd0251f5425e (plain)
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.92
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>
OpenPOWER on IntegriCloud