summaryrefslogtreecommitdiff
path: root/devel/pear-Date
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2003-01-30 09:39:28 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2003-01-30 09:39:28 +0000
commit87f13114997ddbf5e1a19b191db082f53fe0a3b7 (patch)
tree00fe618f32d8abf69016dbaddc86d9e34ecb1812 /devel/pear-Date
parentmod_php4 now installs .files after upgrade to version 4.3.0. (diff)
Add pear-Date:
PEAR Date and Time Zone Classes. PR: ports/47418 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=74258
Diffstat (limited to 'devel/pear-Date')
-rw-r--r--devel/pear-Date/Makefile34
-rw-r--r--devel/pear-Date/distinfo1
-rw-r--r--devel/pear-Date/pkg-comment1
-rw-r--r--devel/pear-Date/pkg-descr10
-rw-r--r--devel/pear-Date/pkg-plist5
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/pear-Date/Makefile b/devel/pear-Date/Makefile
new file mode 100644
index 000000000000..cf01dd2b7eed
--- /dev/null
+++ b/devel/pear-Date/Makefile
@@ -0,0 +1,34 @@
+# Ports collection makefile for: pear-Date
+# Date created: 28 November 2002
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= Date
+PORTVERSION= 1.3
+CATEGORIES= devel www
+MASTER_SITES= http://pear.php.net/get/
+PKGNAMEPREFIX= pear-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PEAR
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+NO_BUILD= yes
+
+LPHP_LIB= lib/php
+PEARDIR= ${LOCALBASE}/${LPHP_LIB}
+PLIST_SUB= PEARDIR=${LPHP_LIB}
+MANIFEST= Date Date.php
+
+do-install:
+ @${CP} -Rp ${WRKSRC}/* ${PEARDIR}
+.for FILE in ${MANIFEST}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/devel/pear-Date/distinfo b/devel/pear-Date/distinfo
new file mode 100644
index 000000000000..92442cd842ed
--- /dev/null
+++ b/devel/pear-Date/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/Date-1.3.tgz) = b3d837c131df195c58cc21d344bef1b7
diff --git a/devel/pear-Date/pkg-comment b/devel/pear-Date/pkg-comment
new file mode 100644
index 000000000000..e6bbcad5a28a
--- /dev/null
+++ b/devel/pear-Date/pkg-comment
@@ -0,0 +1 @@
+PEAR Date and Time Zone Classes
diff --git a/devel/pear-Date/pkg-descr b/devel/pear-Date/pkg-descr
new file mode 100644
index 000000000000..79031a72fe82
--- /dev/null
+++ b/devel/pear-Date/pkg-descr
@@ -0,0 +1,10 @@
+PEAR generic classes for representation and manipulation of dates, times and
+time zones without the need of timestamps, which is a huge limitation for php
+programs. Includes time zone data, time zone conversions and many date/time
+conversions.
+
+It does not rely on 32-bit system date stamps, so you can display calendars
+and compare dates that date pre 1970 and post 2038. This package also provides
+a class to convert date strings between Gregorian and Human calendar formats.
+
+WWW: http://pear.php.net/package-info.php?pacid=57
diff --git a/devel/pear-Date/pkg-plist b/devel/pear-Date/pkg-plist
new file mode 100644
index 000000000000..36dbf6d688da
--- /dev/null
+++ b/devel/pear-Date/pkg-plist
@@ -0,0 +1,5 @@
+%%PEARDIR%%/Date/Calc.php
+%%PEARDIR%%/Date/Human.php
+%%PEARDIR%%/Date/TimeZone.php
+%%PEARDIR%%/Date.php
+@dirrm %%PEARDIR%%/Date