summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/Makefile1
-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
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