summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-05-11 12:36:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-05-11 12:36:20 +0000
commitff2d805a9163ab4cfe25663553430607341c4131 (patch)
tree04d694e0ae70d93e8eb487bb3fe9afbd6c84098b
parentUpdate to 20020503 (repacked). (diff)
Add Date::Japanese::Era, that handles conversion between Japanese Era
and Gregorian calendar. PR: ports/35624 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/p5-Date-Japanese-Era/Makefile30
-rw-r--r--japanese/p5-Date-Japanese-Era/distinfo1
-rw-r--r--japanese/p5-Date-Japanese-Era/pkg-comment1
-rw-r--r--japanese/p5-Date-Japanese-Era/pkg-descr7
-rw-r--r--japanese/p5-Date-Japanese-Era/pkg-plist12
6 files changed, 52 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index b962e73fa56b..067de9f038a3 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -282,6 +282,7 @@
SUBDIR += onew-freewnn
SUBDIR += onew-wnn6
SUBDIR += onew-wnn7
+ SUBDIR += p5-Date-Japanese-Era
SUBDIR += p5-Jcode
SUBDIR += p5-Text-ChaSen
SUBDIR += p5-Text-Kakasi
diff --git a/japanese/p5-Date-Japanese-Era/Makefile b/japanese/p5-Date-Japanese-Era/Makefile
new file mode 100644
index 000000000000..fd873cf267fa
--- /dev/null
+++ b/japanese/p5-Date-Japanese-Era/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Date-Japanese-Era
+# Date created: 7 March 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Date-Japanese-Era
+PORTVERSION= 0.03
+CATEGORIES= japanese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Date
+
+MAINTAINER= fuyuki@mj.0038.net
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
+
+PERL_CONFIGURE= yes
+
+MAN3= Date::Japanese::Era.3 \
+ Date::Japanese::Era.ja.3 \
+ Date::Japanese::Era::Table.3 \
+ Date::Japanese::Era::Table::JIS_X0301.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
+
+.include <bsd.port.post.mk>
diff --git a/japanese/p5-Date-Japanese-Era/distinfo b/japanese/p5-Date-Japanese-Era/distinfo
new file mode 100644
index 000000000000..e8f18e4b129b
--- /dev/null
+++ b/japanese/p5-Date-Japanese-Era/distinfo
@@ -0,0 +1 @@
+MD5 (Date-Japanese-Era-0.03.tar.gz) = 0fbf6c6990fa9646b7ddc749c2e76e86
diff --git a/japanese/p5-Date-Japanese-Era/pkg-comment b/japanese/p5-Date-Japanese-Era/pkg-comment
new file mode 100644
index 000000000000..ffc25f5f0516
--- /dev/null
+++ b/japanese/p5-Date-Japanese-Era/pkg-comment
@@ -0,0 +1 @@
+Conversion between Japanese Era / Gregorian calendar
diff --git a/japanese/p5-Date-Japanese-Era/pkg-descr b/japanese/p5-Date-Japanese-Era/pkg-descr
new file mode 100644
index 000000000000..15112ab567af
--- /dev/null
+++ b/japanese/p5-Date-Japanese-Era/pkg-descr
@@ -0,0 +1,7 @@
+Date::Japanese::Era handles conversion between Japanese Era and
+Gregorian calendar.
+
+WWW: http://search.cpan.org/search?dist=Date-Japanese-Era
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/japanese/p5-Date-Japanese-Era/pkg-plist b/japanese/p5-Date-Japanese-Era/pkg-plist
new file mode 100644
index 000000000000..2b6cf5fc084e
--- /dev/null
+++ b/japanese/p5-Date-Japanese-Era/pkg-plist
@@ -0,0 +1,12 @@
+lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era.ja.pod
+lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era.pm
+lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era/Table.pm
+lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era/Table/JIS_X0301.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Japanese/Era/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era/Table
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese/Era
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Date/Japanese 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Date 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Japanese/Era
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Japanese 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true