Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 05:27:56 GMT
From:      Edmondas Girkantas <eg@fbsd.lt>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135140: New port: misc/ohcount source code line counter
Message-ID:  <200906010527.n515RuX0007240@www.freebsd.org>
Resent-Message-ID: <200906010530.n515U4X7019434@freefall.freebsd.org>

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

>Number:         135140
>Category:       ports
>Synopsis:       New port: misc/ohcount source code line counter
>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:   Mon Jun 01 05:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Edmondas Girkantas
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD big.bug.lt 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Ohcount is the source code line counter that powers Ohloh.
>How-To-Repeat:

>Fix:
create new port from attached shar file.

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:
#
#	ohcount
#	ohcount/Makefile
#	ohcount/pkg-descr
#	ohcount/distinfo
#
echo c - ohcount
mkdir -p ohcount > /dev/null 2>&1
echo x - ohcount/Makefile
sed 's/^X//' >ohcount/Makefile << 'cf4d0771ff9e10e0bf46a38ff3ef815c'
X# New ports collection makefile for:	ohcount
X# Date created:		2009-05-31
X# Whom:			Edmondas Girkantas <eg@fbsd.lt>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ohcount
XPORTVERSION=	2.0.1
XCATEGORIES=	misc rubygems
XMASTER_SITES=	http://labs.ohloh.net/download/
X
XMAINTAINER=	eg@fbsd.lt
XCOMMENT=	Ohcount is the source code line counter that powers Ohloh
X
XBUILD_DEPENDS=	rubygem-diff-lcs>=1.1.2:${PORTSDIR}/textproc/rubygem-diff-lcs \
X		ragel:${PORTSDIR}/devel/ragel
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_RUBY=	yes
XUSE_RUBYGEMS=	yes
XUSE_RAKE=	yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
cf4d0771ff9e10e0bf46a38ff3ef815c
echo x - ohcount/pkg-descr
sed 's/^X//' >ohcount/pkg-descr << '7877fff929b5bcfefe5dac9a3443916a'
XOhcount is the source code line counter that powers Ohloh. Ohcount supports 
Xover 70 popular programming languages, and has been used to count over 3 
Xbillion lines of code by 200,000 developers!
X
XOhcount does more than just count lines of code. It can also detect popular 
Xopen source licenses such as GPL within a large directory of source code. 
XIt can also detect code that targets a particular programming API, such as 
XWin32 or KDE. 
X
XWWW:	http://labs.ohloh.net/ohcount/
7877fff929b5bcfefe5dac9a3443916a
echo x - ohcount/distinfo
sed 's/^X//' >ohcount/distinfo << '29f99dafc228f7819d6c8bd5c2177861'
XMD5 (rubygem/ohcount-2.0.1.gem) = 078ba2bc6b7d0a498804b2fad840973d
XSHA256 (rubygem/ohcount-2.0.1.gem) = 4afc7e03bc6e738b519cf2af897120d93f7937ad5636aed19c60d67604f09cf9
XSIZE (rubygem/ohcount-2.0.1.gem) = 287744
29f99dafc228f7819d6c8bd5c2177861
exit



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



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