diff options
author | SADA Kenji <sada@FreeBSD.org> | 2002-11-17 05:03:54 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 2002-11-17 05:03:54 +0000 |
commit | 050dd1b1031022b49cd1623dd3892f3c4be3a1ae (patch) | |
tree | 0876fb5cc1d38a316c0fbaf87137d69775f5dad0 /sysutils/pear-File/Makefile | |
parent | cf19879c06b65241c187f1b0663a0db0270be14f (diff) | |
download | ports-050dd1b1031022b49cd1623dd3892f3c4be3a1ae.tar.gz ports-050dd1b1031022b49cd1623dd3892f3c4be3a1ae.zip |
Notes
Diffstat (limited to 'sysutils/pear-File/Makefile')
-rw-r--r-- | sysutils/pear-File/Makefile | 37 |
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> |