diff options
author | wen <wen@FreeBSD.org> | 2013-06-27 16:56:18 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2013-06-27 16:56:18 +0800 |
commit | 8373d0c2131c5d79694c0192a4b8fd706c3247a4 (patch) | |
tree | b88e603e88f4ab45466fff2b2fafecbfb9d68e26 /textproc | |
parent | 3c8ba88ab4eb10bf9da35d0ee90f7cb0035a0ba5 (diff) | |
download | freebsd-ports-gnome-8373d0c2131c5d79694c0192a4b8fd706c3247a4.tar.gz freebsd-ports-gnome-8373d0c2131c5d79694c0192a4b8fd706c3247a4.tar.zst freebsd-ports-gnome-8373d0c2131c5d79694c0192a4b8fd706c3247a4.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>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-texcount/Makefile | 26 | ||||
-rw-r--r-- | textproc/p5-texcount/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-texcount/pkg-descr | 6 |
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/ |