aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pycount/Makefile
blob: 9189bd982f3167c0e4af45f04e1682d176f8cbf1 (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
31
32
33
34
# 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/ \
        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}

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

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

.include <bsd.port.mk>