aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Template_IT
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
parent3177b7ec466c3e2a040f139350b44d04d09808f1 (diff)
Notes
Diffstat (limited to 'devel/pear-HTML_Template_IT')
-rw-r--r--devel/pear-HTML_Template_IT/Makefile39
-rw-r--r--devel/pear-HTML_Template_IT/distinfo1
-rw-r--r--devel/pear-HTML_Template_IT/pkg-descr21
-rw-r--r--devel/pear-HTML_Template_IT/pkg-plist23
4 files changed, 84 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>
diff --git a/devel/pear-HTML_Template_IT/distinfo b/devel/pear-HTML_Template_IT/distinfo
new file mode 100644
index 000000000000..1bfa1448790b
--- /dev/null
+++ b/devel/pear-HTML_Template_IT/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/HTML_Template_IT-1.1.tgz) = 6062a6b0cf6033b206bd62aaeb36c055
diff --git a/devel/pear-HTML_Template_IT/pkg-descr b/devel/pear-HTML_Template_IT/pkg-descr
new file mode 100644
index 000000000000..5a15e20101c8
--- /dev/null
+++ b/devel/pear-HTML_Template_IT/pkg-descr
@@ -0,0 +1,21 @@
+HTML_Template_IT:
+Simple template API.
+The Isotemplate API is somewhat tricky for a beginner although it is the best
+one you can build. template::parse() [phplib template = Isotemplate] requests
+you to name a source and a target where the current block gets parsed into.
+Source and target can be block names or even handler names.
+
+Features :
+ * Nested blocks
+ * Include external file
+ * Custom tags format (default {mytag})
+
+HTML_Template_ITX :
+With this class you get the full power of the phplib template class.
+You may have one file with blocks in it but you have as well one main file
+and multiple files one for each block. This is quite usefull when you have
+user configurable websites. Using blocks not in the main template allows
+you to modify some parts of your layout easily.
+
+
+WWW: http://pear.php.net/package-info.php?package=HTML_Template_IT
diff --git a/devel/pear-HTML_Template_IT/pkg-plist b/devel/pear-HTML_Template_IT/pkg-plist
new file mode 100644
index 000000000000..14a9c23b2876
--- /dev/null
+++ b/devel/pear-HTML_Template_IT/pkg-plist
@@ -0,0 +1,23 @@
+%%PEARDIR%%/HTML/Template/IT.php
+%%PEARDIR%%/HTML/Template/ITX.php
+%%PEARDIR%%/HTML/Template/IT_Error.php
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/Console_TestListener.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/ITX_api_testcase.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/ITX_usage_testcase.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/IT_api_testcase.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/IT_usage_testcase.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/test.php
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/__include.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/addblock.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/blockiteration.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/blocks.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/globals.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/include.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/loadtemplatefile.html
+%%PORTDOCS%%%%PEARDIR%%/tests/HTML_Template_IT/templates/replaceblock.html
+@dirrm %%PEARDIR%%/HTML/Template
+@unexec rmdir %%PEARDIR%%/HTML 2>/dev/null || true
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%PEARDIR%%/tests/HTML_Template_IT/templates
+%%PORTDOCS%%@dirrm %%PEARDIR%%/tests/HTML_Template_IT