diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2020-12-31 23:06:06 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2020-12-31 23:06:06 +0000 |
commit | f44fd69b2435c1d0d7fe371a3b22b73765712aa5 (patch) | |
tree | 7d83ff1d7c5e237dbe768ca5665ca4d1d1b077d1 | |
parent | devel/embb: fix build on !x86 (diff) |
New port: textproc/p5-Grutatxt
Grutatxt is a plain text to HTML (and other formats) converter. It succesfully
converts subtle text markup of lists, bold, italics, tables and headings to
their corresponding HTML, troff, man page or LaTeX markup without having to
write unreadable source text files. Grutatxt is a Perl module and a command
line utility, and is the main text renderer in the Gruta CMS.
The output drivers currently supported by Grutatxt are: HTML, troff (me
macros), man and LaTeX.
WWW: https://triptico.com/software/grutatxt.html
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Grutatxt/Makefile | 29 | ||||
-rw-r--r-- | textproc/p5-Grutatxt/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-Grutatxt/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/p5-Grutatxt/pkg-plist | 6 |
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index f67883b050e3..c8aebac1d475 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -524,6 +524,7 @@ SUBDIR += p5-Geo-Parse-OSM SUBDIR += p5-Getopt-Lucid SUBDIR += p5-Google-Data-JSON + SUBDIR += p5-Grutatxt SUBDIR += p5-HTML-Copy SUBDIR += p5-HTML-Entities-ImodePictogram SUBDIR += p5-HTML-Entities-Interpolate diff --git a/textproc/p5-Grutatxt/Makefile b/textproc/p5-Grutatxt/Makefile new file mode 100644 index 000000000000..8f6a6365f367 --- /dev/null +++ b/textproc/p5-Grutatxt/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= Grutatxt +PORTVERSION= 2.20 +CATEGORIES= textproc perl5 +MASTER_SITES= https://triptico.com/download/ \ + LOCAL/jhale +PKGNAMEPREFIX= p5- +DISTFILES= ${PORTNAME:tl}${EXTRACT_SUFX} +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= jhale@FreeBSD.org +COMMENT= Plain text to HTML (and other formats) converter + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/textproc/p5-Grutatxt/distinfo b/textproc/p5-Grutatxt/distinfo new file mode 100644 index 000000000000..05b51aeb613f --- /dev/null +++ b/textproc/p5-Grutatxt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604034996 +SHA256 (Grutatxt-2.20/grutatxt.tar.gz) = 823beeca2d2edf31d6c9320c8e460b9aede90e004078aef6e35be77d5de0b843 +SIZE (Grutatxt-2.20/grutatxt.tar.gz) = 20751 diff --git a/textproc/p5-Grutatxt/pkg-descr b/textproc/p5-Grutatxt/pkg-descr new file mode 100644 index 000000000000..c399557600ea --- /dev/null +++ b/textproc/p5-Grutatxt/pkg-descr @@ -0,0 +1,10 @@ +Grutatxt is a plain text to HTML (and other formats) converter. It succesfully +converts subtle text markup of lists, bold, italics, tables and headings to +their corresponding HTML, troff, man page or LaTeX markup without having to +write unreadable source text files. Grutatxt is a Perl module and a command +line utility, and is the main text renderer in the Gruta CMS. + +The output drivers currently supported by Grutatxt are: HTML, troff (me +macros), man and LaTeX. + +WWW: https://triptico.com/software/grutatxt.html diff --git a/textproc/p5-Grutatxt/pkg-plist b/textproc/p5-Grutatxt/pkg-plist new file mode 100644 index 000000000000..30516878bc0a --- /dev/null +++ b/textproc/p5-Grutatxt/pkg-plist @@ -0,0 +1,6 @@ +bin/grutatxt +bin/pod2grutatxt +%%SITE_PERL%%/Grutatxt.pm +%%PERL5_MAN3%%/Grutatxt.3.gz +%%PORTDOCS%%%%DOCSDIR%%/grutatxt_apache_handlers.txt +%%PORTDOCS%%%%DOCSDIR%%/grutatxt_markup.txt |