freebsd-ports/devel/pycount/Makefile
Martin Wilke 579fa0c27b pycount helps you with a simple analysis of Python code, categorizing it into
comments, doc strings, blank lines and real code. It creates simple lines
counts for individual or multiple files, but can also be used to strip
comments from a source file, say. See a sample output of pycount running on
itself in verbose mode.

WWW:	http://python.net/~gherman/pycount.html

PR:		ports/108996
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
2007-02-10 14:35:47 +00:00

33 lines
720 B
Makefile

# New ports collection makefile for: pycount
# Date created: Feb. 10, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= pycount
PORTVERSION= 0.0.6
CATEGORIES= devel python
MASTER_SITES= http://python.net/crew/gherman/playground/pycount/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}.py
EXTRACT_SUFX= #
DIST_SUBDIR= python
MAINTAINER= lwhsu@lwhsu.org
COMMENT= A very initial effort to Python code metrics
USE_DOS2UNIX= yes
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/${PORTNAME}
.include <bsd.port.mk>