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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name cloc |
---|
7 | version 1.62 |
---|
8 | categories textproc |
---|
9 | license GPL-2 |
---|
10 | platforms darwin |
---|
11 | maintainers vt.edu:jpo openmaintainer |
---|
12 | description counts lines of source code |
---|
13 | long_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 | |
---|
18 | homepage http://cloc.sourceforge.net/ |
---|
19 | master_sites sourceforge |
---|
20 | |
---|
21 | checksums rmd160 ab487a6e81a4f2663e632e27237d07faf948784c \ |
---|
22 | sha256 c4111ef5768b1c2844c0c826988df6f92fbb5aa7452a5005d3a031d68631acb3 |
---|
23 | |
---|
24 | depends_run port:perl5 port:p5-algorithm-diff port:p5-regexp-common \ |
---|
25 | port:p5-digest-md5 |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | patch { |
---|
30 | reinplace -W ${worksrcpath} "s|^#!/usr/bin/env perl|#!${prefix}/bin/perl|" \ |
---|
31 | cloc sqlite_formatter |
---|
32 | } |
---|
33 | |
---|
34 | build {} |
---|
35 | |
---|
36 | destroot.args prefix=${prefix} |
---|