aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pycount/Makefile
blob: 3fb0efce1b1c650aba868c23460be38641db27ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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=    Initial effort to Python code metrics

USES=       dos2unix python
NO_BUILD=   yes

PLIST_FILES=    bin/${PORTNAME}

do-extract:
    @${MKDIR} ${WRKDIR}
    @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} \
        ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>