aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Grutatxt
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2020-12-31 23:06:06 +0000
committerJason E. Hale <jhale@FreeBSD.org>2020-12-31 23:06:06 +0000
commitf44fd69b2435c1d0d7fe371a3b22b73765712aa5 (patch)
tree7d83ff1d7c5e237dbe768ca5665ca4d1d1b077d1 /textproc/p5-Grutatxt
parent88e6345949550e4e754d884e0a575da6e705e489 (diff)
downloadports-f44fd69b2435c1d0d7fe371a3b22b73765712aa5.tar.gz
ports-f44fd69b2435c1d0d7fe371a3b22b73765712aa5.zip
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
Notes
Notes: svn path=/head/; revision=559785
Diffstat (limited to 'textproc/p5-Grutatxt')
-rw-r--r--textproc/p5-Grutatxt/Makefile29
-rw-r--r--textproc/p5-Grutatxt/distinfo3
-rw-r--r--textproc/p5-Grutatxt/pkg-descr10
-rw-r--r--textproc/p5-Grutatxt/pkg-plist6
4 files changed, 48 insertions, 0 deletions
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