aboutsummaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-Sunrise
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
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')
-rw-r--r--astro/p5-Astro-Sunrise/Makefile10
-rw-r--r--astro/p5-Astro-Sunrise/distinfo2
-rw-r--r--astro/p5-Astro-Sunrise/pkg-comment1
-rw-r--r--astro/p5-Astro-Sunrise/pkg-plist1
4 files changed, 10 insertions, 4 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>
diff --git a/astro/p5-Astro-Sunrise/distinfo b/astro/p5-Astro-Sunrise/distinfo
index 3c4db71ad602..168b81406a23 100644
--- a/astro/p5-Astro-Sunrise/distinfo
+++ b/astro/p5-Astro-Sunrise/distinfo
@@ -1 +1 @@
-MD5 (Astro-Sunrise-0.05.tar.gz) = 284e386158319f7287ac5ab1fc56c833
+MD5 (Astro-Sunrise-0.8.tar.gz) = 6e4bc075ca09c8ec1a75fcac1341e5f8
diff --git a/astro/p5-Astro-Sunrise/pkg-comment b/astro/p5-Astro-Sunrise/pkg-comment
deleted file mode 100644
index 8d4bdc90dc09..000000000000
--- a/astro/p5-Astro-Sunrise/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Perl extension for computing the sunrise/sunset on a given day
diff --git a/astro/p5-Astro-Sunrise/pkg-plist b/astro/p5-Astro-Sunrise/pkg-plist
index 0244a34da07a..cc141ebf976c 100644
--- a/astro/p5-Astro-Sunrise/pkg-plist
+++ b/astro/p5-Astro-Sunrise/pkg-plist
@@ -1,3 +1,4 @@
+lib/perllocal.pod-Astro-Sunrise
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/Sunrise/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Astro/Sunrise.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/Sunrise