aboutsummaryrefslogtreecommitdiff
path: root/astro
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
parente716d7b35109c796c46faf5286fba58297f3069f (diff)
downloadports-3648ff3c041fe4a2213d1c56512f4a49c30bcbfa.tar.gz
ports-3648ff3c041fe4a2213d1c56512f4a49c30bcbfa.zip
Notes
Diffstat (limited to 'astro')
-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