aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pear-File
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-11-17 05:03:54 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-11-17 05:03:54 +0000
commit050dd1b1031022b49cd1623dd3892f3c4be3a1ae (patch)
tree0876fb5cc1d38a316c0fbaf87137d69775f5dad0 /sysutils/pear-File
parentcf19879c06b65241c187f1b0663a0db0270be14f (diff)
downloadports-050dd1b1031022b49cd1623dd3892f3c4be3a1ae.tar.gz
ports-050dd1b1031022b49cd1623dd3892f3c4be3a1ae.zip
Notes
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