summaryrefslogtreecommitdiff
path: root/sysutils/pear-File/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pear-File/Makefile')
-rw-r--r--sysutils/pear-File/Makefile37
1 files changed, 37 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>