aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-IBeat
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-03 17:02:55 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-03 17:02:55 +0000
commit80ad08f1140ff4c0fca42a49fbef3786f1892589 (patch)
treee701458d359c13090fc2108d9af1252af03d13db /devel/p5-DateTime-Format-IBeat
parentd6c018dbe5dfdcc60c65c2818039f47432b20744 (diff)
downloadports-80ad08f1140ff4c0fca42a49fbef3786f1892589.tar.gz
ports-80ad08f1140ff4c0fca42a49fbef3786f1892589.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-IBeat')
-rw-r--r--devel/p5-DateTime-Format-IBeat/Makefile35
-rw-r--r--devel/p5-DateTime-Format-IBeat/distinfo1
-rw-r--r--devel/p5-DateTime-Format-IBeat/pkg-descr19
-rw-r--r--devel/p5-DateTime-Format-IBeat/pkg-plist7
4 files changed, 62 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Format-IBeat/Makefile b/devel/p5-DateTime-Format-IBeat/Makefile
new file mode 100644
index 000000000000..d339d9f81f8d
--- /dev/null
+++ b/devel/p5-DateTime-Format-IBeat/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-DateTime-Format-IBeat
+# Date created: 3 october 2003
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-IBeat
+PORTVERSION= 0.15
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Format times in .beat notation
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Format::IBeat.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if (/use 5.006|use warnings/);' \
+ -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
+ -e 's/\$$dt->\$$_/$$&()/g;' \
+ ${WRKSRC}/lib/DateTime/Format/IBeat.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Format-IBeat/distinfo b/devel/p5-DateTime-Format-IBeat/distinfo
new file mode 100644
index 000000000000..e4eaa9423231
--- /dev/null
+++ b/devel/p5-DateTime-Format-IBeat/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Format-IBeat-0.15.tar.gz) = 6ea700bf89ff388f7fb0bb185dcb8094
diff --git a/devel/p5-DateTime-Format-IBeat/pkg-descr b/devel/p5-DateTime-Format-IBeat/pkg-descr
new file mode 100644
index 000000000000..55de856b9227
--- /dev/null
+++ b/devel/p5-DateTime-Format-IBeat/pkg-descr
@@ -0,0 +1,19 @@
+No Time Zones
+No Geographical Borders
+
+How long is a Swatch .beat? In short, we have divided up the virtual and real
+day into 1000 beats. One Swatch beat is the equivalent of 1 minute 26.4
+seconds. That means that 12 noon in the old time system is the equivalent of
+@500 Swatch .beats.
+
+We are not just creating a new way of measuring time, we are also creating a
+new meridian in Biel, Switzerland, home of Swatch.
+
+Biel MeanTime (BMT) is the universal reference for Internet Time. A day in
+Internet Time begins at midnight BMT (@000 Swatch .beats) (Central European
+Wintertime). The meridian is marked for all to see on the facade of the Swatch
+International Headquarters on Jakob-Staempfli Street, Biel, Switzerland. So,
+it is the same time all over the world, be it night or day, the era of time
+zones has disappeared.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-IBeat/pkg-plist b/devel/p5-DateTime-Format-IBeat/pkg-plist
new file mode 100644
index 000000000000..f26f500f99d5
--- /dev/null
+++ b/devel/p5-DateTime-Format-IBeat/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Format/IBeat.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/IBeat/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/IBeat
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true