aboutsummaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-Sunrise/Makefile
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-03-06 03:27:42 +0800
committertobez <tobez@FreeBSD.org>2003-03-06 03:27:42 +0800
commitc3918fd6c0cf6f6c841059027ba4d685ee7aeccb (patch)
treec7682dba549d87d727dd1a60d29f3e54715d721a /astro/p5-Astro-Sunrise/Makefile
parent681265f56bf7a5f3af57283e125ffa357e768972 (diff)
downloadfreebsd-ports-gnome-c3918fd6c0cf6f6c841059027ba4d685ee7aeccb.tar.gz
freebsd-ports-gnome-c3918fd6c0cf6f6c841059027ba4d685ee7aeccb.tar.zst
freebsd-ports-gnome-c3918fd6c0cf6f6c841059027ba4d685ee7aeccb.zip
- update to 0.8;
- retire pkg-comment; - account for perllocal.pod-potrname; - remove unneeded MANPREFIX.
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>