31 lines
711 B
Makefile
31 lines
711 B
Makefile
# Created by: 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/ \
|
|
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}.py
|
|
EXTRACT_SUFX= #
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= A very initial effort to Python code metrics
|
|
|
|
USE_DOS2UNIX= yes
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
do-extract:
|
|
@${MKDIR} ${WRKDIR}
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|