# $Id: Portfile,v 1.2 2004/11/19 14:43:22 mww Exp $

PortSystem 1.0

name			num-utils
version			0.5
categories		sysutils math
platforms		darwin
maintainers		mww@opendarwin.org
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.8

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
