Files
macports-ports/sysutils/num-utils/Portfile
T
2025-08-28 01:39:52 -05:00

50 lines
1.4 KiB
Plaintext

PortSystem 1.0
name num-utils
version 0.5
revision 0
checksums rmd160 54ed62109fdbeaf4fe2006a072e1e4e778ab146c \
sha256 03592760fc7844492163b14ddc9bb4e4d6526e17b468b5317b4a702ea7f6c64e \
size 31845
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 https://suso.suso.org/xulu/Num-utils
master_sites https://suso.suso.org/programs/num-utils/downloads/
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
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex /${name}-\(\[0-9.\]+)[quotemeta ${extract.suffix}]