openbsd-ports/www/pear/Makefile.pear
robert c918f6eecf Force the installation of packages so we can create packages even
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.
2008-10-26 15:20:51 +00:00

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*