HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
Features:
- Nested blocks. Nesting is controlled by the engine.
- Ability to include files from within template: <!-- INCLUDE -->
- Automatic removal of empty blocks and unknown variables (methods to manually
tweak/override this are also available)
- Methods for runtime addition and replacement of blocks in templates
- Ability to insert simple function calls into templates: func_uppercase('Hello
world!') and to define callback functions for these
- 'Compiled' templates: the engine has to parse a template file using regular
expressions to find all the blocks and variable placeholders. This is a very
"expensive" operation and is an overkill to do on every page request:
templates seldom change on production websites. Thus this feature: an internal
representation of the template structure is saved into a file and this file
gets loaded instead of the source one on subsequent requests (unless the
source changes)
- PHPUnit-based tests to define correct behaviour
- Usage examples for most of the features are available, look in the docs/
directory
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Stage support for pear classes and channels in the devel category
Reviewed by: bapt, ports@
Tested with: poudriere + diff on the content of generated packages
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.
Explicit duplication > := > = and this just moves ports one step to the left
Approved by: portmgr