Bug 179189

Summary: New port: textproc/p5-texcount
Product: Ports & Packages Reporter: nukama
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description nukama 2013-06-02 06:00:00 UTC
TeXcount is a Perl script for counting words in LaTeX documents. It parses valid LaTeX documents counting words, headers, formulae (mathematics) and floats/begin-end groups.

WWW: http://app.uio.no/ifi/texcount/

Fix: Patch attached with submission follows:
How-To-Repeat: https://redports.org/buildarchive/20130602001600-6578/
Comment 1 Edwin Groothuis freebsd_committer 2013-06-02 06:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Wen Heping freebsd_committer 2013-06-27 09:33:11 UTC
Responsible Changed
From-To: perl->wen

I'll take it.
Comment 3 dfilter service freebsd_committer 2013-06-27 09:56:31 UTC
Author: wen
Date: Thu Jun 27 08:56:18 2013
New Revision: 321876
URL: http://svnweb.freebsd.org/changeset/ports/321876

Log:
  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>

Added:
  head/textproc/p5-texcount/
  head/textproc/p5-texcount/Makefile   (contents, props changed)
  head/textproc/p5-texcount/distinfo   (contents, props changed)
  head/textproc/p5-texcount/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Jun 27 08:47:26 2013	(r321875)
+++ head/textproc/Makefile	Thu Jun 27 08:56:18 2013	(r321876)
@@ -1044,6 +1044,7 @@
     SUBDIR += p5-libxml
     SUBDIR += p5-pod2pdf
     SUBDIR += p5-podlators
+    SUBDIR += p5-texcount
     SUBDIR += p5-xmltv
     SUBDIR += pa-aspell
     SUBDIR += par

Added: head/textproc/p5-texcount/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-texcount/Makefile	Thu Jun 27 08:56:18 2013	(r321876)
@@ -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>

Added: head/textproc/p5-texcount/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-texcount/distinfo	Thu Jun 27 08:56:18 2013	(r321876)
@@ -0,0 +1,2 @@
+SHA256 (texcount.zip) = 8d19ddd3baceecf2266297ff5264ebb4235e96b3620f314b6ce87dc297cab878
+SIZE (texcount.zip) = 393384

Added: head/textproc/p5-texcount/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-texcount/pkg-descr	Thu Jun 27 08:56:18 2013	(r321876)
@@ -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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Wen Heping freebsd_committer 2013-06-27 09:57:11 UTC
State Changed
From-To: open->closed

New port added. Thanks!