1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/pear-XML_Util/Makefile
2003-11-12 23:46:19 +00:00

39 lines
1.0 KiB
Makefile

# Ports collection makefile for: pear-XML_Util
# Date created: 03 September 2003
# Whom: Alex Miller (<asm@asm.kiev.ua>)
#
# $FreeBSD$
#
PORTNAME= XML_Util
PORTVERSION= 0.2
CATEGORIES= devel www pear
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR XML utility class
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.pre.mk>
.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} " <http://pear.php.net/package-info.php?package=PHPUnit>;;)."
.endif
.include <bsd.port.post.mk>