Port details |
- ctpl C Template (Parser) Library
- 0.3.5 textproc
=2 0.3.4_1Version of this port present on the latest quarterly branch. - Maintainer: alster@vinterdalen.se
 - Port Added: 2012-09-21 21:18:19
- Last Update: 2025-04-10 22:21:22
- Commit Hash: 1c3e441
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: devel
- License: GPLv3+
- WWW:
- https://ctpl.tuxfamily.org/
- Description:
- CTPL is a template library written in C. It allows fast and easy parsing of
templates from many sources (including in-memory data and local and remote
streaming, thanks to GIO) and fine control over template parsing environment.
CTPL depends on the following libraries:
- GLib :: General purpose C utility library
- GIO :: GLib's I/O abstraction library
* Advantages
- It is a library, then it can be easily used from programs;
- Separated lexer and parser;
- It is written in portable C;
- Simple syntax;
- Fast and strict parsing;
- Possible in-memory parsing, allowing non-file data parsing and avoiding
I/O-latency, through GIO's GMemoryInputStream and GMemoryOutputStream.
* Disadvantages
- Since the input is first completely loaded as a token tree in memory -- which
is also one of the advantages -- , it may consume a little more memory than the
input template size.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/textproc/ctpl/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/ctpl
- pkg install ctpl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ctpl
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1743070465
SHA256 (ctpl-0.3.5.tar.gz) = ae60c79316c6dc3a2935d906b8a911ce4188e8638b6e9b65fc6c04a5ca6bcdda
SIZE (ctpl-0.3.5.tar.gz) = 201721
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gtk-doc>0 : textproc/gtk-doc
- msgfmt : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- libtoolize : devel/libtool
- Library dependencies:
-
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Libraries
-
- devel/geany-plugin-gendoc
Configuration Options:
- ===> The following configuration options are available for ctpl-0.3.5:
DOCS=on: Build and/or install documentation
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Options name:
- textproc_ctpl
- USES:
- autoreconf gettext-tools gmake gnome libtool pathfix pkgconfig gettext-runtime
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.5 10 Apr 2025 22:21:22
    |
Vladimir Druzenko (vvd)  Author: Älven |
textproc/ctpl: Update 0.3.4 => 0.3.5, improve port, take maintainership
The version 0.3.5 is a bugfix and enhancement release for the 0.3 branch.
* Added ctpl_value_take_string() to reduce memory copies, and used it
internally where appropriate;
* Fixed build with GCC 14;
https://git.tuxfamily.org/ctpl/ctpl.git/tree/NEWS
+ Add DOCS option
+ Add TEST_TARGET
* Fix dependencies
* Improve pkg-descr
* Sort entries
- Remove GNU_CONFIGURE_MANPREFIX
PR: 285695 |
0.3.4_1 26 Feb 2024 07:46:06
    |
Muhammad Moinur Rahman (bofh)  |
textproc/ctpl: Moved man to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.3.4 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.3.4 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.3.4 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.3.4 08 Nov 2019 12:59:36
  |
tobik  |
textproc: Add missing USES={gnome,php} |
0.3.4 07 Nov 2016 11:23:50
  |
amdmi3  |
- Add LICENSE
- Fix WWW: |
0.3.4 20 Oct 2016 15:58:13
  |
rakuco  |
Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).
I also emailed him 2 weeks ago and have received no response so far. |
0.3.4 24 Mar 2015 09:49:52
  |
makc  |
textproc/ctpl:
- Update to 0.3.4
- Add NLS option |
0.3.3_1 15 Nov 2014 16:26:33
  |
antoine  |
Cleanup plist |
0.3.3_1 20 Jun 2014 10:45:05
  |
amdmi3  |
- Convert textproc/ctpl to USES=libtool, drop .la files
- Bump dependent port (devel/geany-plugin-gendoc) as .so version has changed
Approved by: portmgr blanket |
0.3.3 23 Oct 2013 13:08:42
  |
makc  |
- Support staging
- Use new LIB_DEPENDS syntax
- Use options helpers
- Convert to USES
- Minor changes/fixes |
0.3.3 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
0.3.3 23 Apr 2013 14:20:28
  |
bapt  |
Finish converting the whole ports tree to USES=pkgconfig |
0.3.3 21 Sep 2012 21:17:58
  |
makc  |
Add new port textproc/ctpl:
CTPL is a template engine library. It allows fast and easy parsing
of templates and fine control over template parsing environment.
WWW: http://ctpl.tuxfamily.org |