# $Id: Portfile 61722 2009-12-20 14:29:51Z mww@macports.org $

PortSystem 1.0

name			count
version			1.20
revision		1
categories		sysutils
platforms		darwin
maintainers		mww
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 \
				sha1 6b61e3e77da0de7e636ed605e11d4bd1533f72dc
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
}
