aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-Date
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2003-01-30 17:39:28 +0800
committerdirk <dirk@FreeBSD.org>2003-01-30 17:39:28 +0800
commitb398cf5d9cc93c864d13e22e7418d3b310c0e326 (patch)
treee50c98736dddb6c37be943c01b43fac4ebcf0ff3 /devel/pear-Date
parent4e0e42c50f9f9ae601c7cec1aff4e014b1afd6ba (diff)
downloadfreebsd-ports-gnome-b398cf5d9cc93c864d13e22e7418d3b310c0e326.tar.gz
freebsd-ports-gnome-b398cf5d9cc93c864d13e22e7418d3b310c0e326.tar.zst
freebsd-ports-gnome-b398cf5d9cc93c864d13e22e7418d3b310c0e326.zip
Add pear-Date:
PEAR Date and Time Zone Classes. PR: ports/47418 Submitted by: Thierry Thomas <thierry@pompo.net>
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