summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/ctpl/Makefile22
-rw-r--r--textproc/ctpl/distinfo5
-rw-r--r--textproc/ctpl/pkg-descr25
-rw-r--r--textproc/ctpl/pkg-plist67
4 files changed, 73 insertions, 46 deletions
diff --git a/textproc/ctpl/Makefile b/textproc/ctpl/Makefile
index cea2693e0446..a7804f14f003 100644
--- a/textproc/ctpl/Makefile
+++ b/textproc/ctpl/Makefile
@@ -1,27 +1,31 @@
PORTNAME= ctpl
-PORTVERSION= 0.3.4
-PORTREVISION= 1
+DISTVERSION= 0.3.5
CATEGORIES= textproc devel
-MASTER_SITES= http://download.tuxfamily.org/ctpl/releases/
+MASTER_SITES= https://git.tuxfamily.org/ctpl/ctpl.git/snapshot/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= alster@vinterdalen.se
COMMENT= C Template (Parser) Library
WWW= https://ctpl.tuxfamily.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
+
+USES= autoreconf gettext-tools gmake gnome libtool pathfix pkgconfig
USE_GNOME= glib20
-USES= gnome libtool pathfix pkgconfig
USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
INSTALL_TARGET= install-strip
+TEST_TARGET= check # PASS: 4/4
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
+DOCS_CONFIGURE_ENABLE= gtk-doc
+NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
-NLS_USES= gettext-runtime
.include <bsd.port.mk>
diff --git a/textproc/ctpl/distinfo b/textproc/ctpl/distinfo
index 98e23dfe2fe9..1aab7021b68c 100644
--- a/textproc/ctpl/distinfo
+++ b/textproc/ctpl/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ctpl-0.3.4.tar.gz) = 3a95fdd03437ed3ae222339cb0de2d2c1240d627faa6c77bf46f1a9b761729fb
-SIZE (ctpl-0.3.4.tar.gz) = 668306
+TIMESTAMP = 1743070465
+SHA256 (ctpl-0.3.5.tar.gz) = ae60c79316c6dc3a2935d906b8a911ce4188e8638b6e9b65fc6c04a5ca6bcdda
+SIZE (ctpl-0.3.5.tar.gz) = 201721
diff --git a/textproc/ctpl/pkg-descr b/textproc/ctpl/pkg-descr
index c522ef387022..a074df6444dd 100644
--- a/textproc/ctpl/pkg-descr
+++ b/textproc/ctpl/pkg-descr
@@ -1,2 +1,23 @@
-CTPL is a template engine library. It allows fast and easy parsing
-of templates and fine control over template parsing environment.
+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.
diff --git a/textproc/ctpl/pkg-plist b/textproc/ctpl/pkg-plist
index 3cd0e88022e9..1b4fc90ad086 100644
--- a/textproc/ctpl/pkg-plist
+++ b/textproc/ctpl/pkg-plist
@@ -14,39 +14,40 @@ include/ctpl/ctpl.h
lib/libctpl.a
lib/libctpl.so
lib/libctpl.so.2
-lib/libctpl.so.2.2.2
+lib/libctpl.so.2.3.0
libdata/pkgconfig/ctpl.pc
-share/man/man1/ctpl.1.gz
-share/gtk-doc/html/ctpl/annotation-glossary.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/index.sgml
-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
+%%DOCS%%share/gtk-doc/html/ctpl/annotation-glossary.html
+%%DOCS%%share/gtk-doc/html/ctpl/api-index-0-2.html
+%%DOCS%%share/gtk-doc/html/ctpl/api-index-0-3.html
+%%DOCS%%share/gtk-doc/html/ctpl/api-index-deprecated.html
+%%DOCS%%share/gtk-doc/html/ctpl/api-index-full.html
+%%DOCS%%share/gtk-doc/html/ctpl/ch01.html
+%%DOCS%%share/gtk-doc/html/ctpl/ch01s02.html
+%%DOCS%%share/gtk-doc/html/ctpl/ch01s03.html
+%%DOCS%%share/gtk-doc/html/ctpl/ch01s05.html
+%%DOCS%%share/gtk-doc/html/ctpl/ch02.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplEval.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplLexer.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplParser.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplToken.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-CtplValue.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-Generic-IO.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl-Version-information.html
+%%DOCS%%share/gtk-doc/html/ctpl/ctpl.devhelp2
+%%DOCS%%share/gtk-doc/html/ctpl/environment-description-syntax.html
+%%DOCS%%share/gtk-doc/html/ctpl/home.png
+%%DOCS%%share/gtk-doc/html/ctpl/index.html
+%%DOCS%%share/gtk-doc/html/ctpl/left-insensitive.png
+%%DOCS%%share/gtk-doc/html/ctpl/left.png
+%%DOCS%%share/gtk-doc/html/ctpl/right-insensitive.png
+%%DOCS%%share/gtk-doc/html/ctpl/right.png
+%%DOCS%%share/gtk-doc/html/ctpl/style.css
+%%DOCS%%share/gtk-doc/html/ctpl/up-insensitive.png
+%%DOCS%%share/gtk-doc/html/ctpl/up.png
%%NLS%%share/locale/fr/LC_MESSAGES/ctpl.mo
%%NLS%%share/locale/it/LC_MESSAGES/ctpl.mo
+share/man/man1/ctpl.1.gz