textproc/ctpl 0.3.5 FreeBSD
C Template (Parser) Library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3+
- Categories
- textproc, devel
- Package size
- 105.2 KiB, 789.9 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/ctpl | 0.3.5 |
| DragonFly | textproc/ctpl | 0.3.4_1 |
Install
Binary package:
pkg install ctpl
From the ports tree:
cd /usr/ports/textproc/ctpl/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ctpl>0:textproc/ctpl
LIB_DEPENDS= libctpl.so:textproc/ctpl
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.5 | 0.3.5 | 0.3.4 | 0.3.5 | 0.3.5 |
| FreeBSD:14:quarterly | 0.3.5 | 0.3.5 | n/a | 0.3.5 | 0.3.5 |
| FreeBSD:15:latest | 0.3.5 | 0.3.5 | n/a | 0.3.5 | 0.3.5 |
| FreeBSD:15:quarterly | 0.3.5 | 0.3.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.5 | 0.3.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
gtk-doc>0: textproc/gtk-doc
The full lists below include those, and their dependencies in turn.
Build dependencies 40
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/gettext-runtime
- devel/gettext-tools
- devel/glib20
- devel/gmake
- devel/libffi
- devel/libinotify
- devel/libtextstyle
- devel/libtool
- devel/libunistring
- devel/m4
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- lang/perl5.42
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- textproc/docbook
- textproc/docbook-sgml
- textproc/docbook-xml
- textproc/docbook-xsl
- textproc/expat2
- textproc/gtk-doc
- textproc/iso8879
- textproc/libxml2
- textproc/libxslt
- textproc/py-pygments
- textproc/sdocbook-xml
- textproc/xmlcatmgr
- textproc/xmlcharent
Run dependencies 15
Required by 2
Configuration
Options name: textproc_ctpl
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| NLS | off | Native Language Support |
- USES
- autoreconf gettext-tools gmake gnome libtool pathfix pkgconfig
- Service scripts
- none
Files
Manual pages 1
- ctpl(1)
pkg-plist 53
- bin/ctpl
- include/ctpl/ctpl-environ.h
- include/ctpl/ctpl-eval.h
- include/ctpl/ctpl-input-stream.h
- include/ctpl/ctpl-io.h
- include/ctpl/ctpl-lexer-expr.h
- include/ctpl/ctpl-lexer.h
- include/ctpl/ctpl-output-stream.h
- include/ctpl/ctpl-parser.h
- include/ctpl/ctpl-token.h
- include/ctpl/ctpl-value.h
- include/ctpl/ctpl-version.h
- include/ctpl/ctpl.h
- lib/libctpl.a
- lib/libctpl.so
- lib/libctpl.so.2
- lib/libctpl.so.2.3.0
- libdata/pkgconfig/ctpl.pc
- share/gtk-doc/html/ctpl/annotation-glossary.html
- share/gtk-doc/html/ctpl/api-index-0-2.html
- share/gtk-doc/html/ctpl/api-index-0-3.html
- share/gtk-doc/html/ctpl/api-index-deprecated.html
- share/gtk-doc/html/ctpl/api-index-full.html
- share/gtk-doc/html/ctpl/ch01.html
- share/gtk-doc/html/ctpl/ch01s02.html
- share/gtk-doc/html/ctpl/ch01s03.html
- share/gtk-doc/html/ctpl/ch01s05.html
- share/gtk-doc/html/ctpl/ch02.html
- share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html
- share/gtk-doc/html/ctpl/ctpl-CtplEval.html
- share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html
- share/gtk-doc/html/ctpl/ctpl-CtplLexer.html
- share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html
- share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html
- share/gtk-doc/html/ctpl/ctpl-CtplParser.html
- share/gtk-doc/html/ctpl/ctpl-CtplToken.html
- share/gtk-doc/html/ctpl/ctpl-CtplValue.html
- share/gtk-doc/html/ctpl/ctpl-Generic-IO.html
- share/gtk-doc/html/ctpl/ctpl-Version-information.html
- share/gtk-doc/html/ctpl/ctpl.devhelp2
- share/gtk-doc/html/ctpl/environment-description-syntax.html
- share/gtk-doc/html/ctpl/home.png
- share/gtk-doc/html/ctpl/index.html
- share/gtk-doc/html/ctpl/left-insensitive.png
- share/gtk-doc/html/ctpl/left.png
- share/gtk-doc/html/ctpl/right-insensitive.png
- share/gtk-doc/html/ctpl/right.png
- share/gtk-doc/html/ctpl/style.css
- share/gtk-doc/html/ctpl/up-insensitive.png
- share/gtk-doc/html/ctpl/up.png
- share/locale/fr/LC_MESSAGES/ctpl.mo
- share/locale/it/LC_MESSAGES/ctpl.mo
- share/man/man1/ctpl.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ctpl-0.3.5.tar.gz | 201721 | ae60c79316c6dc3a2935d906b8a911ce4188e8638b6e9b65fc6c04a5ca6bcdda |
Master sites 1
- https://git.tuxfamily.org/ctpl/ctpl.git/snapshot/
Commit history 0
No commits in the history this site was built from.