# Ports collection makefile for: pear-XML_Util # Date created: 03 September 2003 # Whom: Alex Miller () # # $FreeBSD$ # PORTNAME= XML_Util PORTVERSION= 0.2 CATEGORIES= devel www MAINTAINER= ports@FreeBSD.org COMMENT= PEAR XML utility class BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR RUN_DEPENDS= ${BUILD_DEPENDS} .include .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" TESTDIR= ${PEARDIR}/tests/${PORTNAME} do-install: @${MKDIR} ${PEARDIR}/XML @${CP} -p ${WRKSRC}/Util.php ${PEARDIR}/XML @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XML/Util.php .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${CP} -Rp ${WRKSRC}/apidoc/* ${DOCSDIR} @${MKDIR} ${TESTDIR} @${CP} -Rp ${WRKSRC}/examples/* ${TESTDIR} @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR} @${ECHO_MSG} "===> Examples installed in ${TESTDIR}." @${ECHO_MSG} " (These tests require PHPUnit - see" @${ECHO_MSG} " ;;)." .endif .include