# Ports collection makefile for: pear-File # Date created: 24 October 2002 # Whom: Thierry Thomas () # # $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 .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