aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Event-Sunrise
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-07-06 12:29:28 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-07-06 12:29:28 +0000
commit60c045fec76f110662b174ca14f08174736e3f3b (patch)
treef2191e0f5c5283c03c6fd14197c6b3727bed00c8 /devel/p5-DateTime-Event-Sunrise
parentcb53888e9bb7aad727b2cb87959d4f7deea3a4ae (diff)
downloadports-60c045fec76f110662b174ca14f08174736e3f3b.tar.gz
ports-60c045fec76f110662b174ca14f08174736e3f3b.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Event-Sunrise')
-rw-r--r--devel/p5-DateTime-Event-Sunrise/Makefile33
-rw-r--r--devel/p5-DateTime-Event-Sunrise/distinfo1
-rw-r--r--devel/p5-DateTime-Event-Sunrise/pkg-descr3
-rw-r--r--devel/p5-DateTime-Event-Sunrise/pkg-plist7
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Event-Sunrise/Makefile b/devel/p5-DateTime-Event-Sunrise/Makefile
new file mode 100644
index 000000000000..9bbd47735df4
--- /dev/null
+++ b/devel/p5-DateTime-Event-Sunrise/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-DateTime-Event-Sunrise
+# Date created: 2 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Event-Sunrise
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= DateTime Objects for sunrise and sunset for a given day
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/DateTime/Set.pm:${PORTSDIR}/devel/p5-DateTime-Set
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Event::Sunrise.3
+
+.include <bsd.port.pre.mk>
+
+# Depends on p5-DateTime-Set which requires perl >= 5.6
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Event-Sunrise/distinfo b/devel/p5-DateTime-Event-Sunrise/distinfo
new file mode 100644
index 000000000000..ebba9b5dbd23
--- /dev/null
+++ b/devel/p5-DateTime-Event-Sunrise/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Event-Sunrise-0.04.tar.gz) = 6c3d4a812097ee3e9f29671458437437
diff --git a/devel/p5-DateTime-Event-Sunrise/pkg-descr b/devel/p5-DateTime-Event-Sunrise/pkg-descr
new file mode 100644
index 000000000000..f917418d377d
--- /dev/null
+++ b/devel/p5-DateTime-Event-Sunrise/pkg-descr
@@ -0,0 +1,3 @@
+This module will return a DateTime recurrence set for sunrise or sunset.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Event-Sunrise/pkg-plist b/devel/p5-DateTime-Event-Sunrise/pkg-plist
new file mode 100644
index 000000000000..72161ae2d2ee
--- /dev/null
+++ b/devel/p5-DateTime-Event-Sunrise/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Event/Sunrise.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event/Sunrise/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event/Sunrise
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Event 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Event 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true