# $Id: Portfile 45173 2009-01-09 20:03:55Z mcalhoun@macports.org $

PortSystem 1.0

name			num-utils
version			0.5
categories		sysutils math
platforms		darwin
maintainers		nomaintainer
description		set of programs for dealing with numbers from the command line
long_description	The num-utils are a set of programs for dealing with \
				numbers from the Unix command line. Much like the \
				other Unix command line utilities like grep, awk, \
				sort, cut, etc. these utilities work on data from both \
				standard in and data from files.

homepage		http://suso.suso.org/programs/num-utils/
master_sites	${homepage}/downloads/
checksums		md5 58eed69761c2da97c3bfdfa422633427

depends_lib		bin:perl:perl5

patch	{
	reinplace "s|-o 0 -g 0||g" ${worksrcpath}/Makefile
}

use_configure	no

build.args		PERL="/usr/bin/perl"

destroot.destdir	TOPDIR=${destroot}${prefix} \
					DIST=${name}

test.run		yes
test.target		test
