Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2013 04:52:44 GMT
From:      Hakisho Nukama <nukama@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179189: New port: textproc/p5-texcount
Message-ID:  <201306020452.r524qiMD061733@oldred.FreeBSD.org>
Resent-Message-ID: <201306020500.r52500UZ038625@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179189
>Category:       ports
>Synopsis:       New port: textproc/p5-texcount
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 05:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hakisho Nukama
>Release:        9.1-RELEASE
>Organization:
n/a
>Environment:
>Description:
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/
>How-To-Repeat:
https://redports.org/buildarchive/20130602001600-6578/
>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-texcount
#	p5-texcount/pkg-descr
#	p5-texcount/distinfo
#	p5-texcount/Makefile
#
echo c - p5-texcount
mkdir -p p5-texcount > /dev/null 2>&1
echo x - p5-texcount/pkg-descr
sed 's/^X//' >p5-texcount/pkg-descr << '14eb7d4cac51775c2b5e5a49de2df945'
XTeXcount is a Perl script that counts the number of words in the 
Xtext of LaTeX files. It has rules for handling most of the common 
Xmacros and provides colour coded output indicating which parts have 
Xbeen counted. 
X
XWWW: http://app.uio.no/ifi/texcount/
14eb7d4cac51775c2b5e5a49de2df945
echo x - p5-texcount/distinfo
sed 's/^X//' >p5-texcount/distinfo << '43978aa7a8d4a2a2f99c7c481874b123'
XSHA256 (texcount.zip) = 8d19ddd3baceecf2266297ff5264ebb4235e96b3620f314b6ce87dc297cab878
XSIZE (texcount.zip) = 393384
43978aa7a8d4a2a2f99c7c481874b123
echo x - p5-texcount/Makefile
sed 's/^X//' >p5-texcount/Makefile << '043d720a0b2265ab107a975e8e9843cc'
X# Created by: Hakisho Nukama <Nukama@gmail.com>
X# $FreeBSD$
X
XPORTNAME=	texcount
XPORTVERSION=	2.3
XCATEGORIES=	textproc perl5
XMASTER_SITES=	TEX_CTAN/support
XPKGNAMEPREFIX=	p5-
XDISTNAME=	${PORTNAME}
X
XMAINTAINER=	nukama+maintainer@gmail.com
XCOMMENT=	Perl module for LaTeX statistics
X
X#LICENSE=	LPPL13c
X
XNO_BUILD=	yes
X
XUSE_ZIP=	YES
XUSE_PERL5_RUN=	YES
X
XPLIST_FILES+=	bin/texcount
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/texcount.pl ${PREFIX}/bin/texcount
X
X.include <bsd.port.mk>
043d720a0b2265ab107a975e8e9843cc
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306020452.r524qiMD061733>