aboutsummaryrefslogtreecommitdiffstats
path: root/misc/cloc/Makefile
blob: c3ebbe991aa6270539aa9f528ae7cbbdc6360299 (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
# New ports collection makefile for:    cloc
# Date created:     2 May 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cloc
PORTVERSION=    1.56
CATEGORIES= misc
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
EXTRACT_SUFX=   .pl

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Counts lines of code

RUN_DEPENDS=    p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff

USE_PERL5_RUN=  yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ./${PORTNAME}
PLIST_FILES=    bin/${PORTNAME}
NO_BUILD=   yes

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

.include <bsd.port.mk>