aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pear-File
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2002-11-17 13:03:54 +0800
committersada <sada@FreeBSD.org>2002-11-17 13:03:54 +0800
commit678796d68f78e59552202a6dc781c058e84ccab5 (patch)
treec41d2d272c020fad9decc7fd52ba2c4d6b181908 /sysutils/pear-File
parent3df22975f641e9f39851b20ebf2ac710cf17257a (diff)
downloadfreebsd-ports-gnome-678796d68f78e59552202a6dc781c058e84ccab5.tar.gz
freebsd-ports-gnome-678796d68f78e59552202a6dc781c058e84ccab5.tar.zst
freebsd-ports-gnome-678796d68f78e59552202a6dc781c058e84ccab5.zip
Resurrection of port devel/pear
PR: ports/44473 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'sysutils/pear-File')
-rw-r--r--sysutils/pear-File/Makefile37
-rw-r--r--sysutils/pear-File/distinfo1
-rw-r--r--sysutils/pear-File/pkg-comment1
-rw-r--r--sysutils/pear-File/pkg-descr5
-rw-r--r--sysutils/pear-File/pkg-plist5
5 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile
new file mode 100644
index 000000000000..8ccf5e68bbff
--- /dev/null
+++ b/sysutils/pear-File/Makefile
@@ -0,0 +1,37 @@
+# Ports collection makefile for: pear-File
+# Date created: 24 October 2002
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= File
+PORTVERSION= 1.0.2
+CATEGORIES= sysutils 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= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
+
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/php-config)
+PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
+.endif
+LPHP_LIB= lib/php
+PEARDIR= ${PHP_BASE}/${LPHP_LIB}
+PLIST_SUB= PEARDIR=${LPHP_LIB}
+
+do-install:
+ @${CP} -Rp ${WRKSRC}/* ${PEARDIR}
+ @${CHOWN} -R root:wheel ${PEARDIR}/${PORTNAME}*
+ @${CHOWN} -R root:wheel ${PEARDIR}/tests
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/pear-File/distinfo b/sysutils/pear-File/distinfo
new file mode 100644
index 000000000000..b1b3bc9496ba
--- /dev/null
+++ b/sysutils/pear-File/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/File-1.0.2.tgz) = 4ce1d2880cafcbf4a84e4adc2374a30b
diff --git a/sysutils/pear-File/pkg-comment b/sysutils/pear-File/pkg-comment
new file mode 100644
index 000000000000..7d2b91c53b5b
--- /dev/null
+++ b/sysutils/pear-File/pkg-comment
@@ -0,0 +1 @@
+PEAR common file and directory routines
diff --git a/sysutils/pear-File/pkg-descr b/sysutils/pear-File/pkg-descr
new file mode 100644
index 000000000000..7dbaaff3f463
--- /dev/null
+++ b/sysutils/pear-File/pkg-descr
@@ -0,0 +1,5 @@
+PEAR classes providing easy access to read/write to files along with
+some common routines to deal with paths. Also provides interface for
+handling CSV files.
+
+WWW: http://pear.php.net/manual/en/packages.file.php
diff --git a/sysutils/pear-File/pkg-plist b/sysutils/pear-File/pkg-plist
new file mode 100644
index 000000000000..af92a14289f3
--- /dev/null
+++ b/sysutils/pear-File/pkg-plist
@@ -0,0 +1,5 @@
+%%PEARDIR%%/File/CSV.php
+%%PEARDIR%%/File.php
+%%PEARDIR%%/tests/parser.php
+%%PEARDIR%%/tests/test.csv
+@dirrm %%PEARDIR%%/tests