c918f6eecf
if a specific pear- package is already installed on the system. This commit also disables the dependency tracking while installing pear packages with the ports tree.
14 lines
447 B
Makefile
14 lines
447 B
Makefile
# $OpenBSD: Makefile.pear,v 1.3 2008/10/26 15:20:51 robert Exp $
|
|
# Default Makefile to install a PHP PEAR module
|
|
|
|
default:
|
|
|
|
install:
|
|
cp ${WRKDIR}/package.xml ${.CURDIR}
|
|
mkdir -p ${PREFIX}/lib/php
|
|
${LOCALBASE}/bin/pear install -f -n -R ${WRKINST} -n ${.CURDIR}/package.xml
|
|
|
|
# These directories and files are not needed
|
|
@cd ${WRKINST}/var/www/pear && rm -rf cache lib/.channels lib/.channels/__uri.reg \
|
|
lib/.depdb* lib/.registry/.channel*
|