Files

46 lines
1.9 KiB
Tcl
Raw Permalink Normal View History

2023-06-09 23:26:36 +10:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
2023-06-12 01:34:38 +03:00
PortGroup legacysupport 1.1
PortGroup makefile 1.0
2023-06-09 23:26:36 +10:00
2023-10-14 12:55:37 +11:00
github.setup raforg rawhide 3.3 v
revision 0
2023-06-09 23:26:36 +10:00
description (rh) find files using pretty C expressions
long_description {*}${description} \
\n\nRawhide (rh) lets you search for files on the command line using \
expressions and user-defined functions in a mini-language inspired by C. \
It's like find(1), but more fun to use. Search criteria can be very \
readable and self-explanatory and/or very concise and typeable, and you can \
create your own lexicon of search terms. The output can include lots of \
detail, like ls(1).
homepage https://raf.org/rawhide/
license GPL-3+
categories sysutils
2023-07-24 17:29:31 +10:00
depends_build port:pkgconfig
2023-06-09 23:26:36 +10:00
depends_lib port:pcre2 port:libmagic
maintainers {raf.org:raf @macportsraf} openmaintainer
github.tarball_from releases
2023-10-14 12:55:37 +11:00
checksums rmd160 ac7eb76c7700f284ec8f6b1d4aab0fd6638826f7 \
sha256 a51a1360ce4763838b29a548a8e49dcf47a93a922bf1df05c8b7d50ecb9ab09d \
size 290603
2023-06-12 01:34:38 +03:00
2023-08-06 21:01:22 +10:00
# Note: Not a GNU autoconf configure script
2023-06-09 23:26:36 +10:00
use_configure yes
2023-10-14 12:55:37 +11:00
configure.args --prefix="${prefix}" --etcdir="${prefix}"/etc --enable-mangz
2023-06-09 23:26:36 +10:00
build.target rh
2023-07-24 17:29:31 +10:00
# Need openat, fdopendir, fstatat, faccessat, unlinkat, and readlinkat.
# POSIX 2008, but they didn't make it into macOS until 2014 (macOS-10.10).
2023-06-09 23:26:36 +10:00
legacysupport.newest_darwin_requires_legacy 13
test.run yes
2023-08-06 21:01:22 +10:00
test.args quiet=1
2023-06-09 23:26:36 +10:00
livecheck.type regex
livecheck.url ${homepage}download/
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}