diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-08 10:13:02 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-08 10:13:02 +0800 |
commit | bdbc9273867bee8fa10d99fa6d84b47696e33311 (patch) | |
tree | c7f5d088c0ba0d9afbb3a6feb49d8fda89f443c4 /devel | |
parent | 7a2b2a528e92a831a5b9a3d7b433509c5579fe94 (diff) | |
download | freebsd-ports-gnome-bdbc9273867bee8fa10d99fa6d84b47696e33311.tar.gz freebsd-ports-gnome-bdbc9273867bee8fa10d99fa6d84b47696e33311.tar.zst freebsd-ports-gnome-bdbc9273867bee8fa10d99fa6d84b47696e33311.zip |
New port: PEAR template API ported from PHPLIB
The popular Template system from PHPLIB ported to PEAR. It
has some features that can't be found currently in the
original version like fallback paths. It has minor improvements
and cleanup in the code as well as some speed improvements.
PR: ports/56443
Submitted by: Alex Miller <asm@asm.kiev.ua>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/Makefile | 36 | ||||
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/distinfo | 1 | ||||
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/pkg-descr | 6 | ||||
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/pkg-plist | 11 |
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0c9de4854a9c..109784a96dd9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -800,6 +800,7 @@ SUBDIR += pear-HTML_Common SUBDIR += pear-HTML_Select_Common SUBDIR += pear-HTML_Template_IT + SUBDIR += pear-HTML_Template_PHPLIB SUBDIR += pear-I18N SUBDIR += pear-PEAR SUBDIR += pear-XML_Parser diff --git a/devel/pear-HTML_Template_PHPLIB/Makefile b/devel/pear-HTML_Template_PHPLIB/Makefile new file mode 100644 index 000000000000..3237c751abae --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: pear-HTML_Template_PHPLIB +# Date created: 04 September 2003 +# Whom: Alex Miller (<asm@asm.kiev.ua>) +# +# $FreeBSD$ +# + +PORTNAME= HTML_Template_PHPLIB +PORTVERSION= 1.3.1 +CATEGORIES= devel www + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR template API ported from PHPLIB + +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}/HTML/Template + @${CP} -p ${WRKSRC}/PHPLIB.php ${PEARDIR}/HTML/Template + @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Template/PHPLIB.php +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${CP} -Rp ${WRKSRC}/examples/* ${DOCSDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}." + @${ECHO_MSG} " (These tests require PEAR::Benchmark - see" + @${ECHO_MSG} " <http://pear.php.net/package-info.php?package=Benchmark>;;;)." +.endif + +.include <bsd.port.post.mk> diff --git a/devel/pear-HTML_Template_PHPLIB/distinfo b/devel/pear-HTML_Template_PHPLIB/distinfo new file mode 100644 index 000000000000..372afd886ecf --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/HTML_Template_PHPLIB-1.3.1.tgz) = eb44701e8e423a79c695116eb966ca4d diff --git a/devel/pear-HTML_Template_PHPLIB/pkg-descr b/devel/pear-HTML_Template_PHPLIB/pkg-descr new file mode 100644 index 000000000000..21feb6aa59c2 --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/pkg-descr @@ -0,0 +1,6 @@ +The popular Template system from PHPLIB ported to PEAR. It has some +features that can't be found currently in the original version like +fallback paths. It has minor improvements and cleanup in the code as +well as some speed improvements. + +WWW: http://pear.php.net/package-info.php?package=HTML_Template_PHPLIB diff --git a/devel/pear-HTML_Template_PHPLIB/pkg-plist b/devel/pear-HTML_Template_PHPLIB/pkg-plist new file mode 100644 index 000000000000..906000c5d2b6 --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/pkg-plist @@ -0,0 +1,11 @@ +%%PEARDIR%%/HTML/Template/PHPLIB.php +%%PKGREGDIR%%/package.xml +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/README +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/block.ihtml +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/block.php +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/ittest.php +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/tpl1.ihtml +%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/tpl1.php +@dirrm %%PEARDIR%%/HTML/Template +@dirrm %%PKGREGDIR%% +%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/HTML_Template_PHPLIB |