summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-08-14 15:09:32 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-08-14 15:09:32 +0000
commit6cc72a5ab0bb3a11eb79dcbad0cc6adf1095ce4a (patch)
tree487443659162f4d06c5436adaab36477d87ea8ee /chinese
parentInitial import of p5-Test-Harness 1.23. (diff)
Initial import of p5-Date-Chinese 1.03
This is Perl module to calculate dates in the Chinese calendar PR: 29648 Submitted by: Shell Hung <shell@shellhung.org>
Notes
Notes: svn path=/head/; revision=46246
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Date-Chinese/Makefile27
-rw-r--r--chinese/p5-Date-Chinese/distinfo1
-rw-r--r--chinese/p5-Date-Chinese/pkg-comment1
-rw-r--r--chinese/p5-Date-Chinese/pkg-descr4
-rw-r--r--chinese/p5-Date-Chinese/pkg-plist5
6 files changed, 39 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index c5aa48ad07f9..24928961de5b 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -54,6 +54,7 @@
SUBDIR += nvi-big5
SUBDIR += nvi-euc-cn
SUBDIR += nvi-euc-tw
+ SUBDIR += p5-Date-Chinese
SUBDIR += pine4
SUBDIR += pyDict
SUBDIR += qe
diff --git a/chinese/p5-Date-Chinese/Makefile b/chinese/p5-Date-Chinese/Makefile
new file mode 100644
index 000000000000..7ae849ba0c32
--- /dev/null
+++ b/chinese/p5-Date-Chinese/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-Date-Chinese
+# Date Created: 13 Aug 2001
+# Whom: Shell Hung <shell@shellhung.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Date-Chinese
+PORTVERSION= 1.03
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Date
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= shell@shellhung.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+
+PERL_CONFIGURE= yes
+
+MAN3= Date::Chinese.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+WRKDIST= ${WRKDIR}/Date-Chinese-1.3
+WRKSRC= ${WRKDIST}
+
+.include <bsd.port.mk>
diff --git a/chinese/p5-Date-Chinese/distinfo b/chinese/p5-Date-Chinese/distinfo
new file mode 100644
index 000000000000..d63e7cc2c379
--- /dev/null
+++ b/chinese/p5-Date-Chinese/distinfo
@@ -0,0 +1 @@
+MD5 (Date-Chinese-1.03.tar.gz) = eacb27452890572fadf9d5b6b137d3ff
diff --git a/chinese/p5-Date-Chinese/pkg-comment b/chinese/p5-Date-Chinese/pkg-comment
new file mode 100644
index 000000000000..352f401ff476
--- /dev/null
+++ b/chinese/p5-Date-Chinese/pkg-comment
@@ -0,0 +1 @@
+Perl module to calculate dates in the Chinese calendar
diff --git a/chinese/p5-Date-Chinese/pkg-descr b/chinese/p5-Date-Chinese/pkg-descr
new file mode 100644
index 000000000000..152c79c3bde8
--- /dev/null
+++ b/chinese/p5-Date-Chinese/pkg-descr
@@ -0,0 +1,4 @@
+Noted that the Chinese new year does not coincide with the Gregorian
+new year, so the determination of what year it is in the Chinese
+calendar is only going to be correct for a portion of the Gregorian
+year. This module is API for calculating dates for Chinese calendar.
diff --git a/chinese/p5-Date-Chinese/pkg-plist b/chinese/p5-Date-Chinese/pkg-plist
new file mode 100644
index 000000000000..8680ed666267
--- /dev/null
+++ b/chinese/p5-Date-Chinese/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/Date/Chinese.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Chinese/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Chinese
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Date 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true