PortSystem 1.0

name			num-utils
version			0.5
categories		sysutils math
license			GPL-2+
platforms		any
supported_archs	noarch
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

# conflicts with argyll on ${prefix}/bin/average
conflicts-append    argyll

# conflicts with normalize on ${prefix}/bin/normalize
conflicts-append    normalize