aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2013-06-27 08:56:18 +0000
committerWen Heping <wen@FreeBSD.org>2013-06-27 08:56:18 +0000
commitfbf348f775d7c9f6d74a43107ee0312d9cffeba4 (patch)
treeb88e603e88f4ab45466fff2b2fafecbfb9d68e26 /textproc
parent9d6a697a14b2e3f510f39d45cfc22e20968847ce (diff)
downloadports-fbf348f775d7c9f6d74a43107ee0312d9cffeba4.tar.gz
ports-fbf348f775d7c9f6d74a43107ee0312d9cffeba4.zip
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/ PR: 179189 Submitted by: Hakisho Nukama <nukama@gmail.com>
Notes
Notes: svn path=/head/; revision=321876
Diffstat (limited to 'textproc')
-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/