Ticket #45749: Portfile

File Portfile, 1.2 KB (added by jpo@…, 9 years ago)

typo (s/course/source/)

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                cloc
7version             1.62
8categories          textproc
9license             GPL-2
10platforms           darwin
11maintainers         vt.edu:jpo openmaintainer
12description         counts lines of source code
13long_description    cloc counts blank lines, comment lines, and physical \
14                    lines of source code in many programming languages. \
15                    Given two versions of a code base, cloc can compute \
16                    differences in blank, comment, and source lines.
17
18homepage            http://cloc.sourceforge.net/
19master_sites        sourceforge
20
21checksums           rmd160  ab487a6e81a4f2663e632e27237d07faf948784c \
22                    sha256  c4111ef5768b1c2844c0c826988df6f92fbb5aa7452a5005d3a031d68631acb3
23
24depends_run         port:perl5 port:p5-algorithm-diff port:p5-regexp-common \
25                    port:p5-digest-md5
26
27use_configure       no
28
29patch {
30   reinplace -W ${worksrcpath} "s|^#!/usr/bin/env perl|#!${prefix}/bin/perl|" \
31      cloc sqlite_formatter
32}
33
34build {}
35
36destroot.args       prefix=${prefix}