notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
ctpl C Template (Parser) Library
0.3.5 textproc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3.4_1Version of this port present on the latest quarterly branch.
Maintainer: alster@vinterdalen.se search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (60 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/ctpl-0.3.5/catalog.mk
  3. /usr/local/share/licenses/ctpl-0.3.5/LICENSE
  4. /usr/local/share/licenses/ctpl-0.3.5/GPLv3+
  5. bin/ctpl
  6. include/ctpl/ctpl-environ.h
  7. include/ctpl/ctpl-eval.h
  8. include/ctpl/ctpl-input-stream.h
  9. include/ctpl/ctpl-io.h
  10. include/ctpl/ctpl-lexer-expr.h
  11. include/ctpl/ctpl-lexer.h
  12. include/ctpl/ctpl-output-stream.h
  13. include/ctpl/ctpl-parser.h
  14. include/ctpl/ctpl-token.h
  15. include/ctpl/ctpl-value.h
  16. include/ctpl/ctpl-version.h
  17. include/ctpl/ctpl.h
  18. lib/libctpl.a
  19. lib/libctpl.so
  20. lib/libctpl.so.2
  21. lib/libctpl.so.2.3.0
  22. libdata/pkgconfig/ctpl.pc
  23. share/gtk-doc/html/ctpl/annotation-glossary.html
  24. share/gtk-doc/html/ctpl/api-index-0-2.html
  25. share/gtk-doc/html/ctpl/api-index-0-3.html
  26. share/gtk-doc/html/ctpl/api-index-deprecated.html
  27. share/gtk-doc/html/ctpl/api-index-full.html
  28. share/gtk-doc/html/ctpl/ch01.html
  29. share/gtk-doc/html/ctpl/ch01s02.html
  30. share/gtk-doc/html/ctpl/ch01s03.html
  31. share/gtk-doc/html/ctpl/ch01s05.html
  32. share/gtk-doc/html/ctpl/ch02.html
  33. share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html
  34. share/gtk-doc/html/ctpl/ctpl-CtplEval.html
  35. share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html
  36. share/gtk-doc/html/ctpl/ctpl-CtplLexer.html
  37. share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html
  38. share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html
  39. share/gtk-doc/html/ctpl/ctpl-CtplParser.html
  40. share/gtk-doc/html/ctpl/ctpl-CtplToken.html
  41. share/gtk-doc/html/ctpl/ctpl-CtplValue.html
  42. share/gtk-doc/html/ctpl/ctpl-Generic-IO.html
  43. share/gtk-doc/html/ctpl/ctpl-Version-information.html
  44. share/gtk-doc/html/ctpl/ctpl.devhelp2
  45. share/gtk-doc/html/ctpl/environment-description-syntax.html
  46. share/gtk-doc/html/ctpl/home.png
  47. share/gtk-doc/html/ctpl/index.html
  48. share/gtk-doc/html/ctpl/left-insensitive.png
  49. share/gtk-doc/html/ctpl/left.png
  50. share/gtk-doc/html/ctpl/right-insensitive.png
  51. share/gtk-doc/html/ctpl/right.png
  52. share/gtk-doc/html/ctpl/style.css
  53. share/gtk-doc/html/ctpl/up-insensitive.png
  54. share/gtk-doc/html/ctpl/up.png
  55. share/locale/fr/LC_MESSAGES/ctpl.mo
  56. share/locale/it/LC_MESSAGES/ctpl.mo
  57. share/man/man1/ctpl.1.gz
  58. @owner
  59. @group
  60. @mode
Collapse this list.
Dependency lines:
  • ctpl>0:textproc/ctpl
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):
ctpl
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.3.4_10.3.50.3.40.3.4_10.3.4_1---
FreeBSD:13:quarterly0.3.4_10.3.4_1-0.3.4_10.3.4_10.3.40.3.40.3.4
FreeBSD:14:latest0.3.4_10.3.50.3.40.3.4_10.3.50.3.4-0.3.4
FreeBSD:14:quarterly0.3.4_10.3.4_1-0.3.4_10.3.4_10.3.40.3.40.3.4
FreeBSD:15:latest0.3.4_10.3.4_1n/a0.3.4_1n/a0.3.40.3.40.3.4
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gtk-doc>0 : textproc/gtk-doc
  2. msgfmt : devel/gettext-tools
  3. gmake>=4.4.1 : devel/gmake
  4. pkgconf>=1.3.0_1 : devel/pkgconf
  5. gettext-runtime>=0.22_1 : devel/gettext-runtime
  6. autoconf>=2.72 : devel/autoconf
  7. automake>=1.17 : devel/automake
  8. libtoolize : devel/libtool
Library dependencies:
  1. libglib-2.0.so : devel/glib20
  2. libintl.so : devel/gettext-runtime
  3. libintl.so : devel/gettext-runtime
This port is required by:
for Libraries
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://git.tuxfamily.org/ctpl/ctpl.git/snapshot/
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.5
10 Apr 2025 22:21:22
commit hash: 1c3e4419f6c769181036effdef132f7de3853601commit hash: 1c3e4419f6c769181036effdef132f7de3853601commit hash: 1c3e4419f6c769181036effdef132f7de3853601commit hash: 1c3e4419f6c769181036effdef132f7de3853601 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
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
commit hash: f092ac0eca078760131695696946de8d12853071commit hash: f092ac0eca078760131695696946de8d12853071commit hash: f092ac0eca078760131695696946de8d12853071commit hash: f092ac0eca078760131695696946de8d12853071 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
textproc/ctpl: Moved man to share/man

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.3.4
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.3.4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.3.4
08 Nov 2019 12:59:36
Revision:517055Original commit files touched by this commit
tobik search for other commits by this committer
textproc: Add missing USES={gnome,php}
0.3.4
07 Nov 2016 11:23:50
Revision:425608Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE
- Fix WWW:
0.3.4
20 Oct 2016 15:58:13
Revision:424339Original commit files touched by this commit
rakuco search for other commits by this committer
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
Revision:382077Original commit files touched by this commit
makc search for other commits by this committer
textproc/ctpl:
- Update to 0.3.4
- Add NLS option
0.3.3_1
15 Nov 2014 16:26:33
Revision:372605Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
0.3.3_1
20 Jun 2014 10:45:05
Revision:358548Original commit files touched by this commit
amdmi3 search for other commits by this committer
- 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
Revision:331383Original commit files touched by this commit
makc search for other commits by this committer
- 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
Revision:327773Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
0.3.3
23 Apr 2013 14:20:28
Revision:316355Original commit files touched by this commit
bapt search for other commits by this committer
Finish converting the whole ports tree to USES=pkgconfig
0.3.3
21 Sep 2012 21:17:58
Revision:304640Original commit files touched by this commit
makc search for other commits by this committer
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

Number of commits found: 16