aboutsummaryrefslogtreecommitdiff
path: root/astro/p5-Astro-Sunrise/Makefile
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-03-05 19:27:42 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-03-05 19:27:42 +0000
commit3648ff3c041fe4a2213d1c56512f4a49c30bcbfa (patch)
treec6bb6ae0a48e73b6b38e87e7d23d0561ef75083d /astro/p5-Astro-Sunrise/Makefile
parente716d7b35109c796c46faf5286fba58297f3069f (diff)
downloadports-3648ff3c041fe4a2213d1c56512f4a49c30bcbfa.tar.gz
ports-3648ff3c041fe4a2213d1c56512f4a49c30bcbfa.zip
Notes
Diffstat (limited to 'astro/p5-Astro-Sunrise/Makefile')
-rw-r--r--astro/p5-Astro-Sunrise/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/astro/p5-Astro-Sunrise/Makefile b/astro/p5-Astro-Sunrise/Makefile
index b04f816146ec..7ac8697a817a 100644
--- a/astro/p5-Astro-Sunrise/Makefile
+++ b/astro/p5-Astro-Sunrise/Makefile
@@ -6,17 +6,23 @@
#
PORTNAME= Astro-Sunrise
-PORTVERSION= 0.05
+PORTVERSION= 0.8
CATEGORIES= astro perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
+COMMENT= Perl extension for computing the sunrise/sunset on a given day
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece
PERL_CONFIGURE= yes
MAN3= Astro::Sunrise.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-patch:
+ ${PERL} -pi -e 's/(qw\(.*)\[1\];/($$1)[1];/' \
+ ${WRKSRC}/Sunrise.pm
.include <bsd.port.mk>