# $Id: Portfile 85544 2011-10-14 08:04:16Z mww@macports.org $

PortSystem 1.0

name                count
version             1.20
revision            1
categories          sysutils
platforms           darwin
maintainers         mww
license             GPL-2
description         fast replacement for the standard wc utility
long_description    Count is a fast replacement for the standard wc utility. \
                    It has the additional features of counting the visible \
                    line length and a fast -stat option to quickly determine \
                    file sizes.

homepage            ftp://ftp.berlios.de/pub/count
master_sites        ${homepage}
checksums           md5 1c4b4fb92856873fcac27c7aa1c41550 \
                    rmd160  8e57ee2ed971ad130e18d2e0b5d15720da573dd3 \
                    sha256  bd8d20c19bf9a617f298d69e5d80315de4781d5dbe21568fdadeadb9996efeb0
patchfiles          patch-RULES-rules.prg

depends_build       port:smake

use_configure       no

use_parallel_build  no

build.cmd           ${prefix}/bin/smake

destroot.destdir    INS_BASE=${destroot}${prefix} \
                    MANDIR=share/man

post-destroot {
    file delete -force ${destroot}${prefix}/share/man/man5 ${destroot}${prefix}/lib ${destroot}${prefix}/include
}
