aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-30 18:39:53 +0800
committermiwi <miwi@FreeBSD.org>2009-10-30 18:39:53 +0800
commitd3a03414642be44fabdc91450eda23f0d58aa38b (patch)
treebd08b32b4b242ee02b7e4e848120462fe38e2143 /devel
parent62401e2443276425df80a3586635656c867e0d17 (diff)
downloadfreebsd-ports-gnome-d3a03414642be44fabdc91450eda23f0d58aa38b.tar.gz
freebsd-ports-gnome-d3a03414642be44fabdc91450eda23f0d58aa38b.tar.zst
freebsd-ports-gnome-d3a03414642be44fabdc91450eda23f0d58aa38b.zip
XML Schema defines a usage profile which is a subset of
the ISO8601 profile. This profile defines that the following is the only possible representation for a dateTime, despite all other options ISO provides. WWW: http://search.cpan.org/perldoc?DateTime::Format::XSD PR: ports/140027 Submitted by: Sergey V. Dyatko <Sergey.Dyatko at gmail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-DateTime-Format-XSD/Makefile24
-rw-r--r--devel/p5-DateTime-Format-XSD/distinfo3
-rw-r--r--devel/p5-DateTime-Format-XSD/pkg-descr6
-rw-r--r--devel/p5-DateTime-Format-XSD/pkg-plist8
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 585ea19b3c87..85f36cb38c50 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1305,6 +1305,7 @@
SUBDIR += p5-DateTime-Format-SQLite
SUBDIR += p5-DateTime-Format-Strptime
SUBDIR += p5-DateTime-Format-W3CDTF
+ SUBDIR += p5-DateTime-Format-XSD
SUBDIR += p5-DateTime-Functions
SUBDIR += p5-DateTime-HiRes
SUBDIR += p5-DateTime-Incomplete
diff --git a/devel/p5-DateTime-Format-XSD/Makefile b/devel/p5-DateTime-Format-XSD/Makefile
new file mode 100644
index 000000000000..79203c64e200
--- /dev/null
+++ b/devel/p5-DateTime-Format-XSD/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: DateTime-Format-XSD
+# Date created: 29 oct 2009
+# Whom: Sergey V. Dyatko <Sergey.Dyatko@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-XSD
+PORTVERSION= 0.1
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sergey.dyatko@gmail.com
+COMMENT= Format DateTime according to xsd:dateTime
+
+BUILD_DEPENDS= ${SITE_PERL}/DateTime/Format/ISO8601.pm:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601
+RUN_DEPENDS= ${SITE_PERL}/DateTime/Format/ISO8601.pm:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Format::XSD.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-XSD/distinfo b/devel/p5-DateTime-Format-XSD/distinfo
new file mode 100644
index 000000000000..8f9679fa615a
--- /dev/null
+++ b/devel/p5-DateTime-Format-XSD/distinfo
@@ -0,0 +1,3 @@
+MD5 (DateTime-Format-XSD-0.1.tar.gz) = 208fd8c2bb38d0252f29f9aeba562c0c
+SHA256 (DateTime-Format-XSD-0.1.tar.gz) = b55b2b54864fb30293f72308d739cb55a7531d9b398e68159679054dac762e47
+SIZE (DateTime-Format-XSD-0.1.tar.gz) = 1919
diff --git a/devel/p5-DateTime-Format-XSD/pkg-descr b/devel/p5-DateTime-Format-XSD/pkg-descr
new file mode 100644
index 000000000000..36816db5efa9
--- /dev/null
+++ b/devel/p5-DateTime-Format-XSD/pkg-descr
@@ -0,0 +1,6 @@
+XML Schema defines a usage profile which is a subset of
+the ISO8601 profile. This profile defines that the
+following is the only possible representation for a
+dateTime, despite all other options ISO provides.
+
+WWW: http://search.cpan.org/perldoc?DateTime::Format::XSD
diff --git a/devel/p5-DateTime-Format-XSD/pkg-plist b/devel/p5-DateTime-Format-XSD/pkg-plist
new file mode 100644
index 000000000000..d0a0a9b5397f
--- /dev/null
+++ b/devel/p5-DateTime-Format-XSD/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/DateTime/Format/XSD.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/XSD/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/XSD
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
+@dirrmtry %%SITE_PERL%%/DateTime/Format
+@dirrmtry %%SITE_PERL%%/DateTime