aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-texcount/Makefile26
-rw-r--r--textproc/p5-texcount/distinfo2
-rw-r--r--textproc/p5-texcount/pkg-descr6
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index df59d6d37449..4e2da0605d93 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1044,6 +1044,7 @@
SUBDIR += p5-libxml
SUBDIR += p5-pod2pdf
SUBDIR += p5-podlators
+ SUBDIR += p5-texcount
SUBDIR += p5-xmltv
SUBDIR += pa-aspell
SUBDIR += par
diff --git a/textproc/p5-texcount/Makefile b/textproc/p5-texcount/Makefile
new file mode 100644
index 000000000000..3d47a8cdf7ab
--- /dev/null
+++ b/textproc/p5-texcount/Makefile
@@ -0,0 +1,26 @@
+# Created by: Hakisho Nukama <Nukama@gmail.com>
+# $FreeBSD$
+
+PORTNAME= texcount
+PORTVERSION= 2.3
+CATEGORIES= textproc perl5
+MASTER_SITES= TEX_CTAN/support
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= nukama+maintainer@gmail.com
+COMMENT= Perl module for LaTeX statistics
+
+#LICENSE= LPPL13c
+
+NO_BUILD= yes
+
+USE_ZIP= YES
+USE_PERL5_RUN= YES
+
+PLIST_FILES+= bin/texcount
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/texcount.pl ${PREFIX}/bin/texcount
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-texcount/distinfo b/textproc/p5-texcount/distinfo
new file mode 100644
index 000000000000..8e47ce1b3a0b
--- /dev/null
+++ b/textproc/p5-texcount/distinfo
@@ -0,0 +1,2 @@
+SHA256 (texcount.zip) = 8d19ddd3baceecf2266297ff5264ebb4235e96b3620f314b6ce87dc297cab878
+SIZE (texcount.zip) = 393384
diff --git a/textproc/p5-texcount/pkg-descr b/textproc/p5-texcount/pkg-descr
new file mode 100644
index 000000000000..a314be593945
--- /dev/null
+++ b/textproc/p5-texcount/pkg-descr
@@ -0,0 +1,6 @@
+TeXcount is a Perl script that counts the number of words in the
+text of LaTeX files. It has rules for handling most of the common
+macros and provides colour coded output indicating which parts have
+been counted.
+
+WWW: http://app.uio.no/ifi/texcount/