summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-08-14 15:09:32 +0000
committerkevlo <kevlo@FreeBSD.org>2001-08-14 15:09:32 +0000
commit2149704bfeddde74a1cd62aaef634addaf8fb205 (patch)
treea5c70725f1a6a1032df83d4a0e11979d0e522669
parent4305aa764d565afd6082dada6c2af67359a96edb (diff)
downloadFreeBSD-ports-2149704bfeddde74a1cd62aaef634addaf8fb205.zip
FreeBSD-ports-2149704bfeddde74a1cd62aaef634addaf8fb205.tar.gz
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>
-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 c5aa48a..2492896 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 0000000..7ae849b
--- /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 0000000..d63e7cc
--- /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 0000000..352f401
--- /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 0000000..152c79c
--- /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 0000000..8680ed6
--- /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
OpenPOWER on IntegriCloud