aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Template_IT/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 01:07:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 01:07:27 +0000
commit4434c0d0e910a78f619e5edf9854a7ad0b76fa7d (patch)
tree3941e8660da6ea3b04b1027910c5f22064885549 /devel/pear-HTML_Template_IT/Makefile
parent3177b7ec466c3e2a040f139350b44d04d09808f1 (diff)
downloadports-4434c0d0e910a78f619e5edf9854a7ad0b76fa7d.tar.gz
ports-4434c0d0e910a78f619e5edf9854a7ad0b76fa7d.zip
Notes
Diffstat (limited to 'devel/pear-HTML_Template_IT/Makefile')
-rw-r--r--devel/pear-HTML_Template_IT/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/devel/pear-HTML_Template_IT/Makefile b/devel/pear-HTML_Template_IT/Makefile
new file mode 100644
index 000000000000..6fd3b02ba490
--- /dev/null
+++ b/devel/pear-HTML_Template_IT/Makefile
@@ -0,0 +1,39 @@
+# Ports collection makefile for: pear-HTML_Template_IT
+# Date created: 02 September 2003
+# Whom: Alex Miller (<asm@asm.kiev.ua>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML_Template_IT
+PORTVERSION= 1.1
+CATEGORIES= devel www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR template API
+
+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"
+
+MANIFEST= IT.php ITX.php IT_Error.php
+TESTDIR= ${PEARDIR}/tests/${PORTNAME}
+
+do-install:
+ @${MKDIR} -p ${PEARDIR}/HTML/Template
+.for FILE in ${MANIFEST}
+ @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/HTML/Template
+.endfor
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Template
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${TESTDIR}
+ @${CP} -Rp ${WRKSRC}/tests/* ${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>